posix: Consolidate Linux pause syscall
[glibc.git] / ChangeLog
blob135b5a5e87e3a91f0df73ad1e1d9e5e758d968ad
1 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
5         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
6         (__NR_pause): Undefine.
7         * sysdeps/unix/sysv/linux/pause.c: New file.
8         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
9         auto-generation list.
10         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
11         Remove rule.
12         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
14 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
17         comments.
19 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
21         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
22         LD_HWCAP_MASK.
24 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
26         * manual/conf.texi: Convert @tables of annotated @items to
27         @vtables.
28         * manual/lang.texi: Likewise.
29         * manual/pattern.texi: Likewise.
30         * manual/resource.texi: Likewise.
31         * manual/socket.texi: Likewise.
33 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
35         * manual/crypt.texi: Move a comment out of an @*x list.
36         * manual/filesys.texi: Refactor some comments, one of which looks
37         like a standard.  Fix incorrectly separated standards.
38         * manual/locale.texi: Invert an annotation.
39         * manual/resource.texi: Fix incorrectly separated standards.
40         * manual/time.texi: Refactor a @vtable that obscures an
41         annotation.
42         * manual/users.texi: Refactor multiple headers to occupy a single
43         @comment.
45 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47         * sysdeps/powerpc/powerpc64/multiarch/Makefile
48         (sysdep_routines): Add memcmp-power8.
49         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50         (memcmp): Add __memcmp_power8 to list of memcmp functions.
51         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
52         (memcmp): Add __memcmp_power8 to ifunc list.
53         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
54         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
56 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
57             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59         * math/math.h (__MATH_TG): Extend the conditions to add
60         _Float128 support.
61         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
63 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
65         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
66         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
67         s_cosf-ppc64.
68         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
69         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
70         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
71         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
73 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
75         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
76         (gen-libm-calls): Add e_exp2F to use the template.
77         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
78         * math/e_exp2_template.c: New file, renamed from
79         math/e_exp2l.c, and made into a template.
80         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
82 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
84         * elf/dl-tunable-types.h (tunable_type_code_t): New type
85         TUNABLE_TYPE_UINT_64.
86         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
87         Simplify computation of overflow.
88         (tunable_set_val_if_valid_range_signed,
89         tunable_set_val_if_valid_range_unsigned): Remove and replace
90         with this...
91         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
92         (tunable_initialize): Adjust.  Add uint64_t support.
93         (__tunable_set_val): Add uint64_t support.
94         * README.tunables: Document it.
96         * scripts/gen-tunables.awk: Recognize 'default' keyword in
97         dl-tunables.list.
98         * README.tunables: Document it.
100 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
102         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
103         * sysdeps/posix/preadv64.c: Likewise.
104         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
105         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
106         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
107         * sysdeps/posix/pwritev64.c: Likewise.
108         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
109         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
110         * sysdeps/posix/preadv_common.c: New file.
111         * sysdeps/posix/pwritev_common.c: Likewise.
113 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
115         * sysdeps/generic/math-type-macros-float128.h
116         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
117         wrapper templates.
119 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
120             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
122         * include/complex.h (__kernel_casinhf128): New declaration.
123         * include/float.h: New file.
124         * include/math.h (__finitef128): Add a hidden def.
125         (__isinff128): Likewise.
126         (__isnanf128): Likewise.
127         (__fpclassify): Likewise.
128         (__issignalling): Likewise.
129         (__expf128): Likewise.
130         (__expm1f128): Likewise.
132         * sysdeps/generic/fix-fp-int-convert-overflow.h:
133         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
134         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
136         * sysdeps/generic/math-type-macros-float128.h: New file.
138         * sysdeps/generic/math_private.h: Include bits/floatn.h and
139         math_private_calls.h for _Float128.
140         (__isinff128): New inline implementation used when GCC < 7.0,
141         since in this case __builtin_isinf_sign is broken.
142         (fabsf128): New inline implementation that calls the builtin.
143         (__EXPR_FLT128): New macro.
144         (min_of_type): Optionally include _Float128 types too.
146         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
147         Declare for _Float128.
148         (__kernel_rem_pio2): Likewise.
150         * sysdeps/ieee754/ldbl-opt/s_sin.c:
151         (__DECL_SIMD_sincos_disablef128): New macro.
153 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
155         * math/math.h: Include bits/math-finite.h for float128.
156         (__MATH_DECLARING_FLOATN): Define to control declaration of
157         float128 functions.
158         * math/bits/math-finite.h (pow10): Do not declare for float128.
159         (gamma): Likewise.
160         (scalb): Likewise.
162 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
163             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
165         * bits/floatn.h: New file.
166         * bits/huge_val_flt128.h: Likewise.
168         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
169         (__DECL_SIMD_sinf128): Likewise.
170         (__DECL_SIMD_sincosf128): Likewise.
171         (__DECL_SIMD_logf128): Likewise.
172         (__DECL_SIMD_expf128): Likewise.
173         (__DECL_SIMD_powf128): Likewise.
175         * math/Makefile (headers): Install bits/floatn.h and
176         bits/huge_val_flt128.h.
178         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
179         defined.
181         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
182         (isnan, gamma, nexttoward, scalb): Only define if not
183         __MATH_DECLARING_FLOATN.
184         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
185         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
186         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
187         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
189         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
190         Include bits/cmathcalls.h to get the declarations of _Float128
191         versions of complex functions.
192         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
193         Define macro.
195         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
196         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
197         get the declarations of _Float128 versions of math functions.
198         (__MATH_DECLARING_FLOATN): New macro to control declaration of
199         _FloatN types.
200         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
201         is type-generic, so use it without __MATH_TG.
202         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
203         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
204         _Float128 type and GCC < 7.0, otherwise use the builtin.
205         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
206         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
207         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
208         New _GNU_SOURCE enabled macros.
210 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
212         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
213         (signbitf): Likewise.
214         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
215         Likewise.
216         (signbitl): Likewise.
217         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
218         Likewise.
219         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
220         (signbitl): Likewise.
221         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
223 2017-05-12  Florian Weimer  <fweimer@redhat.com>
225         [BZ #21386]
226         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
227         parent PID.  The assertion in the child is incorrect with PID
228         namespaces.
230 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
232         * sysdeps/unix/sysv/linux/kernel-features.h
233         (__ASSUME_STATFS_F_FLAGS): Remove macro.
234         * sysdeps/unix/sysv/linux/internal_statvfs.c
235         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
237 2017-05-11  Zack Weinberg  <zackw@panix.com>
239         * Makerules: New subdir configuration variables 'tests-internal'
240         and 'test-internal-extras'.  Test files in these categories will
241         still be compiled with MODULE_NAME=nonlib.  Test files in the
242         existing categories (tests, xtests, test-srcs, test-extras) are
243         now compiled with MODULE_NAME=testsuite.
244         New subdir configuration variable 'modules-names-tests'.  Files
245         which are in both 'modules-names' and 'modules-names-tests' will
246         be compiled with MODULE_NAME=testsuite instead of
247         MODULE_NAME=extramodules.
248         (gen-as-const-headers): Move to tests-internal.
249         (do-tests-clean, common-mostlyclean): Support tests-internal.
250         * Makeconfig (built-modules): Add testsuite.
251         * Makefile: Change libof-check-installed-headers-c and
252         libof-check-installed-headers-cxx to 'testsuite'.
253         * Rules: Likewise.  Support tests-internal.
254         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
255         Remove extra-modules.mk.
257         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
258         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
259         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
260         very top of the file and rationalize their order.
261         If MODULE_NAME is not defined at all, define IS_IN to always be
262         false, and don't define _ISOMAC.
263         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
264         true, define _ISOMAC and suppress everything else in this file,
265         starting with the inclusion of config.h.
266         Do check for inappropriate definitions of __OPTIMIZE__ and
267         __FAST_MATH__ here, but only if _ISOMAC is not defined.
268         Correct some out-of-date commentary.
270         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
271         and _Mlong_double_ before including math.h.
272         * include/string.h: If _ISOMAC is defined, don't expose
273         _STRING_ARCH_unaligned. Move a comment to a more appropriate
274         location.
276         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
277         * include/time.h, include/unistd.h, include/wchar.h: No need to
278         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
280         * misc/sys/cdefs.h (__NTHNL): New macro.
281         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
282         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
284         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
285         defined, for HAVE_TUNABLES.
286         * inet/tst-checks-posix.c: No need to define _ISOMAC.
287         * intl/tst-gettext2.c: Provide own definition of N_.
288         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
289         * math/test-signgam-main.c: No need to define _ISOMAC.
290         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
291         * stdlib/tst-strtod1i.c: ...this new file.
292         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
293         Split tests of __strtod_internal to...
294         * stdlib/tst-strtod5i.c: ...this new file.
295         * string/test-string.h: Include stdint.h. Duplicate definition of
296         inhibit_loop_to_libcall here (from libc-symbols.h).
297         * string/test-strstr.c: Provide dummy definition of
298         libc_hidden_builtin_def when including strstr.c.
299         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
300         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
301         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
302         Don't include init-arch.h.
303         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
304         Don't include init-arch.h.
306         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
307         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
308         unload, unload2, circleload1, neededtest, neededtest2,
309         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
310         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
311         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
312         ifunc tests to tests-internal.
313         Don't add $(modules-names) to test-extras.
314         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
315         Add tst-deadline to tests-static-internal.
316         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
317         tests-internal.
318         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
319         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
320         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
321         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
322         tst-sem12-static, and tst-stackguard1-static to tests-internal.
323         Link tests-internal with libpthread also.
324         Don't add $(modules-names) to test-extras.
325         * nss/Makefile: Move tst-field to tests-internal.
326         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
327         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
328         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
329         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
330         tests-internal.
331         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
332         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
333         test-get_hwcap-static to tests-internal.
334         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
335         tests-internal.
336         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
337         modules-names-tests.
339 2017-05-11  Zack Weinberg  <zackw@panix.com>
341         * libio/libio.h: Condition dummy definition of _IO_lock_t on
342         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
343         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
344         _IO_funlockfile, and _IO_ftrylockfile.  Only define
345         _IO_cleanup_region_start and _IO_cleanup_region_end if not
346         already defined.
347         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
348         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
349         appropriately.
350         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
351         Define _IO_lock_t_defined after defining _IO_lock_t.
353 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
355         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
356         void* for argument type and use VDSO_SYMBOL macro.
357         (is_sigtramp_address_rt): Likewise.
358         (__backtrace): Setup expected frame pointer address for signal
359         handling.
360         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
361         void* for argumetn type and use VSDO_SYMBOL macro.
362         (__backtrace): Setup expected frame pointer address for signal
363         handling.
365         * sysdeps/unix/sysv/linux/writev.c: New file.
367         * sysdeps/unix/sysv/linux/readv.c: New file.
369         * include/unistd.h (write): Add hidden proto.
370         * io/Makefile (CFLAGS-write.c): New define.
371         * nptl/Makefile (CFLAGS-write.c): Likewise.
372         * sysdeps/unix/sysv/linux/write.c: New file.
374         [BZ #21428]
375         * include/unistd.h (read): Add hidden proto.
376         * io/Makefile (CFLAGS-read.c): New define.
377         * nptl/Makefile (CFLAGS-read.c): Likewise.
378         * sysdeps/unix/sysv/linux/read.c: New file.
380         * io/Makefile (CFLAGS-creat.c): New rule.
381         (CFLAGS-creat64.c): Likewise.
382         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
383         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
384         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
385         * sysdeps/unix/sysv/linux/creat.c: New file.
386         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
387         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
388         auto-generated list.
389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
391         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
392         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
393         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
394         * sysdeps/unix/sysv/linux/open.c: New file.
395         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
396         iff __WORDSIZE != 64 and use __NR_openat when available.
397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
398         from auto-generated list.
400         * nptl/Makefile (CFLAGS-close.c): New flag.
401         * sysdeps/unix/sysv/linux/close.c: New file.
403 2017-05-11  DJ Delorie  <dj@redhat.com>
405         * MAINTAINERS: New.  Points to wiki.
407 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
409         * scripts/gen-tunables.awk: Add attribute_relro to
410         tunable_list.
412 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
414         [BZ #21457]
415         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
416         (R1): Likewise.
417         (R2): Likewise.
418         (R3): Likewise.
419         (R4): Likewise.
420         (R5): Likewise.
421         (R6): Likewise.
422         (R7): Likewise.
423         (R8): Likewise.
424         (R9): Likewise.
425         (R10): Likewise.
426         (R11): Likewise.
427         (R12): Likewise.
428         (R13): Likewise.
429         (R14): Likewise.
430         (R15): Likewise.
431         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
432         (REG_FS): Likewise.
433         (REG_ES): Likewise.
434         (REG_DS): Likewise.
435         (REG_EDI): Likewise.
436         (REG_ESI): Likewise.
437         (REG_EBP): Likewise.
438         (REG_ESP): Likewise.
439         (REG_EBX): Likewise.
440         (REG_EDX): Likewise.
441         (REG_ECX): Likewise.
442         (REG_EAX): Likewise.
443         (REG_TRAPNO): Likewise.
444         (REG_ERR): Likewise.
445         (REG_EIP): Likewise.
446         (REG_CS): Likewise.
447         (REG_EFL): Likewise.
448         (REG_UESP): Likewise.
449         (REG_SS): Likewise.
450         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
451         (R_D1): Likewise.
452         (R_D2): Likewise.
453         (R_D3): Likewise.
454         (R_D4): Likewise.
455         (R_D5): Likewise.
456         (R_D6): Likewise.
457         (R_D7): Likewise.
458         (R_A0): Likewise.
459         (R_A1): Likewise.
460         (R_A2): Likewise.
461         (R_A3): Likewise.
462         (R_A4): Likewise.
463         (R_A5): Likewise.
464         (R_A6): Likewise.
465         (R_A7): Likewise.
466         (R_SP): Likewise.
467         (R_PC): Likewise.
468         (R_PS): Likewise.
469         (fpregset_t): Likewise.
470         (MCONTEXT_VERSION): Likewise.
471         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
472         (CTX_AT): Likewise.
473         (CTX_V0): Likewise.
474         (CTX_V1): Likewise.
475         (CTX_A0): Likewise.
476         (CTX_A1): Likewise.
477         (CTX_A2): Likewise.
478         (CTX_A3): Likewise.
479         (CTX_T0): Likewise.
480         (CTX_T1): Likewise.
481         (CTX_T2): Likewise.
482         (CTX_T3): Likewise.
483         (CTX_T4): Likewise.
484         (CTX_T5): Likewise.
485         (CTX_T6): Likewise.
486         (CTX_T7): Likewise.
487         (CTX_S0): Likewise.
488         (CTX_S1): Likewise.
489         (CTX_S2): Likewise.
490         (CTX_S3): Likewise.
491         (CTX_S4): Likewise.
492         (CTX_S5): Likewise.
493         (CTX_S6): Likewise.
494         (CTX_S7): Likewise.
495         (CTX_T8): Likewise.
496         (CTX_T9): Likewise.
497         (CTX_K0): Likewise.
498         (CTX_K1): Likewise.
499         (CTX_GP): Likewise.
500         (CTX_SP): Likewise.
501         (CTX_S8): Likewise.
502         (CTX_RA): Likewise.
503         (CTX_MDLO): Likewise.
504         (CTX_MDHI): Likewise.
505         (CTX_CAUSE): Likewise.
506         (CTX_EPC): Likewise.
507         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
508         inclusion of <sys/procfs.h> on [__USE_MISC].
509         (greg_t): Condition on [__USE_MISC].
510         (gregset_t): Likewise.
511         (fpregset_t): Likewise.
512         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
513         (NGREG): Likewise.
514         (gregset_t): Likewise.
515         (REG_R0): Likewise.
516         (REG_R1): Likewise.
517         (REG_R2): Likewise.
518         (REG_R3): Likewise.
519         (REG_R4): Likewise.
520         (REG_R5): Likewise.
521         (REG_R6): Likewise.
522         (REG_R7): Likewise.
523         (REG_R8): Likewise.
524         (REG_R9): Likewise.
525         (REG_R10): Likewise.
526         (REG_R11): Likewise.
527         (REG_R12): Likewise.
528         (REG_R13): Likewise.
529         (REG_R14): Likewise.
530         (REG_R15): Likewise.
531         (struct _libc_fpstate): Likewise.
532         (fpregset_t): Likewise.
533         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
534         (NFPREG): Likewise.
535         (gregset_t): Likewise.
536         (fpregset_t): Likewise.
537         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
538         (R_D1): Likewise.
539         (R_D2): Likewise.
540         (R_D3): Likewise.
541         (R_D4): Likewise.
542         (R_D5): Likewise.
543         (R_D6): Likewise.
544         (R_D7): Likewise.
545         (R_A0): Likewise.
546         (R_A1): Likewise.
547         (R_A2): Likewise.
548         (R_A3): Likewise.
549         (R_A4): Likewise.
550         (R_A5): Likewise.
551         (R_A6): Likewise.
552         (R_A7): Likewise.
553         (R_SP): Likewise.
554         (R_PC): Likewise.
555         (R_PS): Likewise.
556         (fpregset_t): Likewise.
557         (MCONTEXT_VERSION): Likewise.
558         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
559         Likewise.
560         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
561         (REG_R1): Likewise.
562         (REG_R2): Likewise.
563         (REG_R3): Likewise.
564         (REG_R4): Likewise.
565         (REG_R5): Likewise.
566         (REG_R6): Likewise.
567         (REG_R7): Likewise.
568         (REG_R8): Likewise.
569         (REG_R9): Likewise.
570         (REG_R10): Likewise.
571         (REG_R11): Likewise.
572         (REG_R12): Likewise.
573         (REG_R13): Likewise.
574         (REG_R14): Likewise.
575         (REG_R15): Likewise.
576         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
577         of <arch/abi.h> on [__USE_MISC].
578         (greg_t): Condition on [__USE_MISC].
579         (NGREG): Likewise.
580         (gregset_t): Likewise.
582 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
584         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
585         (__pthread_rwlock_arch_t): Remove __data definition.
586         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
587         (__pthread_rwlock_arch_t): Likewise.
589 2017-05-11  Florian Weimer  <fweimer@redhat.com>
591         * resolv/inet_pton.c: Reformat in GNU style.  Remove
592         internal_function on static functions.
594 2017-05-11  Florian Weimer  <fweimer@redhat.com>
596         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
597         from format_ai_flags.
598         (format_ai_flags): New function.  Incorporate flag formatting code
599         from format_ai_one.
600         (format_ai_canonname): New function.
601         (format_ai_one): Remove flags parameter.
602         (format_ai_family): Likewise.
603         (support_format_addrinfo): Call format_ai_flags,
604         format_ai_canonname.
605         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
606         check_ai.
607         (check_ai): Call check_ai_hints.
608         (do_test): Add AI_CANONNAME tests.
610 2017-05-11  Florian Weimer  <fweimer@redhat.com>
612         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
613         (gaih_inet): Likewise.
615 2017-05-10  Andreas Schwab  <schwab@suse.de>
617         * nptl/tst-fork1.c: Include <support/test-driver.c>.
618         (main): Rename to do_test and make static.
620 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
622         * string/rawmemchr.c: Include <libc-diag.h>.
623         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
624         with size (size_t)-1.
626 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
628         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
629         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
630         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
632         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
633         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
634         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
635         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
636         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
637         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
638         * sysdeps/unix/sysv/linux/kernel-features.h
639         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
640         socket syscalls.
641         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
642         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
643         * sysdeps/unix/sysv/linux/i386/kernel-features.h
644         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
645         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
646         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
647         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
648         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
649         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
650         * sysdeps/unix/sysv/linux/sh/kernel-features.h
651         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
652         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
653         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
654         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
655         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
657 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
659         * posix/Makefile (headers): Add pthreadtypes-arch.h and
660         thread-shared-types.h.
661         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
662         specific thread definition.
663         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
664         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
665         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
666         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
667         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
668         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
669         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
670         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
671         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
672         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
673         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
674         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
675         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
676         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
677         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
678         thread definition between POSIX and C11.
679         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
680         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
681         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
682         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
683         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
684         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
685         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
686         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
687         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
688         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
689         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
690         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
691         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
692         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
693         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
694         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
695         definitions shared across all architectures.
697 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
699         * sysdeps/unix/sysv/linux/kernel-features.h
700         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
701         (__ASSUME_SENDMMSG): Likewise.
702         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
703         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
704         sendmmsg syscall if that can be assumed to be present, socketcall
705         otherwise, with no fallback for runtime failure.
707         * sysdeps/unix/sysv/linux/kernel-features.h
708         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
709         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
710         (__ASSUME_RECVMMSG): Likewise.
711         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
712         recvmmsg syscall if it can be assumed to be present, socketcall
713         otherwise, with no fallback for runtime failure.
715 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
716             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
718         * bits/libc-header-start.h:
719         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
720         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
721         * manual/creature.texi: Likewise.
723 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
724             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
726         * math/Makefile:
727         (type-float128-suffix): New variable
728         (type-float128-routines): Likewise
729         (type-float128-yes): Likewise
730         (types): Append float128 if supported
731         (types-basic): New variable to control the use of templates for
732         float, double, and long double, but not for float128 or newer types.
733         (type-basic-foreach): Likewise.
735         * sysdeps/ieee754/float128/Makeconfig: New file.
736         * sysdeps/ieee754/float128/Versions: New file.
738 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
740         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
741         Remove macro.
742         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
743         prlimit64 is always available and does not give an ENOSYS error.
744         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
745         unconditional.
746         [!__NR_prlimit64]: Remove conditional code.
747         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
748         prlimit64 is always available and does not give an ENOSYS error.
749         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
751 2017-05-09  Zack Weinberg  <zackw@panix.com>
753         * sunrpc/tst-xdrmem2.c: Include stdint.h.
755 2017-05-09  Florian Weimer  <fweimer@redhat.com>
757         [BZ #21474]
758         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
759         (__res_maybe_init): Likewise.
761 2017-05-09  Zack Weinberg  <zackw@panix.com>
763         * extra-modules.mk: Delete file.
764         * cppflags-iterator.mk: Rename to ...
765         * libof-iterator.mk: ...this.  Adjust comments.
767         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
768         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
769         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
770         Use libof-iterator.mk instead of cppflags-iterator.mk or
771         extra-modules.mk.
773         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
774         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
776 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
778         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
780 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
782         * stdio-common/vfprintf.c (EXTSIZ): Define.
783         (vfprintf): Use EXTSIZ.
784         (printf_positional): Likewise.
786 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
788         * sysdeps/unix/sysv/linux/kernel-features.h
789         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
790         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
791         <kernel-features.h>.
792         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
794         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
795         (__ASSUME_GETCPU_SYSCALL): Remove macro.
797 2017-05-08  Florian Weimer  <fweimer@redhat.com>
799         Prevent multiple deletion of temporary files.
800         * support/temp_file.c (struct temp_name_list): Add owner member.
801         (add_temp_file): Record owner.
802         (support_delete_temp_files): Delete file only if owner matches.
803         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
804         (do_prepare): Use create_temp_file instead of add_temp_file.
805         Initialize temp_fd1, temp_fd2.
806         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
807         framework remove the temporary files.
808         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
809         (do_prepare): Use create_temp_file instead of add_temp_file.
810         Initialize temp_fd1, temp_fd2, temp_fd3.
811         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
812         the test framework remove the temporary files.
813         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
814         deletion.
815         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
816         temporary directory.  It is removed by the test framework.
817         * dirent/tst-scandir.c (do_test): Likewise.
819 2017-05-08  Florian Weimer  <fweimer@redhat.com>
821         Delete temporary files in LIFO order.
822         * support/temp_file.c (struct temp_name_list): Replace q member
823         with next.
824         (add_temp_file): Add new file to front of linked list.
825         (support_delete_temp_files): Use next member.
826         (support_print_temp_files): Likewise.
828 2017-05-08  Florian Weimer  <fweimer@redhat.com>
830         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
831         sys/ultrasound.h.
832         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
834 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
836         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
837         Remove.
838         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
839         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
840         (arch_minimum_kernel): Remove.
841         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
842         * README: Update statement about Linux kernel requirements.
844 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
846         * manual/llio.texi: Add preadv and pwritev documentation.
848 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
850         [BZ #21455]
851         * bits/stdint-intn.h: New file.
852         * bits/stdint-uintn.h: Likewise.
853         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
854         bits/stdint-uintn.h.
855         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
856         <stdint.h>.
857         * posix/sys/types.h: Include <bits/stdint-intn.h>.
858         (__int8_t_defined): Do not define here.
859         (int8_t): Likewise.
860         (int16_t): Likewise.
861         (int32_t): Likewise.
862         (int64_t): Likewise.
863         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
864         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
865         <stdint.h>.
866         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
867         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
868         <bits/stdint-uintn.h>.
869         (int8_t): Do not define here.
870         (int16_t): Likewise.
871         (int32_t): Likewise.
872         (int64_t): Likewise.
873         (uint8_t): Likewise.
874         (uint16_t): Likewise.
875         (uint32_t): Likewise.
876         (uint64_t): Likewise.
877         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
878         variable.
879         (test-xfail-XPG42/netdb.h/conform): Likewise.
880         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
881         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
882         (test-xfail-UNIX98/netdb.h/conform): Likewise.
883         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
885 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
887         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
888         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
889         the above.
890         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
891         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
893 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
895         [BZ #21445]
896         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
898         [BZ #21457]
899         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
900         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
901         __glibc_reserved1.
902         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
903         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
904         (struct _fpxreg): Likewise.
905         [!__x86_64__] (struct _fpstate): Rename field reserved to
906         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
907         [__x86_64__] (struct _fpstate): Rename field padding to
908         __glibc_reserved1.
909         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
910         Rename field reserved2 to __glibc_reserved2.
911         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
912         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
913         __glibc_reserved1.
914         [__x86_64__] (struct _libc_fpstate): Rename field padding to
915         __glibc_reserved1.
917 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
919         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
920         variable name.
922 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
924         [BZ #21391]
925         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
926         Only call init_cpu_features.
927         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
928         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
929         * sysdeps/i386/dl-procinfo.h: Removed.
930         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
931         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
932         <sysdeps/x86/dl-procinfo.h>.
933         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
934         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
935         Include <sysdeps/x86/dl-procinfo.h> instead of
936          <sysdeps/generic/dl-procinfo.h>.
937         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
938         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
939         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
940         (bit_cpu_MOVBE): Likewise.
941         (bit_cpu_BMI1): Likewise.
942         (bit_cpu_BMI2): Likewise.
943         (index_cpu_BMI1): Likewise.
944         (index_cpu_BMI2): Likewise.
945         (index_cpu_LZCNT): Likewise.
946         (index_cpu_MOVBE): Likewise.
947         (index_cpu_POPCNT): Likewise.
948         (reg_BMI1): Likewise.
949         (reg_BMI2): Likewise.
950         (reg_LZCNT): Likewise.
951         (reg_MOVBE): Likewise.
952         (reg_POPCNT): Likewise.
953         * sysdeps/x86/dl-hwcap.h: New file.
954         * sysdeps/x86/dl-procinfo.h: Likewise.
955         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
956         (_dl_x86_platforms): Likewise.
958 2017-05-03  DJ Delorie  <dj@redhat.com>
960         [BZ #21411]
961         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
963 2017-05-03  Phil Blundell  <pb@pbcl.net>
965         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
966         comments.
968 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
970         [BZ #20116]
971         * nptl/pthread_create.c: Expand comments to describe
972         semaphore-like and mutex-like uses of PD->lock.
974 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
976         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
977         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
978         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
979         auto-generation list.
980         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
981         epoll_wait.
982         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
983         Remove epoll_wait.
985         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
986         osf_select.
987         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
988         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
989         osf_select from auto-generation list.
990         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
991         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
992         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
993         * sysdeps/unix/sysv/linux/select.c: New file.
995         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
996         * sysdeps/unix/sysv/linux/poll.c: New file.
997         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
998         auto-generation list.
1000 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
1002         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
1003         New macro.
1005 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
1007         [BZ #21179]
1008         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
1009         R_SPARC_REGISTER relocations.
1011 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1013         * include/unistd.h (__pread): Add libc_hidden_proto.
1014         (__pread64): Likewise.
1015         (__pwrite): Likewise.
1016         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
1017         (__pread64): Remove.
1018         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
1019         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
1020         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
1022 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1026 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1028         * nptl/tst-cancel4-common.c: Use libsupport.
1029         * nptl/tst-cancel4-common.h: Likewise.
1030         * nptl/tst-cancel4.c (tf_read): Likewise.
1031         (tf_readv): Likewise.
1032         (tf_write): Likewise.
1033         (tf_writev): Likewise.
1034         (tf_sleep): Likewise.
1035         (tf_usleep): Likewise.
1036         (tf_nanosleep): Likewise.
1037         (tf_select): Likewise.
1038         (tf_pselect): Likewise.
1039         (tf_poll): Likewise.
1040         (tf_ppoll): Likewise.
1041         (tf_wait): Likewise.
1042         (tf_waitpid): Likewise.
1043         (tf_waitid): Likewise.
1044         (tf_sigpause): Likewise.
1045         (tf_sigsuspend): Likewise.
1046         (tf_sigwait): Likewise.
1047         (tf_sigwaitinfo): Likewise.
1048         (tf_sigtimedwait): Likewise.
1049         (tf_pause): Likewise.
1050         (tf_accept): Likewise.
1051         (tf_send): Likewise.
1052         (tf_recv): Likewise.
1053         (tf_recvfrom): Likewise.
1054         (tf_recvmsg): Likewise.
1055         (tf_open): Likewise.
1056         (tf_close): Likewise.
1057         (tf_pread): Likewise.
1058         (tf_pwrite): Likewise.
1059         (tf_preadv): Likewise.
1060         (tf_pwritev): Likewise.
1061         (tf_fsync): Likewise.
1062         (tf_fdatasync): Likewise.
1063         (tf_msync): Likewise.
1064         (tf_sendto): Likewise.
1065         (tf_sendmsg): Likewise.
1066         (tf_creat): Likewise.
1067         (tf_connect): Likewise.
1068         (tf_tcdrain): Likewise.
1069         (tf_msgrcv): Likewise.
1070         (tf_msgsnd): Likewise.
1071         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
1072         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
1074         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
1075         expected arguments.
1076         (do_test): Adapt to use libsupport.
1078 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
1080         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
1082         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
1083         (PF_MAX): Set to 44.
1084         (AF_SMC): New macro.
1086         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1087         kernel version to 4.11.
1089 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1091         [BZ #21280]
1092         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
1093         signal of subnormals and adjust the exponent of power of 2 down
1094         when low part has opposite sign.
1096 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1098         * sysdeps/powerpc/powerpc64le/Implies: New file.
1099         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
1100         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
1101         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
1102         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
1103         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
1104         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
1105         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
1106         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
1107         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
1108         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
1109         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
1110         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
1111         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
1112         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
1113         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
1114         * sysdeps/powerpc/preconfigure: New file.
1115         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
1118 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
1120         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
1121         inclusion.
1122         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
1123         Remove.
1125 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
1127         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
1128         (XPG3): Rename standard to XPG4.
1129         * conform/Makefile: Likewise.
1130         * conform/list-header-symbols.pl: Likewise.
1131         * conform/data/aio.h-data: Likewise.
1132         * conform/data/arpa/inet.h-data: Likewise.
1133         * conform/data/complex.h-data: Likewise.
1134         * conform/data/ctype.h-data: Likewise.
1135         * conform/data/dlfcn.h-data: Likewise.
1136         * conform/data/fcntl.h-data: Likewise.
1137         * conform/data/fenv.h-data: Likewise.
1138         * conform/data/float.h-data: Likewise.
1139         * conform/data/fmtmsg.h-data: Likewise.
1140         * conform/data/ftw.h-data: Likewise.
1141         * conform/data/grp.h-data: Likewise.
1142         * conform/data/inttypes.h-data: Likewise.
1143         * conform/data/iso646.h-data: Likewise.
1144         * conform/data/langinfo.h-data: Likewise.
1145         * conform/data/libgen.h-data: Likewise.
1146         * conform/data/limits.h-data: Likewise.
1147         * conform/data/locale.h-data: Likewise.
1148         * conform/data/math.h-data: Likewise.
1149         * conform/data/mqueue.h-data: Likewise.
1150         * conform/data/ndbm.h-data: Likewise.
1151         * conform/data/net/if.h-data: Likewise.
1152         * conform/data/netdb.h-data: Likewise.
1153         * conform/data/netinet/in.h-data: Likewise.
1154         * conform/data/poll.h-data: Likewise.
1155         * conform/data/pthread.h-data: Likewise.
1156         * conform/data/pwd.h-data: Likewise.
1157         * conform/data/sched.h-data: Likewise.
1158         * conform/data/search.h-data: Likewise.
1159         * conform/data/semaphore.h-data: Likewise.
1160         * conform/data/signal.h-data: Likewise.
1161         * conform/data/spawn.h-data: Likewise.
1162         * conform/data/stdbool.h-data: Likewise.
1163         * conform/data/stdint.h-data: Likewise.
1164         * conform/data/stdio.h-data: Likewise.
1165         * conform/data/stdlib.h-data: Likewise.
1166         * conform/data/string.h-data: Likewise.
1167         * conform/data/strings.h-data: Likewise.
1168         * conform/data/stropts.h-data: Likewise.
1169         * conform/data/sys/mman.h-data: Likewise.
1170         * conform/data/sys/resource.h-data: Likewise.
1171         * conform/data/sys/select.h-data: Likewise.
1172         * conform/data/sys/socket.h-data: Likewise.
1173         * conform/data/sys/stat.h-data: Likewise.
1174         * conform/data/sys/statvfs.h-data: Likewise.
1175         * conform/data/sys/time.h-data: Likewise.
1176         * conform/data/sys/timeb.h-data: Likewise.
1177         * conform/data/sys/types.h-data: Likewise.
1178         * conform/data/sys/uio.h-data: Likewise.
1179         * conform/data/sys/un.h-data: Likewise.
1180         * conform/data/sys/wait.h-data: Likewise.
1181         * conform/data/syslog.h-data: Likewise.
1182         * conform/data/termios.h-data: Likewise.
1183         * conform/data/tgmath.h-data: Likewise.
1184         * conform/data/time.h-data: Likewise.
1185         * conform/data/ucontext.h-data: Likewise.
1186         * conform/data/unistd.h-data: Likewise.
1187         * conform/data/utmpx.h-data: Likewise.
1188         * conform/data/varargs.h-data: Likewise.
1189         * conform/data/wchar.h-data: Likewise.
1190         * conform/data/wctype.h-data: Likewise.
1192 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
1194         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
1195         version to 7 branch.
1197 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
1199         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
1200         earlyclobber to output operand of sqrt insn.
1201         (__ieee754_sqrtf): Ditto.
1203 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
1205         [BZ #21426]
1206         * misc/bits/types/struct_iovec.h: New file.
1207         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
1208         * include/bits/types/struct_iovec.h: New file.
1209         * bits/uio.h (struct iovec): Replace by inclusion of
1210         <bits/types/struct_iovec.h>.
1211         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
1212         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
1213         of <sys/uio.h>.
1214         * nptl/tst-cancel4.c: Include <sys/uio.h>
1215         * posix/test-errno.c: Likewise.
1216         * support/resolv_test.c: Likewise.
1217         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
1218         Remove.
1219         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1220         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1221         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1223         * conform/data/sys/socket.h-data (*_t): Allow.
1225 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1227         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
1228         assignment.
1230 2017-04-24  Daurnimator  <quae@daurnimator.com>
1231             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1233         [BZ #21340]
1234         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
1235         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
1236         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
1237         valid flags.
1238         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
1239         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
1240         POSIX_SPAWN_SETSID.
1241         * sysdeps/posix/spawni.c (__spawni): Likewise.
1242         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1243         * NEWS: Add note about POSIX_SPAWN_SETSID support.
1245 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1247         * sysdeps/generic/math_private.h: Move the declaration of many
1248         functions to sysdeps/generic/math_private_calls.h.
1249         * sysdeps/generic/math_private_calls.h: New file with the
1250         declarations of the functions removed from math_private.h
1251         macroized by floating-point type.
1253 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1255         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
1256         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
1257         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1258         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1259         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1260         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1262 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1264         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
1265         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
1266         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
1267         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
1268         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
1269         New Define.
1271 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1273         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
1274         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
1275         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1276         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1277         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1278         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1280 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1282         * sysdeps/s390/multiarch/ifunc-resolve.h
1283         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
1284         * sysdeps/s390/multiarch/8bit-generic.c
1285         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
1286         define ifunc resolvers.
1288 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1290         [BZ #20424]
1291         * manual/memory.texi (Replacing malloc): New section.
1292         (Allocating Storage For Program Data): Reference it.
1293         (The GNU Allocator): Likewise.
1295 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
1297         * stdlib/Versions (__strtod_internal): List explicitly, not as
1298         wildcard.
1299         (__strtof_internal): Likewise.
1300         (__strtold_internal): Likewise.
1301         (__strtol_internal): Likewise.
1302         (__strtoll_internal): Likewise.
1303         (__strtoul_internal): Likewise.
1304         (__strtoull_internal): Likewise.
1305         (__strtoq_internal): Likewise.
1306         (__strtouq_internal): Likewise.
1307         * wcsmbs/Versions (__wcstod_internal): Likewise.
1308         (__wcstof_internal): Likewise.
1309         (__wcstold_internal): Likewise.
1310         (__wcstol_internal): Likewise.
1311         (__wcstoll_internal): Likewise.
1312         (__wcstoul_internal): Likewise.
1313         (__wcstoull_internal): Likewise.
1315 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1317         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
1318         struct timespec definition.
1320 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1322         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
1324 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1326         * inet/rcmd.c (rresvport_af): Fix typo in comment.
1327         * inet/rexec.c (rexec_af): Likewise.
1329 2017-04-19  Zack Weinberg  <zackw@panix.com>
1331         * posix/tst-mmap-offset.c: Include stdint.h.
1332         * resolv/tst-ns_name_compress.c: Include string.h.
1333         * resolv/tst-resolv-edns.c: Include resolv.h.
1335 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1337         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
1338         with __glibc_likely.
1339         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
1340         Replace __builtin_expect with __glibc_unlikely.
1341         * resolv/res_init.c (__res_vinit): Likewise.
1342         * resolv/res_query.c (__libc_res_nquery): Likewise.
1343         * resolv/res_send.c (__libc_res_nsend): Likewise.
1345 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1347         [BZ #15722]
1348         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
1349         with SOCK_CLOEXEC.
1350         * resolv/res_send.c (send_vc, reopen): Likewise.
1351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
1352         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
1353         Likewise.
1354         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
1355         * inet/rexec.c (rexec_af): Add comment.
1356         * inet/rcmd.c (rresvport_af): Likewise.
1358 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1360         * nscd/connections.c (have_accept4): Removed definition.
1361         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
1362         accept4 works.
1363         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
1364         ia64 because that was the first version with accept4 support.
1365         * support/Makefile (libsupport-routines): Add xaccept4.
1366         * support/xsocket.h (xaccept4): Declare.
1367         * support/xaccept4.c: New file.
1368         * socket/tst-accept4.c: New file.
1369         * socket/Makefile (tests): Add tst-accept4.
1370         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
1371         definition.
1372         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
1373         comment.
1374         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
1375         implementation is available.
1376         (accept4): Use the system call if available, otherwise use the
1377         socket call.
1378         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
1379         Set to 3.2.18.
1380         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1381         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
1382         accept4 is unconditionally available in later 3.2 stable kernels.
1383         (__ASSUME_ACCEPT4_SYSCALL): Define.
1384         * sysdeps/unix/sysv/linux/kernel-features.h
1385         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
1386         definitions.
1387         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1388         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
1390 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
1392         * conform/Makefile (tests-special): Do not make addition of
1393         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
1394         (generated): Do not make addition of $(conformtest-header-base)
1395         conditional on [$(cross-compiling) = no].
1397         [BZ #21267]
1398         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
1399         if defined by <asm/socket.h> and not previously defined.
1400         (IOCSIZE_SHIFT): Likewise.
1401         (IOC_IN): Likewise.
1402         (IOC_INOUT): Likewise.
1403         (IOC_OUT): Likewise.
1405 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1407         [BZ #21396]
1408         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1409         Prefer_No_AVX512 if AVX512ER isn't available.
1410         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
1411         (index_arch_Prefer_No_AVX512): Likewise.
1412         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
1413         AVX512 version if Prefer_No_AVX512 is set.
1414         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
1415         Likewise.
1416         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
1417         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
1418         Likewise.
1419         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1420         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
1421         Likewise.
1422         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
1423         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
1424         Likewise.
1426 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1428         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1429         Prefer_No_VZEROUPPER if AVX512ER is available.
1430         * sysdeps/x86/cpu-features.h
1431         (bit_cpu_AVX512PF): New.
1432         (bit_cpu_AVX512ER): Likewise.
1433         (bit_cpu_AVX512CD): Likewise.
1434         (bit_cpu_AVX512BW): Likewise.
1435         (bit_cpu_AVX512VL): Likewise.
1436         (index_cpu_AVX512PF): Likewise.
1437         (index_cpu_AVX512ER): Likewise.
1438         (index_cpu_AVX512CD): Likewise.
1439         (index_cpu_AVX512BW): Likewise.
1440         (index_cpu_AVX512VL): Likewise.
1441         (reg_AVX512PF): Likewise.
1442         (reg_AVX512ER): Likewise.
1443         (reg_AVX512CD): Likewise.
1444         (reg_AVX512BW): Likewise.
1445         (reg_AVX512VL): Likewise.
1447 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1449         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
1450         O_CLOEXEC is defined.
1451         * include/fcntl.h (__have_o_cloexec): Remove declaration.
1452         * io/Makefile (aux): Remove.
1453         * io/have_o_cloexec.c: Remove file.
1454         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
1455         defined and works.
1456         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
1457         defined.
1458         * login/utmp_file.c (O_flags): Remove definition.
1459         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
1460         O_CLOEXEC works.
1461         (pututline_file): Likewise.
1462         * malloc/mtrace.c: Assume that O_CLOEXEC works.
1463         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
1464         definition.
1465         (internal_setgrent): Assume that O_CLOEXEC works.
1466         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
1467         Remove definition.
1468         (internal_setgrent): Assume that O_CLOEXEC works.
1469         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
1470         definition.
1471         (internal_setpwent): Assume that O_CLOEXEC works.
1472         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
1473         definition.
1474         (internal_setspent): Assume that O_CLOEXEC works.
1475         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
1476         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
1477         O_CLOEXEC is defined and works.
1478         * nss/Makefile (libnss_files-routines): Remove
1479         files-have_o_cloexec.
1480         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
1481         defined.
1482         * nss/nss_files/files-XXX.c (internal_setent): Assume that
1483         O_CLOEXEC is defined and works.
1484         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1485         * nss/nss_files/files-have_o_cloexec.c: Remove.
1486         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
1487         defined.
1488         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
1489         and works.
1490         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
1491         definition.
1492         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
1493         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
1494         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
1495         (__opendirat, __opendir): Adjust opendir_oflags call.
1496         (check_have_o_cloexec): Remove.
1497         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
1498         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
1499         defined.
1500         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
1501         Remove definition.
1503 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1505         * include/unistd.h (__have_dup3): Remove declaration.
1506         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
1507         dup3 is available.
1508         * libio/freopen64.c (freopen64): Likewise.
1509         * socket/Makefile (aux): Remove have_sock_cloexec.
1510         * socket/have_sock_cloexec.c: Remove file.
1511         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
1512         definition.
1513         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
1514         Likewise.
1515         * sysdeps/nacl/kernel-features.h: Update comment.
1517 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1519         * include/unistd.h (__have_pipe2): Remove declaration.
1520         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
1521         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
1522         available.
1523         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
1524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
1525         Remove definition.
1527 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1529         * malloc/malloc.c (cfree): Turn into compat symbol.
1530         (__cfree): Remove alias.
1531         * stdlib/stdlib.h (cfree): Remove declaration.
1532         * malloc/malloc.h (cfree): Likewise.
1533         * manual/memory.texi (Freeing after Malloc): Remove cfree.
1534         * malloc/Versions (GLIBC_2.26): Add.
1536 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1538         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1539         (sysdep_routines): Add strrchr-power8.
1540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1541         (strrchr): Add __strrchr_power8 to list of strrchr functions.
1542         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
1543         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
1544         (strrchr): Add __strrchr_power8 to ifunc list.
1545         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
1547 2017-04-17  Rabin Vincent  <rabinv@axis.com>
1549         [BZ #21357]
1550         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
1551         Call free() outside of mutex.
1553 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1555         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
1556         is defined.
1557         * elf/rtld.c (process_envvars): Likewise.
1558         * sysdeps/posix/shm_open.c (shm_open): Likewise.
1559         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
1560         O_NOFOLLOW directly.
1561         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
1563 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1565         [BZ #21369]
1566         Remove EDNS fallback.
1567         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
1568         handling.
1569         * resolv/res_send.c (send_dg): Likewise.
1570         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
1571         "tcp." prefixes.
1572         (do_test): Send a "formerr."-prefixed query in an attempt to
1573         trigger EDNS fallback.
1575 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1577         [BZ #21361]
1578         Limit EDNS buffer size to 1200 bytes.
1579         * include/resolv.h (__res_nopt): Remove declaration.
1580         * resolv/Makefile (tests): tst-resolv-edns.
1581         (tst-resolv-edns): Link with -lresolv, -lpthread.
1582         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
1583         interval [512, 1200].
1584         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
1585         we can resize the buffer.
1586         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
1587         (__res_nopt): Declare.
1588         * resolv/tst-resolv-edns.c: New file.
1589         * resolv/resolv_test.h (struct resolv_edns_info): Define.
1590         (struct resolv_response_context): Add edns member.
1591         * resolv/resolv_test.c (struct query_info): Add edns member.
1592         (parse_query): Extract EDNS information from the query.
1593         (server_thread_udp_process_one): Propagate EDNS data.
1594         (server_thread_tcp_client): Likewise.
1596 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1598         [BZ #21359]
1599         * resolv/ns_name.c (ns_name_pack): Do not require an additional
1600         byte in the destination buffer.  Avoid out-of-bounds pointer
1601         arithmetic.
1602         * resolv/Makefile (tests): Add tst-ns_name_compress.
1603         (tst-ns_name_compress): Link with -lresolv.
1604         * resolv/tst-ns_name_compress.c: New file.
1605         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
1606         (response): Recognize LONG_NAME.
1607         (do_test): Add LONG_NAME tests.
1608         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
1609         for ns_name_unpack.  Add tests for ns_name_pton and
1610         ns_name_compress.
1612 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1614         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
1615         (res_nisourserver): Remove definition.
1616         (p_section, res_npquery, res_nisourserver): Remove declaration.
1617         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
1618         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
1619         ... here.
1620         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
1621         <resolv.h>.
1622         * resolv/res_query.c: Likewise.
1623         * resolv/res_debug.c (p_section): Define as static.
1625 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1627         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
1628         strncat-power8.
1629         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
1630         __strncat_power8 to ifunc list.
1631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1632         (strncat): Add __strncat_power8 to list of strncat functions.
1633         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
1635 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1637         [BZ #21270]
1638         * posix/tst-mmap-offset.c (do_prepare): New function.
1639         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
1640         (do_test_bz21270): New function.
1641         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
1642         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
1643         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
1644         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
1645         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
1646         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1647         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
1648         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
1649         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
1650         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
1651         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
1652         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1653         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1654         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1655         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
1656         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
1657         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1658         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
1659         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
1660         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
1661         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
1662         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
1663         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
1664         from auto-generation list.
1665         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
1666         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1667         * sysdeps/unix/sysv/linux/mmap.c: New file.
1668         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
1669         offsets and support for mmap2 syscall.
1671         * posix/globtest.sh: Add cleanup routine on trap 0.
1673 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1675         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
1676         implementation-specific function name and remove unneeded
1677         macros definition.
1678         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1679         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1680         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
1681         name if not defined and pass as parameter to macros accordingly.
1682         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1683         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1685         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
1686         implementation-specific function name and remove unneeded
1687         macros definition.
1688         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1689         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1690         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1691         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1692         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1693         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1694         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
1695         name if not defined and pass as parameter to macros accordingly.
1696         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1697         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1698         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1699         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1700         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1701         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1703         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
1704         implementation-specific function name and remove unneeded macros
1705         definition.
1706         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1707         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1708         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
1709         function name if not defined and pass as parameter to macros
1710         accordingly.
1711         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1712         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1714         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
1715         implementation-specific function name and remove unneeded macros
1716         definition.
1717         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1718         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1719         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1720         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1721         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
1722         not defined and pass as parameter to macros accordingly.
1723         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1724         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1725         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1726         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1728         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
1729         strcasestr implementation name and remove unneeded macros definition.
1730         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1731         strstr implementation name and remove unneeded macros definition.
1732         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
1733         name if not defined and pass as parameter to macros accordingly.
1734         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1736         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
1737         implementation-specific function name and remove unneeded macros
1738         definition.
1739         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1740         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1741         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1742         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1743         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1744         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
1745         function name if not defined and pass as parameter to macros
1746         accordingly.
1747         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1748         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1749         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1750         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1752         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
1753         the strlen implementation name and remove unneeded macros definition.
1754         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1755         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1756         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
1757         the strnlen implementation name and remove unneeded macros definition.
1758         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
1759         name if not defined and pass as parameter to macros accordingly.
1760         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1761         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1762         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1764         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
1765         the implementation-specific function name and remove unneeded
1766         macros definition.
1767         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1768         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
1769         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1770         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1771         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1772         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1773         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1774         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1775         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1776         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
1777         name if not defined and pass as parameter to macros accordingly.
1778         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1779         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1780         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1781         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1782         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1783         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1784         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1785         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1787         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
1788         implementation-specific function name and remove unneeded macros
1789         definition.
1790         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1791         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1792         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1793         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1794         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1795         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
1796         function name if not defined.
1797         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1798         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1800 2017-04-11  Paul Clarke  <pc@us.ibm.com>
1802         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
1803         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
1804         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
1805         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
1807 2017-04-11  Florian Weimer  <fweimer@redhat.com>
1808             Zack Weinberg  <zackw@panix.com>
1810         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
1811         readdir64 as thread-safe.  Update warning about readdir_r.
1813 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1815         * sysdeps/unix/sysv/linux/x86/Implies: New file.
1816         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
1817         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
1818         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
1819         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
1820         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
1821         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1823 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1825         * sysdeps/i386/dl-procinfo.c: Include
1826         <sysdeps/x86/dl-procinfo.c>.
1827         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1828         * sysdeps/x86/dl-procinfo.c: New file.
1830 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1832         * sysdeps/generic/math_private.h: Remove declarations of
1833         many functions that are already declared in math.h.
1834         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
1835         declaration for __frexpl.
1836         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
1837         the declarations for __scalbnl and fabsl.
1839 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
1841         [BZ #20831]
1842         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
1843         of __mprotect to change protection on the excess portion
1844         to disallow all access.
1846 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1848         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
1849         HAS_CPU_FEATURE to check for SSE.
1850         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1851         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1852         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
1853         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
1854         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
1855         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
1856         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
1857         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
1858         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1859         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
1860         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1861         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1862         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
1863         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
1864         (index_cpu_SSE): Likewise.
1865         (reg_SSE): Likewise.
1867 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1869         * posix/getopt1.c: Include <config.h>, not "config.h".
1871 2017-04-07  Zack Weinberg  <zackw@panix.com>
1873         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
1874         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
1875         Mention in top-of-file boilerplate that these files are shared
1876         with gnulib.
1877         * posix/getopt.h, posix/bits/getopt_posix.h:
1878         Mention in top-of-file boilerplate that these files are NOT shared
1879         with gnulib, unlike the rest of the getopt implementation.
1881         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
1882         New files, intended to be shared with gnulib.
1883         * posix/bits/getopt_posix.h:
1884         New file, not intended to be shared with gnulib.
1885         * posix/getopt.h: Now just includes features.h,
1886         bits/getopt_core.h, and bits/getopt_ext.h.  Will
1887         no longer be shared with gnulib.
1888         * include/bits/getopt_core.h, include/bits/getopt_ext.h
1889         * include/bits/getopt_posix.h: New wrappers.
1890         * posix/Makefile: Install new headers.
1891         * posix/unistd.h, libio/stdio.h:
1892         Include bits/getopt_posix.h instead of getopt.h.
1894         * include/libc-symbols.h: For gnulib compatibility, define
1895         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
1896         _GL_ATTRIBUTE_CONST.
1897         * posix/getopt.c (_getopt_initialize): Mark argc and argv
1898         parameters with _GL_UNUSED.
1900         * posix/getopt.c: When used standalone, define __libc_use_alloca
1901         as always false and alloca to abort if called.
1902         (process_long_option): Rewrite handling of ambiguous long options
1903         to use a single boolean vector, not a linked list; use
1904         __libc_use_alloca to decide whether to allocate this using alloca.
1905         * posix/tst-getopt_long1.c: Adjust text of expected error message.
1907         * posix/getopt.c (process_long_option): New function split out
1908         from _getopt_internal_r.
1909         (_getopt_internal_r): Replace both copies of the long-option
1910         processing code with calls to process_long_option.
1911         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
1912         (do_test): Differentiate argv[0] in the two subtests.
1914         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
1915         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
1916         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
1918         * posix/getopt.h: Add backup definition of __nonnull for
1919         consistency with gnulib.  Define __getopt_argv_const to const
1920         if not already defined.
1921         (getopt): Update doc comment from gnulib.  Prototype
1922         unconditionally.  Add __nonnull annotation.
1923         (__posix_getopt): Add __nonnull annotation.
1924         (getopt_long, getopt_long_only): Use __getopt_argv_const in
1925         prototypes for consistency with gnulib.  Add __nonnull
1926         annotations.
1927         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
1928         (getopt_internal): Change 'argv' argument to type 'char **'.
1929         Remove now-unnecessary casts.
1930         (getopt, __posix_getopt): Eliminate repetition with a macro.
1931         Cast 'argv' to 'char **' when calling _getopt_internal.
1932         * posix/getopt1.c (getopt_long, getopt_long_only):
1933         Use __getopt_argv_const for consistency with gnulib.
1934         Cast 'argv' to 'char **' when calling _getopt_internal.
1935         (_getopt_long_r, _getopt_long_only_r):
1936         Change 'argv' argument to type 'char **'.
1937         (main): Constify 'long_options'.
1938         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
1939         (_getopt_long_r, _getopt_long_only_r):
1940         Change 'argv' argument to type 'char **'.
1942         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
1943         (locked_vfxprintf): New helper function. Handle arbitrary
1944         multibyte strings, not just ASCII.
1945         * include/stdio.h: Declare __fxprintf_nocancel.
1946         * posix/getopt.c: When _LIBC is defined, define fprintf to
1947         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
1948         to _IO_funlockfile.  When neither _LIBC nor
1949         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
1950         funlockfile as no-ops.
1951         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
1952         the standalone error-printing code can now be used for libc as
1953         well.  Add an flockfile/funlockfile pair around one case where
1954         the error message is printed in several chunks.  Don't use fputc.
1955         * posix/tst-getopt-cancel.c: New test.
1956         * posix/Makefile: Run it.
1958         * posix/getopt.c (_getopt_internal_r): Don't increment
1959         d->optind a second time when reporting ambiguous -W options.
1961         * posix/getopt_int.h: Include getopt.h.
1962         Use impl-namespace names for all arguments to _getopt_internal and
1963         _getopt_internal_r.
1964         Declare __ordering enum outside the struct.
1965         Harmonize comments with gnulib.
1966         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
1967         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
1968         #ifdef TEST block and make unconditional.  Do not define NULL.
1969         * posix/getopt.c: Partial merge from gnulib, covering the
1970         initial includes and global declarations, commentary, and
1971         a couple of semantically-neutral code changes.
1973         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
1974         Use '...' instead of `...' for quotation marks inside
1975         comments and strings.
1977         * config.h.in (USE_NONOPTION_FLAGS): Remove.
1978         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
1979         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1980         * posix/getopt_int.h: Likewise.
1981         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
1982         __libc_argc and __libc_argv externs, which were only used by
1983         #ifdef USE_NONOPTION_FLAGS blocks.
1984         * posix/getopt_init.c: Remove file.
1985         * posix/Makefile (routines): Remove getopt_init.
1986         * include/getopt.h: Don't declare __getopt_initialize_environment.
1987         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
1988         a comment.
1990 2017-04-07  Florian Weimer  <fweimer@redhat.com>
1992         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
1994 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1996         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
1997         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
1998         to __wrap_.udiv.
1999         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
2000         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
2002         * sysdeps/i386/symbol-hacks.h: New file.
2003         * sysdeps/m68k/symbol-hacks.h: New file.
2004         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
2005         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
2006         * sysdeps/unix/sysv/linux/i386/Makefile
2007         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
2008         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2009         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2010         * sysdeps/unix/sysv/linux/m68k/Makefile
2011         [$(subdir) = csu] (sysdep_routines): Likewise.
2012         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2013         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2015         [$(subdir) = csu] (sysdep_routines): Likewise.
2016         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2017         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2018         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2019         [$(subdir) = csu] (sysdep_routines): Likewise.
2020         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2021         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2022         * sysdeps/wordsize-32/Makefile: Remove file.
2023         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
2024         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
2026 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
2028         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
2029         (TEST_FUNCTION_ARGV): New.
2031 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2033         * elf/next.c: Import support/test-driver.c instead of
2034         test-skeleton.c and delete TEST_FUNCTION macro definition.
2035         * elf/nodelete.c: Likewise.
2036         * elf/order2.c: Likewise.
2037         * elf/tst-_dl_addr_inside_object.c: Likewise.
2038         * elf/tst-addr1.c: Likewise.
2039         * elf/tst-align.c: Likewise.
2040         * elf/tst-align2.c: Likewise.
2041         * elf/tst-audit11.c: Likewise.
2042         * elf/tst-audit12.c: Likewise.
2043         * elf/tst-audit2.c: Likewise.
2044         * elf/tst-audit9.c: Likewise.
2045         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
2046         * elf/tst-deep1.c: Likewise.
2047         * elf/tst-dl-iter-static.c: Likewise.
2048         * elf/tst-dlmodcount.c: Likewise.
2049         * elf/tst-dlmopen1.c: Likewise.
2050         * elf/tst-dlmopen2.c: Likewise.
2051         * elf/tst-dlmopen3.c: Likewise.
2052         * elf/tst-dlopen-aout.c: Likewise.
2053         * elf/tst-dlopenrpath.c: Likewise.
2054         * elf/tst-dlsym-error.c: Likewise.
2055         * elf/tst-execstack-needed.c: Likewise.
2056         * elf/tst-execstack-prog.c: Likewise.
2057         * elf/tst-execstack.c: Likewise.
2058         * elf/tst-global1.c: Likewise.
2059         * elf/tst-gnu2-tls1.c: Likewise.
2060         * elf/tst-latepthread.c: Likewise.
2061         * elf/tst-leaks1.c: Likewise.
2062         * elf/tst-linkall-static.c: Likewise.
2063         (do_test): New function.
2064         * elf/tst-nodelete-opened.c: Likewise.
2065         * elf/tst-nodelete.cc: Likewise.
2066         * elf/tst-nodelete2.c: Likewise.
2067         * elf/tst-noload.c: Likewise.
2068         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
2069         * elf/tst-order-main.c: Likewise.
2070         * elf/tst-pathopt.c: Likewise.
2071         * elf/tst-pie2.c: Likewise.
2072         * elf/tst-piemod1.c: Likewise.
2073         * elf/tst-prelink.c: Likewise.
2074         * elf/tst-protected1a.c: Likewise.
2075         * elf/tst-protected1b.c: Likewise.
2076         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
2077         and define _GNU_SOURCE macro.
2078         (cmdline_process_function): New function.
2079         * elf/tst-relsort1.c: Likewise.
2080         * elf/tst-stackguard1.c: Likewise, import getopt.h,
2081         and define _GNU_SOURCE macro.
2082         (cmdline_process_function): New function.
2083         * elf/tst-thrlock.c: Likewise.
2084         * elf/tst-tls-dlinfo.c: Likewise.
2085         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
2086         * elf/tst-tls1.c: Likewise.
2087         * elf/tst-tls10.c: Likewise.
2088         * elf/tst-tls11.c: Likewise.
2089         * elf/tst-tls12.c: Likewise.
2090         * elf/tst-tls13.c: Likewise.
2091         * elf/tst-tls14.c: Likewise.
2092         * elf/tst-tls15.c: Likewise.
2093         * elf/tst-tls16.c: Likewise.
2094         * elf/tst-tls17.c: Likewise.
2095         * elf/tst-tls18.c: Likewise.
2096         * elf/tst-tls19.c: Likewise.
2097         * elf/tst-tls2.c: Likewise.
2098         * elf/tst-tls3.c: Likewise.
2099         * elf/tst-tls4.c: Likewise.
2100         * elf/tst-tls5.c: Likewise.
2101         * elf/tst-tls6.c: Likewise.
2102         * elf/tst-tls7.c: Likewise.
2103         * elf/tst-tls8.c: Likewise.
2104         * elf/tst-tls9.c: Likewise.
2105         * elf/tst-tlsalign-extern.c: Likewise.
2106         * elf/tst-tlsalign.c: Likewise.
2107         * elf/tst-unique1.c: Likewise.
2108         * elf/tst-unique2.c: Likewise.
2109         * elf/vismain.c: Likewise.
2111 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2113         * string/test-strnlen.c (do_page_tests): New function
2114         to check length of strings ending at the page boundary.
2115         (test_main): Added call to the do_page_tests function.
2117 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2118             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2120         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2121         (sysdep_routines): Add strnlen-power8.
2122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2123         (strnlen): Add __strnlen_power8 to list of strnlen functions.
2124         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
2125         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
2126         (__strnlen): Add __strnlen_power8 to ifunc list.
2127         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
2129 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2131         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
2132         the TEST_FUNCTION macro definition.
2133         * wcsmbs/tst-mbrtowc2.c: Likewise.
2134         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2135         * wcsmbs/tst-wchar-h.c: Likewise.
2136         * wcsmbs/tst-wcpncpy.c: Likewise.
2137         * wcsmbs/tst-wcrtomb.c: Likewise.
2138         * wcsmbs/tst-wcsnlen.c: Likewise.
2139         * wcsmbs/tst-wcstof.c: Likewise.
2141 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2143         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
2144         CALL_THREAD_FCT macro usage.
2145         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
2146         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
2147         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
2149         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
2150         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2151         (__ASSUME_REQUEUE_PI): Likewise.
2152         * sysdeps/unix/sysv/linux/kernel-features.h
2153         (__ASSUME_REQUEUE_PI): Likewise.
2154         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2155         (__ASSUME_REQUEUE_PI): Likewise.
2156         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2157         (__ASSUME_REQUEUE_PI): Likewise.
2158         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2159         (__ASSUME_REQUEUE_PI): Likewise.
2161 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2163         * resolv/tst-resolv-canonname.c: New file.
2164         * resolv/Makefile (tests): Add tst-resolv-canonname.
2165         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
2167 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2169         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
2170         Declare.
2171         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
2172         (NS_MAXCDNAME): Remove definition.
2173         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2174         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
2175         (NS_MAXCDNAME): Remove definition.
2176         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2178 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2180         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
2181         call whose result is not used.
2183 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2185         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
2186         * resolv/Makefile (tests): Add tst-ns_name.
2187         (tst-ns_name): Link with -lresolv.
2188         (tst-ns_name.out): Depend on the input data file.
2190 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2192         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
2193         Clobber also r14.
2195 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
2197         [BZ #21253]
2198         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
2199         slack space by 32KiB.
2201 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
2203         [BZ #21338]
2204         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
2205         instead of incorrect do_set_arena_test
2207 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2209         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
2210         * math/bits/math-finite.h: Likewise.
2212 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
2214         [BZ #21289]
2215         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
2217 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2219         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
2220         non expected inotify_add_watch and quotactl return.
2222 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2224         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
2225         to int32_t.
2226         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
2227         as returning int32_t.
2229 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2231         * math/math.h: Include bits/math-finite.h once per
2232         floating-point type.
2233         * math/bits/math-finite.h: Macroize all declarations by
2234         floating-point type.
2236 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2238         [BZ #21182]
2239         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
2240         near end of a page.
2241         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
2242         overflow calculation.
2244 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2246         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
2247         (IMPL) Call with 1 instead of 0 as argument.
2249 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2251         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2252         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2253         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2254         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2255         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2256         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2257         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2258         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2259         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2260         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2261         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2262         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2263         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2264         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2265         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2266         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2267         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2268         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2269         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2270         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2271         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2272         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2273         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2274         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2275         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2276         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2277         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2278         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2279         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2280         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2281         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2282         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2283         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2284         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2285         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2286         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2287         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2288         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2289         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2290         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2291         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2292         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2293         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2294         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2295         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2296         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2297         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2298         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2299         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2300         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2301         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2302         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2303         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2304         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2305         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2306         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2307         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2308         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2309         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2310         defined.
2311         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2312         __NR_setgroups32 if defined.
2313         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2314         if defined.
2315         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2316         __NR_setresgid32 is defined.
2317         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2318         __NR_setresuid32 if defined.
2319         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2320         __NR_setreuid32 if defined.
2321         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2322         defined.
2323         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2324         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2325         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2326         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2327         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2328         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2329         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2330         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2331         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2332         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2333         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2334         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2335         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2336         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2337         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2338         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2339         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2340         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2341         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2342         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2343         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2344         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2345         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2346         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2347         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2348         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2349         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2350         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2351         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2352         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2353         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2354         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2355         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2356         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2357         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2358         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2359         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2360         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2361         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2362         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2363         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2364         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2365         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2366         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2367         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2368         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2369         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2370         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2371         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2372         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2373         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2374         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2375         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2376         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2377         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2378         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2379         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2380         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2381         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2382         defined.
2383         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2384         __NR_setgroups32 if defined.
2385         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2386         if defined.
2387         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2388         __NR_setresgid32 is defined.
2389         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2390         __NR_setresuid32 if defined.
2391         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2392         __NR_setreuid32 if defined.
2393         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2394         defined.
2396 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
2398         [BZ #21277]
2399         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
2400         unconditionally.
2401         (IMAXBEL): Likewise.
2402         (IUTF8): Likewise.
2404 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2406         * sysdeps/aarch64/libm-test-ulps: Update.
2408 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
2410         * README.tunables: Updated descriptions.
2411         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
2412         * scripts/gen-tunables.awk: Updated the code related to the
2413         commit.
2415 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
2417         * benchtests/Makefile (string-benchset): Add memcpy-random.
2418         * benchtests/bench-memcpy-random.c: New file.
2420 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2422         * stdio-common/printf.h (register_printf_modifier): Change the
2423         order of __wur and __THROW.
2424         (register_printf_type): Likewise.
2426 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2428         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
2429         test_main ().
2430         (CMDLINE_PROCESS): Use function instead of defined macro.
2431         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
2432         <suppport/support.h> to use set_fortify_handler().
2433         * string/bug-envz1.c: Import support/test-driver.c instead of
2434         test-skeleton.c.
2435         * string/bug-strcoll2.c: Likewise.
2436         * string/bug-strtok1.c: Likewise.
2437         * string/stratcliff.c: Likewise.
2438         * string/test-ffs.c: Likewise.
2439         * string/test-memccpy.c: Likewise.
2440         * string/test-memchr.c: Likewise.
2441         * string/test-memcmp.c: Likewise.
2442         * string/test-memcpy.c: Likewise.
2443         * string/test-memmem.c: Likewise.
2444         * string/test-memmove.c: Likewise.
2445         * string/test-memrchr.c: Likewise.
2446         * string/test-memset.c: Likewise.
2447         * string/test-rawmemchr.c: Likewise.
2448         * string/test-strcasecmp.c: Likewise.
2449         * string/test-strcasestr.c: Likewise.
2450         * string/test-strcat.c: Likewise.
2451         * string/test-strchr.c: Likewise.
2452         * string/test-strcmp.c: Likewise.
2453         * string/test-strcpy.c: Likewise.
2454         * string/test-string.h: Likewise.
2455         * string/test-strlen.c: Likewise.
2456         * string/test-strncasecmp.c: Likewise.
2457         * string/test-strncat.c: Likewise.
2458         * string/test-strncmp.c: Likewise.
2459         * string/test-strncpy.c: Likewise.
2460         * string/test-strnlen.c: Likewise.
2461         * string/test-strpbrk.c: Likewise.
2462         * string/test-strrchr.c: Likewise.
2463         * string/test-strspn.c: Likewise.
2464         * string/test-strstr.c: Likewise.
2465         * string/tst-bswap.c: Likewise.
2466         * string/tst-cmp.c: Likewise.
2467         * string/tst-endian.c: Likewise.
2468         * string/tst-inlcall.c: Likewise.
2469         * string/tst-strcoll-overflow.c: Likewise.
2470         * string/tst-strfry.c: Likewise.
2471         * string/tst-strlen.c: Likewise.
2472         * string/tst-strtok.c: Likewise.
2473         * string/tst-strtok_r.c: Likewise.
2474         * string/tst-strxfrm.c: Likewise.
2475         * string/tst-strxfrm2.c: Likewise.
2476         * string/tst-svc.c: Likewise.
2477         * string/tst-svc2.c: Likewise.
2479 2017-03-22  Zack Weinberg  <zackw@panix.com>
2481         * stdio-common/bug25.c: Include stdlib.h.
2482         * support/tst-support_format_dns_packet.c: Include stdio.h,
2483         stdlib.h, and string.h.
2484         * support/tst-support_record_failure.c: Include string.h.
2485         * support/tst-support_record_failure-2.sh: Adjust line number
2486         expectations and correct a typo in an error message.
2488 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2490         [BZ #21258]
2491         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
2492         Define only if _dl_runtime_resolve is defined to
2493         _dl_runtime_resolve_sse_vex.
2494         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
2495         Fallthrough to _dl_runtime_resolve_sse_vex.
2497 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
2499         * INSTALL: Regenerated.
2501 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
2503         * config.h.in: Add LINK_OBSOLETE_NSL.
2504         * config.make.in: Add build-obsolete-nsl.
2505         * configure.ac: Add obsolete-nsl option.
2506         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
2507         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
2508         * include/rpcsvc/nislib.h: Likewise.
2509         * include/rpcsvc/ypclnt.h: Likewise.
2510         * manual/install.texi: Document --enable-obsolete-nsl.
2511         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
2512         * nis/nis_add.c: Replace libnsl_hidden_def with
2513         libnsl_hidden_nolink_def.
2514         * nis/nis_addmember.c: Likewise.
2515         * nis/nis_call.c: Likewise.
2516         * nis/nis_clone_obj.c: Likewise.
2517         * nis/nis_defaults.c: Likeise.
2518         * nis/nis_domain_of_r.c: Likewise.
2519         * nis/nis_error.c: Likewise.
2520         * nis/nis_file.c: Likewise.
2521         * nis/nis_free.c: Likewise.
2522         * nis_local_names.c: Likewise.
2523         * nis/nis_lookup.c: Likewise.
2524         * nis/nis_modify.c: Likewise.
2525         * nis/nis_print.c: Likewise.
2526         * nis/nis_remove.c: Likewise.
2527         * nis/nis_table.c: Likewise.
2528         * nis/nis_util.c: Likewise.
2529         * nis/nis_xdr.c: Likewise.
2530         * nis/yp_xdr.c: Likewise.
2531         * nis/ypclnt.c: Likewise.
2532         * nis/ypupdate_xdr.c: Likewise.
2533         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
2534         * nis/nis_clone_dir.c: Likewise.
2535         * nis/nis_clone_res.c: Likewise.
2536         * nis/nis_creategroup.c: Likewise.
2537         * nis/nis_destroygroup.c: Likewise.
2538         * nis/nis_domain_of.c: Likewise.
2539         * nis/nis_getservlist.c: Likewise.
2540         * nis/nis_ismember.c: Likewise.
2541         * nis/nis_mkdir.c: Likewise.
2542         * nis/nis_ping.c: Likewise.
2543         * nis/nis_print_group_entry.c: Likewise.
2544         * nis/nis_removemember.c: Likewise.
2545         * nis/nis_rmdir.c: Likewise.
2546         * nis/nis_server.c: Likewise.
2547         * nis/nis_subr.c: Likewise.
2548         * nis/nis_verifygroup.c: Likewise.
2550 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2552         * malloc/tst-interpose-aux.c (check_for_allocations):
2553         Move compiler barrier before free.
2555 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
2557         [BZ #21279]
2558         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
2559         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
2560         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
2561         x86_64-x32-linux.
2562         (mq_attr.mq_maxmsg): Likewise.
2563         (mq_attr.mq_msgsize): Likewise.
2564         (mq_attr.mq_curmsgs): Likewise.
2566         [BZ #21278]
2567         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
2568         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
2569         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
2570         mips-o32-linux.
2572         [BZ #21268]
2573         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
2574         if [__USE_MISC]
2575         (NL3): Likewise.
2577 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
2579         [BZ #21275]
2580         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
2581         __stack to __stackbase.
2582         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
2583         checks so we can include defined(__ia64__) first.
2585 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
2587         * sysdeps/unix/sysv/linux/ttyname.h: New file.
2588         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
2589         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
2590         Call is_pty when the link does not exist or does not match, fail
2591         with ENODEV when it returns true.
2592         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
2593         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
2594         Call is_pty when the link does not exist or does not match, fail
2595         with ENODEV when it returns true.
2597 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
2599         [BZ #16437]
2600         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
2601         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2602         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
2603         x86_64-x32-linux.
2604         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
2605         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
2606         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
2608         [BZ #21261]
2609         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
2610         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
2611         names for all fields.
2612         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
2613         for jmp_buf field renaming.
2614         (_JMPBUF_UNWINDS_ADJ): Likewise.
2616         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
2617         with allow-header.
2619 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
2621         * malloc/malloc.c (unlink): Add consistency check between size and
2622         next->prev->size, to further harden against 1-byte overflows.
2624 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
2626         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
2627         CPU_FEATURES_CPU_P.
2629 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
2631         [BZ #21259]
2632         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
2633         unconditionally, not just for [__USE_MISC].
2635         [BZ #17786]
2636         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
2637         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
2638         mips-o32-linux.
2640         [BZ #21260]
2641         * sysdeps/unix/sysv/linux/alpha/Makefile
2642         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2643         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
2645         * conform/conformtest.pl ($cross): New variable.
2646         (--cross): New command-line option.
2647         (runtest): Skip test execution when cross-compiling.
2648         * conform/Makefile (conformtest-cross): New variable.
2649         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
2650         conformtest.pl.
2652         * conform/conformtest.pl ($xfail_str): New variable.
2653         (--xfail=): New command-line option.
2654         (top level): Handle expectations starting xfail[cond]-.
2655         * conform/Makefile (conformtest-xfail): New variable.
2656         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
2657         conformtest.pl.
2659 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2661         * conform/conformtest.pl: Use compilation instead of execution
2662         tests for testing values of constants and usability in #if.
2664 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2666         * math/auto-libm-test-in: Mark some catan and catanh as
2667         xfail-rounding:ibm128-libgcc.
2668         * math/auto-libm-test-out-catan: Regenerate.
2669         * math/auto-libm-test-out-catanh: Likewise.
2671 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2673         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
2674         (__END_NAMESPACE_STD): Likewise.
2675         (__USING_NAMESPACE_STD): Likewise.
2676         (__BEGIN_NAMESPACE_C99): Likewise.
2677         (__END_NAMESPACE_C99): Likewise.
2678         (__USING_NAMESPACE_C99): Likewise.
2679         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
2680         undefine macro.
2681         (_Mdouble_END_NAMESPACE): Likewise.
2682         * ctype/ctype.h: Do not handle C++ namespaces.
2683         * libio/bits/stdio-ldbl.h: Likewise.
2684         * libio/stdio.h: Likewise.
2685         * locale/locale.h: Likewise.
2686         * math/bits/mathcalls.h: Likewise.
2687         * setjmp/setjmp.h: Likewise.
2688         * signal/signal.h: Likewise.
2689         * stdlib/bits/stdlib-float.h: Likewise.
2690         * stdlib/bits/stdlib-ldbl.h: Likewise.
2691         * stdlib/stdlib.h: Likewise.
2692         * string/string.h: Likewise.
2693         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2694         * time/bits/types/clock_t.h: Likewise.
2695         * time/bits/types/struct_tm.h: Likewise.
2696         * time/bits/types/time_t.h: Likewise.
2697         * time/time.h: Likewise.
2698         * wcsmbs/bits/wchar-ldbl.h: Likewise.
2699         * wcsmbs/uchar.h: Likewise.
2700         * wcsmbs/wchar.h: Likewise.
2701         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
2702         * wctype/wctype.h: Do not handle C++ namespaces.
2703         * scripts/begin-end-check.pl: Remove.
2704         * Makefile (installed-headers): Likewise.
2705         (tests-special): Do not add $(objpfx)begin-end-check.out.
2706         ($(objpfx)begin-end-check.out): Remove.
2708 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
2709             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2711         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
2712         (DL_PLATFORM_INIT): New define.
2713         (dl_platform_init): New function.
2714         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
2715         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
2716         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
2717         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
2718         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
2720 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
2722         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
2723         instead of PIC.
2725 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2727         [BZ #21094]
2728         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2729         24+24+24-bit pi for wider range of values around pi/2.
2730         * math/auto-libm-test-in: Add more tests of cos and tan.
2731         * math/auto-libm-test-out-cos: Regenerated.
2732         * math/auto-libm-test-out-tan: Likewise.
2734 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
2736         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
2737         (RTLD_START): Don't record stack end address in _dl_start_user.
2739 2017-03-15  Alexey Neyman  <stilor@att.net>
2741         [BZ #21088]
2742         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
2743         around definitions match those around use.
2745 2017-03-15  Alexey Neyman  <stilor@att.net>
2747         * configure.ac: Avoid empty subexpression in grep.
2748         * configure: Regenerate.
2750 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2752         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
2753         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
2754         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
2755         (test_wrp_rv): Fix format.
2756         (test_wrp_rv2): New macro.
2757         (do_test): Handle mlock return on 64 bits kernels with 32 bits
2758         binaries.
2760 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2762         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
2763         Use a union when storing pointers.
2764         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
2765         cast result when passing to INIT_VEC_PTRS_LOOP.
2766         (VECTOR_WRAPPER_fFF_3): Likewise.
2767         (VECTOR_WRAPPER_fFF_4): Likewise.
2769 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2771         * include/bits/mathcalls-helper-functions.h: New file.
2772         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
2773         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
2774         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
2775         math/bits/mathcalls-helper-functions.h.
2776         * math/bits/mathcalls-helper-functions.h: New file.
2777         * math/math.h: Include bits/mathcalls-helper-functions.h for
2778         float, double, and long double.
2780 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2782         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
2783         instead of feraiseexcept.
2785 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2787         [BZ #21243]
2788         * support/temp_file.c (support_delete_temp_files): Add comment
2789         about ignored errors.
2791 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2793         [BZ #21244]
2794         * support/xclose.c: New file.
2795         * support/Makefile (libsupport-routines): Add xclose.
2796         * support/xunistd.h (xclose): Declare.
2797         * support/resolv_test.c (server_thread_tcp_client)
2798         (server_thread_tcp, make_server_sockets, resolv_test_start)
2799         (resolv_test_end): Call xclose instead of close.
2800         * support/support_enter_network_namespace.c
2801         (support_enter_network_namespace): Likewise.
2802         * support/support_run_diff.c (write_to_temp_file): Likewise.
2804 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2806         * support/support_format_dns_packet.c (support_format_dns_packet):
2807         Handle CNAME records in the response.  Extract RDATA names from
2808         rdata, not the whole packet.  Check AAAA record length.
2809         * support/tst-support_format_dns_packet.c: New file.
2810         * support/Makefile (tests): Add tst-support_format_dns_packet.
2811         (tst-support_format_dns_packet): Link against libresolv.
2813 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2815         [BZ #21232]
2816         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
2817         posix_fadvise64 weak_alias for static build.
2819 2017-03-14  Andreas Schwab  <schwab@suse.de>
2821         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
2822         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
2823         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
2824         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
2825         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
2826         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
2827         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
2828         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
2830 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2832         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
2833         posix error code.
2834         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2836 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2838         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
2839         no_isolate usage for SH.
2841 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
2843         [BZ #15105]
2844         [BZ #19463]
2845         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
2846         * inet/rcmd.c (rcmd_af): Likewise.
2847         * inet/rexec.c   (rexec_af): Likewise.
2848         * intl/dcigettext.c (_LIBC): Likewise.
2849         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
2850         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
2851         * locale/setlocale.c (setlocale): Likewise.
2852         * posix/spawn_faction_addopen.c
2853         (posix_spawn_file_actions_addopen): Likewise.
2854         * stdlib/putenv.c (putenv): Use __strndup.
2855         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
2856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
2857         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
2858         (__Need_M_And_C) Remove define/undef.
2859         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
2860         (__malloc_and_calloc_defined): Remove define.
2861         * string/bits/string2.h (__strdup): Remove define.
2862         (strdup): Likewise.
2863         (__strndup): Likewise.
2864         (strndup): Likewise.
2866 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
2868         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
2869         macro.
2870         (IPV6_ADDR_PREFERENCES): Likewise.
2871         (IPV6_MINHOPCOUNT): Likewise.
2872         (IPV6_ORIGDSTADDR): Likewise.
2873         (IPV6_RECVORIGDSTADDR): Likewise.
2874         (IPV6_TRANSPARENT): Likewise.
2875         (IPV6_UNICAST_IF): Likewise.
2876         (IPV6_RECVFRAGSIZE): Likewise.
2878 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
2880         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
2882 2017-03-12  Alexey Neyman <stilor@att.net>
2884         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
2885         in R_SH_DIR32 case is always false when inlined from
2886         dl-conflict.c. Ifdef out to prevent GCC from insertin an
2888 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
2890         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2891         (__ASSUME_RECV_SYSCALL): Replace duplicate by
2892         __ASSUME_SEND_SYSCALL.
2894 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
2896         * sunrpc/Makefile: don't build and install rpcsvc header
2897         files, rpcgen and librpcsvc.a by default.
2899 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
2901         * math/auto-libm-test-out-catan: Regenerated.
2902         * math/auto-libm-test-out-catanh: Likewise.
2903         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2905 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
2907         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
2908         for long double with corrected test expectations.
2910 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2912         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
2913         Define.
2914         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2915         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
2916         * sysdeps/unix/sysv/linux/nios2/sysdep.h
2917         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2918         * sysdeps/unix/sysv/linux/tile/sysdep.h
2919         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2920         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2921         (__ASSUME_RECV_SYSCALL): Define.
2922         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2923         (__ASSUME_RECV_SYSCALL): Likewise.
2924         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2925         (__ASSUME_RECV_SYSCALL): Likewise.
2926         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2927         (__ASSUME_RECV_SYSCALL): Likewise.
2928         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2929         (__ASSUME_RECV_SYSCALL): Likewise.
2930         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2931         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
2932         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2933         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2934         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2935         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2936         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
2937         auto-generation list.
2938         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2939         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2940         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
2941         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2942         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2943         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
2944         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
2945         __ASSUME_SENDTO_SYSCALL.
2946         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
2947         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
2948         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
2950         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
2951         auto-generation list.
2952         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2953         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2954         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2955         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2956         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2957         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2958         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2959         * sysdeps/unix/sysv/linux/kernel-features.h
2960         (__ASSUME_SENDTO_SYSCALL): Define by default.
2961         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2962         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
2963         __NR_sendto.
2964         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2965         (__ASSUME_SENDTO_SYSCALL): Likewise.
2966         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2967         (__ASSUME_SENDTO_SYSCALL): Likewise.
2968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2969         (__ASSUME_SENDTO_SYSCALL): Remove definition.
2970         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2971         (__ASSUME_SENDTO_SYSCALL): Likewise.
2972         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
2973         (__ASSUME_SENDTO_SYSCALL): Likewise.
2974         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
2976         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
2977         auto-generation list.
2978         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2979         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2980         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2981         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2982         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2983         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2984         (__ASSUME_RECV_SYSCALL): New define.
2985         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2986         (__ASSUME_RECV_SYSCALL): Likewise.
2987         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2988         (__ASSUME_RECV_SYSCALL): Likewise.
2989         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2990         (__ASSUME_RECV_SYSCALL): Likewise.
2991         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2992         (__ASSUME_RECV_SYSCALL): Likewise.
2993         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2994         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2995         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2996         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2997         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2998         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2999         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
3000         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
3001         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
3002         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
3003         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
3004         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
3006         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
3007         auto-generation list.
3008         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3009         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3010         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3011         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3012         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3013         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3014         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3015         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3016         (__ASSUME_RECVFROM_SYSCALL): Define by default.
3017         * sysdeps/unix/sysv/linux/kernel-features.h
3018         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
3019         __NR_recvfrom.
3020         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3021         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3022         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3023         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3024         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3025         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
3026         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3027         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3028         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3029         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3030         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3031         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3032         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
3034         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
3035         auto-generation list.
3036         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3037         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3038         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3039         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3040         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3041         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3042         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3043         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
3044         * sysdeps/unix/sysv/linux/kernel-features.h
3045         (__ASSUME_CONNECT_SYSCALL): Define.
3046         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3047         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
3048         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3049         (__ASSUME_CONNECT_SYSCALL): Likewise.
3050         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3051         (__ASSUME_CONNECT_SYSCALL): Likewise.
3052         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3053         (__ASSUME_CONNECT_SYSCALL): Likewise.
3055         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
3056         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
3057         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
3058         auto-generation list.
3059         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3060         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3061         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3062         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3063         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3064         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3065         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3066         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3067         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3068         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3069         * sysdeps/unix/sysv/linux/kernel-features.h
3070         (__ASSUME_ACCEPT_SYSCALL): New define.
3071         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3072         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3073         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
3074         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3075         (__ASSUME_ACCEPT_SYSCALL): Define.
3076         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3077         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3078         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3079         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3080         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3081         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3082         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3083         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3084         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
3086 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
3087             Zack Weinberg  <zackw@panix.com>
3089         * posix/test-errno.c: New file.
3090         * posix/Makefile (tests): Add test-errno.
3091         * sysdeps/unix/sysv/linux/test-errno.c: New file.
3092         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
3094 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
3096         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3098 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3100         * time/tzset.c (compute_offset): Open-code min macro.
3101         (min, max, sign): Remove.
3103 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3105         [BZ #15576]
3106         Remove TZNAME_MAX limit from sysconf.
3107         * include/time.h (__tzname_cur_max, __tzname_max): Remove
3108         declaration.
3109         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
3110         compute_tzname_max.
3111         (compute_tzname_max): Remove.
3112         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
3113         (update_vars): Do not update __tzname_cur_max.
3114         (tzset_internal): Remove argument.
3115         (__tzset): Adjust call to tzset_internal.
3116         (__tz_convert): Likewise.
3118         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
3119         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3120         * manual/conf.texi (Sysconf Definition): Update comment.
3122 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3124         [BZ #21209]
3125         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
3126         AT_SECURE processes.
3127         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
3128         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
3129         (test_child): Likewise.
3130         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
3132 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3134         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
3136 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3138         * sysdeps/s390/atomic-machine.h
3139         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
3140         (__arch_compare_and_exchange_val_8_acq,
3141         __arch_compare_and_exchange_val_16_acq,
3142         __arch_compare_and_exchange_val_32_acq,
3143         __arch_compare_and_exchange_val_64_acq):
3144         Delete macro.
3145         (atomic_compare_and_exchange_val_acq,
3146         atomic_compare_and_exchange_val_rel,
3147         atomic_compare_and_exchange_bool_acq,
3148         catomic_compare_and_exchange_bool_acq,
3149         atomic_exchange_acq, atomic_exchange_rel,
3150         atomic_exchange_and_add_acq,
3151         atomic_exchange_and_add_rel,
3152         catomic_exchange_and_add, atomic_or_val,
3153         atomic_or, catomic_or, atomic_bit_test_set,
3154         atomic_and_val, atomic_and, catomic_and):
3155         Define macros with help of C11 atomic builtins.
3157 2017-03-03  Justus Winter <justus@gnupg.org>
3159         * sysdeps/mach/hurd/ftruncate64.c: New file.
3160         * sysdeps/mach/hurd/truncate64.c: Likewise.
3162 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3164         * time/tzfile.c (NOID): Do not define.
3165         * time/tzset.c (NOID): Likewise.
3167 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3169         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
3171 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3173         * elf/get-dynamic-info.h: Remove header file inclusion guard.
3175 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3177         [BZ #21015]
3178         * manual/install.texi (Configuring and compiling): Document
3179         --enable-bind-now.
3180         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
3181         (build-shlib-helper): Use $(LDFLAGS-lib.so).
3182         (format.lds): Likewise.
3183         [bind-now] (LDFLAGS-c.so): Remove.
3184         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
3185         be R_X86_64_GLOB_DAT.
3186         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
3187         relocation can be R_386_GLOB_DAT.
3188         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
3189         relocaiton can be R_ALPHA_GLOB_DAT.
3190         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
3192 2017-03-01  Zack Weinberg  <zackw@panix.com>
3194         * include/libc-pointer-arith.h: New file.  Define
3195         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
3196         PTR_ALIGN_DOWN here.
3197         * include/libc-internal.h: Definitions of above macros
3198         moved from here.  Don't include libc-diag.h anymore either.
3199         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
3200         Don't include libc-internal.h.
3202         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
3203         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
3204         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
3205         * string/strcoll_l.c, sysdeps/nacl/brk.c
3206         * sysdeps/unix/clock_settime.c
3207         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
3208         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
3209         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
3210         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
3211         Don't include libc-internal.h.
3213         * elf/get-dynamic-info.h, iconv/loop.c
3214         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
3215         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
3216         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
3217         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
3218         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3219         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
3220         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3221         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
3222         * sysdeps/ieee754/ldbl-128/k_tanl.c
3223         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3224         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3225         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
3226         Include libc-diag.h instead of libc-internal.h.
3228         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
3229         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
3230         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
3231         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
3232         * sysdeps/unix/sysv/linux/spawni.c
3233         * sysdeps/x86_64/nptl/tls.h:
3234         Include libc-pointer-arith.h instead of libc-internal.h.
3236         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
3237         * sysdeps/x86_64/atomic-machine.h:
3238         Add multiple include guard.
3240         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
3241         * string/strcasestr.c: No need to include config.h.
3242         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
3243         sys/auxv.h. Don't include sysdep.h.
3244         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
3246         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
3247         DL_LOOKUP_ADDRESS.
3248         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
3249         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
3250         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
3251         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
3252         of ARTIFICIAL_LIMIT.
3253         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
3254         declaration of __clone2.
3256 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3258         * scripts/backport-support.sh (latest_commit): New file.
3260 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3262         [BZ #20257]
3263         * inet/Makefile (routines): Add deadline.
3264         (tests-static): Add tst-deadline.
3265         * inet/net-internal.h (struct deadline_current_time)
3266         (__deadline_current_time, struct deadline, __deadline_is_infinite)
3267         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
3268         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
3269         * inet/deadline.c: New file.
3270         * inet/tst-deadline.c: Likewise.
3271         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
3272         tst-udp-timeout, tst-udp-garbage.
3273         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
3274         explicitly.
3275         (tst-udp-garbage): Likewise.  Also link against thread library.
3276         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
3277         struct layout is part of the ABI.
3278         (clntudp_call): Rework timeout handling.
3279         * sunrpc/tst-udp-garbage.c: New file.
3280         * sunrpc/tst-udp-nonblocking.c: Likewise.
3281         * sunrpc/tst-udp-timeout.c: Likewise.
3283 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3285         [BZ #5010]
3286         * sunrpc/svc.c (svc_is_mapped): Remove.
3287         (svc_unregister): Obtain mapped status while the service is still
3288         registered.
3289         * sunrpc/Makefile [have-thread-library] (tests): Add
3290         tst-svc_register.
3291         (tst-svc_register): Link against libc.so explicitly and the thread
3292         library.
3293         * sunrpc/tst-svc_register.c: New file.
3295 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3297         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
3298         * sysdeps/pthread/bits/sigthread.h: Likewise.
3300 2017-02-27  Florian Weimer  <fweimer@redhat.com>
3302         [BZ #21115]
3303         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
3304         * sunrpc/Makefile (tests): Add tst-udp-error.
3305         (tst-udp-error): Link against libc.so explicitly.
3306         * sunrpc/tst-udp-error: New file.
3308 2017-02-25  Zack Weinberg  <zackw@panix.com>
3310         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
3311         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
3313         * sysdeps/generic/math_ldbl.h
3314         * sysdeps/ia64/fpu/math_ldbl.h
3315         * sysdeps/ieee754/ldbl-128/math_ldbl.h
3316         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3317         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3318         * sysdeps/powerpc/fpu/math_ldbl.h
3319         * sysdeps/x86_64/fpu/math_ldbl.h:
3320         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
3321         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
3322         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
3323         Add copyright notices.
3325         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3326         Don't use EXTRACT_WORDS64.
3328         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
3329         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
3330         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
3331         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
3332         Include math_ldbl.h, not math_private.h.
3334 2017-02-25  Zack Weinberg  <zackw@panix.com>
3336         * include/libc-diag.h: New file.  Define ignore_value,
3337         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
3338         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
3340         * include/libc-internal.h: Definitions of above macros moved from
3341         here.  Include libc-diag.h.  Add copyright notice.
3343         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
3344         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
3345         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
3346         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
3347         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
3348         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
3349         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
3350         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
3351         Include libc-diag.h instead of libc-internal.h.
3353         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
3354         call to unsetenv (NULL).
3355         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
3356         call to pthread_mutexattr_destroy (NULL).
3358 2017-02-25  Zack Weinberg  <zackw@panix.com>
3360         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
3361         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
3362         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
3363         gets was removed from C++ in C++14.
3364         * include/stdio.h: Remove redundant declaration of gets.
3365         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
3366         be declared, since we are testing it.
3367         * stdio-common/Makefile (tst-gets.c): Compile with
3368         -Wno-deprecated-declarations.
3369         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
3370         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
3371         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
3372         Compile with -Wno-deprecated-declarations.
3374 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3376         * math/libm-test-support.c (check_ulp): Use LIT() around literal
3377         numbers.
3379 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3381         * resolv/tst-resolv-qtypes.c (domain):
3382         Change type to const pointer to const char.
3384 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
3386         * math/Makefile (libm-tests-generated): Remove variable.
3387         (libm-tests-base-normal): New variable.
3388         (libm-tests-base-finite): Likewise.
3389         (libm-tests-base-inline): Likewise.
3390         (libm-tests-base): Likewise.
3391         (libm-tests-normal): Likewise.
3392         (libm-tests-finite): Likewise.
3393         (libm-tests-inline): Likewise.
3394         (libm-tests-vector): Likewise.
3395         (libm-tests): Define in terms of these new variables.
3396         (libm-tests-for-type): New variable.
3397         (libm-tests.o): Move definition.
3398         (tests): Move addition of $(libm-tests).
3399         (generated): Update for new and removed libm test files.
3400         ($(objpfx)libm-test.c): Remove target.
3401         ($(objpfx)libm-have-vector-test.h): Likewise.
3402         (CFLAGS-test-double-vlen2.c): Remove variable.
3403         (CFLAGS-test-double-vlen4.c): Likewise.
3404         (CFLAGS-test-double-vlen8.c): Likewise.
3405         (CFLAGS-test-float-vlen4.c): Likewise.
3406         (CFLAGS-test-float-vlen8.c): Likewise.
3407         (CFLAGS-test-float-vlen16.c): Likewise.
3408         (CFLAGS-test-float.c): Likewise.
3409         (CFLAGS-test-float-finite.c): Likewise.
3410         (CFLAGS-libm-test-support-float.c): Likewise.
3411         (CFLAGS-test-double.c): Likewise.
3412         (CFLAGS-test-double-finite.c): Likewise.
3413         (CFLAGS-libm-test-support-double.c): Likewise.
3414         (CFLAGS-test-ldouble.c): Likewise.
3415         (CFLAGS-test-ldouble-finite.c): Likewise.
3416         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3417         (libm-test-inline-cflags): New variable.
3418         (CFLAGS-test-ifloat.c): Remove variable.
3419         (CFLAGS-test-idouble.c): Likewise.
3420         (CFLAGS-test-ildouble.c): Likewise.
3421         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
3422         dependencies.
3423         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
3424         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
3425         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
3426         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
3427         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
3428         Likewise.
3429         (dependencies on libm-test-support-*.o): Remove.
3430         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
3431         rules using iterators.
3432         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
3433         Likewise.
3434         ($(objpfx)libm-test-support-$(o).o): Likewise.
3435         ($(addprefix $(objpfx),$(filter-out $(tests-static)
3436         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
3437         instead.
3438         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
3439         define rule instead.
3440         * math/README.libm-test: Update.
3441         * math/libm-test-acos.inc: Include libm-test-driver.c.
3442         (do_test): New function.
3443         * math/libm-test-acosh.inc: Include libm-test-driver.c.
3444         (do_test): New function.
3445         * math/libm-test-asin.inc: Include libm-test-driver.c.
3446         (do_test): New function.
3447         * math/libm-test-asinh.inc: Include libm-test-driver.c.
3448         (do_test): New function.
3449         * math/libm-test-atan.inc: Include libm-test-driver.c.
3450         (do_test): New function.
3451         * math/libm-test-atan2.inc: Include libm-test-driver.c.
3452         (do_test): New function.
3453         * math/libm-test-atanh.inc: Include libm-test-driver.c.
3454         (do_test): New function.
3455         * math/libm-test-cabs.inc: Include libm-test-driver.c.
3456         (do_test): New function.
3457         * math/libm-test-cacos.inc: Include libm-test-driver.c.
3458         (do_test): New function.
3459         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
3460         (do_test): New function.
3461         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
3462         (do_test): New function.
3463         * math/libm-test-carg.inc: Include libm-test-driver.c.
3464         (do_test): New function.
3465         * math/libm-test-casin.inc: Include libm-test-driver.c.
3466         (do_test): New function.
3467         * math/libm-test-casinh.inc: Include libm-test-driver.c.
3468         (do_test): New function.
3469         * math/libm-test-catan.inc: Include libm-test-driver.c.
3470         (do_test): New function.
3471         * math/libm-test-catanh.inc: Include libm-test-driver.c.
3472         (do_test): New function.
3473         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
3474         (do_test): New function.
3475         * math/libm-test-ccos.inc: Include libm-test-driver.c.
3476         (do_test): New function.
3477         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
3478         (do_test): New function.
3479         * math/libm-test-ceil.inc: Include libm-test-driver.c.
3480         (do_test): New function.
3481         * math/libm-test-cexp.inc: Include libm-test-driver.c.
3482         (do_test): New function.
3483         * math/libm-test-cimag.inc: Include libm-test-driver.c.
3484         (do_test): New function.
3485         * math/libm-test-clog.inc: Include libm-test-driver.c.
3486         (do_test): New function.
3487         * math/libm-test-clog10.inc: Include libm-test-driver.c.
3488         (do_test): New function.
3489         * math/libm-test-conj.inc: Include libm-test-driver.c.
3490         (do_test): New function.
3491         * math/libm-test-copysign.inc: Include libm-test-driver.c.
3492         (do_test): New function.
3493         * math/libm-test-cos.inc: Include libm-test-driver.c.
3494         (do_test): New function.
3495         * math/libm-test-cosh.inc: Include libm-test-driver.c.
3496         (do_test): New function.
3497         * math/libm-test-cpow.inc: Include libm-test-driver.c.
3498         (do_test): New function.
3499         * math/libm-test-cproj.inc: Include libm-test-driver.c.
3500         (do_test): New function.
3501         * math/libm-test-creal.inc: Include libm-test-driver.c.
3502         (do_test): New function.
3503         * math/libm-test-csin.inc: Include libm-test-driver.c.
3504         (do_test): New function.
3505         * math/libm-test-csinh.inc: Include libm-test-driver.c.
3506         (do_test): New function.
3507         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
3508         (do_test): New function.
3509         * math/libm-test-ctan.inc: Include libm-test-driver.c.
3510         (do_test): New function.
3511         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
3512         (do_test): New function.
3513         * math/libm-test-erf.inc: Include libm-test-driver.c.
3514         (do_test): New function.
3515         * math/libm-test-erfc.inc: Include libm-test-driver.c.
3516         (do_test): New function.
3517         * math/libm-test-exp.inc: Include libm-test-driver.c.
3518         (do_test): New function.
3519         * math/libm-test-exp10.inc: Include libm-test-driver.c.
3520         (do_test): New function.
3521         * math/libm-test-exp2.inc: Include libm-test-driver.c.
3522         (do_test): New function.
3523         * math/libm-test-expm1.inc: Include libm-test-driver.c.
3524         (do_test): New function.
3525         * math/libm-test-fabs.inc: Include libm-test-driver.c.
3526         (do_test): New function.
3527         * math/libm-test-fdim.inc: Include libm-test-driver.c.
3528         (do_test): New function.
3529         * math/libm-test-floor.inc: Include libm-test-driver.c.
3530         (do_test): New function.
3531         * math/libm-test-fma.inc: Include libm-test-driver.c.
3532         (do_test): New function.
3533         * math/libm-test-fmax.inc: Include libm-test-driver.c.
3534         (do_test): New function.
3535         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
3536         (do_test): New function.
3537         * math/libm-test-fmin.inc: Include libm-test-driver.c.
3538         (do_test): New function.
3539         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
3540         (do_test): New function.
3541         * math/libm-test-fmod.inc: Include libm-test-driver.c.
3542         (do_test): New function.
3543         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
3544         (do_test): New function.
3545         * math/libm-test-frexp.inc: Include libm-test-driver.c.
3546         (do_test): New function.
3547         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
3548         (do_test): New function.
3549         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
3550         (do_test): New function.
3551         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
3552         (do_test): New function.
3553         * math/libm-test-hypot.inc: Include libm-test-driver.c.
3554         (do_test): New function.
3555         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
3556         (do_test): New function.
3557         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
3558         (do_test): New function.
3559         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
3560         (do_test): New function.
3561         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
3562         (do_test): New function.
3563         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
3564         (do_test): New function.
3565         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
3566         (do_test): New function.
3567         * math/libm-test-isinf.inc: Include libm-test-driver.c.
3568         (do_test): New function.
3569         * math/libm-test-isless.inc: Include libm-test-driver.c.
3570         (do_test): New function.
3571         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
3572         (do_test): New function.
3573         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
3574         (do_test): New function.
3575         * math/libm-test-isnan.inc: Include libm-test-driver.c.
3576         (do_test): New function.
3577         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
3578         (do_test): New function.
3579         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
3580         (do_test): New function.
3581         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
3582         (do_test): New function.
3583         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
3584         (do_test): New function.
3585         * math/libm-test-iszero.inc: Include libm-test-driver.c.
3586         (do_test): New function.
3587         * math/libm-test-j0.inc: Include libm-test-driver.c.
3588         (do_test): New function.
3589         * math/libm-test-j1.inc: Include libm-test-driver.c.
3590         (do_test): New function.
3591         * math/libm-test-jn.inc: Include libm-test-driver.c.
3592         (do_test): New function.
3593         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
3594         (do_test): New function.
3595         * math/libm-test-llogb.inc: Include libm-test-driver.c.
3596         (do_test): New function.
3597         * math/libm-test-llrint.inc: Include libm-test-driver.c.
3598         (do_test): New function.
3599         * math/libm-test-llround.inc: Include libm-test-driver.c.
3600         (do_test): New function.
3601         * math/libm-test-log.inc: Include libm-test-driver.c.
3602         (do_test): New function.
3603         * math/libm-test-log10.inc: Include libm-test-driver.c.
3604         (do_test): New function.
3605         * math/libm-test-log1p.inc: Include libm-test-driver.c.
3606         (do_test): New function.
3607         * math/libm-test-log2.inc: Include libm-test-driver.c.
3608         (do_test): New function.
3609         * math/libm-test-logb.inc: Include libm-test-driver.c.
3610         (do_test): New function.
3611         * math/libm-test-lrint.inc: Include libm-test-driver.c.
3612         (do_test): New function.
3613         * math/libm-test-lround.inc: Include libm-test-driver.c.
3614         (do_test): New function.
3615         * math/libm-test-modf.inc: Include libm-test-driver.c.
3616         (do_test): New function.
3617         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
3618         (do_test): New function.
3619         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
3620         (do_test): New function.
3621         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
3622         (do_test): New function.
3623         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
3624         (do_test): New function.
3625         * math/libm-test-nextup.inc: Include libm-test-driver.c.
3626         (do_test): New function.
3627         * math/libm-test-pow.inc: Include libm-test-driver.c.
3628         (do_test): New function.
3629         * math/libm-test-remainder.inc: Include libm-test-driver.c.
3630         (do_test): New function.
3631         * math/libm-test-remquo.inc: Include libm-test-driver.c.
3632         (do_test): New function.
3633         * math/libm-test-rint.inc: Include libm-test-driver.c.
3634         (do_test): New function.
3635         * math/libm-test-round.inc: Include libm-test-driver.c.
3636         (do_test): New function.
3637         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
3638         (do_test): New function.
3639         * math/libm-test-scalb.inc: Include libm-test-driver.c.
3640         (do_test): New function.
3641         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
3642         (do_test): New function.
3643         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
3644         (do_test): New function.
3645         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
3646         (do_test): New function.
3647         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
3648         (do_test): New function.
3649         * math/libm-test-signbit.inc: Include libm-test-driver.c.
3650         (do_test): New function.
3651         * math/libm-test-significand.inc: Include libm-test-driver.c.
3652         (do_test): New function.
3653         * math/libm-test-sin.inc: Include libm-test-driver.c.
3654         (do_test): New function.
3655         * math/libm-test-sincos.inc: Include libm-test-driver.c.
3656         (do_test): New function.
3657         * math/libm-test-sinh.inc: Include libm-test-driver.c.
3658         (do_test): New function.
3659         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
3660         (do_test): New function.
3661         * math/libm-test-tan.inc: Include libm-test-driver.c.
3662         (do_test): New function.
3663         * math/libm-test-tanh.inc: Include libm-test-driver.c.
3664         (do_test): New function.
3665         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
3666         (do_test): New function.
3667         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
3668         (do_test): New function.
3669         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
3670         (do_test): New function.
3671         * math/libm-test-trunc.inc: Include libm-test-driver.c.
3672         (do_test): New function.
3673         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
3674         (do_test): New function.
3675         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
3676         (do_test): New function.
3677         * math/libm-test-y0.inc: Include libm-test-driver.c.
3678         (do_test): New function.
3679         * math/libm-test-y1.inc: Include libm-test-driver.c.
3680         (do_test): New function.
3681         * math/libm-test-yn.inc: Include libm-test-driver.c.
3682         (do_test): New function.
3683         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
3684         (HAVE_VECTOR): Remove macro.
3685         (START): Do not call HAVE_VECTOR.
3686         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
3687         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
3688         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
3689         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
3690         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
3691         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
3692         * math/test-math-vector.h (FUNC_TEST): New macro.
3693         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
3694         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
3695         (double-vlen4-funcs): Likewise.
3696         (double-vlen4-avx2-funcs): Likewise.
3697         (double-vlen8-funcs): Likewise.
3698         (float-vlen4-funcs): Likewise.
3699         (float-vlen8-funcs): Likewise.
3700         (float-vlen8-avx2-funcs): Likewise.
3701         (float-vlen16-funcs): Likewise.
3702         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
3703         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
3704         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
3705         macro.
3706         (TEST_VECTOR_sin): Likewise.
3707         (TEST_VECTOR_sincos): Likewise.
3708         (TEST_VECTOR_log): Likewise.
3709         (TEST_VECTOR_exp): Likewise.
3710         (TEST_VECTOR_pow): Likewise.
3711         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
3712         Likewise.
3713         (TEST_VECTOR_sin): Likewise.
3714         (TEST_VECTOR_sincos): Likewise.
3715         (TEST_VECTOR_log): Likewise.
3716         (TEST_VECTOR_exp): Likewise.
3717         (TEST_VECTOR_pow): Likewise.
3718         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
3719         Likewise.
3720         (TEST_VECTOR_sinf): Likewise.
3721         (TEST_VECTOR_sincosf): Likewise.
3722         (TEST_VECTOR_logf): Likewise.
3723         (TEST_VECTOR_expf): Likewise.
3724         (TEST_VECTOR_powf): Likewise.
3725         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
3726         Likewise.
3727         (TEST_VECTOR_sinf): Likewise.
3728         (TEST_VECTOR_sincosf): Likewise.
3729         (TEST_VECTOR_logf): Likewise.
3730         (TEST_VECTOR_expf): Likewise.
3731         (TEST_VECTOR_powf): Likewise.
3732         * math/gen-libm-have-vector-test.sh: Remove file.
3733         * math/libm-test.inc: Likewise.
3734         * math/libm-test-support-double.c: Likewise.
3735         * math/libm-test-support-float.c: Likewise.
3736         * math/libm-test-support-ldouble.c: Likewise.
3737         * math/test-double-finite.c: Likewise.: Likewise.
3738         * math/test-double.c: Likewise.
3739         * math/test-float-finite.c: Likewise.
3740         * math/test-float.c: Likewise.
3741         * math/test-idouble.c: Likewise.
3742         * math/test-ifloat.c: Likewise.
3743         * math/test-ildouble.c: Likewise.
3744         * math/test-ldouble-finite.c: Likewise.
3745         * math/test-ldouble.c: Likewise.
3746         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3747         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
3748         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3749         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3750         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3751         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3752         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3753         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
3754         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3755         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3757 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3758            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3760         * math/Makefile: Add wrappers to gen-libm-calls.
3761         * math/w_acos_template.c: New file.
3762         * math/w_acosh_template.c: Likewise.
3763         * math/w_asin_template.c: Likewise.
3764         * math/w_atan2_template.c: Likewise.
3765         * math/w_atanh_template.c: Likewise.
3766         * math/w_cosh_template.c: Likewise.
3767         * math/w_exp10_template.c: Likewise.
3768         * math/w_exp2_template.c: Likewise.
3769         * math/w_exp_template.c: Likewise.
3770         * math/w_fmod_template.c: Likewise.
3771         * math/w_hypot_template.c: Likewise.
3772         * math/w_j0_template.c: Likewise.
3773         * math/w_j1_template.c: Likewise.
3774         * math/w_jn_template.c: Likewise.
3775         * math/w_lgamma_r_template.c: Likewise.
3776         * math/w_lgamma_template.c: Likewise.
3777         * math/w_log10_template.c: Likewise.
3778         * math/w_log2_template.c: Likewise.
3779         * math/w_log_template.c: Likewise.
3780         * math/w_pow_template.c: Likewise.
3781         * math/w_remainder_template.c: Likewise.
3782         * math/w_sinh_template.c: Likewise.
3783         * math/w_sqrt_template.c: Likewise.
3784         * math/w_tgamma_template.c: Likewise.: Likewise.
3785         * sysdeps/generic/math-type-macros-double.h
3786         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
3787         the new wrappers.
3788         * sysdeps/generic/math-type-macros-float.h: Likewise.
3789         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3791 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
3793         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
3794         New enum constant and macro.
3796         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3797         kernel version to 4.10.
3799 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
3801         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
3803 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3807 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3809         * sysdeps/powerpc/tst-set_ppr.c: New file.
3810         Implement test cases for __ppc_set_ppr_* functions.
3811         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
3812         in the list of tests.
3814 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3816         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
3817         instead of test-skeleton.c.
3818         (do_test): Replaced pthread_create and pthread_join with
3819         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
3820         Removed unneeded status variable.
3821         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
3822         instead of test-skeleton.c.
3823         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
3825 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
3827         [BZ #20313]
3828         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3829         201605L, for Unicode 9.
3831 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
3833         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
3834         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3835         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3836         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3837         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3838         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3840 2017-02-19  Zack Weinberg  <zackw@panix.com>
3842         * rt/tst-mqueue4.c: Include stdint.h.
3844 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3846         * sysdeps/arm/libm-test-ulps: Update.
3847         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3848         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3849         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3851 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3853         [BZ #21029]
3854         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
3855         * sysdeps/unix/sysv/linux/i386/Makefile
3856         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
3857         (uses-6-syscall-arguments): Remove.
3858         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
3859         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
3860         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
3861         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
3862         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
3863         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
3864         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
3865         [$(subdir) = misc] (cflags-pselect.o): Likewise.
3866         [$(subdir) = misc] (cflags-pselect.os): Likewise.
3867         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
3868         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
3869         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
3870         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
3871         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
3872         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
3873         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
3874         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
3875         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
3876         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
3877         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
3878         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
3879         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
3880         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
3881         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
3882         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
3883         Likewise.
3884         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
3885         Likewise.
3886         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
3887         Likewise.
3888         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
3889         Likewise.
3890         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
3891         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
3892         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
3893         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
3894         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
3895         ebp on inline assembly.
3896         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
3897         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3898         Set if CAN_USE_REGISTER_ASM_EBP is set.
3900 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
3902         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
3903         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
3905 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3907         * math/auto-libm-test-in: Add tests of catan and catanh.
3908         * math/auto-libm-test-out-catan: New generated file.
3909         * math/auto-libm-test-out-catanh: Likewise.
3910         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
3911         Move tests with finite inputs, except divide-by-zero cases, to
3912         auto-libm-test-in.
3913         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
3914         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
3915         (libm-test-funcs-noauto): Remove catan and catanh.
3916         * sysdeps/i386/fpu/libm-test-ulps: Update.
3917         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3920         * math/auto-libm-test-in: Add tests of casin and casinh.
3921         * math/auto-libm-test-out-casin: New generated file.
3922         * math/auto-libm-test-out-casinh: Likewise.
3923         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
3924         Move tests with finite inputs to auto-libm-test-in.
3925         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
3926         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
3927         (libm-test-funcs-noauto): Remove casin and casinh.
3928         * sysdeps/i386/fpu/libm-test-ulps: Update.
3929         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3932         * math/auto-libm-test-in: Add tests of cacos and cacosh.
3933         * math/auto-libm-test-out-cacos: New generated file.
3934         * math/auto-libm-test-out-cacosh: Likewise.
3935         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
3936         Move tests with finite inputs to auto-libm-test-in.
3937         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
3938         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
3939         (libm-test-funcs-noauto): Remove cacos and cacosh.
3940         * sysdeps/i386/fpu/libm-test-ulps: Update.
3941         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3944         Revert:
3945         2017-02-16  Zack Weinberg  <zackw@panix.com>
3947         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3948         Don't include init-arch.h.
3949         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3950         Don't include init-arch.h.
3952 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3954         [BZ #21171]
3955         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
3956         +Inf and raise divide-by-zero when x is negative.
3957         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
3958         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
3959         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
3960         -Inf and raise divide-by-zero when x = +-0.
3961         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3962         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3963         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3964         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3965         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3966         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3967         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3969 2017-02-16  Zack Weinberg  <zackw@panix.com>
3971         * scripts/build-many-glibcs.py (bot_build_mail): If the
3972         bot_config does not contain all of the necessary email-
3973         related settings, just print a warning and continue.
3975 2017-02-16  Zack Weinberg  <zackw@panix.com>
3977         * crypt/md5.h: Test _LIBC with #if defined, not #if.
3978         * dirent/opendir-tst1.c: Include sys/stat.h.
3979         * dirent/tst-fdopendir.c: Include sys/stat.h.
3980         * dirent/tst-fdopendir2.c: Include stdlib.h.
3981         * dirent/tst-scandir.c: Include stdbool.h.
3982         * elf/tst-auditmod1.c: Include link.h and stddef.h.
3983         * elf/tst-tls15.c: Include stdlib.h.
3984         * elf/tst-tls16.c: Include stdlib.h.
3985         * elf/tst-tls17.c: Include stdlib.h.
3986         * elf/tst-tls18.c: Include stdlib.h.
3987         * iconv/tst-iconv6.c: Include endian.h.
3988         * iconvdata/bug-iconv11.c: Include limits.h.
3989         * io/test-utime.c: Include stdint.h.
3990         * io/tst-faccessat.c: Include sys/stat.h.
3991         * io/tst-fchmodat.c: Include sys/stat.h.
3992         * io/tst-fchownat.c: Include sys/stat.h.
3993         * io/tst-fstatat.c: Include sys/stat.h.
3994         * io/tst-futimesat.c: Include sys/stat.h.
3995         * io/tst-linkat.c: Include sys/stat.h.
3996         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
3997         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
3998         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
3999         * io/tst-openat.c: Include stdbool.h.
4000         * io/tst-readlinkat.c: Include sys/stat.h.
4001         * io/tst-renameat.c: Include sys/stat.h.
4002         * io/tst-symlinkat.c: Include sys/stat.h.
4003         * io/tst-unlinkat.c: Include stdbool.h.
4004         * libio/bug-memstream1.c: Include stdlib.h.
4005         * libio/bug-wmemstream1.c: Include stdlib.h.
4006         * libio/tst-fwrite-error.c: Include stdlib.h.
4007         * libio/tst-memstream1.c: Include stdlib.h.
4008         * libio/tst-memstream2.c: Include stdlib.h.
4009         * libio/tst-memstream3.c: Include stdlib.h.
4010         * malloc/tst-interpose-aux.c: Include stdint.h.
4011         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
4012         * nptl/tst-basic7.c: Include limits.h.
4013         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
4014         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
4015         * nptl/tst-cancel4_1.c: Include stddef.h.
4016         * nptl/tst-cancel4_2.c: Include stddef.h.
4017         * nptl/tst-cond16.c: Include limits.h.
4018         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4019         * nptl/tst-cond18.c: Include limits.h.
4020         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4021         * nptl/tst-cond4.c: Include stdint.h.
4022         * nptl/tst-cond6.c: Include stdint.h.
4023         * nptl/tst-stack2.c: Include limits.h.
4024         * nptl/tst-stackguard1.c: Include stddef.h.
4025         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
4026         * nptl/tst-tls4moda.c: Include stddef.h.
4027         Don't include stdio.h, unistd.h, or tls.h.
4028         * nptl/tst-tls4modb.c: Include stddef.h.
4029         Don't include stdio.h, unistd.h, or tls.h.
4030         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
4031         * posix/tst-getaddrinfo2.c: Include stdio.h.
4032         * posix/tst-getaddrinfo5.c: Include stdio.h.
4033         * posix/tst-pathconf.c: Include sys/stat.h.
4034         * posix/tst-posix_fadvise-common.c: Include stdint.h.
4035         * posix/tst-preadwrite-common.c: Include sys/stat.h.
4036         * posix/tst-regex.c: Include stdint.h.
4037         Don't include spawn.h or spawn_int.h.
4038         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
4039         * posix/tst-vfork3.c: Include sys/stat.h.
4040         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
4041         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
4042         * resolv/tst-resolv-search.c: Include stdlib.h.
4043         * stdio-common/tst-fmemopen2.c: Include stdint.h.
4044         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
4045         * stdlib/test-canon.c: Include sys/stat.h.
4046         * stdlib/tst-tls-atexit.c: Include stdbool.h.
4047         * string/test-memchr.c: Include stdint.h.
4048         * string/tst-cmp.c: Include stdint.h.
4049         * sysdeps/pthread/tst-timer.c: Include stdint.h.
4050         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
4051         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
4052         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4053         Don't include init-arch.h.
4054         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4055         Don't include init-arch.h.
4056         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
4057         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
4058         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
4059         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
4060         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
4061         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
4062         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
4063         * time/clocktest.c: Include stdint.h.
4064         * time/tst-posixtz.c: Include stdint.h.
4065         * timezone/tst-timezone.c: Include stdint.h.
4067 2017-02-16  Zack Weinberg  <zackw@panix.com>
4069         * string/string.h [__USE_MISC]: Include strings.h.
4070         (__bzero, bcmp, bcopy, bzero, index, rindex)
4071         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
4072         (ffs, ffsl, ffsll): Don't declare.
4073         * string/strings.h: Do not suppress the file if string.h has
4074         already been included.
4075         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
4076         annotations.
4077         (index, rindex): Define inline forwarders even if
4078         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
4079         (ffs): Use __attribute_const__.
4080         (ffsl, ffsll): Declare here.
4081         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
4082         have now been standardized.
4083         * include/string.h (__bzero): Declare here.
4085         * bits/types.h: Move to posix/bits.
4086         * include/bits/types.h: New wrapper.
4088 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4090         * string/bits/string2.h (strcmp): Remove define.
4091         (__strcmp_cg): Likewise.
4092         (strncmp): Likewise.
4094 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4096         * include/string.h: Add __cplusplus check.
4098 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4100         [BZ #21134]
4101         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
4102         "divide by zero" exception when the input is zero.
4103         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
4104         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
4105         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
4106         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
4107         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4109 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
4111         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
4112         and include ...
4113         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
4114         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
4115         to, and include ...
4116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
4117         file.
4118         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
4119         and include ...
4120         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
4121         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
4122         and include ...
4123         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
4124         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
4125         and include ...
4126         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
4127         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
4128         and include ...
4129         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
4130         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
4131         to, and include ...
4132         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
4133         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
4134         and include ...
4135         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
4137 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
4139         * math/libm-test-support.h: Do not include <math-tests-arch.h>
4140         here.
4141         * math/libm-test-support.c (libm_test_init): Do not call
4142         INIT_ARCH_EXT here.
4143         * math/libm-test-driver.c: Include <math-tests-arch.h>.
4144         (main): Call INIT_ARCH_EXT.
4146 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4148         [BZ #21130]
4149         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
4150         with the "invalid" exception raised when x is -Inf.
4151         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4153 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
4155         * string/bits/string2.h (strchr): Remove define.
4157 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
4159         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
4160         tst-avx512.
4161         (test-extras): Add tst-avx-aux and tst-avx512-aux.
4162         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
4163         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
4164         ($(objpfx)tst-sse): New rule.
4165         ($(objpfx)tst-avx): Likewise.
4166         ($(objpfx)tst-avx512): Likewise.
4167         (CFLAGS-tst-avx-aux.c): New.
4168         (CFLAGS-tst-avxmod.c): Likewise.
4169         (CFLAGS-tst-avx512-aux.c): Likewise.
4170         (CFLAGS-tst-avx512mod.c): Likewise.
4171         * sysdeps/x86_64/tst-avx-aux.c: New file.
4172         * sysdeps/x86_64/tst-avx.c: Likewise.
4173         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
4174         * sysdeps/x86_64/tst-avx512.c: Likewise.
4175         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
4176         * sysdeps/x86_64/tst-avxmod.c: Likewise.
4177         * sysdeps/x86_64/tst-sse.c: Likewise.
4178         * sysdeps/x86_64/tst-ssemod.c: Likewise.
4180 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4182         * math/auto-libm-test-in: Add more tests of csin and csinh.
4183         * math/auto-libm-test-out-csin: Regenerated.
4184         * math/auto-libm-test-out-csinh: Likewise.
4185         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
4186         auto-libm-test-in.
4187         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
4189 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4191         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
4192         libm-compat-calls-auto.
4193         (libm-compat-calls): Likewise.
4194         (libm-compat-calls-auto): Rename to libm-compat-calls and add
4195         w_lgamma_compatF and k_standardF (merged from the items above).
4196         (libm-routines): Use libm-compat-calls, instead of
4197         libm-compat-calls-auto, with type-foreach.
4199 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4201         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
4202         macro.
4203         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
4204         (CFLAGS-test-ifloat.c): ... this.  Remove
4205         -U__LIBC_INTERNAL_MATH_INLINES.
4206         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
4207         (CFLAGS-test-idouble.c): ... this.  Remove
4208         -U__LIBC_INTERNAL_MATH_INLINES.
4209         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
4210         (CFLAGS-test-ildouble.c): ... this.  Remove
4211         -U__LIBC_INTERNAL_MATH_INLINES.
4213 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
4215         * math/libm-test-support.c: New file.  Content from
4216         math/libm-test-driver.c.
4217         * math/libm-test-support.h: Likewise.
4218         * math/libm-test-support-double.c: New file.
4219         * math/libm-test-support-float.c: Likewise.
4220         * math/libm-test-support-ldouble.c: Likewise.
4221         * math/libm-test-driver.c: Remove main comment and header
4222         includes.  Include libm-test-support.h.
4223         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
4224         (flag_test_errno): Remove static.
4225         (flag_test_exceptions): Likewise.
4226         (flag_test_finite): Likewise.
4227         (flag_test_inline): Likewise.
4228         (flag_test_mathvec): Likewise.
4229         (test_msg): Likewise.
4230         (NO_EXCEPTION): Remove.
4231         (INVALID_EXCEPTION): Likewise.
4232         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4233         (OVERFLOW_EXCEPTION): Likewise.
4234         (UNDERFLOW_EXCEPTION): Likewise.
4235         (INEXACT_EXCEPTION): Likewise.
4236         (INVALID_EXCEPTION_OK): Likewise.
4237         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4238         (OVERFLOW_EXCEPTION_OK): Likewise.
4239         (UNDERFLOW_EXCEPTION_OK): Likewise.
4240         (NO_INEXACT_EXCEPTION): Likewise.
4241         (EXCEPTIONS_OK): Likewise.
4242         (IGNORE_ZERO_INF_SIGN): Likewise.
4243         (TEST_NAN_SIGN): Likewise.
4244         (TEST_NAN_PAYLOAD): Likewise.
4245         (NO_TEST_INLINE): Likewise.
4246         (XFAIL_TEST): Likewise.
4247         (ERRNO_UNCHANGED): Likewise.
4248         (ERRNO_EDOM): Likewise.
4249         (ERRNO_ERANGE): Likewise.
4250         (IGNORE_RESULT): Likewise.
4251         (NON_FINITE): Likewise.
4252         (TEST_SNAN): Likewise.
4253         (NO_TEST_MATHVEC): Likewise.
4254         (__CONCATX): Likewise.
4255         (TYPE_MIN): Likewise.
4256         (TYPE_TRUE_MIN): Likewise.
4257         (TYPE_MAX): Likewise.
4258         (MIN_EXP): Likewise.
4259         (MAX_EXP): Likewise.
4260         (MANT_DIG): Likewise.
4261         (FSTR_MAX): Likewise.
4262         (ulp_idx): Likewise.
4263         (qtype_str): Remove static.
4264         (TEST_COND_binary32): Remove.
4265         (TEST_COND_binary64): Likewise.
4266         (TEST_COND_binary128): Likewise.
4267         (TEST_COND_ibm128): Likewise.
4268         (TEST_COND_intel96): Likewise.
4269         (TEST_COND_m68k96): Likewise.
4270         (TEST_COND_ibm128_libgcc): Likewise.
4271         (XFAIL_IBM128_LIBGCC): Likewise.
4272         (PAYLOAD_DIG): Likewise.
4273         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4274         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4275         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4276         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4277         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4278         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4279         (TEST_COND_long32): Likewise.
4280         (TEST_COND_long64): Likewise.
4281         (TEST_COND_before_rounding): Likewise.
4282         (TEST_COND_after_rounding): Likewise.
4283         (ulps_file_name): Likewise.
4284         (ulps_file): Likewise.
4285         (output_ulps): Likewise.
4286         (output_dir): Likewise.
4287         (noErrors): Likewise.
4288         (noTests): Likewise.
4289         (noExcTests): Likewise.
4290         (noErrnoTests): Likewise.
4291         (verbose): Likewise.
4292         (output_max_error): Likewise.
4293         (output_points): Likewise.
4294         (ignore_max_ulp): Likewise.
4295         (max_error): Likewise.
4296         (real_max_error): Likewise.
4297         (imag_max_error): Likewise.
4298         (prev_max_error): Likewise.
4299         (prev_real_max_error): Likewise.
4300         (prev_imag_max_error): Likewise.
4301         (max_valid_error): Likewise.
4302         (TYPE_DECIMAL_DIG): Likewise.
4303         (TYPE_HEX_DIG): Likewise.
4304         (fmt_ftostr): Likewise.
4305         (compare_ulp_data): Likewise.
4306         (find_ulps): Likewise.
4307         (init_max_error): Likewise.
4308         (set_max_error): Likewise.
4309         (print_float): Likewise.
4310         (print_screen): Likewise.
4311         (print_screen_max_error): Likewise.
4312         (update_stats): Likewise.
4313         (print_function_ulps): Likewise.
4314         (print_complex_function_ulps): Likewise.
4315         (fpstack_test): Likewise.
4316         (print_max_error): Likewise.
4317         (print_complex_max_error): Likewise.
4318         (test_single_exception): Likewise.
4319         (test_exceptions): Likewise.
4320         (test_single_errno): Likewise.
4321         (test_errno): Likewise.
4322         (ULPDIFF): Likewise.
4323         (ulp): Likewise.
4324         (check_float_internal): Likewise.
4325         (check_float): Likewise.
4326         (check_complex): Likewise.
4327         (check_int): Likewise.
4328         (check_long): Likewise.
4329         (check_bool): Likewise.
4330         (check_longlong): Likewise.
4331         (check_intmax_t): Likewise.
4332         (check_uintmax_t): Likewise.
4333         (enable_test): Likewise.
4334         (matherr): Likewise.
4335         (initialize): Likewise.
4336         (options): Likewise.
4337         (doc): Remove static.
4338         (argp): Likewise.
4339         (parse_opt): Remove.
4340         (check_ulp): Likewise.
4341         (libm_test_init): Likewise.
4342         (libm_test_finish): Likewise.
4343         * math/Makefile (libm-test-support): New variable.
4344         (test-extras): Add libm-test-support files.
4345         (extra-test-objs): Likewise.
4346         (CFLAGS-libm-test-support-float.c): New variable.
4347         (CFLAGS-libm-test-support-double.c): Likewise.
4348         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4349         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
4350         libm-test-support objects.
4352 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4354         * math/Makefile (libm-calls): Move w_exp...
4355         (libm-compat-calls-auto): Here.
4357         * math/w_expl.c: Add suffix "_compat" to filename.
4358         * sysdeps/ia64/fpu/w_expl.c: Likewise.
4359         * sysdeps/ia64/fpu/w_expf.c: Likewise.
4360         * sysdeps/ia64/fpu/w_exp.c: Likewise.
4361         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4362         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4363         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4364         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4365         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4367         * math/w_expl_compat.c: New file, copied from above.
4368         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
4369         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
4370         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
4371         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
4372         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4373         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4374         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4375         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4377         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
4378         to filename.
4379         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
4381         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
4382         copied from above and adjusted for the new filenames.
4383         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
4385 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4387         * math/Makefile (libm-calls): Move w_lgammaF...
4388         (libm-compat-calls-auto): Here.
4390         * math/w_lgamma.c: Add suffix "_compat2" to filename.
4391         * math/w_lgammaf.c: Likewise.
4392         * math/w_lgammal.c: Likewise.
4394         * math/w_lgamma_compat2.c: New file, copied from above.
4395         * math/w_lgammaf_compat2.c: Likewise.
4396         * math/w_lgammal_compat2.c: Likewise.
4398 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4400         * math/Makefile (libm-calls): Move w_lgammaF_r...
4401         (libm-compat-calls-auto): Here.
4403         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
4404         * math/w_lgammaf_r.c: Likewise.
4405         * math/w_lgammal_r.c: Likewise.
4406         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4407         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4408         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4410         * math/w_lgamma_r_compat.c: New file, copied from above.
4411         * math/w_lgammaf_r_compat.c: Likewise.
4412         * math/w_lgammal_r_compat.c: Likewise.
4413         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
4414         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
4415         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
4417         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
4418         to filename.
4419         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
4421         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
4422         copied from above and adjusted for the new filenames.
4423         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4425 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
4427         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
4428         calculation in SYSCALL_ERROR_HANDLER().
4430 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
4432         * manual/contrib.texi: Fix typo.
4434 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4436         [BZ #21109]
4437         * elf/dl-tunable-types.h (tunable_callback_t): Accept
4438         tunable_val_t as argument.
4439         * elf/dl-tunables.c (__tunable_set_val): Add comment.
4440         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
4441         argument.
4442         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
4444 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
4446         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
4447         Add PTRACE_EVENT_STOP.
4448         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4449         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4450         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4451         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4452         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4453         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4455 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
4457         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
4458         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
4459         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
4460         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
4461         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
4462         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
4463         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
4464         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
4465         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
4466         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
4468         [BZ #21112]
4469         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
4470         12 bits zero.
4471         (cp_l): Update for new value of cp_h.
4472         * math/auto-libm-test-in: Add another test of pow.
4473         * math/auto-libm-test-out-pow: Regenerated.
4475 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4477         * manual/contrib.texi: Fix typo.
4479 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4481         [BZ #15998]
4482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4483         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
4484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4486 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4488         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
4489         STRCHR as __strchr_power8.
4490         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
4491         strlen as __strlen_power8.
4493 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4495         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
4496         unaligned load for shorter strings.
4497         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4499 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4501         * math/libm-test-driver.c (flag_test_errno): New variable.
4502         (flag_test_exceptions): Likewise.
4503         (flag_test_finite): Likewise.
4504         (flag_test_inline): Likewise.
4505         (flag_test_mathvec): Likewise.
4506         (test_msg): Likewise.
4507         (ulp_idx): Likewise.
4508         (qtype_str): Likewise.
4509         (ULP_IDX): Remove macro.
4510         (QTYPE_STR): Likewise.
4511         (find_ulps): Use ulp_idx not ULP_IDX.
4512         (print_function_ulps): Use qtype_str, printed with %s, not
4513         QTYPE_STR, printed with concatentation to format string.
4514         (print_complex_function_ulps): Likewise.
4515         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
4516         (test_errno): Use flag_test_errno not TEST_ERRNO.
4517         (enable_test): Use flag_test_inline, flag_test_finite and
4518         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
4519         TEST_MATHVEC.
4520         (libm_test_init): New function.  Factored out of main.
4521         (libm_test_finish): Likewise.
4522         (main): Call libm_test_init and libm_test_finish and move most
4523         code to those functions.
4525         * math/libm-test-driver.c (STRX): New macro.
4526         (STR): Likewise.
4527         (STR_FLOAT): Likewise.
4528         (STR_VEC_LEN): Likewise.
4529         (TEST_MSG): Likewise.  Define here instead of expecting to be
4530         defined by including file.
4531         * math/test-double-finite.c (TEST_MSG): Remove macro.
4532         * math/test-double-vlen2.h (TEST_MSG): Likewise.
4533         * math/test-double-vlen4.h (TEST_MSG): Likewise.
4534         * math/test-double-vlen8.h (TEST_MSG): Likewise.
4535         * math/test-double.c (TEST_MSG): Likewise.
4536         * math/test-float-finite.c (TEST_MSG): Likewise.
4537         * math/test-float-vlen16.h (TEST_MSG): Likewise.
4538         * math/test-float-vlen4.h (TEST_MSG): Likewise.
4539         * math/test-float-vlen8.h (TEST_MSG): Likewise.
4540         * math/test-float.c (TEST_MSG): Likewise.
4541         * math/test-idouble.c (TEST_MSG): Likewise.
4542         * math/test-ifloat.c (TEST_MSG): Likewise.
4543         * math/test-ildouble.c (TEST_MSG): Likewise.
4544         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
4545         * math/test-ldouble.c (TEST_MSG): Likewise.
4547         * math/libm-test.inc: Move all tests of individual functions to
4548         libm-test-*.inc and #include libm-test-*.c files.
4549         (acos_test_data): Remove.
4550         (acos_test): Likewise.
4551         (acosh_test_data): Likewise.
4552         (acosh_test): Likewise.
4553         (asin_test_data): Likewise.
4554         (asin_test): Likewise.
4555         (asinh_test_data): Likewise.
4556         (asinh_test): Likewise.
4557         (atan_test_data): Likewise.
4558         (atan_test): Likewise.
4559         (atanh_test_data): Likewise.
4560         (atanh_test): Likewise.
4561         (atan2_test_data): Likewise.
4562         (atan2_test): Likewise.
4563         (cabs_test_data): Likewise.
4564         (cabs_test): Likewise.
4565         (cacos_test_data): Likewise.
4566         (cacos_test): Likewise.
4567         (cacosh_test_data): Likewise.
4568         (cacosh_test): Likewise.
4569         (canonicalize_test_data): Likewise.
4570         (canonicalize_test): Likewise.
4571         (carg_test_data): Likewise.
4572         (carg_test): Likewise.
4573         (casin_test_data): Likewise.
4574         (casin_test): Likewise.
4575         (casinh_test_data): Likewise.
4576         (casinh_test): Likewise.
4577         (catan_test_data): Likewise.
4578         (catan_test): Likewise.
4579         (catanh_test_data): Likewise.
4580         (catanh_test): Likewise.
4581         (cbrt_test_data): Likewise.
4582         (cbrt_test): Likewise.
4583         (ccos_test_data): Likewise.
4584         (ccos_test): Likewise.
4585         (ccosh_test_data): Likewise.
4586         (ccosh_test): Likewise.
4587         (ceil_test_data): Likewise.
4588         (ceil_test): Likewise.
4589         (cexp_test_data): Likewise.
4590         (cexp_test): Likewise.
4591         (cimag_test_data): Likewise.
4592         (cimag_test): Likewise.
4593         (clog_test_data): Likewise.
4594         (clog_test): Likewise.
4595         (clog10_test_data): Likewise.
4596         (clog10_test): Likewise.
4597         (conj_test_data): Likewise.
4598         (conj_test): Likewise.
4599         (copysign_test_data): Likewise.
4600         (copysign_test): Likewise.
4601         (cos_test_data): Likewise.
4602         (cos_test): Likewise.
4603         (cosh_test_data): Likewise.
4604         (cosh_test): Likewise.
4605         (cpow_test_data): Likewise.
4606         (cpow_test): Likewise.
4607         (cproj_test_data): Likewise.
4608         (cproj_test): Likewise.
4609         (creal_test_data): Likewise.
4610         (creal_test): Likewise.
4611         (csin_test_data): Likewise.
4612         (csin_test): Likewise.
4613         (csinh_test_data): Likewise.
4614         (csinh_test): Likewise.
4615         (csqrt_test_data): Likewise.
4616         (csqrt_test): Likewise.
4617         (ctan_test_data): Likewise.
4618         (ctan_test): Likewise.
4619         (ctanh_test_data): Likewise.
4620         (ctanh_test): Likewise.
4621         (erf_test_data): Likewise.
4622         (erf_test): Likewise.
4623         (erfc_test_data): Likewise.
4624         (erfc_test): Likewise.
4625         (exp_test_data): Likewise.
4626         (exp_test): Likewise.
4627         (exp10_test_data): Likewise.
4628         (exp10_test): Likewise.
4629         (pow10_test): Likewise.
4630         (exp2_test_data): Likewise.
4631         (exp2_test): Likewise.
4632         (expm1_test_data): Likewise.
4633         (expm1_test): Likewise.
4634         (fabs_test_data): Likewise.
4635         (fabs_test): Likewise.
4636         (fdim_test_data): Likewise.
4637         (fdim_test): Likewise.
4638         (floor_test_data): Likewise.
4639         (floor_test): Likewise.
4640         (fma_test_data): Likewise.
4641         (fma_test): Likewise.
4642         (fmax_test_data): Likewise.
4643         (fmax_test): Likewise.
4644         (fmaxmag_test_data): Likewise.
4645         (fmaxmag_test): Likewise.
4646         (fmin_test_data): Likewise.
4647         (fmin_test): Likewise.
4648         (fminmag_test_data): Likewise.
4649         (fminmag_test): Likewise.
4650         (fmod_test_data): Likewise.
4651         (fmod_test): Likewise.
4652         (fpclassify_test_data): Likewise.
4653         (fpclassify_test): Likewise.
4654         (frexp_test_data): Likewise.
4655         (frexp_test): Likewise.
4656         (fromfp_test_data): Likewise.
4657         (fromfp_test): Likewise.
4658         (fromfpx_test_data): Likewise.
4659         (fromfpx_test): Likewise.
4660         (getpayload_test_data): Likewise.
4661         (getpayload_test): Likewise.
4662         (hypot_test_data): Likewise.
4663         (hypot_test): Likewise.
4664         (ilogb_test_data): Likewise.
4665         (ilogb_test): Likewise.
4666         (iscanonical_test_data): Likewise.
4667         (iscanonical_test): Likewise.
4668         (iseqsig_test_data): Likewise.
4669         (iseqsig_test): Likewise.
4670         (isfinite_test_data): Likewise.
4671         (isfinite_test): Likewise.
4672         (finite_test): Likewise.
4673         (isgreater_test_data): Likewise.
4674         (isgreater_test): Likewise.
4675         (isgreaterequal_test_data): Likewise.
4676         (isgreaterequal_test): Likewise.
4677         (isinf_test_data): Likewise.
4678         (isinf_test): Likewise.
4679         (isless_test_data): Likewise.
4680         (isless_test): Likewise.
4681         (islessequal_test_data): Likewise.
4682         (islessequal_test): Likewise.
4683         (islessgreater_test_data): Likewise.
4684         (islessgreater_test): Likewise.
4685         (isnan_test_data): Likewise.
4686         (isnan_test): Likewise.
4687         (isnormal_test_data): Likewise.
4688         (isnormal_test): Likewise.
4689         (issignaling_test_data): Likewise.
4690         (issignaling_test): Likewise.
4691         (issubnormal_test_data): Likewise.
4692         (issubnormal_test): Likewise.
4693         (isunordered_test_data): Likewise.
4694         (isunordered_test): Likewise.
4695         (iszero_test_data): Likewise.
4696         (iszero_test): Likewise.
4697         (j0_test_data): Likewise.
4698         (j0_test): Likewise.
4699         (j1_test_data): Likewise.
4700         (j1_test): Likewise.
4701         (jn_test_data): Likewise.
4702         (jn_test): Likewise.
4703         (lgamma_test_data): Likewise.
4704         (lgamma_test): Likewise.
4705         (gamma_test): Likewise.
4706         (llogb_test_data): Likewise.
4707         (llogb_test): Likewise.
4708         (lrint_test_data): Likewise.
4709         (lrint_test): Likewise.
4710         (llrint_test_data): Likewise.
4711         (llrint_test): Likewise.
4712         (log_test_data): Likewise.
4713         (log_test): Likewise.
4714         (log10_test_data): Likewise.
4715         (log10_test): Likewise.
4716         (log1p_test_data): Likewise.
4717         (log1p_test): Likewise.
4718         (log2_test_data): Likewise.
4719         (log2_test): Likewise.
4720         (logb_test_data): Likewise.
4721         (logb_test): Likewise.
4722         (lround_test_data): Likewise.
4723         (lround_test): Likewise.
4724         (llround_test_data): Likewise.
4725         (llround_test): Likewise.
4726         (modf_test_data): Likewise.
4727         (modf_test): Likewise.
4728         (nearbyint_test_data): Likewise.
4729         (nearbyint_test): Likewise.
4730         (nextafter_test_data): Likewise.
4731         (nextafter_test): Likewise.
4732         (nextup_test_data): Likewise.
4733         (nextup_test): Likewise.
4734         (nextdown_test_data): Likewise.
4735         (nextdown_test): Likewise.
4736         (nexttoward_test_data): Likewise.
4737         (nexttoward_test): Likewise.
4738         (pow_test_data): Likewise.
4739         (pow_test): Likewise.
4740         (remainder_test_data): Likewise.
4741         (remainder_test): Likewise.
4742         (drem_test): Likewise.
4743         (remquo_test_data): Likewise.
4744         (remquo_test): Likewise.
4745         (rint_test_data): Likewise.
4746         (rint_test): Likewise.
4747         (round_test_data): Likewise.
4748         (round_test): Likewise.
4749         (roundeven_test_data): Likewise.
4750         (roundeven_test): Likewise.
4751         (scalb_test_data): Likewise.
4752         (scalb_test): Likewise.
4753         (scalbn_test_data): Likewise.
4754         (scalbn_test): Likewise.
4755         (ldexp_test): Likewise.
4756         (scalbln_test_data): Likewise.
4757         (scalbln_test): Likewise.
4758         (setpayload_test_data): Likewise.
4759         (setpayload_test): Likewise.
4760         (setpayloadsig_test_data): Likewise.
4761         (setpayloadsig_test): Likewise.
4762         (signbit_test_data): Likewise.
4763         (signbit_test): Likewise.
4764         (sin_test_data): Likewise.
4765         (sin_test): Likewise.
4766         (sincos_test_data): Likewise.
4767         (sincos_test): Likewise.
4768         (sinh_test_data): Likewise.
4769         (sinh_test): Likewise.
4770         (sqrt_test_data): Likewise.
4771         (sqrt_test): Likewise.
4772         (tan_test_data): Likewise.
4773         (tan_test): Likewise.
4774         (tanh_test_data): Likewise.
4775         (tanh_test): Likewise.
4776         (tgamma_test_data): Likewise.
4777         (tgamma_test): Likewise.
4778         (totalorder_test_data): Likewise.
4779         (totalorder_test): Likewise.
4780         (totalordermag_test_data): Likewise.
4781         (totalordermag_test): Likewise.
4782         (trunc_test_data): Likewise.
4783         (trunc_test): Likewise.
4784         (ufromfp_test_data): Likewise.
4785         (ufromfp_test): Likewise.
4786         (ufromfpx_test_data): Likewise.
4787         (ufromfpx_test): Likewise.
4788         (y0_test_data): Likewise.
4789         (y0_test): Likewise.
4790         (y1_test_data): Likewise.
4791         (y1_test): Likewise.
4792         (yn_test_data): Likewise.
4793         (yn_test): Likewise.
4794         (significand_test_data): Likewise.
4795         (significand_test): Likewise.
4796         * math/Makefile (auto-libm-test-out-files): Remove variable.
4797         (libm-test-funcs-noauto): New variable.
4798         (libm-test-funcs-all): Likewise.
4799         (libm-test-c-auto): Likewise.
4800         (libm-test-c-noauto): Likewise.
4801         (libm-tests-generated): Add $(libm-test-c-auto) and
4802         $(libm-test-c-noauto).
4803         (generated): Do not add auto-libm-test-out.
4804         (libm-test-c-auto-obj): New variable.
4805         (libm-test-c-noauto-obj): Likewise.
4806         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
4807         ($(libm-test-c-noauto-obj)): New static pattern rule.
4808         ($(libm-test-c-auto-obj)): Likewise.
4809         (libm-test-incs): New variable.
4810         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
4811         and pass it to gen-libm-have-vector-test.sh.
4812         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
4813         be passed on command line.
4814         * math/libm-test-acos.inc: New file.  Content from
4815         math/libm-test.inc.
4816         * math/libm-test-acosh.inc: Likewise.
4817         * math/libm-test-asin.inc: Likewise.
4818         * math/libm-test-asinh.inc: Likewise.
4819         * math/libm-test-atan.inc: Likewise.
4820         * math/libm-test-atan2.inc: Likewise.
4821         * math/libm-test-atanh.inc: Likewise.
4822         * math/libm-test-cabs.inc: Likewise.
4823         * math/libm-test-cacos.inc: Likewise.
4824         * math/libm-test-cacosh.inc: Likewise.
4825         * math/libm-test-canonicalize.inc: Likewise.
4826         * math/libm-test-carg.inc: Likewise.
4827         * math/libm-test-casin.inc: Likewise.
4828         * math/libm-test-casinh.inc: Likewise.
4829         * math/libm-test-catan.inc: Likewise.
4830         * math/libm-test-catanh.inc: Likewise.
4831         * math/libm-test-cbrt.inc: Likewise.
4832         * math/libm-test-ccos.inc: Likewise.
4833         * math/libm-test-ccosh.inc: Likewise.
4834         * math/libm-test-ceil.inc: Likewise.
4835         * math/libm-test-cexp.inc: Likewise.
4836         * math/libm-test-cimag.inc: Likewise.
4837         * math/libm-test-clog.inc: Likewise.
4838         * math/libm-test-clog10.inc: Likewise.
4839         * math/libm-test-conj.inc: Likewise.
4840         * math/libm-test-copysign.inc: Likewise.
4841         * math/libm-test-cos.inc: Likewise.
4842         * math/libm-test-cosh.inc: Likewise.
4843         * math/libm-test-cpow.inc: Likewise.
4844         * math/libm-test-cproj.inc: Likewise.
4845         * math/libm-test-creal.inc: Likewise.
4846         * math/libm-test-csin.inc: Likewise.
4847         * math/libm-test-csinh.inc: Likewise.
4848         * math/libm-test-csqrt.inc: Likewise.
4849         * math/libm-test-ctan.inc: Likewise.
4850         * math/libm-test-ctanh.inc: Likewise.
4851         * math/libm-test-erf.inc: Likewise.
4852         * math/libm-test-erfc.inc: Likewise.
4853         * math/libm-test-exp.inc: Likewise.
4854         * math/libm-test-exp10.inc: Likewise.
4855         * math/libm-test-exp2.inc: Likewise.
4856         * math/libm-test-expm1.inc: Likewise.
4857         * math/libm-test-fabs.inc: Likewise.
4858         * math/libm-test-fdim.inc: Likewise.
4859         * math/libm-test-floor.inc: Likewise.
4860         * math/libm-test-fma.inc: Likewise.
4861         * math/libm-test-fmax.inc: Likewise.
4862         * math/libm-test-fmaxmag.inc: Likewise.
4863         * math/libm-test-fmin.inc: Likewise.
4864         * math/libm-test-fminmag.inc: Likewise.
4865         * math/libm-test-fmod.inc: Likewise.
4866         * math/libm-test-fpclassify.inc: Likewise.
4867         * math/libm-test-frexp.inc: Likewise.
4868         * math/libm-test-fromfp.inc: Likewise.
4869         * math/libm-test-fromfpx.inc: Likewise.
4870         * math/libm-test-getpayload.inc: Likewise.
4871         * math/libm-test-hypot.inc: Likewise.
4872         * math/libm-test-ilogb.inc: Likewise.
4873         * math/libm-test-iscanonical.inc: Likewise.
4874         * math/libm-test-iseqsig.inc: Likewise.
4875         * math/libm-test-isfinite.inc: Likewise.
4876         * math/libm-test-isgreater.inc: Likewise.
4877         * math/libm-test-isgreaterequal.inc: Likewise.
4878         * math/libm-test-isinf.inc: Likewise.
4879         * math/libm-test-isless.inc: Likewise.
4880         * math/libm-test-islessequal.inc: Likewise.
4881         * math/libm-test-islessgreater.inc: Likewise.
4882         * math/libm-test-isnan.inc: Likewise.
4883         * math/libm-test-isnormal.inc: Likewise.
4884         * math/libm-test-issignaling.inc: Likewise.
4885         * math/libm-test-issubnormal.inc: Likewise.
4886         * math/libm-test-isunordered.inc: Likewise.
4887         * math/libm-test-iszero.inc: Likewise.
4888         * math/libm-test-j0.inc: Likewise.
4889         * math/libm-test-j1.inc: Likewise.
4890         * math/libm-test-jn.inc: Likewise.
4891         * math/libm-test-lgamma.inc: Likewise.
4892         * math/libm-test-llogb.inc: Likewise.
4893         * math/libm-test-llrint.inc: Likewise.
4894         * math/libm-test-llround.inc: Likewise.
4895         * math/libm-test-log.inc: Likewise.
4896         * math/libm-test-log10.inc: Likewise.
4897         * math/libm-test-log1p.inc: Likewise.
4898         * math/libm-test-log2.inc: Likewise.
4899         * math/libm-test-logb.inc: Likewise.
4900         * math/libm-test-lrint.inc: Likewise.
4901         * math/libm-test-lround.inc: Likewise.
4902         * math/libm-test-modf.inc: Likewise.
4903         * math/libm-test-nearbyint.inc: Likewise.
4904         * math/libm-test-nextafter.inc: Likewise.
4905         * math/libm-test-nextdown.inc: Likewise.
4906         * math/libm-test-nexttoward.inc: Likewise.
4907         * math/libm-test-nextup.inc: Likewise.
4908         * math/libm-test-pow.inc: Likewise.
4909         * math/libm-test-remainder.inc: Likewise.
4910         * math/libm-test-remquo.inc: Likewise.
4911         * math/libm-test-rint.inc: Likewise.
4912         * math/libm-test-round.inc: Likewise.
4913         * math/libm-test-roundeven.inc: Likewise.
4914         * math/libm-test-scalb.inc: Likewise.
4915         * math/libm-test-scalbln.inc: Likewise.
4916         * math/libm-test-scalbn.inc: Likewise.
4917         * math/libm-test-setpayload.inc: Likewise.
4918         * math/libm-test-setpayloadsig.inc: Likewise.
4919         * math/libm-test-signbit.inc: Likewise.
4920         * math/libm-test-significand.inc: Likewise.
4921         * math/libm-test-sin.inc: Likewise.
4922         * math/libm-test-sincos.inc: Likewise.
4923         * math/libm-test-sinh.inc: Likewise.
4924         * math/libm-test-sqrt.inc: Likewise.
4925         * math/libm-test-tan.inc: Likewise.
4926         * math/libm-test-tanh.inc: Likewise.
4927         * math/libm-test-tgamma.inc: Likewise.
4928         * math/libm-test-totalorder.inc: Likewise.
4929         * math/libm-test-totalordermag.inc: Likewise.
4930         * math/libm-test-trunc.inc: Likewise.
4931         * math/libm-test-ufromfp.inc: Likewise.
4932         * math/libm-test-ufromfpx.inc: Likewise.
4933         * math/libm-test-y0.inc: Likewise.
4934         * math/libm-test-y1.inc: Likewise.
4935         * math/libm-test-yn.inc: Likewise.
4936         * math/README.libm-test: Update.
4938         * math/gen-auto-libm-tests.c: Update comment about use of program.
4939         (generate_output): Add argument FUNCTION.
4940         (main): Require extra argument.  Pass function name to
4941         generate_output.
4942         * math/Makefile (generated): Add auto-libm-test-out.
4943         (libm-test-funcs-auto): New variable.
4944         (auto-libm-test-out-files): New variable.
4945         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
4946         Concatenate those files to form $(objpfx)auto-libm-test-out and
4947         use it as input to gen-libm-test.pl.
4948         * math/README.libm-test: Update.
4949         * math/auto-libm-test-out: Remove.
4950         * math/auto-libm-test-out-acos: New generated file.
4951         * math/auto-libm-test-out-acosh: Likewise.
4952         * math/auto-libm-test-out-asin: Likewise.
4953         * math/auto-libm-test-out-asinh: Likewise.
4954         * math/auto-libm-test-out-atan: Likewise.
4955         * math/auto-libm-test-out-atan2: Likewise.
4956         * math/auto-libm-test-out-atanh: Likewise.
4957         * math/auto-libm-test-out-cabs: Likewise.
4958         * math/auto-libm-test-out-carg: Likewise.
4959         * math/auto-libm-test-out-cbrt: Likewise.
4960         * math/auto-libm-test-out-ccos: Likewise.
4961         * math/auto-libm-test-out-ccosh: Likewise.
4962         * math/auto-libm-test-out-cexp: Likewise.
4963         * math/auto-libm-test-out-clog: Likewise.
4964         * math/auto-libm-test-out-clog10: Likewise.
4965         * math/auto-libm-test-out-cos: Likewise.
4966         * math/auto-libm-test-out-cosh: Likewise.
4967         * math/auto-libm-test-out-cpow: Likewise.
4968         * math/auto-libm-test-out-csin: Likewise.
4969         * math/auto-libm-test-out-csinh: Likewise.
4970         * math/auto-libm-test-out-csqrt: Likewise.
4971         * math/auto-libm-test-out-ctan: Likewise.
4972         * math/auto-libm-test-out-ctanh: Likewise.
4973         * math/auto-libm-test-out-erf: Likewise.
4974         * math/auto-libm-test-out-erfc: Likewise.
4975         * math/auto-libm-test-out-exp: Likewise.
4976         * math/auto-libm-test-out-exp10: Likewise.
4977         * math/auto-libm-test-out-exp2: Likewise.
4978         * math/auto-libm-test-out-expm1: Likewise.
4979         * math/auto-libm-test-out-fma: Likewise.
4980         * math/auto-libm-test-out-hypot: Likewise.
4981         * math/auto-libm-test-out-j0: Likewise.
4982         * math/auto-libm-test-out-j1: Likewise.
4983         * math/auto-libm-test-out-jn: Likewise.
4984         * math/auto-libm-test-out-lgamma: Likewise.
4985         * math/auto-libm-test-out-log: Likewise.
4986         * math/auto-libm-test-out-log10: Likewise.
4987         * math/auto-libm-test-out-log1p: Likewise.
4988         * math/auto-libm-test-out-log2: Likewise.
4989         * math/auto-libm-test-out-pow: Likewise.
4990         * math/auto-libm-test-out-sin: Likewise.
4991         * math/auto-libm-test-out-sincos: Likewise.
4992         * math/auto-libm-test-out-sinh: Likewise.
4993         * math/auto-libm-test-out-sqrt: Likewise.
4994         * math/auto-libm-test-out-tan: Likewise.
4995         * math/auto-libm-test-out-tanh: Likewise.
4996         * math/auto-libm-test-out-tgamma: Likewise.
4997         * math/auto-libm-test-out-y0: Likewise.
4998         * math/auto-libm-test-out-y1: Likewise.
4999         * math/auto-libm-test-out-yn: Likewise.
5001         * math/Makefile (generated): Do not include libm-test.stmp.
5002         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
5003         on $(objpfx)libm-test.stmp.
5004         ($(objpfx)libm-test.stmp): Remove rule.
5005         ($(objpfx)libm-test-ulps.h): New rule.
5006         ($(objpfx)libm-test.c): Likewise.
5007         ($(objpfx)libm-have-vector-test.h): Likewise.
5008         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
5009         individual generated files, not libm-test.stmp.
5011         * math/gen-libm-test.pl ($output_dir): Remove variable.
5012         ($srcdir): Likewise.
5013         ($opt_a): New variable.
5014         ($opt_c): Likewise.
5015         ($opt_C): Likewise.
5016         ($opt_H): Likewise.
5017         (-n): Make option take argument and use it as NewUlps output.
5018         (-a): New option.  Use its argument for auto-libm-test-out input.
5019         (-c): New option.  Use its argument for libm-test.inc input.
5020         (-C): New option.  Use its argument for libm-test.c output.
5021         (-H): New option.  Use its argument for libm-test-ulps.h output.
5022         (top level): Only process inputs needed to generate outputs
5023         specified by command-line options.  Only generate outputs
5024         specified by command-line options.
5025         * math/README.libm-test: Update example gen-libm-test.pl command.
5026         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
5027         commands.
5028         (regen-ulps): Likewise.
5030 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
5032         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
5033         * include/string.h (index): Remove define.
5034         (rindex): Likewise.
5035         * misc/getttyent.c (__getttyent): Rename index to strchr.
5036         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
5037         * sunrpc/rpc_main.c (mkfile_output): Likewise.
5039 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5041         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
5042         * math/libm-test.inc: Move all contents, other than tests of
5043         individual functions, to libm-test-driver.c.
5044         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
5045         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
5046         [!FE_UPWARD] (FE_UPWARD): Likewise.
5047         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
5048         (NO_EXCEPTION): Likewise.
5049         (INVALID_EXCEPTION): Likewise.
5050         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5051         (OVERFLOW_EXCEPTION): Likewise.
5052         (UNDERFLOW_EXCEPTION): Likewise.
5053         (INEXACT_EXCEPTION): Likewise.
5054         (INVALID_EXCEPTION_OK): Likewise.
5055         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5056         (OVERFLOW_EXCEPTION_OK): Likewise.
5057         (UNDERFLOW_EXCEPTION_OK): Likewise.
5058         (NO_INEXACT_EXCEPTION): Likewise.
5059         (EXCEPTIONS_OK): Likewise.
5060         (IGNORE_ZERO_INF_SIGN): Likewise.
5061         (TEST_NAN_SIGN): Likewise.
5062         (TEST_NAN_PAYLOAD): Likewise.
5063         (NO_TEST_INLINE): Likewise.
5064         (XFAIL_TEST): Likewise.
5065         (ERRNO_UNCHANGED): Likewise.
5066         (ERRNO_EDOM): Likewise.
5067         (ERRNO_ERANGE): Likewise.
5068         (IGNORE_RESULT): Likewise.
5069         (NON_FINITE): Likewise.
5070         (TEST_SNAN): Likewise.
5071         (NO_TEST_MATHVEC): Likewise.
5072         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
5073         (__CONCATX): Likewise.
5074         (TYPE_MIN): Likewise.
5075         (TYPE_TRUE_MIN): Likewise.
5076         (TYPE_MAX): Likewise.
5077         (MIN_EXP): Likewise.
5078         (MAX_EXP): Likewise.
5079         (MANT_DIG): Likewise.
5080         (FSTR_MAX): Likewise.
5081         (ULP_IDX): Likewise.
5082         (QTYPE_STR): Likewise.
5083         (TEST_COND_binary32): Likewise.
5084         (TEST_COND_binary64): Likewise.
5085         (TEST_COND_binary128): Likewise.
5086         (TEST_COND_ibm128): Likewise.
5087         (TEST_COND_intel96): Likewise.
5088         (TEST_COND_m68k96): Likewise.
5089         (TEST_COND_ibm128_libgcc): Likewise.
5090         (XFAIL_IBM128_LIBGCC): Likewise.
5091         (PAYLOAD_DIG): Likewise.
5092         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5093         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5094         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5095         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5096         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5097         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5098         (TEST_COND_long32): Likewise.
5099         (TEST_COND_long64): Likewise.
5100         (TEST_COND_before_rounding): Likewise.
5101         (TEST_COND_after_rounding): Likewise.
5102         (lit_pi_3_m_4_d): Likewise.
5103         (lit_pi_3_m_4_ln10_m_d): Likewise.
5104         (lit_pi_2_ln10_m_d): Likewise.
5105         (lit_pi_4_ln10_m_d): Likewise.
5106         (lit_pi_ln10_d): Likewise.
5107         (lit_pi_2_d): Likewise.
5108         (lit_pi_4_d): Likewise.
5109         (lit_pi): Likewise.
5110         (lit_e): Likewise.
5111         (ulps_file_name): Likewise.
5112         (ulps_file): Likewise.
5113         (output_ulps): Likewise.
5114         (output_dir): Likewise.
5115         (noErrors): Likewise.
5116         (noTests): Likewise.
5117         (noExcTests): Likewise.
5118         (noErrnoTests): Likewise.
5119         (verbose): Likewise.
5120         (output_max_error): Likewise.
5121         (output_points): Likewise.
5122         (ignore_max_ulp): Likewise.
5123         (plus_zero): Likewise.
5124         (minus_zero): Likewise.
5125         (plus_infty): Likewise.
5126         (minus_infty): Likewise.
5127         (qnan_value_pl): Likewise.
5128         (qnan_value): Likewise.
5129         (snan_value_pl): Likewise.
5130         (snan_value): Likewise.
5131         (max_value): Likewise.
5132         (min_value): Likewise.
5133         (min_subnorm_value): Likewise.
5134         (snan_value_ld): Likewise.
5135         (max_error): Likewise.
5136         (real_max_error): Likewise.
5137         (imag_max_error): Likewise.
5138         (prev_max_error): Likewise.
5139         (prev_real_max_error): Likewise.
5140         (prev_imag_max_error): Likewise.
5141         (max_valid_error): Likewise.
5142         (TYPE_DECIMAL_DIG): Likewise.
5143         (TYPE_HEX_DIG): Likewise.
5144         (fmt_ftostr): Likewise.
5145         (compare_ulp_data): Likewise.
5146         (find_ulps): Likewise.
5147         (init_max_error): Likewise.
5148         (set_max_error): Likewise.
5149         (print_float): Likewise.
5150         (print_screen): Likewise.
5151         (print_screen_max_error): Likewise.
5152         (update_stats): Likewise.
5153         (print_function_ulps): Likewise.
5154         (print_complex_function_ulps): Likewise.
5155         (fpstack_test): Likewise.
5156         (print_max_error): Likewise.
5157         (print_complex_max_error): Likewise.
5158         (test_single_exception): Likewise.
5159         (test_exceptions): Likewise.
5160         (test_single_errno): Likewise.
5161         (test_errno): Likewise.
5162         (ULPDIFF): Likewise.
5163         (ulp): Likewise.
5164         (check_float_internal): Likewise.
5165         (check_float): Likewise.
5166         (check_complex): Likewise.
5167         (check_int): Likewise.
5168         (check_long): Likewise.
5169         (check_bool): Likewise.
5170         (check_longlong): Likewise.
5171         (check_intmax_t): Likewise.
5172         (check_uintmax_t): Likewise.
5173         (enable_test): Likewise.
5174         (struct test_f_f_data): Likewise.
5175         (struct test_ff_f_data): Likewise.
5176         (struct test_fj_f_data): Likewise.
5177         (struct test_fi_f_data): Likewise.
5178         (struct test_fl_f_data): Likewise.
5179         (struct test_if_f_data): Likewise.
5180         (struct test_fff_f_data): Likewise.
5181         (struct test_fiu_M_data): Likewise.
5182         (struct test_fiu_U_data): Likewise.
5183         (struct test_c_f_data): Likewise.
5184         (struct test_f_f1_data): Likewise.
5185         (struct test_fF_f1_data): Likewise.
5186         (struct test_ffI_f1_data): Likewise.
5187         (struct test_c_c_data): Likewise.
5188         (struct test_cc_c_data): Likewise.
5189         (struct test_f_i_data): Likewise.
5190         (struct test_ff_i_data): Likewise.
5191         (struct test_f_l_data): Likewise.
5192         (struct test_f_L_data): Likewise.
5193         (struct test_fFF_11_data): Likewise.
5194         (struct test_Ff_b1_data): Likewise.
5195         (IF_ROUND_INIT_): Likewise.
5196         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5197         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5198         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5199         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5200         (ROUND_RESTORE_): Likewise.
5201         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5202         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5203         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5204         (ROUND_RESTORE_FE_UPWARD): Likewise.
5205         (RM_): Likewise.
5206         (RM_FE_DOWNWARD): Likewise.
5207         (RM_FE_TONEAREST): Likewise.
5208         (RM_FE_TOWARDZERO): Likewise.
5209         (RM_FE_UPWARD): Likewise.
5210         (COMMON_TEST_SETUP): Likewise.
5211         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5212         (COMMON_TEST_CLEANUP): Likewise.
5213         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5214         (RUN_TEST_f_f): Likewise.
5215         (RUN_TEST_LOOP_f_f): Likewise.
5216         (RUN_TEST_fp_f): Likewise.
5217         (RUN_TEST_LOOP_fp_f): Likewise.
5218         (RUN_TEST_2_f): Likewise.
5219         (RUN_TEST_LOOP_2_f): Likewise.
5220         (RUN_TEST_ff_f): Likewise.
5221         (RUN_TEST_LOOP_ff_f): Likewise.
5222         (RUN_TEST_LOOP_fj_f): Likewise.
5223         (RUN_TEST_fi_f): Likewise.
5224         (RUN_TEST_LOOP_fi_f): Likewise.
5225         (RUN_TEST_fl_f): Likewise.
5226         (RUN_TEST_LOOP_fl_f): Likewise.
5227         (RUN_TEST_if_f): Likewise.
5228         (RUN_TEST_LOOP_if_f): Likewise.
5229         (RUN_TEST_fff_f): Likewise.
5230         (RUN_TEST_LOOP_fff_f): Likewise.
5231         (RUN_TEST_fiu_M): Likewise.
5232         (RUN_TEST_LOOP_fiu_M): Likewise.
5233         (RUN_TEST_fiu_U): Likewise.
5234         (RUN_TEST_LOOP_fiu_U): Likewise.
5235         (RUN_TEST_c_f): Likewise.
5236         (RUN_TEST_LOOP_c_f): Likewise.
5237         (RUN_TEST_f_f1): Likewise.
5238         (RUN_TEST_LOOP_f_f1): Likewise.
5239         (RUN_TEST_fF_f1): Likewise.
5240         (RUN_TEST_LOOP_fF_f1): Likewise.
5241         (RUN_TEST_fI_f1): Likewise.
5242         (RUN_TEST_LOOP_fI_f1): Likewise.
5243         (RUN_TEST_ffI_f1_mod8): Likewise.
5244         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
5245         (RUN_TEST_Ff_b1): Likewise.
5246         (RUN_TEST_LOOP_Ff_b1): Likewise.
5247         (RUN_TEST_Ffp_b1): Likewise.
5248         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5249         (RUN_TEST_c_c): Likewise.
5250         (RUN_TEST_LOOP_c_c): Likewise.
5251         (RUN_TEST_cc_c): Likewise.
5252         (RUN_TEST_LOOP_cc_c): Likewise.
5253         (RUN_TEST_f_i): Likewise.
5254         (RUN_TEST_LOOP_f_i): Likewise.
5255         (RUN_TEST_f_i_tg): Likewise.
5256         (RUN_TEST_LOOP_f_i_tg): Likewise.
5257         (RUN_TEST_ff_b): Likewise.
5258         (RUN_TEST_LOOP_ff_b): Likewise.
5259         (RUN_TEST_ff_i_tg): Likewise.
5260         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5261         (RUN_TEST_f_b): Likewise.
5262         (RUN_TEST_LOOP_f_b): Likewise.
5263         (RUN_TEST_f_b_tg): Likewise.
5264         (RUN_TEST_LOOP_f_b_tg): Likewise.
5265         (RUN_TEST_f_l): Likewise.
5266         (RUN_TEST_LOOP_f_l): Likewise.
5267         (RUN_TEST_f_L): Likewise.
5268         (RUN_TEST_LOOP_f_L): Likewise.
5269         (RUN_TEST_fFF_11): Likewise.
5270         (RUN_TEST_LOOP_fFF_11): Likewise.
5271         (VEC_SUFF): Likewise.
5272         (STR_CONCAT): Likewise.
5273         (STR_CON3): Likewise.
5274         (HAVE_VECTOR): Likewise.
5275         (START): Likewise.
5276         (END): Likewise.
5277         (END_COMPLEX): Likewise.
5278         (ALL_RM_TEST): Likewise.
5279         (matherr): Likewise.
5280         (initialize): Likewise.
5281         (options): Likewise.
5282         (doc): Likewise.
5283         (parse_opt): Likewise.
5284         (argp): Likewise.
5285         (check_ulp): Likewise.
5286         (main): Likewise.
5287         (do_test): New function.  Call tests of individual functions
5288         previously called from main.
5290         * math/libm-test.inc: Remove comment listing functions tested and
5291         not tested.
5293 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5295         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
5296         (allocate_stack): Remove COLORING_INCREMENT usage.
5297         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
5298         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
5300 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5302         * manual/libm-err-tab.pl (@all_functions): Change to
5303         %all_functions.  Initialize as empty.
5304         (parse_ulps): Add to %all_functions based on functions found in
5305         ulps files.  Ignore results for non-default rounding modes and
5306         vector functions.
5307         (print_platforms): Use %all_platforms.
5308         * manual/math.texi (Errors in Math Functions): Document omissions
5309         from the table.
5311         * math/Makefile (before-compile): Remove.
5313 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
5315         [BZ #21075]
5316         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
5317         unused assignment.
5318         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5320 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5322         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
5323         Add __glibc_unlikely hint.
5325 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5327         [BZ #16640]
5328         * sysdeps/i386/i686/strtok.S: Remove file.
5329         * sysdeps/i386/i686/strtok_r.S: Likewise.
5330         * sysdeps/i386/strtok.S: Likewise.
5331         * sysdeps/i386/strtok_r.S: Likewise.
5332         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
5333         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
5334         * sysdeps/x86_64/strtok.S: Likewise.
5335         * sysdeps/x86_64/strtok_r.S: Likewise.
5337         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
5338         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5339         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5340         (__ASSUME_FADVISE64_AS_64_64): Define.
5341         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
5342         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
5343         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
5344         __ALIGNMENT_ARG usage.
5345         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
5346         __NR_fadvise64_64 if it is not defined.
5348 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5350         * version.h (RELEASE): Set to "development"
5351         (VERSION): Set to 2.25.90.
5352         * NEWS: Add 2.26 section.
5354         * version.h (RELEASE): Set to "stable"
5355         (VERSION): Set to 2.25.
5356         * include/features.h (__GLIBC_MINOR__): Set to 25.
5358         * manual/contrib.texi: Add more contributors from this release
5359         and past releases.
5361         * NEWS (2.25): Add list of bugs fixed.
5363         * NEWS: Add missing news items.
5365 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5367         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
5368         parent if child exited in that manner.  Print WEXITSTATUS
5369         instead of the raw status.
5370         (do_test_prep): Rename to do_test.
5371         (do_test): Return the result of run_executable_sgid.
5372         (TEST_FUNCTION_ARGV): Adjust.
5374 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
5375             Florian Weimer  <fweimer@redhat.com>
5376             Carlos O'Donell  <carlos@redhat.com>
5378         [BZ #20915]
5379         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
5380         Do not initialize DTV.
5381         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5383 2017-02-03  David S. Miller  <davem@davemloft.net>
5385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
5386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
5388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
5390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
5392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5393         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5394         (libm-sysdep_routines): Update.
5395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
5396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
5397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
5399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5400         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
5401         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
5402         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
5403         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
5404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
5405         Likewise.
5406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
5408         Likewise.
5409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
5411         Likewise.
5412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
5414         Likewise.
5415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5417         (libm-sysdep_routines): Update.
5419 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
5421         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
5422         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
5423         against unrelocated shared library.
5424         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5426 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5428         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
5429         * elf/tst-env-setuid-tunables.c
5430         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
5431         GLIBC_TUNABLES is removed in a setgid process.
5433         [BZ #21073]
5434         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
5435         * elf/dl-tunables.c (tunables_strdup): Remove.
5436         (get_next_env): Also return the previous envp.
5437         (parse_tunables): Erase tunables of category
5438         TUNABLES_SECLEVEL_SXID_ERASE.
5439         (maybe_enable_malloc_check): Make MALLOC_CHECK_
5440         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
5441         (__tunables_init)[TUNABLES_FRONTEND ==
5442         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
5443         after parsing.
5444         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
5445         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
5446         * elf/dl-tunables.h (struct _tunable): Change member is_secure
5447         to security_level.
5448         * elf/dl-tunables.list: Add security_level annotations for all
5449         tunables.
5450         * scripts/gen-tunables.awk: Recognize and generate enum values
5451         for security_level.
5452         * elf/tst-env-setuid.c: New test case.
5453         * elf/tst-env-setuid-tunables: new test case.
5454         * elf/Makefile (tests-static): Add them.
5456 2017-02-01  Richard Henderson  <rth@twiddle.net>
5458         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
5459         adjusting the byte count.
5461 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
5463         * conform/Makefile (linknamespace-libs): Define.
5465         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
5466         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
5467         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
5468         operands.
5470 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
5472         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
5474 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5476         [BZ #21081]
5477         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5478         (L(stosb)): Add VZEROUPPER before ret.
5480 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
5481             Alexey Makhalov <amakhalov@vmware.com>
5482             Florian Weimer <fweimer@redhat.com>
5484         [BZ #20116]
5485         * nptl/pthread_create.c: Document concurrency notes.
5486         Enhance thread creation notes.
5487         (create_thread): Use bool *stopped_start.
5488         (START_THREAD_DEFN): Comment ownership of PD.
5489         (__pthread_create_2_1): Add local bool stopped_start and use
5490         that instead of pd->stopped_start where appropriate.
5491         * nptl/createthread.c (create_thread): Use bool *stopped_start.
5492         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
5493         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5494         * nptl/tst-create-detached.c: New file.
5495         * nptl/Makefile (tests): Add tst-create-detached.
5496         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5497         Reference the enhanced thread creation notes.
5498         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
5499         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5500         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
5501         (__pthread_current_priority): Likewise.
5502         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
5503         xpthread_attr_init, xpthread_attr_setdetachstate, and
5504         xpthread_attr_setstacksize.
5505         * support/xpthread_attr_destroy.c: New file.
5506         * support/xpthread_attr_init.c: New file.
5507         * support/xpthread_attr_setdetachstate.c: New file.
5508         * support/xpthread_attr_setstacksize.c: New file.
5509         * support/xthread.h: Define prototypes for xpthread_attr_destroy
5510         xpthread_attr_init, xpthread_attr_setdetachstate, and
5511         xpthread_attr_setstacksize.
5513 2017-01-27  Florian Weimer  <fweimer@redhat.com>
5515         * nptl/Makefile (tests): Add tst-robust-fork.
5516         * nptl/tst-robust-fork.c: New file.
5517         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
5518         xpthread_mutex_consistent, xpthread_mutex_destroy,
5519         xpthread_mutex_init, xpthread_mutexattr_destroy,
5520         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
5521         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
5522         xpthread_mutexattr_settype.
5523         * support/xmmap.c: New file.
5524         * support/xmunmap.c: Likewise.
5525         * support/xpthread_mutex_consistent.c: Likewise.
5526         * support/xpthread_mutex_destroy.c: Likewise.
5527         * support/xpthread_mutex_init.c: Likewise.
5528         * support/xpthread_mutexattr_destroy.c: Likewise.
5529         * support/xpthread_mutexattr_init.c: Likewise.
5530         * support/xpthread_mutexattr_setprotocol.c: Likewise.
5531         * support/xpthread_mutexattr_setpshared.c: Likewise.
5532         * support/xpthread_mutexattr_setrobust.c: Likewise.
5533         * support/xpthread_mutexattr_settype.c: Likewise.
5534         * support/xthread.h (xpthread_mutexattr_destroy)
5535         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
5536         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
5537         (xpthread_mutexattr_settype, xpthread_mutex_init)
5538         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
5539         * support/xunistd.h (xmmap, xmunmap): Likewise.
5541 2017-01-25  Florian Weimer  <fweimer@redhat.com>
5543         * string/Makefile (xtests): Add comment.
5544         (LOCALES): Add en_GB.UTF-8.
5545         (tst-strcoll-overflow.out): Depend on generated locales.
5546         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
5547         (SIZE, TIMEOUT): Update comments.
5548         (do_test): Define as static.  Fail test if setlocale fails.
5549         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
5550         messages.
5551         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
5552         TIMEOUT at 300 seconds should be enough to run this test
5553         successfully.
5555 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
5557         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5558         /* FALLTHRU */ comments.
5560 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
5562         [BZ #21053]
5563         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
5564         constants instead of the old R* ones.
5565         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
5566         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
5567         (NGREG): ... to this, to fit in with other architectures.
5568         (gpregset_t): Use new NGREG macro.
5569         [__USE_GNU]: Remove condition; all architectures other than tile
5570         are unconditional.
5571         (R*): Rename to REG_R*.
5573 2017-01-20  DJ Delorie  <dj@redhat.com>
5575         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
5576         (tunable_set_val_if_valid_range_signed) ... this, and ...
5577         (tunable_set_val_if_valid_range_unsigned) ... this.
5578         (tunable_initialize): Call the correct one of the above based on type.
5580 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
5582         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
5583         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5584         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5585         * sysdeps/microblaze/libm-test-ulps: Likewise.
5586         * sysdeps/sh/libm-test-ulps: Likewise.
5588         * math/README.libm-test: Update list of characters for input and
5589         output types.
5591 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5593         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5594         (__lll_unlock_elision): Fix adapt_count decrement.
5596 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
5598         * README.pretty-printers (Known issues): Warn about printers not
5599         always covering everything.
5600         * nptl/nptl-printers.py (MutexPrinter): Change output.
5601         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
5603 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5605         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
5606         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5607         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
5608         (__lll_lock_elision): Do not test futex before starting a
5609         transaction.  Use __glibc_likely instead of __builtin_expect.
5610         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
5611         (__lll_trylock_elision): Do not test futex before starting a
5612         transaction.  Use __glibc_likely instead of __builtin_expect.
5614 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5616         * po/Makefile (update-translations): New target.
5618 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
5620         [BZ #21061]
5621         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
5623 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5625         * elf/dl-tunables (get_next_env): Always advance envp.
5626         * stdlib/tst-empty-env.c: New test case.
5627         * stdlib/Makefile (tests): Use it.
5629 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
5631         [BZ #21047]
5632         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
5633         name for instruction.
5634         [!__SOFTFP__] (_FPU_SETCW): Likewise.
5636 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5638         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
5639         for make install.
5641 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5643         * po/bg.po: Merge from Translation Project.
5644         * po/fr.po: Likewise.
5645         * po/ko.po: Likewise.
5646         * po/nl.po: Likewise.
5647         * po/sv.po: Likewise.
5649 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5651         * manual/install.texi (Tools for Compilation): Update GCC version
5652         known to work to build glibc.
5653         * INSTALL: Regenerated.
5655 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5657         [BZ #21006]
5658         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
5660 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
5662         [BZ #21045]
5663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5664         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
5665         to __sigprocmask.
5667 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
5669         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
5670         wrap-around.
5671         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
5673         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
5675 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5677         * NEWS: Fix typo.
5679 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5681         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
5682         barriers and comments.
5683         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
5684         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5685         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5687 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5689         [BZ #19402]
5690         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
5691         mutexes.
5693 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5695         [BZ #20985]
5696         * nptl/Makefile: Adapt.
5697         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5698         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5699         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5700         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5701         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
5702         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
5703         lll_robust* functions and adapt.
5704         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5705         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
5706         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5707         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5708         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
5709         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5710         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
5711         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5712         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
5713         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5714         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5715         * nptl/lowlevelrobustlock.c: Remove file.
5716         * nptl/lowlevelrobustlock.sym: Likewise.
5717         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
5718         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
5720 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5722         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5724 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5726         * po/cs.po: Merge translations from the Translation Project.
5727         * po/de.po: Likewise.
5728         * po/pl.po: Likewise.
5729         * po/ru.po: Likewise.
5730         * po/tr.po: Likewise.
5731         * po/uk.po: Likewise.
5732         * po/vi.po: Likewise.
5733         * po/zh_CN.po: Likewise.
5735 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
5737         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
5739         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
5740         object.
5742 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #16458]
5745         * bits/uintn-identity.h: New file.
5746         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
5747         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
5748         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
5749         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
5750         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
5751         * string/endian.h: Include <bits/uintn-identity.h>.
5752         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
5753         __uint16_identity.
5754         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
5755         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
5756         __uint32_identity.
5757         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
5758         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
5759         __uint64_identity.
5760         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
5761         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
5762         __uint16_identity.
5763         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
5764         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
5765         __uint32_identity.
5766         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
5767         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
5768         __uint64_identity.
5769         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
5770         * string/Makefile (headers): Add bits/uintn-identity.h.
5771         (tests): Add test-endian-types.
5772         * string/test-endian-types.c: New file.
5773         * inet/Makefile (tests): Add test-hnto-types.
5774         * inet/test-hnto-types.c: New file.
5776 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5778         * po/be.po: Update from Translation Project.
5779         * po/bg.po: Likewise.
5780         * po/ca.po: Likewise.
5781         * po/cs.po: Likewise.
5782         * po/da.po: Likewise.
5783         * po/de.po: Likewise.
5784         * po/el.po: Likewise.
5785         * po/eo.po: Likewise.
5786         * po/es.po: Likewise.
5787         * po/fi.po: Likewise.
5788         * po/fr.po: Likewise.
5789         * po/gl.po: Likewise.
5790         * po/hr.po: Likewise.
5791         * po/hu.po: Likewise.
5792         * po/ia.po: Likewise.
5793         * po/id.po: Likewise.
5794         * po/it.po: Likewise.
5795         * po/ja.po: Likewise.
5796         * po/ko.po: Likewise.
5797         * po/lt.po: Likewise.
5798         * po/nb.po: Likewise.
5799         * po/nl.po: Likewise.
5800         * po/pl.po: Likewise.
5801         * po/pt_BR.po: Likewise.
5802         * po/ru.po: Likewise.
5803         * po/rw.po: Likewise.
5804         * po/sk.po: Likewise.
5805         * po/sl.po: Likewise.
5806         * po/sv.po: Likewise.
5807         * po/tr.po: Likewise.
5808         * po/uk.po: Likewise.
5809         * po/vi.po: Likewise.
5810         * po/zh_CN.po: Likewise.
5811         * po/zh_TW.po: Likewise.
5813 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5815         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
5816         -Wformat-truncation instead of -Wformat-length.
5817         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
5818         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
5819         GCC 7.
5820         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
5821         (do_test): Ignore -Wformat-truncation for GCC 7.
5823         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
5824         buffer used to print long int value.
5826         * elf/sotruss-lib.c (init): Increase space allocated for pid by
5827         one byte.  Print it with %ld, cast to long int.
5829 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5831         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
5832         (re.fullmatch, subprocess.run): Likewise.
5834 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5836         * po/libc.pot: Regenerate.
5838 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5840         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
5841         (min_strlen): Likewise.
5842         (disable_tunable): Likewise.
5843         (maybe_disable_malloc_check): Rename to
5844         maybe_enable_malloc_check.
5845         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
5846         if /etc/suid-debug file exists.
5847         (__tunables_init): Update caller.
5848         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
5849         secure.
5851 2016-01-10  Torvald Riegel  <triegel@redhat.com>
5853         * nptl/DESIGN-rwlock.txt: Remove.
5854         * nptl/lowlevelrwlock.sym: Remove.
5855         * nptl/Makefile: Add new tests.
5856         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
5857         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
5858         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
5859         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
5860         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
5861         PTHREAD_RWLOCK_FUTEX_USED): New.
5862         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
5863         implementation.
5864         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
5865         (__pthread_rwlock_rdlock): Adapt.
5866         * nptl/pthread_rwlock_timedrdlock.c
5867         (pthread_rwlock_timedrdlock): Adapt.
5868         * nptl/pthread_rwlock_timedwrlock.c
5869         (pthread_rwlock_timedwrlock): Adapt.
5870         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
5871         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
5872         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
5873         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
5874         (__pthread_rwlock_wrlock): Adapt.
5875         * nptl/tst-rwlock10.c: Adapt.
5876         * nptl/tst-rwlock11.c: Adapt.
5877         * nptl/tst-rwlock17.c: New file.
5878         * nptl/tst-rwlock18.c: New file.
5879         * nptl/tst-rwlock19.c: New file.
5880         * nptl/tst-rwlock2b.c: New file.
5881         * nptl/tst-rwlock8.c: Adapt.
5882         * nptl/tst-rwlock9.c: Adapt.
5883         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5884         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5885         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5886         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5887         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5888         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5889         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5890         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5891         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5892         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5893         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5894         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5895         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5896         (pthread_rwlock_t): Adapt.
5897         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5898         (pthread_rwlock_t): Adapt.
5899         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5900         * nptl/nptl-printers.py (): Adapt.
5901         * nptl/nptl_lock_constants.pysym: Adapt.
5902         * nptl/test-rwlock-printers.py: Adapt.
5903         * nptl/test-rwlockattr-printers.c: Adapt.
5904         * nptl/test-rwlockattr-printers.py: Adapt.
5906 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
5908         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
5909         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
5910         (fma_test_data): Likewise.
5911         (hypot_test_data): Likewise.
5912         (log1p_test_data): Likewise.
5913         (modf_test_data): Likewise.
5914         (pow_test_data): Likewise.
5915         (remainder_test_data): Likewise.
5916         (remquo_test_data): Likewise.
5917         (scalb_test_data): Likewise.
5918         (scalbn_test_data): Likewise.
5919         (scalbln_test_data): Likewise.
5920         * math/gen-libm-test.pl (parse_args): Transform
5921         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
5922         on the rounding mode.
5924 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
5926         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
5927         xfail-rounding:ibm128-libgcc automatically to tests overflowing
5928         and those that can underflow to zero.
5929         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
5930         add others.
5931         * math/auto-libm-test-out: Regenerated.
5933         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
5934         supported.
5935         (feholdexcept_tests): Skip tests requiring exceptions or rounding
5936         modes support if not supported.
5938         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
5939         Add libc.so PLT entry.
5940         (__tls_get_addr): Make ld.so PLT entry optional.
5942 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5944         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
5945         * string/bits/string3.h: ... here.
5947 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5949         [BZ #21028]
5950         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
5951         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
5952         if EXCEPTION_TESTS returns false.
5954 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5956         [BZ #20558]
5957         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
5958         strings_fortified.h.
5959         [__USE_MISC] (bzero): Likewise.
5960         [__USE_MISC] (explicit_bzero): Likewise.
5961         * string/strings.h: Include strings_fortified.h.
5962         * string/Makefile (headers): Add strings_fortified.h.
5963         * string/bits/strings_fortified.h: New file.
5964         * include/bits/strings_fortified.h: Likewise.
5966 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5968         * elf/tst-tls13.c (TIMEOUT): Remove.
5969         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
5970         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
5971         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
5972         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
5973         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
5975         [BZ #21026]
5976         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
5977         (readahead): New syscall entry.
5979 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5981         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
5982         around tests of strncat with large sizes.
5984         * malloc/tst-malloc.c: Include <libc-internal.h>.
5985         (do_test): Disable -Walloc-size-larger-than= around tests of
5986         malloc with negative sizes.
5987         * malloc/tst-mcheck.c: Include <libc-internal.h>.
5988         (do_test): Disable -Walloc-size-larger-than= around tests of
5989         malloc and realloc with negative sizes.
5990         * malloc/tst-realloc.c: Include <libc-internal.h>.
5991         (do_test): Disable -Walloc-size-larger-than= around tests of
5992         realloc with negative sizes.
5994         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
5995         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
5996         allowed to 16 ulps.
5997         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
5998         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
5999         * math/auto-libm-test-out: Regenerated.
6001 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6003         * math/Makefile (libm-calls): Move wrappers...
6004         (libm-compat-call-auto): Here.
6005         (libm-routines): Add items in libm-compat-calls-auto.
6006         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
6007         the filenames of the wrappers that have been renamed.
6008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
6009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6011         * math/w_acos.c: Add _compat suffix to filename.
6012         * math/w_acosf.c: Likewise.
6013         * math/w_acosh.c: Likewise.
6014         * math/w_acoshf.c: Likewise.
6015         * math/w_acoshl.c: Likewise.
6016         * math/w_acosl.c: Likewise.
6017         * math/w_asin.c: Likewise.
6018         * math/w_asinf.c: Likewise.
6019         * math/w_asinl.c: Likewise.
6020         * math/w_atan2.c: Likewise.
6021         * math/w_atan2f.c: Likewise.
6022         * math/w_atan2l.c: Likewise.
6023         * math/w_atanh.c: Likewise.
6024         * math/w_atanhf.c: Likewise.
6025         * math/w_atanhl.c: Likewise.
6026         * math/w_cosh.c: Likewise.
6027         * math/w_coshf.c: Likewise.
6028         * math/w_coshl.c: Likewise.
6029         * math/w_exp10.c: Likewise.
6030         * math/w_exp10f.c: Likewise.
6031         * math/w_exp10l.c: Likewise.
6032         * math/w_exp2.c: Likewise.
6033         * math/w_exp2f.c: Likewise.
6034         * math/w_exp2l.c: Likewise.
6035         * math/w_fmod.c: Likewise.
6036         * math/w_fmodf.c: Likewise.
6037         * math/w_fmodl.c: Likewise.
6038         * math/w_hypot.c: Likewise.
6039         * math/w_hypotf.c: Likewise.
6040         * math/w_hypotl.c: Likewise.
6041         * math/w_j0.c: Likewise.
6042         * math/w_j0f.c: Likewise.
6043         * math/w_j0l.c: Likewise.
6044         * math/w_j1.c: Likewise.
6045         * math/w_j1f.c: Likewise.
6046         * math/w_j1l.c: Likewise.
6047         * math/w_jn.c: Likewise.
6048         * math/w_jnf.c: Likewise.
6049         * math/w_jnl.c: Likewise.
6050         * math/w_log10.c: Likewise.
6051         * math/w_log10f.c: Likewise.
6052         * math/w_log10l.c: Likewise.
6053         * math/w_log2.c: Likewise.
6054         * math/w_log2f.c: Likewise.
6055         * math/w_log2l.c: Likewise.
6056         * math/w_log.c: Likewise.
6057         * math/w_logf.c: Likewise.
6058         * math/w_logl.c: Likewise.
6059         * math/w_pow.c: Likewise.
6060         * math/w_powf.c: Likewise.
6061         * math/w_powl.c: Likewise.
6062         * math/w_remainder.c: Likewise.
6063         * math/w_remainderf.c: Likewise.
6064         * math/w_remainderl.c: Likewise.
6065         * math/w_scalb.c: Likewise.
6066         * math/w_scalbf.c: Likewise.
6067         * math/w_scalbl.c: Likewise.
6068         * math/w_sinh.c: Likewise.
6069         * math/w_sinhf.c: Likewise.
6070         * math/w_sinhl.c: Likewise.
6071         * math/w_sqrt.c: Likewise.
6072         * math/w_sqrtf.c: Likewise.
6073         * math/w_sqrtl.c: Likewise.
6074         * math/w_tgamma.c: Likewise.
6075         * math/w_tgammaf.c: Likewise.
6076         * math/w_tgammal.c: Likewise.
6078         * math/w_acos_compat.c: New file copied from above and
6079         adjusted for new #includes path
6080         * math/w_acosf_compat.c: Likewise.
6081         * math/w_acosh_compat.c: Likewise.
6082         * math/w_acoshf_compat.c: Likewise.
6083         * math/w_acoshl_compat.c: Likewise.
6084         * math/w_acosl_compat.c: Likewise.
6085         * math/w_asin_compat.c: Likewise.
6086         * math/w_asinf_compat.c: Likewise.
6087         * math/w_asinl_compat.c: Likewise.
6088         * math/w_atan2_compat.c: Likewise.
6089         * math/w_atan2f_compat.c: Likewise.
6090         * math/w_atan2l_compat.c: Likewise.
6091         * math/w_atanh_compat.c: Likewise.
6092         * math/w_atanhf_compat.c: Likewise.
6093         * math/w_atanhl_compat.c: Likewise.
6094         * math/w_cosh_compat.c: Likewise.
6095         * math/w_coshf_compat.c: Likewise.
6096         * math/w_coshl_compat.c: Likewise.
6097         * math/w_exp10_compat.c: Likewise.
6098         * math/w_exp10f_compat.c: Likewise.
6099         * math/w_exp10l_compat.c: Likewise.
6100         * math/w_exp2_compat.c: Likewise.
6101         * math/w_exp2f_compat.c: Likewise.
6102         * math/w_exp2l_compat.c: Likewise.
6103         * math/w_fmod_compat.c: Likewise.
6104         * math/w_fmodf_compat.c: Likewise.
6105         * math/w_fmodl_compat.c: Likewise.
6106         * math/w_hypot_compat.c: Likewise.
6107         * math/w_hypotf_compat.c: Likewise.
6108         * math/w_hypotl_compat.c: Likewise.
6109         * math/w_j0_compat.c: Likewise.
6110         * math/w_j0f_compat.c: Likewise.
6111         * math/w_j0l_compat.c: Likewise.
6112         * math/w_j1_compat.c: Likewise.
6113         * math/w_j1f_compat.c: Likewise.
6114         * math/w_j1l_compat.c: Likewise.
6115         * math/w_jn_compat.c: Likewise.
6116         * math/w_jnf_compat.c: Likewise.
6117         * math/w_jnl_compat.c: Likewise.
6118         * math/w_log10_compat.c: Likewise.
6119         * math/w_log10f_compat.c: Likewise.
6120         * math/w_log10l_compat.c: Likewise.
6121         * math/w_log2_compat.c: Likewise.
6122         * math/w_log2f_compat.c: Likewise.
6123         * math/w_log2l_compat.c: Likewise.
6124         * math/w_log_compat.c: Likewise.
6125         * math/w_logf_compat.c: Likewise.
6126         * math/w_logl_compat.c: Likewise.
6127         * math/w_pow_compat.c: Likewise.
6128         * math/w_powf_compat.c: Likewise.
6129         * math/w_powl_compat.c: Likewise.
6130         * math/w_remainder_compat.c: Likewise.
6131         * math/w_remainderf_compat.c: Likewise.
6132         * math/w_remainderl_compat.c: Likewise.
6133         * math/w_scalb_compat.c: Likewise.
6134         * math/w_scalbf_compat.c: Likewise.
6135         * math/w_scalbl_compat.c: Likewise.
6136         * math/w_sinh_compat.c: Likewise.
6137         * math/w_sinhf_compat.c: Likewise.
6138         * math/w_sinhl_compat.c: Likewise.
6139         * math/w_sqrt_compat.c: Likewise.
6140         * math/w_sqrtf_compat.c: Likewise.
6141         * math/w_sqrtl_compat.c: Likewise.
6142         * math/w_tgamma_compat.c: Likewise.
6143         * math/w_tgammaf_compat.c: Likewise.
6144         * math/w_tgammal_compat.c: Likewise.
6146         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
6147         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6148         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6149         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6150         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6151         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6152         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6153         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6154         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6155         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
6156         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
6157         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
6158         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6159         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6160         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6161         * sysdeps/ia64/fpu/w_powl.c: Likewise.
6162         * sysdeps/ia64/fpu/w_powf.c: Likewise.
6163         * sysdeps/ia64/fpu/w_pow.c: Likewise.
6164         * sysdeps/ia64/fpu/w_logl.c: Likewise.
6165         * sysdeps/ia64/fpu/w_logf.c: Likewise.
6166         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6167         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6168         * sysdeps/ia64/fpu/w_log2.c: Likewise.
6169         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6170         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6171         * sysdeps/ia64/fpu/w_log10.c: Likewise.
6172         * sysdeps/ia64/fpu/w_log.c: Likewise.
6173         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6174         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6175         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6176         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6177         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6178         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6179         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6180         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6181         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6182         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6183         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6184         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6185         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6186         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6187         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6188         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6189         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6190         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6191         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6192         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6193         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6194         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6195         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6196         * sysdeps/ia64/fpu/w_asin.c: Likewise.
6197         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6198         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6199         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6200         * sysdeps/ia64/fpu/w_acos.c: Likewise.
6201         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
6202         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
6203         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
6204         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
6205         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
6206         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
6207         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
6208         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
6209         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
6210         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
6211         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
6212         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
6213         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
6214         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
6215         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
6216         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
6217         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
6218         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
6219         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
6220         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
6221         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
6222         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
6223         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
6224         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
6225         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
6226         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
6227         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
6228         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
6229         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
6230         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
6231         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
6232         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
6233         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
6234         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
6235         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
6236         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
6237         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
6238         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
6239         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
6240         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
6241         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
6242         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
6243         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
6244         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
6245         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
6246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
6247         Likewise.
6248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
6249         Likewise.
6250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
6251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
6252         Likewise.
6253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
6254         Likewise.
6255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
6256         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6257         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6258         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6259         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6260         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6261         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
6263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
6265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6266         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6267         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6268         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6269         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6271         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
6272         and adjusted for new #includes path
6273         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
6274         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
6275         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
6276         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
6277         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
6278         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
6279         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
6280         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
6281         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
6282         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
6283         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
6284         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
6285         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
6286         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
6287         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
6288         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
6289         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
6290         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
6291         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
6292         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
6293         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
6294         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
6295         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
6296         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
6297         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
6298         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
6299         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
6300         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
6301         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
6302         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
6303         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
6304         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
6305         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
6306         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
6307         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
6308         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
6309         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
6310         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
6311         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
6312         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
6313         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
6314         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
6315         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
6316         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
6317         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
6318         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
6319         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
6320         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
6321         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
6322         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
6323         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
6324         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
6325         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
6326         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
6327         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
6328         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
6329         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
6330         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
6331         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
6332         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6333         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6334         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
6335         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6336         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
6337         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6338         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
6339         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6340         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
6341         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6342         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
6343         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
6344         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
6345         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6346         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
6347         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6348         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
6349         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6350         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
6351         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6352         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
6353         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6354         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
6355         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6356         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
6357         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6358         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
6359         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6360         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
6361         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6362         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
6363         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6364         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
6365         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
6366         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
6367         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6368         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
6369         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6370         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
6371         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
6373         Likewise.
6374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
6375         Likewise.
6376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
6377         Likewise.
6378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
6379         Likewise.
6380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
6381         Likewise.
6382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
6383         Likewise.
6384         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6385         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6386         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6387         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6388         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6389         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6391         Likewise.
6392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6393         Likewise.
6394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6395         Likewise.
6396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6397         Likewise.
6398         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6399         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6400         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6401         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6403 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6405         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
6406         __jmp_buf_internal_tag.
6408         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
6409         preserve NaN payload if [__mips_nan2008].
6410         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6412         [BZ #21022]
6413         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
6415 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6417         * sysdeps/i386/fpu/libm-test-ulps: Update.
6419 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6421         * sysdeps/ia64/strcat.c: Remove file.
6422         * sysdeps/powerpc/strcat.c: Likewise.
6423         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
6424         C implementation.
6425         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
6426         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
6428 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6429             Steven Munroe  <sjmunroe@us.ibm.com>
6430             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6432         [BZ #20822]
6433         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6434         (__lll_lock_elision): Access adapt_count via C11 atomics.
6435         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6436         (__lll_trylock_elision): Likewise.
6437         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6438         (__lll_unlock_elision):  Update adapt_count variable inside the
6439         critical section using C11 atomics.
6441 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6443         * math/test-fenvinline.c (do_test): Disable tests of raised
6444         exceptions if !EXCEPTION_TESTS (FLOAT).
6446 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6448         [BZ #19390]
6449         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
6450         maximum string size.
6451         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
6452         in pointer addition.
6453         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
6454         Likewise.
6456 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6458         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
6459         passed to tst-ldconfig-X.sh.
6461 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
6463         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
6465 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
6467         [BZ #21019]
6468         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
6469         New syscall entry.
6470         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
6471         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
6472         lseek.
6474         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6475         power4 glibc for powerpc-linux-gnu.
6477 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6479         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
6480         semctl.
6482 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
6484         * math/test-nearbyint-except.c: Include <stdbool.h>.
6485         (any_supported): New variable.
6486         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
6487         set any_supported.
6488         (do_test): Return 77 if no floating-point type supported
6489         exceptions.
6491         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
6492         condition on [__mips_hard_float].
6494 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6496         [BZ #21014]
6497         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
6498         in pointer addition.
6499         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
6501 2017-01-02  Torvald Riegel  <triegel@redhat.com>
6503         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
6504         new condvar.
6506 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
6508         * scripts/build-many-glibcs.py (Context.checkout): Default
6509         binutils version to 2.28 branch.
6511 2017-01-01  Florian Weimer  <fweimer@redhat.com>
6513         * support/support_format_netent.c (support_format_netent): Work
6514         around alpha struct netent definition difference.
6516 2017-01-01  Florian Weimer  <fweimer@redhat.com>
6518         * support/xwrite.c (xwrite): Use %td for pointer difference.
6520 2017-01-01  Florian Weimer  <fweimer@redhat.com>
6522         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
6523         have-tunables only.
6524         (tests-static): Add tst-malloc-usable-static-tunables for
6525         have-tunables only.
6527 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
6529         * scripts/config.guess: Update to version 2017-01-01.
6530         * scripts/config.sub: Update to version 2017-01-01.
6532         * NEWS: Update copyright dates.
6533         * catgets/gencat.c (print_version): Likewise.
6534         * csu/version.c (banner): Likewise.
6535         * debug/catchsegv.sh: Likewise.
6536         * debug/pcprofiledump.c (print_version): Likewise.
6537         * debug/xtrace.sh (do_version): Likewise.
6538         * elf/ldconfig.c (print_version): Likewise.
6539         * elf/ldd.bash.in: Likewise.
6540         * elf/pldd.c (print_version): Likewise.
6541         * elf/sotruss.sh: Likewise.
6542         * elf/sprof.c (print_version): Likewise.
6543         * iconv/iconv_prog.c (print_version): Likewise.
6544         * iconv/iconvconfig.c (print_version): Likewise.
6545         * locale/programs/locale.c (print_version): Likewise.
6546         * locale/programs/localedef.c (print_version): Likewise.
6547         * login/programs/pt_chown.c (print_version): Likewise.
6548         * malloc/memusage.sh (do_version): Likewise.
6549         * malloc/memusagestat.c (print_version): Likewise.
6550         * malloc/mtrace.pl: Likewise.
6551         * manual/libc.texinfo: Likewise.
6552         * nptl/version.c (banner): Likewise.
6553         * nscd/nscd.c (print_version): Likewise.
6554         * nss/getent.c (print_version): Likewise.
6555         * nss/makedb.c (print_version): Likewise.
6556         * posix/getconf.c (main): Likewise.
6557         * scripts/test-installation.pl: Likewise.
6558         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6560         * All files with FSF copyright notices: Update copyright dates
6561         using scripts/update-copyrights.
6562         * intl/plural.c: Regenerated.
6563         * locale/programs/charmap-kw.h: Likewise.
6564         * locale/programs/locfile-kw.h: Likewise.
6566 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6568         [BZ #20593]
6569         Update DNS RR type definitions.
6570         * scripts/gen-rrtypes.py: New file.
6571         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
6572         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
6573         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
6574         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
6575         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
6576         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
6577         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
6578         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
6579         ns_t_ta, ns_t_dlv.
6580         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
6581         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
6582         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
6583         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
6584         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
6585         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
6586         Define.
6587         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
6588         entry for ns_t_zxfr.
6590 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6592         [BZ #18784]
6593         CVE-2015-5180
6594         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
6595         T_UNSPEC.  Adjust value.
6596         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
6597         * resolv/res_query.c (__libc_res_nquery): Likewise.
6598         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
6599         QTYPEs.
6600         * resolv/tst-resolv-qtypes.c: New file.
6601         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
6602         (tst-resolv-qtypes): Link against libresolv and libpthread.
6604 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6606         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
6608 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6610         * manual/tunables.texi: New chapter.
6611         * manual/Makefile (chapters): Add it.
6612         * manual/probes.texi (@node): Point to the Tunables chapter.
6614         * Makeconfig (have-tunables): Check for non-negative instead
6615         of positive.
6616         * configure.ac: Add 'valstring' as a valid value for
6617         --enable-tunables.
6618         * configure: Regenerate.
6619         * elf/Makefile (have-tunables): Check for non-negative instead
6620         of positive.
6621         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
6622         dl-tunables.c.
6623         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
6624         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6625         (tunables_strdup): Likewise.
6626         (disable_tunables): Likewise.
6627         (parse_tunables): Likewise.
6628         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
6629         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6630         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
6631         (TUNABLES_FRONTEND_yes): New macro, define as
6632         TUNABLES_FRONTEND_valstring by default.
6633         * manual/install.texi: Document new acceptable values for
6634         --enable-tunables.
6635         * INSTALL: Regenerate.
6637         * config.make.in (have-loop-to-function): Define.
6638         * elf/Makefile (CFLAGS-dl-tunables.c): Add
6639         -fno-tree-loop-distribute-patterns.
6640         * elf/dl-tunables.c: Include libc-internals.h.
6641         (GLIBC_TUNABLES): New macro.
6642         (tunables_strdup): New function.
6643         (parse_tunables): New function.
6644         (min_strlen): New function.
6645         (__tunables_init): Use the new functions and macro.
6646         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
6647         * malloc/tst-malloc-usable-tunables.c: New test case.
6648         * malloc/tst-malloc-usable-static-tunables.c: New test case.
6649         * malloc/Makefile (tests, tests-static): Add tests.
6651         * manual/install.texi: Add --enable-tunables option.
6652         * INSTALL: Regenerate.
6653         * README.tunables: New file.
6654         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
6655         (before-compile): Generate dl-tunable-list.h early.
6656         * config.h.in: Add HAVE_TUNABLES.
6657         * config.make.in: Add have-tunables.
6658         * configure.ac: Add --enable-tunables option.
6659         * configure: Regenerate.
6660         * csu/init-first.c (__libc_init_first): Move
6661         __libc_init_secure earlier...
6662         * csu/init-first.c (LIBC_START_MAIN):... to here.
6663         Include dl-tunables.h, libc-internal.h.
6664         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
6665         binaries.
6666         * elf/Makefile (dl-routines): Add dl-tunables.
6667         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
6668         namespace.
6669         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
6670         only when !HAVE_TUNABLES.
6671         * elf/rtld.c (process_envvars): Likewise.
6672         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
6673         (_dl_sysdep_start): Call __tunables_init.
6674         * elf/dl-tunable-types.h: New file.
6675         * elf/dl-tunables.c: New file.
6676         * elf/dl-tunables.h: New file.
6677         * elf/dl-tunables.list: New file.
6678         * malloc/tst-malloc-usable-static.c: New test case.
6679         * malloc/Makefile (tests-static): Add it.
6680         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
6681         Define TUNABLE_NAMESPACE.
6682         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
6683         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
6684         callback functions.
6685         (ptmalloc_init): Set tunable values.
6686         * scripts/gen-tunables.awk: New file.
6687         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
6688         (_dl_sysdep_start): Call __tunables_init.
6690 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6692         * resolv/resolv.h (RES_BLAST): Deprecate.
6693         * resolv/res_debug.c (p_option): Remove RES_BLAST.
6694         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
6695         to RES_BLAST.
6697 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6699         [BZ #19582]
6700         Deprecate RES_USE_INET6.
6701         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
6702         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
6703         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
6704         RES_USE_INET6.
6705         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
6706         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
6707         (_nss_nisplus_gethostbyaddr_r): Likewise.
6708         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
6709         of res_use_inet6.
6710         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
6711         instead of RES_USE_INET6.
6712         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
6713         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
6714         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
6715         Likewise.
6716         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
6717         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
6718         Likewise.
6719         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
6720         (_nss_dns_gethostbyname_r): Likewise.
6721         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
6722         alternate RES_USE_INET6 handling.
6723         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
6724         instead of RES_USE_INET6.
6725         * resolv/res_init.c (res_setoptions): Likewise.
6726         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
6727         * resolv/resolv-internal.h: New file.
6728         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
6729         make the deprecation warning non-fatal.
6730         * resolv/README (Using the resolver in multi-threaded code): Drop
6731         reference to RES_USE_INET6.
6732         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
6733         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
6735 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6737         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
6738         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
6739         tst-resolv-search.
6740         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
6741         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
6742         with libresolv and libpthread.
6743         * resolv/tst-bug18665.c: New file.
6744         * resolv/tst-bug18665-tcp: Likewise.
6745         * resolv/tst-res_use_inet6: Likewise.
6746         * resolv/tst-resolv-basic: Likewise.
6747         * resolv/tst-resolv-network: Likewise.
6748         * resolv/tst-resolv-search: Likewise.
6749         * support/Makefile (libsupport-routines): Add check_addrinfo,
6750         check_dns_packet, check_hostent, check_netent, resolv_test,
6751         support_format_address_family, support_format_addrinfo,
6752         support_format_dns_packet, support_format_herrno,
6753         support_format_hostent, support_format_netent, support_run_diff,
6754         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
6755         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
6756         xstrdup, xwrite.
6757         * support/check_addrinfo.c: New file.
6758         * support/check_dns_packet.c: Likewise.
6759         * support/check_hostent.c: Likewise.
6760         * support/check_netent.c: Likewise.
6761         * support/check_nss.h: Likewise.
6762         * support/format_nss.h: Likewise.
6763         * support/resolv_test.c: Likewise.
6764         * support/resolv_test.h: Likewise.
6765         * support/run_diff.h: Likewise.
6766         * support/support_format_address_family.c: Likewise.
6767         * support/support_format_addrinfo.c: Likewise.
6768         * support/support_format_dns_packet.c: Likewise.
6769         * support/support_format_herrno.c: Likewise.
6770         * support/support_format_hostent.c: Likewise.
6771         * support/support_format_netent.c: Likewise.
6772         * support/support_run_diff.c: Likewise.
6773         * support/xaccept.c: Likewise.
6774         * support/xbind.c: Likewise.
6775         * support/xconnect.c: Likewise.
6776         * support/xfclose.c: Likewise.
6777         * support/xfopen.c: Likewise.
6778         * support/xgetsockname.c: Likewise.
6779         * support/xlisten.c: Likewise.
6780         * support/xmemstream.c: Likewise.
6781         * support/xmemstream.h: Likewise.
6782         * support/xpoll.c: Likewise.
6783         * support/xpthread_once.c: Likewise.
6784         * support/xrecvfrom.c: Likewise.
6785         * support/xsendto.c: Likewise.
6786         * support/xsetsockopt.c: Likewise.
6787         * support/xstdio.h: Likewise.
6788         * support/xstrdup.c: Likewise.
6789         * support/support.h (xstrdup): Declare.
6790         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
6791         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
6792         * support/xthread.h (xpthread_once): Likwise.
6793         * support/xunistd.h (xwrite): Declare.
6795 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6797         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
6798         (test_verbose): Declare.
6799         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
6800         * support/support_test_main.c (default_options): Likewise.
6801         (usage, support_test_main): Handle 'v'.
6802         (test_verbose): Define.
6803         * support/tst-support_record_failure.c (do_test): Use
6804         test_verbose.
6805         * support/tst-support_record_failure-2.sh (different_status): Add
6806         --verbose test.
6808 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6810         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
6811         test failures are recorded.
6812         * support/check.c (support_print_failure_impl): Call
6813         support_record_failure.
6814         (support_exit_failure_impl): Call support_record_failure if status
6815         indicates failure.
6816         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
6817         * support/xasprintf.c (xasprintf): Likewise.
6818         * support/xfork.c (xfork): Likewise.
6819         * support/xpthread_check_return.c (xpthread_check_return):
6820         Likewise.
6821         * support/xsocket.c (xsocket): Likeweise.
6822         * support/xwaitpid.c (xwaitpid): Likewise.
6823         * support/support_record_failure.c (struct test_failures): Adjust
6824         to coding style.
6825         * support/support_test_verify_impl.c (support_test_verify_impl):
6826         Adjust error messages.
6827         * support/tst-support_record_failure-2.sh (different_status):
6828         Adjust error messages.
6830 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6832         * support/namespace.h: New file.
6833         * support/support_become_root.c: Likewise.
6834         * support/support_enter_network_namespace.c: Likewise.
6835         * support/tst-support-namespace.c: Likewise.
6836         * support/xsocket.c: Likewise.
6837         * support/xsocket.h: Likewise.
6838         * support/Makefile (libsupport-routines): Add support_become_root,
6839         support_enter_network_namespace, xsocket.
6840         (tests): Add tst-support-namespace.
6842 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6844         [BZ #17252]
6845         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
6846         __USE_GNU.
6848 2016-12-31  Torvald Riegel  <triegel@redhat.com>
6850         [BZ #13165]
6851         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
6852         use new algorithm.
6853         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6854         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6855         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6856         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6857         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
6858         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
6859         __condvar_cleanup_waiting, __condvar_dec_grefs,
6860         __pthread_cond_wait_common): New.
6861         (__condvar_cleanup): Remove.
6862         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
6863         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
6864         Likewise.
6865         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
6866         Likewise.
6867         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
6868         * nptl/tst-cond1.c: Add comment.
6869         * nptl/tst-cond20.c (do_test): Adapt.
6870         * nptl/tst-cond22.c (do_test): Likewise.
6871         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
6872         structure.
6873         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6874         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6875         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6876         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
6877         Likewise.
6878         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6879         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6880         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6881         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6882         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6883         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
6884         Likewise.
6885         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
6886         Likewise.
6887         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6888         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
6889         (COND_CLOCK_BITS): Adapt.
6890         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
6891         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
6892         __PTHREAD_COND_SHARED_MASK): New.
6893         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
6894         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
6895         * nptl/nptl_lock_constants.pysym: Adapt.
6896         * nptl/test-cond-printers.py: Adapt.
6897         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
6898         cond_compat_check_and_clear): Adapt.
6899         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
6900         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6901         (__pthread_cond_timedwait): ... and move here.
6902         * nptl/DESIGN-condvar.txt: Remove file.
6903         * nptl/lowlevelcond.sym: Likewise.
6904         * nptl/pthread_cond_timedwait.c: Likewise.
6905         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
6906         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
6907         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
6908         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
6909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
6910         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
6911         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
6912         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
6913         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
6914         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
6915         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
6916         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
6917         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
6918         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
6919         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
6920         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
6922 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
6924         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6925         (fromfp): New declaration.
6926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6928         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6929         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
6930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
6931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6934         * math/math.h: Include <bits/types.h>.
6935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
6936         constant and macro.
6937         (FP_INT_DOWNWARD): Likewise.
6938         (FP_INT_TOWARDZERO): Likewise.
6939         (FP_INT_TONEARESTFROMZERO): Likewise.
6940         (FP_INT_TONEAREST): Likewise.
6941         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
6942         (fromfpf): Likewise.
6943         (fromfpl): Likewise.
6944         (ufromfp): Likewise.
6945         (ufromfpf): Likewise.
6946         (ufromfpl): Likewise.
6947         (fromfpx): Likewise.
6948         (fromfpxf): Likewise.
6949         (fromfpxl): Likewise.
6950         (ufromfpx): Likewise.
6951         (ufromfpxf): Likewise.
6952         (ufromfpxl): Likewise.
6953         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
6954         s_fromfpxF and s_ufromfpxF.
6955         * math/gen-fromfp-tests.py: New file.
6956         * math/gen-fromfp-tests-inputs: Likewise.
6957         * math/libm-test.inc: Include <stdint.h>
6958         (check_intmax_t): New function.
6959         (check_uintmax_t): Likewise.
6960         (struct test_fiu_M_data): New type.
6961         (struct test_fiu_U_data): Likewise.
6962         (RUN_TEST_fiu_M): New macro.
6963         (RUN_TEST_LOOP_fiu_M): Likewise.
6964         (RUN_TEST_fiu_U): Likewise.
6965         (RUN_TEST_LOOP_fiu_U): Likewise.
6966         (fromfp_test_data): New array.
6967         (fromfp_test): New function.
6968         (fromfpx_test_data): New array.
6969         (fromfpx_test): New function.
6970         (ufromfp_test_data): New array.
6971         (ufromfp_test): New function.
6972         (ufromfpx_test_data): New array.
6973         (ufromfpx_test): New function.
6974         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
6975         ufromfpx_test.
6976         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
6977         characters.
6978         * math/test-tgmath-ret.c: Include <stdint.h>.
6979         (rm): New variable.
6980         (width): Likewise.
6981         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
6982         called function.
6983         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
6984         CHECK_RET_CONST_TYPE.
6985         (CHECK_RET_CONST_DOUBLE): Likewise.
6986         (CHECK_RET_CONST_LDOUBLE): Likewise.
6987         (CHECK_RET_CONST): Take extra arguments and pass them to calls
6988         macros.
6989         (fromfp): New CHECK_RET_CONST call.
6990         (ufromfp): Likewise.
6991         (fromfpx): Likewise.
6992         (ufromfpx): Likewise.
6993         (do_test): Call check_return_fromfp, check_return_ufromfp,
6994         check_return_fromfpx and check_return_ufromfpx.
6995         * math/test-tgmath.c: Include <stdint.h>
6996         (NCALLS): Increase to 138.
6997         (F(compile_test)): Initialize i.  Call fromfp functions.
6998         (F(fromfp)): New function.
6999         (F(fromfpx)): Likewise.
7000         (F(ufromfp)): Likewise.
7001         (F(ufromfpx)): Likewise.
7002         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
7003         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
7004         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
7005         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
7006         ufromfpxl.
7007         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
7008         ufromfp and ufromfpx.
7009         * math/fromfp.h: New file.
7010         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
7011         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
7012         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
7013         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
7014         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
7015         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
7016         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
7017         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
7018         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
7019         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
7020         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
7021         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
7022         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
7023         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
7024         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
7025         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
7026         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
7027         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
7028         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
7029         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
7030         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
7031         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
7032         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
7033         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
7034         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
7035         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
7036         ufromfp, fromfpx and ufromfpx.
7037         (CFLAGS-nldbl-fromfp.c): New variable.
7038         (CFLAGS-nldbl-fromfpx.c): Likewise.
7039         (CFLAGS-nldbl-ufromfp.c): Likewise.
7040         (CFLAGS-nldbl-ufromfpx.c): Likewise.
7041         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
7042         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
7043         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
7044         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
7045         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
7046         * sysdeps/nacl/libm.abilist: Update.
7047         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7048         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7049         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7050         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7051         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7052         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7053         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7054         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7055         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7056         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7057         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7058         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7060         Likewise.
7061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7062         Likewise.
7063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7064         Likewise.
7065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7066         Likewise.
7067         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7069         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7070         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7073         Likewise.
7074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7075         Likewise.
7076         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7077         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7078         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7080 2016-12-30  Florian Weimer  <fweimer@redhat.com>
7082         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
7083         compat-gethnamaddr.
7084         (CPPFLAGS): Remove.
7085         * resolv/gethnamaddr.c: Rename ...
7086         * resolv/compat-gethnamaddr.c: ... to this file.
7087         (_endhtent): Make static.
7088         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
7089         symbol.
7090         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
7091         compat symbol.
7092         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
7093         symbol.
7094         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
7095         Turn into compat symbol.
7096         * include/resolv.h (_endhtent): Remove declaration.
7098 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
7100         * bits/types.h (__intmax_t): New typedef.
7101         (__uintmax_t): Likewise.
7102         * sysdeps/generic/stdint.h: Include <bits/types.h>.
7103         (intmax_t): Define using __intmax_t.
7104         (uintmax_t): Define using __uintmax_t.
7106         * support/Makefile (tests-special): Make definition conditional on
7107         [$(run-built-tests) = yes].
7108         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
7109         on [$(run-built-tests) = yes].
7111 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7113         * Rules (tests): Add tests-printers-programs to tests to be
7114         built.
7116 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7118         * sysvipc/Makefile (tests): Add test-sysvshm.
7119         * sysvipc/test-sysvshm.c: New file.
7121         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
7122         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
7123         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
7124         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
7125         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
7126         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
7127         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
7128         Likewise.
7129         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
7130         Likewise.
7131         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
7132         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
7133         is defined.
7135         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
7136         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
7137         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
7138         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
7139         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
7140         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
7141         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
7142         Likewise.
7143         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
7144         Likewise.
7145         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
7146         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
7147         defined.
7149         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7150         oldshmctl.
7151         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
7152         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
7153         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
7154         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
7155         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
7156         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
7157         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
7158         Likewise.
7159         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
7160         Likewise.
7161         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
7162         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
7163         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
7164         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
7165         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
7166         implementation.
7167         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
7168         if it is defined.
7170         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
7171         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
7172         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
7173         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
7174         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
7175         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
7176         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
7177         Likewise.
7178         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
7179         Likewise.
7180         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
7181         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
7182         Define to __NR_osf_shmat.
7183         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
7184         defined.
7186         * sysvipc/Makefile (tests): Add test-sysvsem.
7187         * sysvipc/test-sysvsem.c: New file.
7189         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
7190         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
7191         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
7192         Likewise.
7193         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
7194         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
7195         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
7196         Likewise.
7197         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
7198         Likewise.
7199         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
7200         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
7201         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
7202         add a comment about s390 syscall difference from default one.
7203         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
7204         syscall if it is defined.
7206         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
7207         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
7208         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
7209         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
7210         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
7211         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
7212         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
7213         Likewise.
7214         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
7217         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
7218         defined.
7220         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
7221         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
7222         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
7223         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
7224         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
7225         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
7226         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
7227         Likewise.
7228         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
7229         Likewise.
7230         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
7231         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
7232         if it is defined.
7234         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7235         oldsemctl.
7236         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
7237         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
7238         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
7239         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
7240         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
7241         implementation.
7242         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
7243         syscall if it is defined.
7244         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
7245         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
7246         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
7247         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
7248         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
7249         Likewise.
7250         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
7252         * sysvipc/Makefile (tests): Add test-sysvmsg.
7253         * sysvipc/test-sysvmsg.c: New file.
7254         * support/check.h (FAIL_UNSUPPORTED): New define.
7256         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
7257         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
7258         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
7259         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
7260         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
7261         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
7262         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
7263         Likewise.
7264         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
7265         Likewise.
7266         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
7267         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
7268         define.
7270         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
7271         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
7272         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
7273         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
7274         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
7275         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
7276         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
7277         Likewise.
7278         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
7279         Likewise.
7280         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
7281         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
7282         if defined.
7284         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
7285         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
7286         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7287         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7288         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7289         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
7290         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7291         Likewise.
7292         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
7293         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
7294         Likewise.
7295         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
7296         if defined.
7297         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
7299         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7300         oldmsgctl.
7301         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
7302         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
7303         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
7304         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
7305         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7306         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7307         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7308         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7309         Likewise.
7310         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
7311         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
7312         implementation.
7313         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
7314         if defined.
7316         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
7317         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
7318         definition and define its own.
7319         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
7320         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
7321         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
7322         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
7323         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
7324         definitions to common header.
7325         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
7326         operation from ipc_ops.h.
7328         * sysdeps/unix/sysv/linux/kernel-features.h
7329         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
7330         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7331         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
7332         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7333         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7334         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7335         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7336         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7337         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7338         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7339         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7340         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7341         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7342         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7343         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7345 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7347         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
7348         overflow in pointer addition.
7350 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7352         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7353         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
7354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7355         (strchr): Add __strchr_power8 to list of strchr functions.
7356         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
7357         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
7358         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
7359         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
7360         (strchr): Add __strchr_power8 to ifunc list.
7361         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
7362         (__strchrnul): Add __strchrnul_power8 to ifunc list.
7363         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
7364         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
7366 2016-12-28  Florian Weimer  <fweimer@redhat.com>
7368         * support/Makefile (libsupport-routines): Add
7369         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
7370         (tests): Add tst-support_record_failure.
7371         (tests-special): tst-support_record_failure-2.
7372         (tst-support_record_failure-2.out): Depend on
7373         tst-support_record_failure-2.sh and tst-support_record_failure.
7374         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
7375         (support_test_verify_impl, support_record_failure)
7376         (support_report_failure, support_report_failure_reset): Declare.
7377         * support/support_test_main.c (adjust_exit_status): New function.
7378         (support_test_main): Call it to incorporate record test failures.
7379         * support/support_test_verify_impl.c: New file.
7380         * support/support_record_failure.c: Likewise.
7381         * support/tst-support_record_failure.c: Likewise.
7382         * support/tst-support_record_failure-2.sh: Likewise.
7383         * support/xunistd.h: Likewise.
7384         * support/xfork.c: Likewise.
7385         * support/xwaitpid.c: Likewise.
7387 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
7389         * scripts/check-c++-types.sh: Add comments.
7391 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
7393         [BZ #19514]
7394         * resolv/res_send.c: Fix typo in comment.
7395         * sysdeps/i386/i386-mcount.S: Likewise.
7396         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7397         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7398         * sysdeps/sparc/sparc-mcount.S: Likewise.
7400 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7402         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
7403         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
7404         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
7405         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
7406         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
7407         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
7408         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
7409         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
7411 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7413         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
7415 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7417         [BZ #17252]
7418         * posix/unistd.h (getentropy): Declare.
7420 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7422         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
7423         Remove.
7424         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
7425         (cmd): Remove spoof, nospoof, spoofalert.
7426         (parse_line): Ignore spoof-related lines.
7427         (do_init): Do not process RESOLV_SPOOF_CHECK.
7429 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7431         [BZ #20964]
7432         sunrpc: Always obtain AF_INET addresses from NSS.
7433         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
7434         * sunrpc/rpc_gethostbyname.c: New file.
7435         * sunrpc/Makefile (routines): Add it.
7436         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
7437         * sunrpc/clnt_simp.c (callrpc): Likewise.
7438         * sunrpc/getrpcport.c (getrpcport): Likewise.
7440 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7442         * sunrpc/rpcinfo.c: Remove.
7443         * sunrpc/Makefile: Remove comments referring to rpcinfo.
7445 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7447         [BZ #19387]
7448         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
7449         addition.
7450         * string/test-memchr.c (do_test): Remove alignment limitation.
7451         (test_main): Add test that trigger BZ #19387.
7453 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7455         [BZ #7065]
7456         Enable stack protectore if requested by ./configure.
7457         * Makeconfig (+stack-protector): New variable.
7458         (+cflags): Use it.
7460 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7462         [BZ #7065]
7463         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
7464         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
7465         (__rt_sigreturn_stub): Use inhibit_stack_protector.
7466         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7467         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
7469 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7471         [BZ #7065]
7472         * login/Makefile (pt_chown-cflags): Remove.
7473         * nscd/Makefile (CFLAGS-nscd): Likewise.
7474         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7476 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7478         [BZ #7065]
7479         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
7480         non-libc-linking testcase.
7482 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7483             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7484             Florian Weimer  <fweimer@redhat.com>
7486         [BZ #7065]
7487         PLT avoidance for __stack_chk_fail*.
7488         * debug/Makefile (CFLAGS-stack_chk_fail.c)
7489         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
7490         * debug/stack_chk_fail.c (__stack_chk_fail): Add
7491         __stack_chk_fail_local alias.
7492         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
7493         (__stack_chk_fail): Turn into hidden reference to
7494         __stack_chk_fail_local.
7496 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7498         [BZ #7065]
7499         * configure.ac: Add check for unsupported stack-protection level.
7500         (libc_cv_predef_stack_protector): Remove.
7501         (no_ssp): New variable.
7502         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
7503         (stack_protector): Set to -fno-stack-protector similarly.
7504         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
7505         (libc_cv_asm_set_directive): Likewise.
7506         (libc_cv_protected_data): Likewise.
7507         (libc_cv_z_combreloc): Likewise.
7508         (libc_cv_hashstyle): Likewise.
7509         (libc_cv_has_glob_dat): Likewise.
7510         (libc_cv_output_format): Likewise.
7511         (libc_cv_output_format): Likewise.
7512         (libc_cv_ehdr_start): Likewise.
7513         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
7514         (LIBC_LINKER_FEATURE): Likewise.
7515         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
7517 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7519         [BZ #7065]
7520         * elf/Makefile (dummy-stack-chk-fail): New.
7521         (librtld.map): Use it.
7523 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7525         [BZ #7065]
7526         Compile the dynamic linker without stack protection.
7527         * elf/Makefile (elide-stack-protector): New.
7528         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
7529         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
7530         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
7531         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
7533 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7535         [BZ #7065]
7536         * config.make.in (have-ssp, no-stack-protector): New.
7537         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
7538         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
7539         (CFLAGS-sbrk.op): Likewise.
7540         (CFLAGS-brk.o): Likewise.
7541         (CFLAGS-brk.op): Likewise.
7542         * string/Makefile (CFLAGS-memcpy.c): Likewise.
7543         (CFLAGS-wordcopy.c): Likewise.
7545 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7547         [BZ #7065]
7548         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
7549         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
7550         * include/libc-symbols.h (inhibit_stack_protector): New macro.
7551         (__ifunc_resolver): Use it.
7552         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
7553         inhibit_stack_protector.
7554         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
7555         * elf/ifuncmain7.c (foo_ifunc): Likewise.
7556         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
7557         (foo_protected_ifunc): Likewise.
7558         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
7559         (foo_protected_ifunc): Likewise.
7560         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
7561         * sysdeps/nacl/nacl_interface_query.c
7562         (nacl_interface_query_ifunc): Likewise.
7563         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
7564         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
7565         Likewise.
7566         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
7567         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
7568         the generated vDSO syscall resolver.
7570 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7571             Florian Weimer  <fweimer@redhat.com>
7573         [BZ #7065]
7574         Initialize the stack guard earlier when linking statically.
7575         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
7576         (__pthread_initialize_minimal): Declare.
7577         * csu/libc-start.c (__pthread_initialize_minimal): Remove
7578         declaration.
7579         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
7580         stack canary and apply_irel initialization up.  Call
7581         __pthread_initialize_minimal only if linked in.
7582         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
7583         constant values.
7584         (__pthread_initialize_minimal): Remove.
7585         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
7586         (__pthread_initialize_minimal_internal): Do not call
7587         __libc_setup_tls.
7589 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7591         [BZ #7065]
7592         * configure.ac (libc_cv_ssp): Move up.
7593         (libc_cv_ssp_strong): Likewise.
7594         (libc_cv_ssp_all): New.
7595         (stack_protector): Augment, adding -fstack-protector-all.
7596         (no_stack_protector): New.
7597         (STACK_PROTECTOR_LEVEL): New.
7598         (AC_ARG_ENABLE(stack-protector)): New configure flag.
7599         * manual/install.texi (--enable-stack-protector): Document it.
7600         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
7602 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
7604         * README.pretty-printers: Must specify CPPFLAGS-* also.
7605         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
7606         (CPPFLAGS-test-mutex-printers.c): Define.
7607         (CPPFLAGS-test-condattr-printers.c): Define.
7608         (CPPFLAGS-test-cond-printers.c): Define.
7609         (CPPFLAGS-test-rwlockattr-printers.c): Define.
7610         (CPPFLAGS-test-rwlock-printers.c): Define.
7612         * nss/Makefile [ifeq (yes,$(have-thread-library))]
7613         (tests): Add tst-cancel-getpwuid_r.
7614         * nss/tst-cancel-getpwuid_r.c: New file.
7616         [BZ #11941]
7617         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
7618         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
7619         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
7620         tst-nodelete-dlclose.
7621         (modules-names): Add tst-nodelete-dlclose-dso and
7622         tst-nodelete-dlclose-plugin.
7623         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
7624         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
7625         ($(objpfx)tst-nodelete-dlclose): Define.
7626         ($(objpfx)tst-nodelete-dlclose.out): Define.
7628 2016-12-23  Florian Weimer  <fweimer@redhat.com>
7630         * scripts/test_printers_common.py: Log GDB output in case of
7631         Python detection failure.
7633 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7635         * configure.ac: Check for python3 or python.
7636         * configure: Regenerated.
7637         * config.make.in (PYTHON): New variable.
7638         * benchtests/Makefile: Don't define PYTHON.
7639         (bench): Define target only if PYTHON was defined.
7640         * Rules: Don't define PYTHON.
7641         Define pretty printer targets only if PYTHON was defined.
7642         (tests-printers): Add to tests-unsupported if PYTHON is not
7643         found.
7644         (python-flags, python-invoke): Remove.
7645         (tests-printers-out): Use PYTHON instead of python-invoke.
7647 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7649         [BZ #20978]
7650         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7651         Compare name == NULL, not name != NULL.
7653         * manual/texinfo.tex: Update to version 2016-09-18.18 with
7654         trailing whitespace removed.
7655         * scripts/config.guess: Update to version 2016-10-02.
7656         * scripts/config.sub: Update to version 2016-11-19.
7657         * scripts/install-sh: Update to version 2016-01-11.22.
7658         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
7659         * scripts/move-if-change: Update to version 2016-01-11 22:04.
7661 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
7663         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
7664         (do_one_test) Restore original string so iteration works.
7665         * string/string-inlines.c (do_test): Create better input strings.
7666         (test_main) Reduce number of testruns.
7667         * string/string-inlines.c (__old_strsep_1c): New function.
7668         (__old_strsep_2c): Likewise.
7669         (__old_strsep_3c): Likewise.
7670         * string/strsep.c (__strsep): Remove case of small delim string.
7671         Call strcspn directly rather than strpbrk.
7672         * string/bits/string2.h (__strsep): Remove define.
7673         (__strsep_1c): Remove.
7674         (__strsep_2c): Remove.
7675         (__strsep_3c): Remove.
7676         (strsep): Remove.
7677         * sysdeps/unix/sysv/linux/internal_statvfs.c
7678         (__statvfs_getflags): Rename to __strsep.
7680 2016-12-21  Florian Weimer  <fweimer@redhat.com>
7682         * csu/libc-tls.c (_dl_tls_setup): Remove.
7683         * elf/dl-tls.c (_dl_tls_setup): Likewise.
7684         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
7685         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
7687 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7689         [BZ #7065]
7690         * sysdeps/x86_64/Makefile [$(subdir) = elf]
7691         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
7693 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7694             Florian Weimer  <fweimer@redhat.com>
7696         [BZ #7065]
7697         * csu/Makefile (tests): Empty assignment and document it.
7698         (tests-static): Remove.
7699         * csu/tst-empty.c: Move to...
7700         * misc/tst-empty.c: ... here.  Switch to new test driver.
7701         * csu/tst-atomic.c: Move to...
7702         * misc/tst-atomic.c: ... here.  Switch to new test driver.
7703         * csu/tst-atomic-long.c: Move to...
7704         * misc/tst-atomic-long.c: ... here.
7705         * misc/Makefile (tests): Add tst-empty, tst-atomic,
7706         tst-atomic-long.
7707         (tests-static): Add tst-empty.
7709 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
7711         * manual/nss.texi: Change incorrect @vtable to @table.
7712         * manual/arith.texi: Convert @tables of variables to @vtables
7713         and remove unnecessary indexing.
7714         * manual/filesys.texi: Likewise.
7715         * manual/llio.texi: Likewise.
7716         * manual/memory.texi: Likewise.
7717         * manual/process.texi: Likewise.
7718         * manual/resource.texi: Likewise.
7719         * manual/search.texi: Likewise.
7720         * manual/signal.texi: Likewise.
7721         * manual/socket.texi: Likewise.
7722         * manual/stdio.texi: Likewise.
7723         * manual/sysinfo.texi: Likewise.
7724         * manual/syslog.texi: Likewise.
7725         * manual/terminal.texi: Likewise.
7726         * manual/time.texi: Likewise.
7727         * manual/users.texi: Likewise.
7729 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7731         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7732         (roundeven): New declaration.
7733         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
7734         macro.
7735         * math/Versions (roundeven): New libm symbol at version
7736         GLIBC_2.25.
7737         (roundevenf): Likewise.
7738         (roundevenl): Likewise.
7739         * math/Makefile (libm-calls): Add s_roundevenF.
7740         * math/libm-test.inc (roundeven_test_data): New array.
7741         (roundeven_test): New function.
7742         (main): Call roundeven_test.
7743         * math/test-tgmath.c (NCALLS): Increase to 134.
7744         (F(compile_test)): Call roundeven.
7745         (F(roundeven)): New function.
7746         * manual/arith.texi (Rounding Functions): Document roundeven,
7747         roundevenf and roundevenl.
7748         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
7749         * include/math.h (roundeven): Use libm_hidden_proto.
7750         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
7751         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
7752         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
7753         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
7754         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
7755         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
7756         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7757         roundeven.
7758         (CFLAGS-nldbl-roundeven.c): New variable.
7759         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
7760         * sysdeps/nacl/libm.abilist: Update.
7761         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7762         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7763         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7764         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7765         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7766         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7767         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7768         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7769         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7770         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7771         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7772         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7774         Likewise.
7775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7776         Likewise.
7777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7778         Likewise.
7779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7780         Likewise.
7781         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7782         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7783         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7784         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7785         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7787         Likewise.
7788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7789         Likewise.
7790         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7791         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7792         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7794 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7796         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
7797         preprocessor indentation inside #if.
7799 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7801         * math/libm-test.inc (fmt_ftostr): New function.
7802         (print_float, check_float_internal): Replace some uses of
7803         FTOSTR with uses of fmt_ftostr.
7804         (print_max_error, print_complex_max_error, print_function_ulps)
7805         (print_complex_function_ulps): Remove uses of the macros
7806         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
7807         * math/test-double.h (FTOSTR): Define to strfromd.
7808         (PRINTF_EXPR): Delete.
7809         (PRINTF_XEXPR): Likewise.
7810         (PRINTF_NEXPR): Likewise.
7811         * math/test-float.h (FTOSTR): Define to strfromf.
7812         (PRINTF_EXPR): Delete.
7813         (PRINTF_XEXPR): Likewise.
7814         (PRINTF_NEXPR): Likewise.
7815         * math/test-ldouble.h (FTOSTR): Define to strfroml.
7816         (PRINTF_EXPR): Delete.
7817         (PRINTF_XEXPR): Likewise.
7818         (PRINTF_NEXPR): Likewise.
7820 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7822         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7823         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
7824         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7825         (__lll_lock_elision): Decrement adapt_count while unlocking
7826         instead of before locking.
7827         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7828         (__lll_trylock_elision): Likewise.
7829         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
7830         (__lll_unlock_elision): Likewise.
7832 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7834         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
7835         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
7836         Use __libc_tbegin_retry macro.
7838 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7840         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
7841         Add -msoft-float.
7842         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
7843         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7844         Use __libc_t* transaction macros instead of __builtin_t*.
7845         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7846         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7848 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7850         * sysdeps/unix/sysv/linux/s390/elision-lock.c
7851         (__lll_lock_elision): Use atomics to load / store adapt_count.
7852         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7853         (__lll_trylock_elision): Likewise.
7855 2016-12-20  Florian Weimer  <fweimer@redhat.com>
7857         Do not require memset elimination in explicit_bzero test.
7858         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
7859         (enum test_expectation): Add NO_EXPECTATIONS.
7860         (subtests): NO_EXPECTATIONS for ordinary clear.
7861         (check_test_buffer): Handle NO_EXPECTATIONS.
7862         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
7864 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7866         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7867         (fmaxmag): New declaration.
7868         (fminmag): Likewise.
7869         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
7870         macro.
7871         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
7872         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
7873         (fmaxmagf): Likewise.
7874         (fmaxmagl): Likewise.
7875         (fminmag): Likewise.
7876         (fminmagf): Likewise.
7877         (fminmagl): Likewise.
7878         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
7879         * math/s_fmaxmag_template.c: New file.
7880         * math/s_fminmag_template.c: Likewise.
7881         * math/libm-test.inc (fmaxmag_test_data): New array.
7882         (fmaxmag_test): New function.
7883         (fminmag_test_data): New array.
7884         (fminmag_test): New function.
7885         (main): Call fmaxmag_test and fminmag_test.
7886         * math/test-tgmath.c (NCALLS): Increase to 132.
7887         (F(compile_test)): Call fmaxmag and fminmag.
7888         (F(fminmag)): New function.
7889         (F(fmaxmag)): Likewise.
7890         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
7891         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
7892         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
7893         fminmag.
7894         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
7895         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
7896         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
7897         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
7898         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
7899         and fminmag.
7900         (CFLAGS-nldbl-fmaxmag.c): New variable.
7901         (CFLAGS-nldbl-fminmag.c): Likewise.
7902         * sysdeps/nacl/libm.abilist: Update.
7903         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7904         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7905         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7906         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7907         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7908         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7909         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7910         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7911         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7912         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7913         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7914         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7916         Likewise.
7917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7918         Likewise.
7919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7920         Likewise.
7921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7922         Likewise.
7923         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7924         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7925         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7926         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7927         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7929         Likewise.
7930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7931         Likewise.
7932         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7933         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7934         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7936 2016-12-19  Torvald Riegel  <triegel@redhat.com>
7938         [BZ #20973]
7939         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
7940         wake-up in robust mutexes.
7941         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7943 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7945         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
7946         (CFLAGS-bench-fmaxf.c): New rule.
7947         (CFLAGS-bench-fminf.c): Likewise.
7948         * benchtests/fmaxf-inputs: New file.
7949         * benchtests/fminf-inputs: Likewise.
7951         * benchtests/Makefile (bench-math): Add fmin and fmax.
7952         (CFLAGS-bench-fmax.c): New rule.
7953         (CFLAGS-bench-fmin.c): Likewise.
7954         * benchtests/fmax-inputs: New file.
7955         * benchtests/fmin-inputs: Likewise.
7957         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
7958         parenthesis.
7959         (CMDLINE_PROCESS): Define using function instead of macro.
7960         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
7961         of test-skeleton.
7962         * benchtests/bench-memchr.c: Likewise.
7963         * benchtests/bench-memcmp.c: Likewise.
7964         * benchtests/bench-memcpy-large.c: Likewise.
7965         * benchtests/bench-memcpy.c: Likewise.
7966         * benchtests/bench-memmem.c: Likewise.
7967         * benchtests/bench-memmove-large.c: Likewise.
7968         * benchtests/bench-memmove.c: Likewise.
7969         * benchtests/bench-memset-large.c: Likewise.
7970         * benchtests/bench-memset.c: Likewise.
7971         * benchtests/bench-rawmemchr.c: Likewise.
7972         * benchtests/bench-strcasecmp.c: Likewise.
7973         * benchtests/bench-strcasestr.c: Likewise.
7974         * benchtests/bench-strcat.c: Likewise.
7975         * benchtests/bench-strchr.c: Likewise.
7976         * benchtests/bench-strcmp.c: Likewise.
7977         * benchtests/bench-strcpy.c: Likewise.
7978         * benchtests/bench-strcpy_chk.c: Likewise.
7979         * benchtests/bench-strlen.c: Likewise.
7980         * benchtests/bench-strncasecmp.c: Likewise.
7981         * benchtests/bench-strncmp.c: Likewise.
7982         * benchtests/bench-strncpy.c: Likewise.
7983         * benchtests/bench-strnlen.c: Likewise.
7984         * benchtests/bench-strpbrk.c: Likewise.
7985         * benchtests/bench-strrchr.c: Likewise.
7986         * benchtests/bench-strsep.c: Likewise.
7987         * benchtests/bench-strspn.c: Likewise.
7988         * benchtests/bench-strstr.c: Likewise.
7989         * benchtests/bench-strtok.c: Likewise.
7991 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7993         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
7994         stepping identification.
7995         (init_cpu_features): Add handle of Haswell.
7997 2016-11-25  Jim Meyering  <meyering@fb.com>
7999         [BZ #20386]
8000         Let gcc detect assert(a = 1) errors.
8001         * assert/assert.h (assert): Rewrite, retaining the old definintion
8002         when required, but otherwise putting the expression as-is in an "if"
8003         expression (hence, with no added parentheses) within a statement
8004         expression.
8006 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8008         * benchtests/Makefile (binaries-benchset): Depend on libsupport
8009         DSO.
8011 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
8013         * Rules (python-flags, python-invoke): New.
8014         ($(test-printers-out)): Use $(python-flags).
8016 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8018         * manual/arith.texi (Math Error Reporting): Document that sNaN
8019         arguments are not considered domain errors.
8021 2016-12-16  Zack Weinberg <zackw@panix.com>
8022             Florian Weimer <fweimer@redhat.com>
8023             Nick Mathewson <nickm@torproject.org>
8025         * string/explicit_bzero.c: New routine.
8026         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
8027         * string/Makefile (routines, strop-tests, tests): Add them.
8028         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
8029         * string/string.h [__USE_MISC]: Declare explicit_bzero.
8031         * debug/explicit_bzero_chk.c: New routine.
8032         * debug/Makefile (routines): Add it.
8033         * debug/tst-chk1.c: Test fortification of explicit_bzero.
8034         * string/bits/string3.h: Fortify explicit_bzero.
8036         * manual/string.texi: Document explicit_bzero.
8037         * NEWS: Mention addition of explicit_bzero.
8039         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
8040         data before returning, using explicit_bzero.
8041         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
8042         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8043         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8045         * include/string.h: Redirect internal uses of explicit_bzero
8046         to __explicit_bzero_chk[_internal].
8047         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
8048         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
8049         * sysdeps/arm/nacl/libc.abilist
8050         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8051         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8052         * sysdeps/unix/sysv/linux/arm/libc.abilist
8053         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8054         * sysdeps/unix/sysv/linux/i386/libc.abilist
8055         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8056         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8057         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8058         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8059         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8060         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8061         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8062         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8063         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8068         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8069         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8070         * sysdeps/unix/sysv/linux/sh/libc.abilist
8071         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8072         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8075         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8076         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8077         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8078         Add entries for explicit_bzero and __explicit_bzero_chk.
8080 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8082         * math/fenv.h
8083         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
8084         (FE_SNANS_ALWAYS_SIGNAL): New macro.
8085         * math/test-fe-snans-always-signal.c: New file.
8086         * math/Makefile (tests): Add test-fe-snans-always-signal.
8087         (CFLAGS-test-fe-snans-always-signal.c): New variable.
8088         * manual/arith.texi (Infinity and NaN): Document
8089         FE_SNANS_ALWAYS_SIGNAL.
8091 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8093         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
8094         bracket.
8096 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8098         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
8099         before calling execv.
8101 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8103         [BZ #20971]
8104         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
8105         overflow in pointer addition.
8106         * string/test-memchr.c (do_test): Add an argument to pass as
8107         the size on memchr.
8108         (test_main): Add check for SIZE_MAX.
8110 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8112         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
8113         (libm-calls): Add w_scalblnF.
8114         * math/w_scalbln.c: Remove.
8115         * math/w_scalblnf.c: Likewise.
8116         * math/w_scalblnl.c: Likewise.
8117         * math/w_scalbln_template.c: New file with type-generic
8118         implementation based on math/w_scalbln.c.
8119         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
8120         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
8122 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8124         [BZ #20947]
8125         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
8126         either is a signaling NaN.
8127         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
8128         follow fmaxl more closely.
8129         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
8130         when either is a signaling NaN.
8131         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
8132         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
8133         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
8134         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
8135         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
8136         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
8137         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
8138         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
8139         (fmin_test_data): Likewise.
8141 2016-12-15  Andreas Schwab  <schwab@suse.de>
8143         * support/support_test_main.c (support_test_main): Don't shadow
8144         file-local variable test_pid.
8146 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8148         [BZ #20947]
8149         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
8150         either is a signaling NaN.
8151         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
8153 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8155         [BZ #20947]
8156         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
8157         when either is a signaling NaN.
8158         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
8160         * bits/long-double.h: New file.
8161         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
8162         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
8163         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
8164         * sysdeps/mips/bits/long-double.h: Likewise.
8165         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
8166         * math/Makefile (headers): Add bits/long-double.h.
8167         * misc/sys/cdefs.h: Include <bits/long-double.h>.
8168         * stdlib/strtold.c: Include <bits/long-double.h> instead of
8169         <bits/wordsize.h>.
8170         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
8171         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
8172         * math/math.h: Do not include <bits/mathdef.h>.
8173         * sysdeps/aarch64/bits/mathdef.h: Remove file.
8174         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
8175         inclusion.
8176         * sysdeps/ia64/bits/mathdef.h: Remove file.
8177         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
8178         * sysdeps/mips/bits/mathdef.h: Likewise.
8179         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8180         * sysdeps/s390/bits/mathdef.h: Likewise.
8181         * sysdeps/sparc/bits/mathdef.h: Likewise.
8182         * sysdeps/x86/bits/mathdef.h: Likewise.
8183         * sysdeps/s390/s390-32/bits/wordsize.h
8184         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
8185         conditional code.
8186         * sysdeps/s390/s390-64/bits/wordsize.h
8187         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8188         Likewise.
8189         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
8190         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8191         Likewise.
8192         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
8193         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8194         Likewise.
8195         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8196         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8197         Likewise.
8199         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
8200         <linux/falloc.h>.
8201         (FALLOC_FL_KEEP_SIZE): Remove.
8202         (FALLOC_FL_PUNCH_HOLE): Likewise.
8203         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
8204         (FALLOC_FL_ZERO_RANGE): Likewise.
8206 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8208         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
8210 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8212         * sysdeps/unix/sysv/linux/renameat.c: New file.
8213         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
8215         * sysdeps/unix/sysv/linux/rename.c: New file.
8216         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
8218 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8220         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
8221         * string/strtok.c (strtok): Change to tailcall __strtok_r.
8222         * string/strtok_r.c (__strtok_r): Optimize for performance.
8223         * string/string-inlines.c (__old_strtok_r_1c): New function.
8224         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
8226 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8228         * math/Makefile (gen-libm-calls): Add w_log1pF.
8229         (libm-calls): Remove w_log1pF.
8230         * math/w_log1p.c: Remove.
8231         * math/w_log1pf.c: Likewise.
8232         * math/w_log1pl.c: Likewise.
8233         * math/w_log1p_template.c: New file with type-generic
8234         implementation based on math/w_log1p.c.
8235         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
8236         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
8238 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8240         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
8242 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8244         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8245         kernel version to 4.9.
8247 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
8249         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
8250         ($(inst_libdir)/libm.a): Fix rule to create the target only.
8252 2016-12-13  Andreas Schwab  <schwab@suse.de>
8254         * sysdeps/powerpc/dl-procinfo.c: Don't define
8255         _dl_powerpc_platforms.
8256         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
8257         constants instead of referencing _dl_powerpc_platforms.
8258         (_dl_platform_string): Remove.
8260 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8262         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
8264 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8266         * Rules (binaries-shared-tests, binaries-pie-tests)
8267         (binaries-static-tests): Link with $(link-extra-libs-tests).
8268         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
8269         Remove $(link-extra-libs-tests).
8271 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8273         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8274         (sysdep_routines): Add strncmp_power9.
8275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8276         (strncmp): Add __strncmp_power9 to list of strncmp functions.
8277         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
8278         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8279         (strncmp): Add __strncmp_power9 to ifunc list.
8280         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
8282 2016-12-12  Florian Weimer  <fweimer@redhat.com>
8284         [BZ #17252]
8285         Add getentropy, getrandom.
8286         * stdlib/sys/random.h: New file.
8287         (headers): Add it.
8288         * stdlib/Makefile (routines): Add getentropy, getrandom.
8289         (tests): Add tst-getrandom.
8290         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
8291         * stdlib/getentropy.c: New file.
8292         * stdlib/getrandom.c: Likewise.
8293         * stdlib/tst-getrandom.c: Likewise.
8294         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
8295         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
8296         * manual/crypt.texi (Unpredictable Bytes): New section.
8297         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
8298         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
8299         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8300         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8301         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8302         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8303         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8304         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8305         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8306         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8307         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8308         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8309         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8310         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8311         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8312         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8314         Likewise.
8315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8316         Likewise.
8317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8319         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8320         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8321         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8322         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8323         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8326         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8327         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8328         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8330 2016-12-10  Florian Weimer  <fweimer@redhat.com>
8332         [BZ #20956]
8333         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
8334         as additional compiler barriers.
8335         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
8336         (fn2, do_test): Declare with external linkage.
8337         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
8338         (do_test): Declare with external linkage.
8339         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
8340         (do_test): Declare with external linkage.
8341         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
8342         (do_test): Declare with external linkage.
8344 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
8346         * support/support_test_main.c (support_test_main): Use correct
8347         timeout.
8349 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
8350             Florian Weimer  <fweimer@redhat.com>
8352         [BZ #16421]
8353         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
8354         and __u6_addr32 members.
8355         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
8356         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
8357         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
8358         Use __u6_addr32.
8359         * inet/tst-checks.c: Use <support/test-driver.c>
8360         * inet/tst-checks-posix.c: New file.
8361         * inet/Makefile (tests): Add it.
8362         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
8364 2016-12-09  Florian Weimer  <fweimer@redhat.com>
8366         New subdirectory support for build and test infrastructure.
8367         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
8368         setting install-lib.
8369         * Makeconfig (link-extra-libs-tests): Define.
8370         (+link-pie-tests, +link-static-tests, +link-tests): Use
8371         link-extra-libs-tests.
8372         (rpath-dirs, all-subdirs): Add support.
8373         (built-modules): Add libsupport.
8374         (libsupport): Define.
8375         * support: New directory.
8376         * support/Makefile: New file.
8377         * support/check.c: Likewise.
8378         * support/check.h: Likewise.
8379         * support/delayed_exit.c: Likewise.
8380         * support/ignore_stderr.c: Likewise.
8381         * support/oom_error.c: Likewise.
8382         * support/set_fortify_handler.c: Likewise.
8383         * support/support.h: Likewise.
8384         * support/temp_file-internal.h: Likewise.
8385         * support/temp_file.c: Likewise.
8386         * support/test-driver.c: Likewise.
8387         * support/test-driver.h: Likewise.
8388         * support/test_main.c: Likewise.
8389         * support/write_message.c: Likewise.
8390         * support/xasprintf.c: Likewise.
8391         * support/xcalloc.c: Likewise.
8392         * support/xmalloc.c: Likewise.
8393         * support/xpthread_barrier_destroy.c: Likewise.
8394         * support/xpthread_barrier_init.c: Likewise.
8395         * support/xpthread_barrier_wait.c: Likewise.
8396         * support/xpthread_cancel.c: Likewise.
8397         * support/xpthread_check_return.c: Likewise.
8398         * support/xpthread_cond_wait.c: Likewise.
8399         * support/xpthread_create.c: Likewise.
8400         * support/xpthread_detach.c: Likewise.
8401         * support/xpthread_join.c: Likewise.
8402         * support/xpthread_mutex_lock.c: Likewise.
8403         * support/xpthread_mutex_unlock.c: Likewise.
8404         * support/xpthread_sigmask.c: Likewise.
8405         * support/xpthread_spin_lock.c: Likewise.
8406         * support/xpthread_spin_unlock.c: Likewise.
8407         * support/xrealloc.c: Likewise.
8408         * support/xsignal.h: Likewise.
8409         * support/xthread.h: Likewise.
8410         * support_tempfile.h: Likewise.
8411         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
8412         (TEST_DATA_LIMIT): Remove unused macro.
8413         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
8414         <support/check.h>.
8415         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
8416         (ignore_stderr, set_fortify_handler): Remove.  Now in
8417         <support/support.h>.
8418         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
8419         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
8420         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
8421         (xpthread_join): Remove.  Now in <support/xthread.h>.
8422         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
8423         Introduce legacy wrappers.
8424         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
8425         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
8426         (write_message): Remove.
8427         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
8428         test-skeleton.c.
8429         * io/test-open-tmpfile: Likewise.
8430         * io/tst-posix_fallocate-common.c: Likewise.
8431         * libio/tst-fseek.c: Likewise.
8432         * malloc/tst-malloc-backtrace.c: Likewise.
8433         * malloc/tst-malloc-fork-deadlock.c: Likewise.
8434         * malloc/tst-malloc-thread-exit.c: Likewise.
8435         * nptl/tst-cancel7.c: Likewise.
8436         * nptl/tst-cleanup0.c: Likewise.
8437         * posix/tst-posix_fadvise-common.c: Likewise.
8438         * rt/tst-shm.c: Likewise.
8439         * time/bug-getdate1.c: Likewise.
8440         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8441         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
8442         * elf/Makefile (tst-piemod1.so): Link against libsupport.
8444 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
8446         * Rules [$(run-built-tests) != no] (tests-expected): Add
8447         $(tests-printers).
8448         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
8450 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8452         [BZ #20539]
8453         * math/Makefile (install-lib-ldscripts): Add libm.a.
8454         (install_subdir): Remove.
8455         (install-others): Add.
8456         ($(inst_libdir)/libm.a): Add rule for installation as
8457         linker script.
8458         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
8460 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
8462         * INSTALL: Regenerated.
8463         * Makeconfig: Add comments and whitespace to make the control flow
8464         clearer.
8465         (+link-printers-tests, +link-pie-printers-tests,
8466         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
8467         built-rtld-LDFLAGS, link-libc-rpath,
8468         link-libc-tests-after-rpath-link,
8469         link-libc-printers-tests): New.
8470         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
8471         link-libc-tests): Use the new variables as required.
8472         * Makerules ($(py-const)): New rule.
8473         generated: Add $(py-const).
8474         * README.pretty-printers: New file.
8475         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
8476         (others): Depend on $(py-const).
8477         (tests): Depend on $(tests-printers-programs) or
8478         $(tests-printers-out),
8479         as required.  Pass $(tests-printers) to merge-test-results.sh.
8480         * manual/install.texi: Add requirements for testing the pretty
8481         printers.
8482         * nptl/Makefile (gen-py-const-headers, pretty-printers,
8483         tests-printers, CFLAGS-test-mutexattr-printers.c
8484         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
8485         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
8486         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
8487         * nptl/nptl-printers.py: New file.
8488         * nptl/nptl_lock_constants.pysym: Likewise.
8489         * nptl/test-cond-printers.c: Likewise.
8490         * nptl/test-cond-printers.py: Likewise.
8491         * nptl/test-condattr-printers.c: Likewise.
8492         * nptl/test-condattr-printers.py: Likewise.
8493         * nptl/test-mutex-printers.c: Likewise.
8494         * nptl/test-mutex-printers.py: Likewise.
8495         * nptl/test-mutexattr-printers.c: Likewise.
8496         * nptl/test-mutexattr-printers.py: Likewise.
8497         * nptl/test-rwlock-printers.c: Likewise.
8498         * nptl/test-rwlock-printers.py: Likewise.
8499         * nptl/test-rwlockattr-printers.c: Likewise.
8500         * nptl/test-rwlockattr-printers.py: Likewise.
8501         * scripts/gen-py-const.awk: Likewise.
8502         * scripts/test_printers_common.py: Likewise.
8503         * scripts/test_printers_exceptions.py: Likewise.
8505 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
8507         * scripts/build-many-glibcs.py (Context.__init__): Take strip
8508         argument.
8509         (Glibc.build_glibc): Strip installed shared libraries if
8510         requested.
8511         (get_parser): Add --strip option.
8512         (main): Update Context call.
8514 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8515             Dominik Vogt  <vogt@linux.vnet.ibm.com>
8517         [BZ #20847]
8518         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8519         array bounds for else branch.
8520         (__execvpe): Style fixes.
8521         * posix/tst-vfork3.c (run_script): New function.
8522         (create_script): Likewise.
8523         (do_test): Use run_script internal function.
8524         (do_prepare): Use create_script internal function.
8526 2016-12-07  Andreas Schwab  <schwab@suse.de>
8528         * sysdeps/unix/sysv/linux/x86/elision-conf.h
8529         (__elision_available): Don't declare.
8530         * sysdeps/unix/sysv/linux/x86/elision-conf.c
8531         (__elision_available): Don't define.
8532         (elision_init): Don't set __elision_available.
8534 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
8536         [BZ #20940]
8537         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
8538         return Inf for arguments Inf and sNaN.
8539         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
8540         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8541         Likewise.
8542         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8543         Likewise.
8544         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8545         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
8546         for arguments Inf and sNaN.  When returning a NaN, compute it by
8547         arithmetic on the arguments.
8548         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
8549         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
8550         arguments.
8552 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
8554         [BZ #20916]
8555         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
8556         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
8557         to compute result.
8558         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8559         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
8561 2016-12-05  Torvald Riegel  <triegel@redhat.com>
8563         * include/atomic.h (__atomic_check_size_ls): New.
8564         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
8565         atomic_store_release): Use it.
8566         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
8567         (elision_adapt, ELIDE_LOCK): Use atomics.
8568         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
8569         atomics and improve code comments.
8570         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
8571         (__lll_trylock_elision): Likewise.
8573 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8575         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
8576         programs.
8578 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
8580         [BZ #20916]
8581         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
8582         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
8583         arguments to compute result.
8584         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
8585         1 for arguments (sNaN, 0) or (1, sNaN).
8586         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8587         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8589         [BZ #20919]
8590         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
8591         NaN first argument when raised to power 0.
8592         * math/w_pow.c (__pow): Do not check for NaN or zero results from
8593         raising to power zero.
8594         * math/w_powf.c (__powf): Likewise.
8595         * math/w_powl.c (__powl): Likewise.
8596         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
8597         pow (0, 0) or pow (NaN, 0).
8599 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
8601         [BZ #20918]
8602         * configure.ac: Test for static NSS cryptographic libraries and set
8603         libc_cv_static_nss_crypt.
8604         * configure: Regenerate.
8605         * config.make.in (static-nss-crypt): Define.
8606         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
8607         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
8608         (CFLAGS-tst-linkall-static.c): Define.
8609         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
8610         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
8611         ($(objpfx)tst-linkall-static): Define.
8612         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
8613         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
8615 2016-12-02  Florian Weimer  <fweimer@redhat.com>
8617         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
8618         (one-hundred, tst-tls-many-dynamic-modules): Define.
8619         (modules-names): Add $(tst-tls-many-dynamic-modules).
8620         (tst-tls-manydynamic%mod.os): Build with special preprocessor
8621         macros.
8622         (tst-tls-manydynamic): Link against libdl, libpthread.
8623         (tst-tls-manydynamic.out): The test needs the test modules at run
8624         time.
8625         * elf/tst-tls-manydynamic.c: New file.
8626         * elf/tst-tls-manydynamic.h: Likewise.
8627         * elf/tst-tls-manydynamicmod.c: Likewise.
8629 2016-12-02  Florian Weimer  <fweimer@redhat.com>
8631         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
8632         (TLS_DTV_UNALLOCATED): Add.
8633         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
8634         offsets.
8636 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8638         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8640 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8642         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
8643         Add -fno-optimize-sibling-calls.
8645 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
8647         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
8648         New declaration.
8649         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
8650         macro.
8651         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
8652         New macro.
8653         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
8654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
8655         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
8656         (llogbf): Likewise.
8657         (llogbl): Likewise.
8658         * math/Makefile (gen-libm-calls): Add w_llogbF.
8659         (tests): Add test-fp-llogb-constants.
8660         * math/w_llogb_template.c: New file.  Based on
8661         math/w_ilogb_template.c.
8662         * math/libm-test.inc (llogb_test_data): New array.
8663         (llogb_test): New function.
8664         (main): Call llogb_test.
8665         * math/test-fp-llogb-constants.c: New file.  Based on
8666         math/test-fp-ilogb-constants.c.
8667         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
8668         (do_test): Call check_return_llogb.
8669         * math/test-tgmath.c (NCALLS): Increase to 126.
8670         (F(compile_test)): Call llogb.
8671         (F(llogb)): New function.
8672         * manual/math.texi (Exponents and Logarithms): Document llogb,
8673         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
8674         * manual/libm-err-tab.pl (@all_functions): Add llogb.
8675         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
8676         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
8677         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
8678         (CFLAGS-nldbl-llogb.c): New variable.
8679         * sysdeps/nacl/libm.abilist: Update.
8680         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8681         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8682         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8683         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8684         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8685         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8686         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8687         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8688         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8689         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8690         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8691         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8693         Likewise.
8694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8695         Likewise.
8696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8697         Likewise.
8698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8699         Likewise.
8700         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8701         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8702         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8703         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8704         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8706         Likewise.
8707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8708         Likewise.
8709         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8710         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8711         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8713 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8715         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
8716         _Float128 instead of long double.
8717         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
8719         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
8720         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
8721         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
8722         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
8723         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
8724         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
8725         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
8726         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
8727         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
8728         Likewise.
8730 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8732         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
8733         Remove redirection to __strrchr_ppc.
8735 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8737         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8738         (sysdep_routines): Add strcmp_power9.
8739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8740         (strcmp): Add __strcmp_power9 to list of strcmp functions.
8741         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
8742         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8743         (strcmp): Add __strcmp_power9 to ifunc list.
8744         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
8746 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8748         * bits/fp-logb.h: New file.
8749         * sysdeps/ia64/bits/fp-logb.h: Likewise.
8750         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
8751         * sysdeps/x86/bits/fp-logb.h: Likewise.
8752         * math/Makefile (headers): Add bits/fp-logb.h.
8753         * math/math.h: Include <bits/fp-logb.h>.
8754         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
8755         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
8756         * bits/mathdef.h (FP_ILOGB0): Remove.
8757         (FP_ILOGBNAN): Likewise.
8758         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
8759         (FP_ILOGBNAN): Likewise.
8760         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
8761         (FP_ILOGBNAN): Likewise.
8762         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
8763         (FP_ILOGBNAN): Likewise.
8764         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
8765         (FP_ILOGBNAN): Likewise.
8766         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
8767         (FP_ILOGBNAN): Likewise.
8768         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
8769         (FP_ILOGBNAN): Likewise.
8770         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
8771         (FP_ILOGBNAN): Likewise.
8772         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
8773         (FP_ILOGBNAN): Likewise.
8774         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
8775         (FP_ILOGBNAN): Likewise.
8777         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
8778         time module.
8779         (Context.__init__): Initialize self.logsdir_old.
8780         (Context.run_builds): Handle bot action.
8781         (Context.bot_cycle): Copy logs directory before running builds.
8782         (Context.bot_run_self): Take argument for whether to check
8783         subprocess result.  Flush stdout before running subprocess.
8784         (Context.bot): New function.
8785         (get_parser): Allow bot action.
8787 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
8789         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
8790         Import email.mime.text, email.utils and smtplib modules.
8791         (Context.__init__): Initialize self.bot_config_json.
8792         (Context.run_builds): Handle bot-cycle action.
8793         (Context.load_bot_config_json): New function.
8794         (Context.part_build_old): Likewise.
8795         (Context.bot_cycle): Likewise.
8796         (Context.bot_build_mail): Likewise.
8797         (Context.bot_run_self): Likewise.
8798         (get_parser): Allow bot-cycle action.
8800 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8802         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
8803         Remove redirection to __stpcpy_ppc.
8805 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8807         Remove __libc_memalign from ld.so because it is unused.
8808         * elf/dl-minimal.c: Update comment on the malloc implementation.
8809         (malloc): Renamed from __libc_memalign, replacing the original
8810         malloc implementation.  Replace the align parameter with
8811         MALLOC_ALIGNMENT.
8812         * elf/Versions (ld): Update comment and remove __libc_memalign.
8813         * sysdeps/nacl/ld.abilist: Likewise.
8814         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8815         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8816         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8817         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8818         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8819         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8820         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8821         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8822         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8823         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8824         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8825         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8826         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8830         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8831         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8832         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8833         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8834         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
8836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
8837         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
8838         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8839         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8840         * sysdeps/generic/localplt.data (ld.so): Likewise.
8841         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8842         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8843         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8844         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8845         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8846         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8847         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8848         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
8849         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8851         (ld.so): Likewise.
8852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8853         (ld.so): Likewise.
8854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8855         Likewise.
8856         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8857         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8858         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
8859         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
8860         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8862 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8864         [BZ #16628]
8865         Implement _dl_catch_error, _dl_signal_error in libc.so.
8866         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
8867         (catch_hook): Define as thread-local or regular variable,
8868         depending on DL_ERROR_BOOTSTRAP.
8869         (CATCH_HOOK): Remove.
8870         (dl_signal_error, _dl_catch_error): Use
8871         catch_hook.  Add hidden definition for libc.
8872         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
8873         for DL_ERROR_BOOTSTRAP only.
8874         * elf/dl-error.c: New file.
8875         * elf/dl-error-minimal.c: Likewise.
8876         * elf/tst-latepthread.c: Likewise.
8877         * elf/tst-latepthreadmod.c: Likewise.
8878         * elf/Makefile (routines): Add dl-error.
8879         (dl-routines): Remove dl-error.
8880         (rtld-routines): Add dl-error-minimal.
8881         [build-shared] (tests): Add tst-latepthread.
8882         (module-names): Add tst-latepthreadmod.
8883         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
8884         symbol.
8885         (tst-latepthreadmod.so): Link against libpthread.
8886         (tst-latepthread): Link against libdbl.
8887         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
8888         _dl_catch_error.
8889         [ld] (GLIBC_PRIVATE): Likewise.
8890         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
8891         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
8892         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
8893         directly.
8894         * elf/dl-tsd.c: Remove file.
8895         * elf/rtld.c (_rtld_global_ro): Remove initializers for
8896         _dl_catch_error, _dl_signal_error.
8897         (_dl_initial_error_catch_tsd): Remove definition.
8898         (do_preload): Remove initialization of dl_error_catch_tsd.
8899         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
8900         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
8901         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8902         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8903         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
8904         set dl_error_catch_tsd.
8905         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
8906         _dl_error_catch_tsd member.
8907         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
8908         members.
8909         (_dl_initial_error_catch_tsd): Remove declaration.
8910         (_dl_dprintf): Provide definition for use outside of ld.so.
8911         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
8912         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
8913         prototype for libc.
8914         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
8915         _dl_catch_error.
8916         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8917         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8918         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8919         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8920         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8921         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8922         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8923         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
8924         Likewise.
8925         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8927         (ld.so): Likewise.
8928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8929         (ld.so): Likewise.
8930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8931         Likewise.
8932         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8933         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8934         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
8935         Likewise.
8936         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
8937         Likewise.
8938         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8940 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8942         [BZ #4099]
8943         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
8944         _IO_BUFSIZ (8192).
8946 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
8948         * PROJECTS: Remove file.
8950 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8952         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
8954 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
8955             Steve Ellcey  <sellcey@caviumnetworks.com>
8957         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
8958         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
8959         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
8960         fxstatat.
8961         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
8962         lxstat.
8963         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
8964         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
8965         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
8966         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
8967         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
8968         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
8969         __xstat.
8971 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8973         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
8974         Define.
8975         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
8976         definition.
8978 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8980         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
8981         version and turn into strong alias.  Remove compat symbol.
8983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8984         (__longjmp): Remove.
8986 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
8988         * bits/fp-fast.h: New file.
8989         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
8990         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
8991         * math/Makefile (headers): Add bits/fp-fast.h.
8992         * math/math.h: Include <bits/fp-fast.h>.
8993         * bits/mathdef.h (FP_FAST_FMA): Remove.
8994         (FP_FAST_FMAF): Likewise.
8995         (FP_FAST_FMAL): Likewise.
8996         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
8997         (FP_FAST_FMAF): Likewise.
8998         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
8999         (FP_FAST_FMAF): Likewise.
9000         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
9001         (FP_FAST_FMAF): Likewise.
9002         (FP_FAST_FMAL): Likewise.
9003         * sysdeps/arm/bits/mathdef.h: Remove file.
9004         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
9005         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9006         * sysdeps/tile/bits/mathdef.h: Likewise.
9008 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9010         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
9011         * math/w_ilogb.c: Remove.
9012         * math/w_ilogbf.c: Likewise.
9013         * math/w_ilogbl.c: Likewise.
9014         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
9015         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
9016         * math/Makefile (gen-libm-calls): Add w_ilogbF.
9017         (libm-calls): Remove w_ilogbF.
9018         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
9019         (LDOUBLE_ilogbl_libm_version): New macro.
9021         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
9023         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
9024         [!__STRICT_ANSI__ && !__cplusplus].
9026 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9028         [BZ #20750]
9029         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
9030         of PIC.
9032 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9033             Yury Norov  <ynorov@caviumnetworks.com>
9034             Steve Ellcey  <sellcey@caviumnetworks.com>
9036         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
9037         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
9038         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
9039         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
9040         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
9041         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
9042         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
9043         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
9044         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
9045         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
9046         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
9047         to get correct reg name for ILP32.
9048         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
9049         (RELA_SIZE): New Macro.
9050         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
9051         to support ILP32.
9052         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
9053         cast for ILP32 mode.
9054         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
9055         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
9056         * sysdeps/aarch64/memset.S (__memset): Ditto.
9057         * sysdeps/aarch64/strchr.S (strchr): Ditto.
9058         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
9059         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
9060         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
9061         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
9062         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
9063         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
9064         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
9065         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
9066         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
9067         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
9068         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
9069         change PTR_MANGLE call to use register numbers instead of names.
9070         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
9071         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
9072         ILP32 mode, change PTR_MANGLE calls to use register numbers.
9073         * sysdeps/aarch64/start.S (_start): Ditto.
9074         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
9075         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
9076         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
9077         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
9078         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
9079         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
9080         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
9081         Make defined values dependent on __ILP32__.
9082         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
9083         (sem_t): Change __align type.
9084         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
9085         PTR_SIZE): New Macros.
9086         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
9087         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
9088         Set when in ILP32 mode.
9089         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
9090         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
9091         Set elf flags for ILP32.
9092         (add_system_dir): Set ILP32 library directories.
9093         * sysdeps/unix/sysv/linux/aarch64/init-first.c
9094         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
9095         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
9096         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
9097         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
9098         New Macros.
9099         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
9101 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
9103         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
9104         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
9105         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
9107 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9109         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
9110         <asm/cachectl.h>.
9112 2016-11-27  Zack Weinberg  <zackw@panix.com>
9114         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
9115         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
9117 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9119         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
9120         error_t to fix usage in C++ programs.
9122 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
9124         * scripts/build-many-glibcs.py: Import datetime module.
9125         (Context.__init__): Load JSON build state.  Initialize list of
9126         status logs.
9127         (Context.run_builds): Update saved build state.
9128         (Context.add_makefile_cmdlist): Update list of status logs.
9129         (Context.load_build_state_json): New function.
9130         (Context.store_build_state_json): Likewise.
9131         (Context.clear_last_build_state): Likewise.
9132         (Context.update_build_state): Likewise.
9133         (CommandList.status_logs): Likewise.
9135 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
9137         * scripts/build-many-glibcs.py (Context.__init__): Save text of
9138         script being executed.
9139         (Context.get_script_text): New function.
9140         (Context.exec_self): Likewise.
9141         (Context.checkout): Re-exec script if changed by checkout process.
9143 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9145         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9146         (setpayloadsig): New declaration.
9147         * math/Versions (setpayloadsig): New libm symbol at version
9148         GLIBC_2.25.
9149         (setpayloadsigf): Likewise.
9150         (setpayloadsigl): Likewise.
9151         * math/Makefile (libm-calls): Add s_setpayloadsigF.
9152         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
9153         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
9154         (setpayloadsig_test_data): New array.
9155         (setpayloadsig_test): New function.
9156         (main): Call setpayloadsig_test.
9157         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
9158         setpayloadsigf and setpayloadsigl.
9159         * manual/libm-err-tab.pl: Update comment on interfaces without
9160         ulps tabulated.
9161         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
9162         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
9163         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
9164         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
9165         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
9166         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
9167         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9168         setpayloadsig.
9169         (CFLAGS-nldbl-setpayloadsig.c): New variable.
9170         * sysdeps/nacl/libm.abilist: Update.
9171         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9172         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9173         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9174         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9175         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9176         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9177         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9178         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9179         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9180         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9181         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9182         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9184         Likewise.
9185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9186         Likewise.
9187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9188         Likewise.
9189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9190         Likewise.
9191         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9192         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9193         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9194         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9195         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9197         Likewise.
9198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9199         Likewise.
9200         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9201         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9202         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9204         * scripts/build-many-glibcs.py: Import json module.
9205         (Context.__init__): Take replace_sources argument.  Load
9206         versions.json.
9207         (Context.load_versions_json): New function.
9208         (Context.store_json): Likewise.
9209         (Context.store_versions_json): Likewise.
9210         (Context.set_component_version): Likewise.
9211         (Context.checkout): Update versions.json.  Check for and handle
9212         changes of version.  Prefer previously explicitly specified
9213         version to default version.
9214         (Context.checkout_vcs): Return a revision identifier.
9215         (Context.git_checkout): Likewise.
9216         (Context.gcc_checkout): Likewise.
9217         (get_parser): Add --replace-sources option.
9218         (main): Pass replace_sources argument to Context call.
9220 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9222         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
9223         * nptl/allocatestack.c (allocate_stack): Likewise.
9224         (__reclaim_stacks): Likewise.
9225         (setxid_signal_thread): Obtain pid through syscall.
9226         * nptl/nptl-init.c (sigcancel_handler): Likewise.
9227         (sighandle_setxid): Likewise.
9228         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
9229         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9230         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9231         Likewise.
9232         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9233         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
9234         comment.
9235         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
9236         * nptl/descr.h (struct pthread): Change comment about pid value.
9237         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
9238         pid assert.
9239         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
9240         Do not set pid value.
9241         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
9242         pid cache check.
9243         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
9244         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
9245         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
9246         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
9247         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
9248         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9249         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
9250         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
9251         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
9252         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
9253         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
9254         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9255         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
9256         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9257         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
9258         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
9259         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9260         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
9261         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
9262         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
9263         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
9264         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9265         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
9266         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
9267         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
9268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9270         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9271         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9272         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9273         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
9274         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
9275         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
9276         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9277         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
9278         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9279         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
9280         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9281         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
9282         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
9283         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9284         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
9285         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
9286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9288         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9289         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9290         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9291         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9292         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9293         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
9294         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9295         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
9296         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
9297         struct access.
9298         (clone_test): Remove function.
9299         (do_test): Rewrite to take in consideration pid is not cached anymore.
9301 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9303         * bits/flt-eval-method.h: New file.
9304         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
9305         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
9306         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
9307         * math/Makefile (headers): Add bits/flt-eval-method.h.
9308         * math/math.h: Include <bits/flt-eval-method.h>.
9309         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
9310         [__USE_ISOC99] (double_t): Likewise.
9311         * bits/mathdef.h (float_t): Remove.
9312         (double_t): Likewise.
9313         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
9314         (double_t): Likewise.
9315         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
9316         (double_t): Likewise.
9317         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
9318         (double_t): Likewise.
9319         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
9320         (double_t): Likewise.
9321         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
9322         (double_t): Likewise.
9323         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
9324         (double_t): Likewise.
9325         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
9326         (double_t): Likewise.
9327         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
9328         (double_t): Likewise.
9329         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
9330         (double_t): Likewise.
9331         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
9332         (double_t): Likewise.
9333         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
9334         (double_t): Likewise.
9335         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
9336         (double_t): Likewise.
9337         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
9338         (double_t): Likewise.
9340 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
9342         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
9343         instead of PIC.
9345 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9347         [BZ #20859]
9348         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
9349         (-0x7fffffff) instead of 0x80000001.
9350         * math/test-fp-ilogb-constants.c: New file.
9351         * math/Makefile (tests): Add test-fp-ilogb-constants.
9353 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
9355         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
9356         (_init): Use it in place of hardcoded R_MIPS_JALR.
9357         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
9358         (_init): Use it in place of hardcoded R_MIPS_JALR.
9359         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
9360         (_init): Use it in place of hardcoded R_MIPS_JALR.
9362 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9364         [BZ #20787]
9365         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
9366         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
9367         (double_t): Do not define to double if [__x86_64__] when
9368         __FLT_EVAL_METHOD__ is nonzero.
9369         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
9370         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
9371         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9372         test-flt-eval-method-387 and test-flt-eval-method-sse.
9373         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
9374         variable.
9375         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
9377 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
9379         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
9380         use of -fno-isolate-erroneous-paths options for tilepro.
9382 2016-11-23  Florian Weimer  <fweimer@redhat.com>
9384         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
9385         structure initialization is no longer needed.
9387 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9389         [BZ #20855]
9390         * bits/mathdef.h (float_t): Define to float.
9391         * math/test-flt-eval-method.c: New file.
9392         * math/Makefile (tests): Add test-flt-eval-method.
9393         (CFLAGS-test-flt-eval-method.c): New variable.
9395 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
9397         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
9398         and __fstatfs.  Make them aliases of __fstatfs64 if
9399         STATFS_IS_STATFS64 is set to non-zero.
9400         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
9401         and __statfs64.
9402         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
9403         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
9404         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
9405         for __statfs and statfs.
9406         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
9407         to 0.
9408         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
9409         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
9410         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
9411         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9412         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9413         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
9416         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
9417         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9418         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
9419         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
9421 2016-11-22  Andreas Schwab  <schwab@suse.de>
9423         * misc/mkstemp.c: Include <fcntl.h>.
9424         * misc/mkstemps.c: Likewise.
9425         * misc/mkostemp.c: Likewise.
9426         * misc/mkostemps.c: Likewise.
9428 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
9430         [BZ #20847]
9431         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9432         array bounds.
9433         (__execvpe): Likewise.
9435 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
9437         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
9438         -fno-isolate-erroneous-paths options for tilepro.
9440 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
9442         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
9443         to 0 when in 32 bit mode.
9444         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
9445         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9446         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9447         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9449         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9450         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
9451         XSTAT_IS_XSTAT64 test.
9452         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
9453         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
9454         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
9455         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
9456         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
9457         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
9458         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
9459         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
9460         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
9461         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
9462         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
9464 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
9466         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9467         (setpayload): New declaration.
9468         * math/Versions (setpayload): New libm symbol at version
9469         GLIBC_2.25.
9470         (setpayloadf): Likewise.
9471         (setpayloadl): Likewise.
9472         * math/Makefile (libm-calls): Add s_setpayloadF.
9473         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
9474         test_Ff_b1_data.
9475         (RUN_TEST_Ff_b1): New macro.
9476         (RUN_TEST_LOOP_Ff_b1): Likewise.
9477         (canonicalize_test_data): Update type.
9478         (setpayload_test_data): New array.
9479         (setpayload_test): New function.
9480         (main): Call setpayload_test.
9481         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
9482         setpayloadf and setpayloadl.
9483         * manual/libm-err-tab.pl: Update comment on interfaces without
9484         ulps tabulated.
9485         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
9486         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
9487         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
9488         Likewise.
9489         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
9490         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
9491         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
9492         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
9493         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
9494         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
9495         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
9496         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
9497         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
9498         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9499         setpayload.
9500         (CFLAGS-nldbl-setpayload.c): New variable.
9501         * sysdeps/nacl/libm.abilist: Update.
9502         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9503         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9504         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9505         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9506         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9507         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9508         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9509         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9510         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9511         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9512         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9513         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9515         Likewise.
9516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9517         Likewise.
9518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9519         Likewise.
9520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9521         Likewise.
9522         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9523         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9524         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9528         Likewise.
9529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9532         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9533         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9535 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9537         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
9538         * include/unistd.h: Extend comment about __access_noerrno return
9539         semantics.
9540         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
9541         (access_common): Correct typo for EACCES.
9543 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
9545         * sysdeps/tile/math-tests.h: New file.
9547         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
9548         (__old_set_dataplane): Rename from set_dataplane and make a
9549         compatibility symbol.
9550         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
9551         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
9552         sys/dataplane.h.
9554 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
9556         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
9557         script quote words in command output to log suitably for input to
9558         the shell.
9560 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
9561             Maciej W. Rozycki  <macro@imgtec.com>
9563         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
9564         `.Lno_weak_fn' label.
9565         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
9566         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
9568 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9569             Yury Norov  <ynorov@caviumnetworks.com>
9571         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
9572         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
9573         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9574         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
9575         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9576         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
9577         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9578         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9579         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9580         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
9581         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9582         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
9583         (sysdep_routines): Remove oldgetrlimit64.
9584         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
9585         (sysdep_routines): Likewise.
9586         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
9587         (sysdep_routines): Likewise.
9588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9589         [$(subdir) = resource] (sysdep_routines): Likewise.
9590         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
9591         [$(subdir) = resource] (sysdep_routines): Likewise.
9592         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
9593         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
9594         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
9595         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
9596         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
9597         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9598         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9599         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
9600         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
9601         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
9602         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
9603         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
9604         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
9605         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
9606         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
9607         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
9608         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
9609         setrlimit and getrlimit.
9610         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
9611         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9612         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
9613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
9615         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9616         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
9617         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9618         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9619         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
9620         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
9621         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
9622         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
9623         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
9624         (__old_getrlimit64): Add compatibility symbol.
9625         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
9627 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
9629         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
9630         newly built gmp, mpfr and mpc.
9632         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
9634 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9636         * conform/Makefile (linknamespace-libs): Rename to
9637         linknamespace-libs-thr.
9638         (linknamespace-libs-posix): New variable.
9639         (linknamespace-libs-xsi): Likewise.
9640         (linknamespace-libs-XPG3): Include libcrypt.a.
9641         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
9642         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
9643         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
9644         (linknamespace-libs-XOPEN2K): Likewise.
9645         (linknamespace-libs-XOPEN2K8): Likewise.
9646         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
9648         [BZ #20829]
9649         * stdio-common/Versions (__snprintf): Add to version
9650         GLIBC_PRIVATE.
9651         * include/stdio.h (__snprintf): Use libc_hidden_proto.
9652         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
9653         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
9654         of snprintf.
9655         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9657 2016-11-16  Zack Weinberg  <zackw@panix.com>
9659         * string/string.h: Remove obsolete comment stating that
9660         strcoll_l and strxfrm_l have not yet been standardized.
9662 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9664         * hurd/hurd.h (__hurd_fail_noerrno): New function.
9665         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
9666         __access_noerrno.
9667         * io/access.c (__access_noerrno): New function.
9668         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
9669         (hurd_fail_seterrno): Likewise.
9670         (access_common): Likewise.
9671         (__access_noerrno): Likewise.
9672         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
9673         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
9674         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
9675         macro.
9677 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9679         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
9680         Only declare fpregs if [__SH_FPU_ANY__].
9682 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
9684         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
9685         Make code unconditional.
9686         [!(__SH4__ || __SH4A__)]: Remove conditional code.
9688 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
9690         * manual/sysinfo.texi (S_APPEND): Delete.
9691         (S_IMMUTABLE): Likewise.
9693 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
9694             Magnus Granberg  <zorry@gentoo.org>
9695             Mike Frysinger  <vapier@gentoo.org>
9697         [BZ #20662]
9698         * configure.ac (libc_cv_predef_stack_protector): Also check for
9699         __stack_chk_fail_local symbols.
9700         * configure: Regenerated.
9702 2016-11-15  Florian Weimer  <fweimer@redhat.com>
9704         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9705         (libc_hidden_def): Remove redefinition.
9706         (__sigsetjmp): Add hidden definition.
9707         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9708         (libc_hidden_def): Remove redefinition.
9709         (__sigsetjmp): Add hidden definition.
9711 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
9713         * scripts/build-many-glibcs.py (os.path): Do not import.
9714         (Context): Inherit explicitly from object.  Remove blank line
9715         between class and docstring.
9716         (Config): Likewise.
9717         (Glibc): Likewise.
9718         (Command): Likewise.
9719         (CommandList): Likewise.
9720         (Context.write_files): Store chmod mode in a variable.
9722         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
9723         LIBC_SLIBDIR_RTLDDIR for tilegx32.
9724         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
9726 2016-11-14  Zack Weinberg  <zackw@panix.com>
9728         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
9729         creating or re-creating it.
9731         * string/bits/string2.h: Fix typo in comment.
9733 2016-11-14  Zack Weinberg  <zackw@panix.com>
9735         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
9736         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
9737         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
9738         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
9739         of redirected function names.
9741         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
9742         as well.  Document that MESSAGE must be a single string literal.
9744 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
9746         * scripts/build-many-glibcs.py: New file.
9748         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
9749         (do_test): Disable -Wmaybe-uninitialized around uses of
9750         except_mask.
9752         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
9754 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
9756         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
9757         (atomic_store_release): Provide tilepro-specific implementations.
9759 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
9761         * math/math.h (__MATH_TG): New macro.
9762         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
9763         [__USE_ISOC99] (signbit): Likewise.
9764         [__USE_ISOC99] (isfinite): Likewise.
9765         [__USE_ISOC99] (isnan): Likewise.
9766         [__USE_ISOC99] (isinf): Likewise.
9767         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
9768         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
9769         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
9770         __MATH_TG and __MATH_EVAL_FMT2.
9771         * sysdeps/generic/math_private.h (fabs_tg): Define using
9772         __MATH_TG.
9773         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9774         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
9775         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
9776         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
9777         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
9778         macro.
9779         (__iscanonical): Likewise.
9780         (iscanonical): Define using __MATH_TG.
9782 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9784         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
9785         guards.
9787         * sysdeps/unix/sysv/linux/access.c: New file.
9788         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
9790 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
9792         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
9793         and __WORDSIZE32_PTRDIFF_LONG.
9795 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9797         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9799 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9801         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
9802         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
9803         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
9804         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
9805         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
9806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
9807         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
9808         * sysdeps/unix/sysv/linux/truncate.c: New file.
9809         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
9810         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9811         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
9812         Remove.
9813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
9814         Likewise.
9816         * posix/tst-truncate-common.c: New file.
9817         * posix/tst-truncate.c: Use tst-truncate-common.c.
9818         * posix/tst-truncate64.c: Likewise and add LFS tests.
9819         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
9820         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
9821         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
9822         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
9823         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
9825         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
9826         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
9827         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
9828         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9829         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
9830         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
9831         Remove.
9832         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
9833         Likewise.
9835 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
9837         [BZ #20790]
9838         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
9839         to MAXLINESIZE.
9840         * sunrpc/bug20790.x: New file.
9841         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
9842         variable.
9843         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
9844         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
9846         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
9848         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
9850         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
9851         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
9852         calloc, realloc, free, memalign and __libc_memalign rather than
9853         making them optional.
9855         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
9856         for libc.so.
9858 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9860         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
9861         ptw-lseek64.
9862         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
9863         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
9864         Likewise.
9865         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
9866         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
9867         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
9868         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
9869         * sysdeps/unix/sysv/linux/lseek.c: New file.
9870         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
9871         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
9872         __libc_lseek64 from auto-generation.
9873         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9874         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
9876 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9878         * nptl/tst-basic1.c (tf, do_test): Use write_message.
9879         * nptl/tst-cleanup1.c (do_test): Likewise.
9880         * nptl/tst-cleanup3.c (do_test): Likewise.
9881         * nptl/tst-key1.c (do_test): Likewise.
9882         * nptl/tst-key2.c (tf, do_test): Likewise.
9883         * nptl/tst-key3.c (tf, do_test): Likewise.
9884         * nptl/tst-stdio1.c (do_test): Likewise.
9885         * nptl/tst-stdio2.c (do_test): Likewise.
9887         * nptl/tst-kill3.c (handler): Use write_message in place of write.
9888         * nptl/tst-kill6.c (handler): Likewise.
9889         * nptl/tst-tls2.c (CB): Likewise.
9890         * nptl/tst-tls3.c (CB): Likewise.
9892 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
9894         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
9896 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
9897             Steve Ellcey  <sellcey@caviumnetworks.com>
9899         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
9900           __ASSUME_ST_INO_64_BIT as 0
9901         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
9902         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
9903           over the code where __ASSUME_ST_INO_64_BIT is used.
9904         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
9905         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
9906         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9908 2016-11-07  Florian Weimer  <fweimer@redhat.com>
9910         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9911         Document ABI exposure of the __kind offset.
9912         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9913         Mention reason for the __kind offset exposure in the ABI.
9914         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9915         Likewise.
9916         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9917         Likewise.
9918         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9919         Likewise.
9920         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
9921         (struct __pthread_mutex_s): Likewise.
9922         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9923         Likewise.
9924         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9925         Likewise.
9926         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9927         Likewise.
9928         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9929         Likewise.
9930         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9931         Likewise.
9932         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9933         Likewise.
9934         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9935         (struct __pthread_mutex_s): Likewise.
9936         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9937         (struct __pthread_mutex_s): Likewise.
9938         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
9939         Likewise.
9941 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
9943         * test-skeleton.c: Document do_test usage.
9945 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
9947         * iconv/gconv.h (__gconv_info): Define __data element using a
9948         zero-length array.
9950 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
9952         * math/test-tgmath2.c: Split up test function.
9954 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9956         * Rules (tests-expected): New variable, depending on
9957         $(run-built-tests).
9958         (tests): Pass $(tests-expected) to merge-test-results.sh, not
9959         $(tests).
9961         * Rules [$(run-built-tests) = no] (tests): Do not depend on
9962         $(tests-unsupported).
9964 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9966         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9967         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
9969 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9971         [BZ #20768]
9972         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
9973         __fegetenv instead of fegetenv.
9975         [BZ #14139]
9976         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
9977         (find_files): Obtain platform name from libm-test-ulps-name and
9978         store in %pplatforms.
9979         (canonicalize_platform): Remove.
9980         (print_platforms): Use $pplatforms directly.
9981         (by_platforms): Do not allow for platforms missing from
9982         %pplatforms.
9983         * sysdeps/aarch64/libm-test-ulps-name: New file.
9984         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
9985         * sysdeps/arm/libm-test-ulps-name: Likewise.
9986         * sysdeps/generic/libm-test-ulps-name: Likewise.
9987         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
9988         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
9989         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
9990         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
9991         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
9992         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
9993         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
9994         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
9995         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
9996         * sysdeps/nios2/libm-test-ulps-name: Likewise.
9997         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
9998         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
9999         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
10000         * sysdeps/sh/libm-test-ulps-name: Likewise.
10001         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
10002         * sysdeps/tile/libm-test-ulps-name: Likewise.
10003         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
10005         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
10007         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
10008         (test-xfail-check-execstack): New variable.
10010         * sysdeps/mips/localplt.data: New file.
10012 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
10013             Steve Ellcey  <sellcey@caviumnetworks.com>
10015         * bits/wordsize.h: Add documentation.
10016         * sysdeps/aarch64/bits/wordsize.h : New file
10017         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
10018         definitions.
10019         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
10020         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
10021         with #if instead of #ifdef.
10022         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
10023         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
10024         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
10025         Add or change defines.
10026         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
10027         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10028         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
10029         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
10030         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10031         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10032         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
10033         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
10034         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
10035         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10036         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
10037         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
10038         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
10039         * sysdeps/x86/bits/wordsize.h: Likewise.
10041 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
10042             Kevin Petit  <kevin.petit@arm.com>
10044         * sysdeps/aarch64/memchr.S (__memchr): New file.
10046 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10048         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
10050 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
10052         [BZ #19398]
10053         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
10054         $(linknamespace-symlists-tests).
10056 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
10058         * time/tst-strptime2.c: Ignore -Wformat-length warning.
10060 2016-11-02  Florian Weimer  <fweimer@redhat.com>
10061             Carlos O'Donell  <carlos@redhat.com>
10063         [Bug #20729]
10064         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
10065         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
10066         for -Os related change.
10068 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
10070         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
10072 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
10074         [BZ #19673]
10075         * manual/math.texi (Exponents and Logarithms): Correct description
10076         of clog10.
10078 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
10080         [Bz #20729]
10081         * locale/weight.h: Include libc-internal.h.
10082         * locale/weightwc.h: Likewise.
10083         * nptl/nptl_dbP.h: Likewise.
10085 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
10087         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
10088         when it is MACH_PORT_NULL.
10090 2016-10-31  Andreas Schwab  <schwab@suse.de>
10092         [BZ #20707]
10093         * posix/glob.c (glob): Initialize pglob before checking for
10094         GLOB_BRACE.  Don't call glob recursively if pattern contains no
10095         valid brace expression despite GLOB_BRACE.
10096         * posix/globtest.sh: Test it.
10098 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10100         [BZ #20729]
10101         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
10102         Define.
10103         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
10104         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
10105         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
10106         for seq2.back_us and seq1.back_us only for -Os compiles.
10107         * locale/weightwc.h (findix): Likewise.
10108         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
10109         DB_GET_FIELD_ADDRESS only for -Os compiles.
10110         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
10111         for slen only for -Os compiles.
10112         * string/strcoll_l.c (get_next_seq): Ignore
10113         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
10114         for -Os compiles.
10116         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
10117         * include/crypt.h: New file.
10119 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10121         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
10122         from test-skeleton.c.
10123         (statclass): Replace calls to write with calls to write_message.
10125 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10127         * math/math.h
10128         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
10129         New macro.
10130         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
10131         Likewise.
10132         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
10133         Likewise.
10134         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
10135         SNANL.
10136         * math/test-double.h (snan_value_MACRO): New macro.
10137         * math/test-float.h (snan_value_MACRO): Likewise.
10138         * math/test-ldouble.h (snan_value_MACRO): Likewise.
10139         * math/libm-test.inc (issignaling_test_data): Add tests of
10140         snan_value_MACRO.
10142 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10144         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
10145         behavior when eliding a lock not held by the current thread.
10146         * sysdeps/powerpc/nptl/elide.h: Likewise.
10148 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10150         [BZ #20728]
10151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
10152         branch to _exit() by a function call.
10154 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10156         * malloc/malloc.c: Update chunk layout comments.
10157         (chunk_main_arena): Update comment.
10159 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10161         * crypt/sha256.c, crypt/sha256-block.c,
10162         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
10163         sha256_process_block to __sha256_process_block.
10164         * crypt/sha512.c, crypt/sha512-block.c,
10165         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
10166         sha512_process_block to __sha512_process_block.
10168 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10170         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
10172         * math/test-nan-overflow.c: Include stdlib.h for malloc.
10174 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
10176         [BZ #20019]
10177         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
10178         definition in unrelocated shared library.
10179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10181 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10183         [BZ #20729]
10184         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
10185         * sysdeps/unix/sysv/linux/i386/Makefile
10186         (uses-6-syscall-arguments): Define.
10187         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
10188         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
10189         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
10190         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
10191         Likewise.
10192         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
10193         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
10194         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
10195         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
10196         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
10197         (CFLAGS-fallocate64.os): Likewise.
10198         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
10199         (CFLAGS-pthread_rwlock_timedrdlock.os)
10200         (CFLAGS-pthread_rwlock_timedwrlock.o)
10201         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
10202         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
10203         (CFLAGS-sem_timedwait.os): Likewise.
10205 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10207         * elf/tst-linkall-static.c: New file.
10208         * elf/Makefile (tests-static): Add tst-linkall-static.
10209         (tst-linkall-static): Link against static libraries.
10211 2016-10-27  Florian Weimer  <fweimer@redhat.com>
10213         * malloc/malloc.c (sysmalloc): Initialize previous size field of
10214         mmaped chunks.
10216 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10218         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
10219         members to mchunk_prev_size, mchunk_size.
10220         (chunk_main_arena): Reverse sense and rename from
10221         chunk_non_main_arena.
10222         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
10223         mchunk_size instead of size.
10224         (set_non_main_arena): Define.
10225         (chunksize): Use chunksize_nomask instead of direct member access.
10226         (chunksize_nomask): Define.
10227         (next_chunk): Use chunksize instead of direct member access.
10228         (prev_size, set_prev_size): Define.
10229         (prev_chunk): Use prev_size instead of direct member access.
10230         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
10231         (inuse_bit_at_offset, set_inuse_bit_at_offset)
10232         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
10233         (mchunk_prev_size, mchunk_size): Poison tokens.
10234         (unlink): Use chunksize_nomask, prev_size accessors.
10235         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
10236         (do_check_free_chunk): Use prev_size accessor.
10237         (sysmalloc): Use set_prev_size, set_head accessors.
10238         (munmap_chunk, mremap_chunk): Use prev_size accessor.
10239         (__libc_free): Use chunksize_nomask accessor.
10240         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
10241         chunk_main_arena accessors.
10242         (_int_free): Use chunksize_nomask, prev_size accessors.
10243         (malloc_consolidate): Use chunksize, prev_size accessors.
10244         (_int_realloc): Use chunksize_nomask accessor.
10245         (_int_memalign): Use set_prev_size accessor.
10246         (__malloc_info): Use chunksize_nomask accessor.
10247         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
10248         accessors.
10249         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
10250         (heap_trim): Use chunksize_nomask, prev_size accessors.
10252 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10254         [BZ #19380]
10255         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
10256         for inexact results.
10257         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
10258         of inexact result where mpfr_subnormalize is the only inexact
10259         step.
10260         * stdlib/tst-strtod-round-data.h: Regenerated.
10261         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
10262         Define to 0.
10263         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
10265 2016-10-27  David S. Miller  <davem@davemloft.net>
10267         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
10269 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10271         * malloc/malloc.c (do_set_mallopt_check): New function.
10272         (do_set_mmap_threshold): Likewise.
10273         (do_set_mmaps_max): Likewise.
10274         (do_set_top_pad): Likewise.
10275         (do_set_perturb_byte): Likewise.
10276         (do_set_trim_threshold): Likewise.
10277         (do_set_arena_max): Likewise.
10278         (do_set_arena_test): Likewise.
10279         (__libc_mallopt): Use them.
10281 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
10283         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10284         (canonicalize): New declaration.
10285         * math/Versions (canonicalize): New libm symbol at version
10286         GLIBC_2.25.
10287         (canonicalizef): Likewise.
10288         (canonicalizel): Likewise.
10289         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
10290         * math/s_canonicalize_template.c: New file.
10291         * math/libm-test.inc: Update comment on functions tested and
10292         testing of NaN payloads.
10293         (TEST_NAN_PAYLOAD): New macro.
10294         (NO_TEST_INLINE): Update value.
10295         (XFAIL_TEST): Likewise.
10296         (ERRNO_UNCHANGED): Likewise.
10297         (ERRNO_EDOM): Likewise.
10298         (ERRNO_ERANGE): Likewise.
10299         (IGNORE_RESULT): Likewise.
10300         (NON_FINITE): Likewise.
10301         (TEST_SNAN): Likewise.
10302         (NO_TEST_MATHVEC): Likewise.
10303         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
10304         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
10305         (struct test_Ffp_b1_data): New type.
10306         (RUN_TEST_Ffp_b1): New macro.
10307         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10308         (canonicalize_test_data): New array.
10309         (canonicalize_test): New function.
10310         (main): Call canonicalize_test.
10311         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
10312         canonicalizef and canonicalizel.
10313         * manual/libm-err-tab.pl: Update comment on interfaces without
10314         ulps tabulated.
10315         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
10316         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
10317         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10318         canonicalize.
10319         (CFLAGS-nldbl-canonicalize.c): New variable.
10320         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
10321         to ...
10322         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
10323         ... here.
10324         (do_test): Also test canonicalizel.
10325         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
10326         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
10327         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
10328         file.
10329         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
10330         Use libm_hidden_def.
10331         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
10332         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
10333         (do_test): Also test canonicalizel.
10334         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
10335         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
10336         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
10337         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
10338         libm_hidden_def.
10339         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
10340         macro.
10341         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
10342         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
10343         * sysdeps/nacl/libm.abilist: Update.
10344         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10345         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10346         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10347         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10348         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10349         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10352         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10353         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10354         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10355         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10357         Likewise.
10358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10359         Likewise.
10360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10361         Likewise.
10362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10363         Likewise.
10364         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10365         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10366         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10367         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10368         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10370         Likewise.
10371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10372         Likewise.
10373         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10374         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10375         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10377         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
10378         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10379         getpayload.
10380         (CFLAGS-nldbl-getpayload.c): New variable.
10382 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10384         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
10385         integer from the format string.
10387 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10389         [BZ #19473]
10390         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
10391         declarations.
10392         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
10393         weak aliases.
10394         * malloc/hooks.c (__malloc_get_state): Remove definition.
10395         (malloc_get_state): New stub implementation as
10396         compatibility symbol.
10397         (malloc_set_state): Rename from __malloc_set_state.  Turn into
10398         compat symbol.
10399         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
10400         malloc_set_state.
10401         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
10403 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10405         * iconvdata/iso646.c (enum variant): Drop illegal_var.
10406         (names): Turn into concatenation of strings.
10407         (gconv_init): Adapt iteration over names.
10409 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10411         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
10412         make const.
10413         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
10414         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
10415         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
10416         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
10417         character in sbconv.
10418         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
10419         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
10420         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
10422 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10424         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
10426         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
10427         (M_TRIM_THRESHOLD): Likewise.
10429         * manual/memory.texi (M_ARENA_TEST): Add documentation.
10430         (M_ARENA_MAX): Likewise.
10431         * malloc/malloc.c: Remove obsolete comment.
10433         * manual/memory.texi: Add environment variable alternatives to
10434         setting mallopt parameters.
10436 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
10438         * include/atomic.h
10439         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
10440         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
10442 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10444         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
10445         * stdlib/tst-strfrom.h: New file.
10446         * stdlib/tst-strfrom.c: New file.
10447         * stdlib/tst-strfrom-locale.c: New file.
10449         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
10450         * stdlib/bug-strtod2.c: Likewise.
10451         * stdlib/tst-strtod-round-skeleton.c: Likewise.
10452         * stdlib/tst-strtod6.c: Likewise.
10453         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
10455 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10457         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
10458         * manual/arith.texi: Document strfromd, strfromf, strfroml.
10459         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
10460         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
10461         * stdlib/stdlib.h (strfromd): New declaration.
10462         (strfromf): Likewise.
10463         (strfroml): Likewise.
10464         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
10465         strfrom.
10466         * stdlib/strfromd.c: New file.
10467         * stdlib/strfromf.c: Likewise.
10468         * stdlib/strfroml.c: Likewise.
10469         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
10470         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
10471         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
10472         * sysdeps/arm/nacl/libc.abilist: Update.
10473         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10474         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10475         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10476         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10477         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10478         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10479         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10480         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10481         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10482         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10483         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10484         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10485         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10486         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10491         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10492         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10493         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10494         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10495         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10498         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10499         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10500         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10502 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
10504         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
10505         instead of cmpli.
10506         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
10507         instead of cmpli.
10509 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
10511         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
10512         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
10513         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
10514         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10515         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10516         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10518 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10520         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
10521         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10522         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
10523         SYSCALL_LL64_PRW.
10524         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10525         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
10526         __ASSUME_PRW_DUMMY_ARG.
10527         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
10528         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10529         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10530         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10531         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
10532         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
10534 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
10536         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
10538 2016-10-22  Florian Weimer  <fweimer@redhat.com>
10540         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
10541         "C++", to override a potential extern "C" directive around the
10542         header file inclusion.
10544 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
10546         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
10548 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10550         * sysdeps/powerpc/fpu/fenv_private.h:
10551         (_FPU_MASK_ALL): Rename to...
10552         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
10553         XE FPSCR bits.
10555         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
10557         (_FPU_MASK_ROUNDING): Rename to...
10558         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
10559         NI bits.
10561         (_FPU_MASK_EXCEPT_ROUND): Rename to...
10562         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
10563         bits and rounding bits.
10565         (__libc_feholdbits_ppc): New inline function to mask, set,
10566         and pontentially clear FSPCR bits, and change MSR[FE] bits.
10567         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
10568         (libc_feholdexcept_setround_ppc): Likewise.
10570         (__libc_femergeenv_ppc): New function to dynamically mask both
10571         old and new FP environments and merge.
10572         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
10573         (libc_feresetround_ppc): Likewise.
10574         (libc_feupdateenv_test_ppc): Likewise.
10575         (libc_feupdateenv_ppc): Likewise.
10577         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
10578         of ISA RN bits, and update macro names.
10579         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
10580         effectively the same as the previously mentioned function.
10582         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
10583         usage with fe_resetround_ppc.
10585         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
10586         to be used.
10587         (libc_feholdexcept_setround_ctxf): Likewise.
10588         (libc_feholdexcept_setround_ctxl): Likewise.
10590 2016-10-21  Florian Weimer  <fweimer@redhat.com>
10592         [BZ #20715]
10593         * math/math.h [__cplusplus] (iszero): Define as function template.
10594         * math/Makefile [CXX] (tests): Add test-math-iszero.
10595         (CFLAGS-test-math-iszero.cc): Set.
10596         * math/test-math-iszero.cc: New file.
10598 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
10600         [BZ #20660]
10601         * sysdeps/arm/e_sqrt.c: New file.
10602         * sysdeps/arm/e_sqrtf.c: Likewise.
10604 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
10606         [BZ #20718]
10607         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
10608         not use floating-point comparisons to test sign.
10609         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
10610         Likewise.
10612         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10613         (getpayload): New declaration.
10614         * math/Versions (getpayload): New libm symbol at version
10615         GLIBC_2.25.
10616         (getpayloadf): Likewise.
10617         (getpayloadl): Likewise.
10618         * math/Makefile (libm-calls): Add s_getpayloadF.
10619         * math/libm-test.inc: Include <nan-high-order-bit.h>.
10620         (struct test_f_f_data): Add comment.
10621         (RUN_TEST_fp_f): New macro.
10622         (RUN_TEST_LOOP_fp_f): Likewise.
10623         (getpayload_test_data): New array.
10624         (getpayload_test): New function.
10625         (main): Call getpayload_test.
10626         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
10627         descriptor.
10628         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
10629         getpayloadf and getpayloadl.
10630         * manual/libm-err-tab.pl: Update comment on interfaces without
10631         ulps tabulated.
10632         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
10633         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
10634         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
10635         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
10636         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
10637         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
10638         * sysdeps/nacl/libm.abilist: Update.
10639         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10640         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10641         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10642         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10643         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10644         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10645         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10646         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10647         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10648         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10649         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10650         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10654         Likewise.
10655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10656         Likewise.
10657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10658         Likewise.
10659         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10660         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10661         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10662         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10663         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10665         Likewise.
10666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10667         Likewise.
10668         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10669         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10670         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10672 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10674         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
10675         tst-fallocate{64}.
10676         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
10677         on syscall return.
10679 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
10681         [BZ #20689]
10682         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
10683         usable.
10685 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
10687         * sysdeps/generic/nan-high-order-bit.h: New file.
10688         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
10689         * sysdeps/mips/nan-high-order-bit.h: Likewise.
10690         * sysdeps/hppa/math_private.h: Remove file.
10691         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
10692         not define here.
10693         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
10694         <nan-high-order-bit.h>.
10695         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10696         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10697         <nan-high-order-bit.h>.
10698         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10699         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10700         <nan-high-order-bit.h>.
10701         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10702         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
10703         <nan-high-order-bit.h>.
10704         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10705         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10706         <nan-high-order-bit.h>.
10707         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10708         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10709         <nan-high-order-bit.h>.
10710         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10711         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
10712         <nan-high-order-bit.h>.
10713         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10714         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10715         <nan-high-order-bit.h>.
10716         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10717         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10718         <nan-high-order-bit.h>.
10719         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10720         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
10721         <nan-high-order-bit.h>.
10722         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10723         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
10724         <nan-high-order-bit.h>.
10725         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10726         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
10727         <nan-high-order-bit.h>.
10728         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10729         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
10730         <nan-high-order-bit.h>.
10731         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10732         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
10733         <nan-high-order-bit.h>.
10734         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10735         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
10736         <nan-high-order-bit.h>.
10737         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10738         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
10739         <nan-high-order-bit.h>.
10740         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10741         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
10742         <nan-high-order-bit.h>.
10743         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10744         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
10745         <nan-high-order-bit.h>.
10746         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10748 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10750         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
10752 2016-09-22  John David Anglin  <dave.anglin@bell.net>
10754         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
10755         abort-instr.h.
10756         (EFAULT): Remove conditional define.
10757         (ENOSYS): Likewise.
10758         (atomic_compare_and_exchange_val_acq): Use instruction nullification
10759         instead of conditional branch instructions.
10761 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
10763         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10764         (totalordermag): New declaration.
10765         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
10766         New macro.
10767         * math/Versions (totalordermag): New libm symbol at version
10768         GLIBC_2.25.
10769         (totalordermagf): Likewise.
10770         (totalordermagl): Likewise.
10771         * math/Makefile (libm-calls): Add s_totalordermagF.
10772         * math/libm-test.inc (totalordermag_test_data): New array.
10773         (totalordermag_test): New function.
10774         (main): Call totalordermag_test.
10775         * math/test-tgmath.c (NCALLS): Increase to 125.
10776         (F(compile_test)): Call totalordermag.
10777         (F(totalordermag)): New function.
10778         * manual/arith.texi (FP Comparison Functions): Document
10779         totalordermag, totalordermagf and totalordermagl.
10780         * manual/libm-err-tab.pl: Update comment on interfaces without
10781         ulps tabulated.
10782         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
10783         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
10784         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
10785         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
10786         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
10787         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
10788         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
10789         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10790         totalordermag.
10791         (CFLAGS-nldbl-totalordermag.c): New variable.
10792         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
10793         (do_test): Also test totalordermagl.
10794         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
10795         Likewise.
10796         * sysdeps/nacl/libm.abilist: Update.
10797         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10798         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10799         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10800         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10801         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10802         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10803         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10804         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10805         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10806         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10807         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10808         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10810         Likewise.
10811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10812         Likewise.
10813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10814         Likewise.
10815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10816         Likewise.
10817         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10818         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10819         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10820         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10821         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10823         Likewise.
10824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10825         Likewise.
10826         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10827         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10828         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10830 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
10832         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
10833         boolean.
10835 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
10837         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
10838         raising FE_INVALID with feraisexcept in case where part of
10839         argument is infinite, subtract that part of argument from itself.
10840         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
10841         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
10842         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10844 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10846         * math/libm-test.inc (totalorder_test_data): Add more tests.
10848 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10850         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
10851         Undefine weak_alias and add a comment why mips64 require
10852         versioning.
10854 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10856         [BZ #20647]
10857         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
10858         maximum CPUID level is less than 2.
10860 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10862         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10863         (totalorder): New declaration.
10864         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
10865         New macro.
10866         * math/Versions (totalorder): New libm symbol at version
10867         GLIBC_2.25.
10868         (totalorderf): Likewise.
10869         (totalorderl): Likewise.
10870         * math/Makefile (libm-calls): Add s_totalorderF.
10871         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
10872         string.
10873         * math/libm-test.inc (PAYLOAD_DIG): New macro.
10874         (qnan_value_pl): Likewise.
10875         (snan_value_pl): Likewise.
10876         (qnan_value): Define using qnan_value_pl.
10877         (snan_value): Define using snan_value_pl.
10878         (struct test_ff_i_data): Add comment about which tests use this
10879         structure.
10880         (RUN_TEST_ff_b): New macro.
10881         (RUN_TEST_LOOP_ff_b): Likewise.
10882         (totalorder_test_data): New array.
10883         (totalorder_test): New function.
10884         (main): Call totalorder_test.
10885         * math/test-tgmath.c (NCALLS): Increase to 122.
10886         (F(compile_test)): Call totalorder.
10887         (F(totalorder)): New function.
10888         * manual/arith.texi (FP Comparison Functions): Document
10889         totalorder, totalorderf and totalorderl.
10890         * manual/libm-err-tab.pl: Update comment on interfaces without
10891         ulps tabulated.
10892         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
10893         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
10894         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
10895         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
10896         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
10897         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
10898         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
10899         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10900         totalorder.
10901         (CFLAGS-nldbl-totalorder.c): New variable.
10902         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
10903         file.
10904         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10905         Add test-totalorderl-ldbl-128ibm.
10906         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
10907         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
10908         test-totalorderl-ldbl-96.
10909         * sysdeps/nacl/libm.abilist: Update.
10910         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10911         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10912         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10913         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10914         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10915         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10916         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10917         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10918         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10919         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10920         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10921         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10923         Likewise.
10924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10925         Likewise.
10926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10927         Likewise.
10928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10929         Likewise.
10930         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10931         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10932         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10933         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10934         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10936         Likewise.
10937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10938         Likewise.
10939         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10940         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10941         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10943 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10945         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
10946         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
10947         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
10948         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
10949         remove ENOSYS implementation.
10950         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
10951         Consolidate all Linux implementations.
10953 2016-10-11  Florian Weimer  <fweimer@redhat.com>
10955         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
10956         * resolv/herror.c (herror): Cast away const-ness.
10957         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
10958         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
10960 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
10962         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
10963         instead of M_NAN + M_NAN.
10964         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10966 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10968         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
10969         unused variable 'p'.
10971 2016-10-09  Alan Modra  <amodra@gmail.com>
10972             Andreas Schwab  <schwab@linux-m68k.org>
10974         [BZ #20554]
10975         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
10976         [PIC && !SHARED]: Set up PIC register for PLT call.
10978 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
10980         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
10981         conditional on value of [__FLT_EVAL_METHOD__].
10982         * math/test-iseqsig-excess-precision.c: New file.
10983         * math/Makefile (tests): Add test-iseqsig-excess-precision.
10985 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10987         * math/s_iseqsig_template.c: Include math-private.h.
10989         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
10990         * posix/tst-posix_fadvise.c: New file.
10991         * posix/tst-posix_fadvise64.c: Likewise.
10992         * posix/tst-posix_fadvise-common.c: Likewise.
10993         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10994         (__ASSUME_FADVISE64_64_6ARG): Define.
10995         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10996         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
10997         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10998         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
10999         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
11000         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
11001         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
11002         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
11003         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
11004         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
11005         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
11006         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
11007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
11008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
11009         Likewise.
11010         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
11011         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
11012         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
11013         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11014         Alias to __posix_fadvise64_l32.
11015         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
11016         Add compat definition to posix_fadvise64.
11017         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11018         Add versioned definition to posix_fadvise64.
11019         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
11020         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
11021         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
11022         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
11023         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
11025         * io/Makefile (tests): Add tst-posix_fallocate and
11026         tst-posix_fallocate64.
11027         * io/tst-posix_fallocate-common.c: New file.
11028         * io/tst-posix_fallocate.c: Likewise.
11029         * io/tst-posix_fallocate64.c: Likewise.
11030         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
11031         file.
11032         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
11033         Likewise.
11034         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
11035         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
11036         Likewise.
11037         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
11038         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
11039         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
11040         SYSCALL_LL to pass both offset and len arguments.
11041         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
11042         Likewise.
11043         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
11044         __libc_pwrite64 alias used by posix_fallocate64.
11046         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11047         tst-fallocate64.
11048         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11049         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11050         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11051         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11052         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11053         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11054         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11055         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11056         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11057         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11058         macro on offset argument.
11059         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11060         SYSCALL_LL64 on offset argument.
11062         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11063         tst-fallocate64.
11064         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11065         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11066         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11067         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11068         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11069         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11070         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11071         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11072         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11073         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11074         macro on offset argument.
11075         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11076         SYSCALL_LL64 on offset argument.
11077         * test-skeleton.c (FAIL_RET): Add macro.
11078         (FAIL_EXIT): Likewise.
11079         (FAIL_EXIT1): Likewise.
11080         (_FAIL): Likewise.
11082 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11084         [BZ #20629]
11085         resolv: Remove RES_USEBSTRING and its implementation.
11086         * resolv/resolv.h (RES_USEBSTRING): Remove.
11087         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
11088         (digitvalue, encode_bitstring, decode_bitstring): Remove.
11089         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
11090         (labellen): Remove extended label types support.
11091         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
11092         * resolv/res_init.c (res_setoptions): Likewise.
11093         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11095 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11097         resolv: Remove RES_NOIP6DOTINT and its implementation.
11098         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
11099         (RES_NOIP6DOTINT): Remove.
11100         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
11101         handling.
11102         * resolv/res_debug.c (p_option): Likewise.
11103         * resolv/res_init.c (res_setoptions): Likewise.
11104         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11106 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11108         resolv: Deprecate unimplemented flags.
11109         * misc/sys/cdefs.h (__glibc_macro_warning1)
11110         (__glibc_macro_warning): Define.
11111         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
11112         (RES_KEEPTSIG): Mark as deprecated.
11113         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
11114         RES_NOCHECKNAME, RES_KEEPTSIG.
11115         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
11117 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11119         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
11120         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
11121         Use strong_alias to create symbols for glibc verison 2.19.
11123 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11125         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
11127 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11129         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
11131 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11133         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
11135 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11137         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11138         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
11139         in header for using it as type for ifunc function because __GI_* symbols
11140         for ppc32 do not target the ifunc symbols.
11141         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11143 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11145         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
11146         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
11147         libc_ifunc_hidden_def.
11148         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
11149         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
11150         Redirect ifunced function in header for using it as type of ifunc'ed
11151         function. Redefine libc_hidden_def to use fallback non ifunc'ed
11152         function for __GI_* symbol.
11153         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
11154         * include/libc-symbols.h
11155         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
11157 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11159         [BZ #20478]
11160         * sysdeps/s390/multiarch/ifunc-resolve.h
11161         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
11162         to create ifunc symbols.
11163         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
11164         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
11165         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
11166         for using it as type for ifunc function.
11167         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11168         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11169         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11170         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11171         * sysdeps/s390/multiarch/strcat.c: Likewise.
11172         * sysdeps/s390/multiarch/strchr.c: Likewise.
11173         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11174         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11175         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11176         * sysdeps/s390/multiarch/strlen.c: Likewise.
11177         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11178         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11179         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11180         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11181         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11182         * sysdeps/s390/multiarch/strspn.c: Likewise.
11183         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11184         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11185         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11186         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11187         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11188         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11189         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11190         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
11191         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
11192         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11193         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
11194         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
11196 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11198         * include/libc-symbols.h (__ifunc_resolver):
11199         New macro is used by __ifunc* macros.
11200         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
11201         depending on HAVE_GCC_IFUNC.
11202         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
11203         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
11204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11205         Redirect ifunced function in header for using as type for ifunc function.
11206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
11207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
11208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
11209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
11210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11211         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11212         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11213         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11214         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11215         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11216         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11217         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11218         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11219         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
11222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
11224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11225         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11226         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11227         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11228         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11229         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11230         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11231         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11232         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11233         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11234         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11235         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11236         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11237         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
11238         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
11240         Add libc_hidden_def() and use libc_ifunc_hidden() macro
11241         instead of libc_ifunc() macro.
11242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
11243         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11245 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11247         * config.h.in (HAVE_GCC_IFUNC): New undef.
11248         * configure.ac: Add check if gcc supports attribute ifunc feature.
11249         * configure: Regenerated.
11250         * manual/install.texi: Add recommendation for gcc with
11251         indirect-function support.
11252         * INSTALL: Regenerated.
11254 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
11256         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
11257         macro.
11258         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11259         (__iseqsig): New declaration.
11260         * math/s_iseqsig_template.c: New file.
11261         * math/Versions (__iseqsigf): New libm symbol at version
11262         GLIBC_2.25.
11263         (__iseqsig): Likewise.
11264         (__iseqsigl): Likewise.
11265         * math/libm-test.inc (iseqsig_test_data): New array.
11266         (iseqsig_test): New function.
11267         (main): Call iseqsig_test.
11268         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
11269         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
11270         * manual/libm-err-tab.pl: Update comment on interfaces without
11271         ulps tabulated.
11272         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
11273         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
11274         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
11275         * sysdeps/nacl/libm.abilist: Update.
11276         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11277         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11278         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11279         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11280         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11281         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11282         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11283         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11284         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11285         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11286         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11287         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11289         Likewise.
11290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11291         Likewise.
11292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11293         Likewise.
11294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11295         Likewise.
11296         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11297         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11298         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11299         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11300         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11302         Likewise.
11303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11304         Likewise.
11305         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11306         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11307         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11309 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11311         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
11312         do_sincos_2, sloww, sloww1): Update comments.
11314         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
11315         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
11317         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
11318         K boolean and rename it.
11319         (__sin): Adjust.
11320         (__cos): Adjust.
11322 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11323             Siddhesh Poyarekar  <siddhesh@sourceware.org>
11325         * manual/nss.texi: Fix typos in the manual.
11327 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11329         * manual/contrib.texi: Fix typos in the manual.
11331         * manual/maint.texi: Fix typos in the manual.
11333         * manual/install.texi: Fix typos in the manual.
11334         * INSTALL: Regenerated.
11336         * manual/lang.texi: Fix typos in the manual.
11338         * manual/probes.texi: Fix typos in the manual.
11340         * manual/threads.texi: Fix typos in the manual.
11342         * manual/debug.texi: Fix typos in the manual.
11344         * manual/crypt.texi: Fix typos in the manual.
11346         * manual/conf.texi: Fix typos in the manual.
11348         * manual/sysinfo.texi: Fix typos in the manual.
11350         * manual/users.texi: Fix typos in the manual.
11352         * manual/job.texi: Fix typos in the manual.
11354         * manual/process.texi: Fix typos in the manual.
11356         * manual/argp.texi: Fix typos in the manual.
11357         * manual/getopt.texi: Likewise.
11358         * manual/startup.texi: Likewise.
11360         * manual/signal.texi: Fix typos in the manual.
11362         * manual/setjmp.texi: Fix typos in the manual.
11364         * manual/resource.texi: Fix typos in the manual.
11366         * manual/time.texi: Fix typos in the manual.
11368         * manual/arith.texi: Fix typos in the manual.
11370         * manual/math.texi: Fix typos in the manual.
11372         * manual/syslog.texi: Fix typos in the manual.
11374         * manual/terminal.texi: Fix typos in the manual.
11376         * manual/socket.texi: Fix typos in the manual.
11378         * manual/filesys.texi: Fix typos in the manual.
11380         * manual/llio.texi: Fix typos in the manual.
11382         * manual/stdio.text: Fix typos in the manual.
11384 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11386         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
11387         instead of K1.
11389         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
11390         SHIFT_QUADRANT and make it bool.
11391         (do_sincos_2): Likewise.
11392         (sloww): Likewise.
11393         (sloww1): Likewise.
11394         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
11395         (__cos): Likewise.
11397 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11399         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11401 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
11403         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
11404         Define to __WORDSIZE, not conditional on [LONG_MAX ==
11405         0x7fffffffL].
11406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11408 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11410         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
11411         inline by __inline__.
11412         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
11413         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
11414         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
11415         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
11416         sigset_t from signal.h.
11417         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
11418         which is already required.
11420 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
11422         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11424 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
11426         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
11427         (struct tcp_repair_window): New type.
11429 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11431         * libio/tst-memstream3.c: Include string.h.
11433 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11435         [BZ #18241]
11436         [BZ #20181]
11437         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
11438         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
11439         write position is at the end the buffer.
11440         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
11441         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
11442         (_IO_str_seekoff): Set correct offset from negative displacement and
11443         set EINVAL for invalid ones.
11444         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
11445         buffer length.
11446         (_IO_wstr_switch_to_get_mode): New function.
11447         (_IO_wstr_seekoff): Set correct offset from negative displacement and
11448         set EINVAL for invalid ones.
11449         * libio/tst-memstream3.c: New file.
11450         * libio/tst-wmemstream3.c: Likewise.
11451         * manual/examples/memstrm.c: Remove warning when priting size_t.
11453 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
11455         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
11456         macro to use __builtin_fma.
11457         * sysdeps/x86_64/fpu/dla.h: Remove file.
11459         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11460         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
11461         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
11463 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
11465         [BZ #20292]
11466         * elf/Makefile (routines): Add dl-addr-obj.
11467         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
11468         tst-_dl_addr_inside_object.
11469         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
11470         [ifeq (yesyes,$(have-fpie)$(build-shared))]
11471         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
11472         [ifeq (yesyes,$(have-fpie)$(build-shared))]
11473         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
11474         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
11475         * elf/dl-open.c: Likewise.
11476         * elf/dl-addr-obj.c: New file.
11477         * elf/tst-_dl_addr_inside_object.c: New file.
11479 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
11481         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
11482         <bits/iscanonical.h>.
11483         * bits/iscanonical.h: New file.
11484         * math/s_iscanonicall.c: Likewise.
11485         * math/Versions (__iscanonicall): New libm symbol at version
11486         GLIBC_2.25.
11487         * math/libm-test.inc (iscanonical_test_data): New array.
11488         (iscanonical_test): New function.
11489         (main): Call iscanonical_test.
11490         * math/Makefile (headers): Add bits/iscanonical.h.
11491         (type-ldouble-routines): Add s_iscanonicall.
11492         * manual/arith.texi (Floating Point Classes): Document
11493         iscanonical.
11494         * manual/libm-err-tab.pl: Update comment on interfaces without
11495         ulps tabulated.
11496         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
11497         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
11498         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
11499         Likewise.
11500         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
11501         test-iscanonical-ldbl-128ibm.
11502         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
11503         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
11504         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
11505         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
11506         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
11507         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11508         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11510         Likewise.
11511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11512         Likewise.
11513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11514         Likewise.
11515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11516         Likewise.
11517         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11518         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11520 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11522         * string/bits/string3.h: Remove C++ style comments.
11524 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11526         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
11527         instead of ternary condition.
11528         (do_sincos_2): Likewise.
11529         (__sin): Likewise.
11530         (__cos): Likewise.
11531         (slow): Likewise.
11532         (sloww): Likewise.
11533         (sloww1): Likewise.
11534         (bsloww): Likewise.
11535         (bsloww1): Likewise.
11537         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
11538         instead of ternary condition.
11539         (do_sin_slow): Likewise.
11540         (do_sincos_1): Likewise.
11541         (do_sincos_2): Likewise.
11542         (__cos): Likewise.
11543         (sloww): Likewise.
11544         (sloww1): Likewise.
11545         (sloww2): Likewise.
11546         (bsloww): Likewise.
11547         (bsloww1): Likewise.
11548         (bsloww2): Likewise.
11550         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
11551         check from here...
11552         (slow2): ... and here...
11553         (__sin): ... to here.
11555 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
11557         * math/math.h
11558         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
11559         Cast argument to its own type.
11560         * math/test-iszero-excess-precision.c: New file.
11561         * math/Makefile (tests): Add test-iszero-excess-precision.
11562         (CFLAGS-test-iszero-excess-precision.c): New variable.
11564 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
11566         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
11567         field, add err field.
11568         (__spawni_child): Report error through err member instead of pipe.
11569         (__spawnix): Likewise.
11571 2016-09-28  Zack Weinberg  <zackw@panix.com>
11573         * scripts/check-installed-headers.sh: Generalize treatment of
11574         sys/elf.h to all target architectures.
11576         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
11577         deleted typedef ucontext_t.
11579 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11581         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
11582         (__INTERNAL_SYSCALL1): Likewise.
11583         (__INTERNAL_SYSCALL2): Likewise.
11584         (__INTERNAL_SYSCALL3): Likewise.
11585         (__INTERNAL_SYSCALL4): Likewise.
11586         (__INTERNAL_SYSCALL5): Likewise.
11587         (__INTERNAL_SYSCALL6): Likewise.
11588         (__INTERNAL_SYSCALL7): Likewise.
11589         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
11590         (__INTERNAL_SYSCALL_NARGS): Likewise.
11591         (__INTERNAL_SYSCALL_DISP): Likewise.
11592         (INTERNAL_SYSCALL_CALL): Likewise.
11593         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
11594         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
11595         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
11596         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
11597         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
11598         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
11599         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
11600         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
11601         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
11602         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
11603         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
11604         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
11605         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
11607 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
11609         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
11610         macro.
11611         * math/libm-test.inc (iszero_test_data): New array.
11612         (iszero_test): New function.
11613         (main): Call iszero_test.
11614         * manual/arith.texi (Floating Point Classes): Document iszero.
11615         * manual/libm-err-tab.pl: Update comment on interfaces without
11616         ulps tabulated.
11618 2016-09-23  Zack Weinberg  <zackw@panix.com>
11620         * scripts/check-installed-headers.sh: New script.
11621         * Rules: In each directory that defines header files to be installed,
11622         run check-installed-headers.sh on them as a special test.
11623         * Makefile: Likewise for the headers installed at top level.
11625         * include/aliases.h, include/alloca.h, include/argz.h
11626         * include/arpa/nameser.h, include/arpa/nameser_compat.h
11627         * include/elf.h, include/envz.h, include/err.h
11628         * include/execinfo.h, include/fpu_control.h, include/getopt.h
11629         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
11630         * include/link.h, include/malloc.h, include/mcheck.h
11631         * include/mntent.h, include/netinet/ether.h
11632         * include/nss.h, include/obstack.h, include/printf.h
11633         * include/pty.h, include/resolv.h, include/rpc/auth.h
11634         * include/rpc/auth_des.h, include/rpc/auth_unix.h
11635         * include/rpc/clnt.h, include/rpc/des_crypt.h
11636         * include/rpc/key_prot.h, include/rpc/netdb.h
11637         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
11638         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
11639         * include/rpc/rpc_msg.h, include/rpc/svc.h
11640         * include/rpc/svc_auth.h, include/rpc/xdr.h
11641         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
11642         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
11643         * include/rpcsvc/ypupd.h, include/shadow.h
11644         * include/stdio_ext.h, include/sys/epoll.h
11645         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
11646         * include/sys/prctl.h, include/sys/profil.h
11647         * include/sys/statfs.h, include/sys/sysctl.h
11648         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
11649         * sysdeps/arm/nacl/include/bits/setjmp.h
11650         * sysdeps/mips/include/sys/asm.h
11651         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
11652         * sysdeps/unix/sysv/linux/include/sys/timex.h
11653         * sysdeps/x86/fpu/include/bits/fenv.h:
11654         Add #ifndef _ISOMAC guard around internal declarations.
11655         Add multiple-inclusion guard if not already present.
11657 2016-09-23  Zack Weinberg  <zackw@panix.com>
11659         * sysdeps/generic/sys/ucontext.h
11660         * sysdeps/arm/sys/ucontext.h
11661         * sysdeps/i386/sys/ucontext.h
11662         * sysdeps/m68k/sys/ucontext.h
11663         * sysdeps/mips/sys/ucontext.h
11664         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
11665         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
11666         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
11667         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
11668         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
11669         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
11670         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
11671         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
11672         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
11673         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
11674         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
11675         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
11676         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
11677         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
11678         Include both bits/sigcontext.h and bits/sigstack.h.
11679         Fix grammar error in comment, if present.
11681         * bits/sigstack.h
11682         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
11683         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
11684         * sysdeps/unix/sysv/linux/bits/sigstack.h
11685         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
11686         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
11687         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
11688         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
11689         * bits/sigcontext.h
11690         * sysdeps/mach/hurd/i386/bits/sigcontext.h
11691         * sysdeps/unix/sysv/linux/bits/sigcontext.h
11692         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
11693         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
11694         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
11695         as well as signal.h, if this was not already allowed.  Request
11696         definition of size_t if necessary.  Minimize semantically-null
11697         differences across files.
11699 2016-09-23  Zack Weinberg  <zackw@panix.com>
11701         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
11702         Remove all logic conditional on __need macros.  Move all the
11703         conditionally defined types to their own headers...
11704         * time/bits/types/clock_t.h: Define clock_t here.
11705         * time/bits/types/clockid_t.h: Define clockid_t here.
11706         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
11707         * time/bits/types/struct_timespec.h: Define struct timespec here.
11708         * time/bits/types/struct_timeval.h: Define struct timeval here.
11709         * time/bits/types/struct_tm.h: Define struct tm here.
11710         * time/bits/types/time_t.h: Define time_t here.
11711         * time/bits/types/timer_t.h: Define timer_t here.
11712         * time/Makefile: Install the new headers.
11714         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
11715         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
11716         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
11717         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
11718         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
11719         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
11720         * sysdeps/unix/sysv/linux/bits/resource.h
11721         * sysdeps/unix/sysv/linux/bits/timex.h
11722         * sysdeps/unix/sysv/linux/mips/bits/resource.h
11723         * sysdeps/unix/sysv/linux/net/ppp_defs.h
11724         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
11725         * sysdeps/unix/sysv/linux/sys/acct.h
11726         * sysdeps/unix/sysv/linux/sys/timerfd.h
11727         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
11728         * time/sys/time.h, time/sys/timeb.h
11729         Use the new bits/types headers.
11731         * include/time.h: Remove __need logic.
11732         * include/bits/time.h
11733         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
11734         * include/bits/types/time_t.h, include/bits/types/timer_t.h
11735         * include/bits/types/struct_itimerspec.h
11736         * include/bits/types/struct_timespec.h
11737         * include/bits/types/struct_timeval.h
11738         * include/bits/types/struct_tm.h:
11739         New wrapper headers.
11741 2016-09-23  Zack Weinberg  <zackw@panix.com>
11743         * sysdeps/mach/hurd/net/if_ppp.h
11744         * sysdeps/unix/sysv/linux/net/if_ppp.h:
11745         Only define struct ifpppstatsreq and struct ifpppcstatsreq
11746         if __USE_MISC is defined, to ensure struct ifreq is declared.
11748         * inet/netinet/ether.h: Condition all function prototypes
11749         on __USE_MISC, to ensure struct ether_addr is declared.
11751         * socket/bits/types/struct_osockaddr.h: New header.
11752         * include/bits/types/struct_osockaddr.h: New wrapper.
11753         * socket/Makefile: Install the new header.
11754         * socket/sys/socket.h, inet/protocols/talkd.h:
11755         Refer to bits/types/struct_osockaddr.h for the definition of
11756         struct osockaddr.
11758 2016-09-23  Zack Weinberg  <zackw@panix.com>
11760         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
11761         * inet/protocols/routed.h, inet/protocols/talkd.h
11762         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
11763         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
11764         * sysdeps/generic/netinet/if_ether.h
11765         * sysdeps/generic/netinet/in_systm.h
11766         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
11767         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11768         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
11769         * sysdeps/mach/hurd/net/if_arp.h
11770         * sysdeps/mach/hurd/net/if_ppp.h
11771         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
11772         * sysdeps/unix/sysv/linux/bits/in.h
11773         * sysdeps/unix/sysv/linux/net/ethernet.h
11774         * sysdeps/unix/sysv/linux/net/if_arp.h
11775         * sysdeps/unix/sysv/linux/net/if_ppp.h
11776         * sysdeps/unix/sysv/linux/net/if_shaper.h
11777         * sysdeps/unix/sysv/linux/net/route.h
11778         * sysdeps/unix/sysv/linux/netinet/if_ether.h
11779         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11780         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11781         * sysdeps/unix/sysv/linux/netipx/ipx.h
11782         * sysdeps/unix/sysv/linux/sys/acct.h
11783         * include/arpa/nameser.h, include/resolv.h:
11784         Change all uses of u_char to unsigned char,
11785         u_short and ushort to unsigned short, u_int and uint to unsigned int,
11786         u_long and ulong to unsigned long, u_int8_t to uint8_t,
11787         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
11788         and u_int64_t and u_quad_t to uint64_t.
11790         * mach/sys/reboot.h: Remove two casts of integer literals
11791         to the types they already have.
11793         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
11794         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11795         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
11796         from referring to 'unsigned char' to 'uint8_t' for consistency with
11797         the macro definition below.
11799         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
11800         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
11801         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
11802         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
11803         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
11804         * sysdeps/unix/sysv/linux/sys/acct.h
11805         * include/arpa/nameser.h, include/resolv.h:
11806         Fix indentation disrupted by mechanical edits.
11808         * inet/protocols/talkd.h, resolv/arpa/nameser.h
11809         * sysdeps/generic/netinet/in_systm.h
11810         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11811         * sysdeps/gnu/netinet/udp.h
11812         * sysdeps/unix/sysv/linux/net/ethernet.h
11813         * sysdeps/unix/sysv/linux/net/if_arp.h
11814         * sysdeps/unix/sysv/linux/net/if_ppp.h
11815         * sysdeps/unix/sysv/linux/net/if_shaper.h
11816         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11817         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11818         * sysdeps/unix/sysv/linux/netipx/ipx.h
11819         * sysdeps/unix/sysv/linux/sys/acct.h
11820         Include stdint.h for uintNN_t definitions.
11821         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
11823 2016-09-23  Zack Weinberg  <zackw@panix.com>
11825         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
11826         * sysdeps/unix/sysv/linux/netrose/rose.h:
11827         Include sys/socket.h and netax25/ax25.h.
11829         * inet/netinet/icmp6.h, inet/netinet/ip6.h
11830         * resolv/arpa/nameser_compat.h:
11831         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
11833         * sysdeps/unix/sysv/linux/sys/quota.h:
11834         Use __caddr_t instead of caddr_t.
11835         * sysdeps/unix/sysv/linux/sys/timerfd.h:
11836         Use __clockid_t instead of clockid_t.
11838         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
11840         * argp/argp.h: Check whether _LIBC is defined before expanding it.
11841         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
11842         expanding it.
11844         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
11845         Define __glibc_c99_flexarr_available to 1 when the compiler
11846         supports C99-compatible flexible array members, 0 otherwise.
11847         * sysdeps/unix/sysv/linux/bits/socket.h
11848         * sysdeps/mach/hurd/bits/socket.h
11849         * bits/socket.h: Use __glibc_c99_flexarr_available in
11850         definitions of struct cmsghdr and CMSG_DATA.
11852 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11854         * manual/nss.texi (NSS Modules Interface): Adjust function return
11855         type to enum nss_status.  Document errnop argument.  Clarify
11856         h_errnop semantics.  Fix cross-reference formatting.
11857         (NSS Module Function Internals): Mention that *errnop needs to be
11858         set on failure, but not to zero.
11860 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11862         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
11863         (get_random_name): New functions.
11864         (check_wrapper_flags_mode): Use linkat to give the new file a name
11865         determined by get_random_name.
11866         (do_test): Add calls to test open64 and openat64.
11868 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11870         * test-skeleton.c: Remove #include <stdarg.h>.
11872 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
11874         [BZ #19826]
11875         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
11876         initialization of static TLS entries.
11877         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
11878         * nptl/allocatestack.c (init_one_static_tls): Likewise.
11880 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11882         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
11883         _hurd_malloc_fork_prepare.
11884         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
11885         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
11886         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
11887         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
11888         (_hurd_fork_child_hook): Drop malloc_fork_child.
11889         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
11890         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
11891         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
11892         after locking locks (notably hurd_dtable_lock). Call
11893         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
11894         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
11895         __malloc_fork_unlock_child.
11896         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
11898 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
11900         * soft-fp/extendhftf2.c: New.
11901         * soft-fp/fixhfti.c: Likewise.
11902         * soft-fp/fixunshfti.c: Likewise.
11903         * soft-fp/floattihf.c: Likewise.
11904         * soft-fp/floatuntihf.c: Likewise.
11905         * soft-fp/half.h: Likewise.
11906         * soft-fp/trunctfhf2.c: Likewise.
11908 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
11910         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
11911         macro.
11912         * math/libm-test.inc (issubnormal_test_data): New array.
11913         (issubnormal_test): New function.
11914         * manual/arith.texi (Floating Point Classes): Document
11915         issubnormal.
11916         * manual/libm-err-tab.pl: Update comment on interfaces without
11917         ulps tabulated.
11919         * sysdeps/generic/stdint.h: Define
11920         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11921         <bits/libc-header-start.h> instead of including <features.h>.
11922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
11923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
11924         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
11925         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
11926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
11927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
11928         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
11929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
11930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
11931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
11932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
11933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
11934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
11935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
11936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
11937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
11938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
11939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
11940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
11941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
11942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
11943         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
11944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
11945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
11946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
11947         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
11948         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
11949         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
11950         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
11951         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
11952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
11953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
11954         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
11955         * manual/arith.texi (Integers): Document these macros for types
11956         specified by width properties.
11957         * manual/lang.texi (Width of Type): Document these macros for
11958         other standard typedefs.
11959         * stdlib/tst-width-stdint.c: New file.
11960         * stdlib/Makefile (tests): Add tst-width-stdint.
11962 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11964         [BZ #20016]
11965         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
11966         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
11967         Move ...
11968         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
11969         ... here, as compatibility symbols in a new file.
11970         * resolv/Makefile (libresolv-routines): Add compat-hooks.
11971         * resolv/res_init.c (__res_vinit): Adjust member names.
11972         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
11973         * resolv/resolv.h (res_sendhookact, res_send_qhook)
11974         (res_send_rhook): Remove.
11975         (struct __res_state): Rename qhook, rhook members.
11977 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11979         malloc: Use __libc_lock wrappers.
11980         * malloc/arena.c (list_lock, free_list_lock): Define using
11981         __libc_lock_define_initialized.
11982         (arena_lock): Adjust formatting.
11983         * malloc/malloc.c (struct malloc_state): Define mutex using
11984         __libc_lock_define.
11985         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
11986         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
11987         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
11988         (mutex_unlock, mutex_trylock): Remove.
11989         (__pthread_initialize): Remove unused macro.
11990         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
11991         (mutex_unlock, mutex_trylock): Remove.
11993 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11995         [BZ #20592]
11996         Remove RR type classification macros.
11997         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
11998         (ns_t_udp_p, ns_t_xfr_p): Remove.
12000 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12002         Remove misleading version information.
12003         * resolv/arpa/nameser.h (__NAMESER): Remove.
12004         * resolv/arpa/nameser_compat.h (__BIND): Remove.
12006 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12008         Remove the always-defined BIND_4_COMPAT macro.
12009         * resolv/arpa/nameser.h: Unconditionally include
12010         <arpa/nameser_compat.h>.
12011         (BIND_4_COMPAT): Remove.
12012         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
12014 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12016         [BZ #20591]
12017         Remove obsolete DNSSEC support.
12018         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
12019         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
12020         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
12021         (ns_verify_tcp, ns_verify_tcp_init): Remove.
12022         (ns_cert_types): Add comment.
12023         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
12024         separately.
12025         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
12026         (dst_s_dns_key_id): Remove.
12027         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
12028         variables.
12030 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12032         [BZ #20524]
12033         * manual/string.texi (String/Array Comparison): Clarify the
12034         strverscmp behavior.
12036 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12038         * test-skeleton.c (xasprintf): Add function.
12039         * io/tst-open-tmpfile.c: New test.
12040         * io/Makefile (tests): Add it.
12042 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12044         Avoid running $(CXX) during build to obtain header file paths.
12045         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
12046         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
12047         * Makerules (cstdlib, cmath): Remove variables.  Use
12048         $(c++-cstdlib-header), $(c++-cmath-header) instead.
12049         * configure: Regenerate.
12051 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12053         * Makeconfig (all-object-suffixes): Include .op only if
12054         $(build-profile).
12056 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12058         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
12059         conditionals.  Do not define PATH_MAX.
12061 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12063         * posix/Makefile (tests): Add tst-spawn3.
12064         * posix/tst-spawn3.c: New file.
12065         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
12066         if it is already opened for open action.
12068         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
12069         all signals when executing the clone vfork child.
12070         (SIGALL_SET): Remove macro.
12072         * nptl/Makefile (tests): Add tst-exec5.
12073         * nptl/tst-exec5.c: New file.
12074         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
12075         asynchronous cancellation.
12077 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12079         * hurd/exc2signal.c: #include <hurd/signal.h>
12080         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
12081         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
12082         accordingly.
12083         * mach/mach_error.c (mach_error): Fix old-style function definition.
12084         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
12086 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12088         * math/Makefile (libm-calls): Remove s_nanF.
12089         (gen-libm-calls): Add s_nanF.
12091         * math/s_nan.c: Refactor into ...
12092         * math/s_nan_template.c: New file.
12094         * math/s_nanf.c: Removed.
12095         * math/s_nanl.c: Removed.
12096         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
12097         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
12099         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12100         (LDOUBLE_nanl_libm_version): New macro.
12102         * sysdeps/generic/math-type-macros-double.h:
12103         (M_STRTO_NAN): New macro.
12104         * sysdeps/generic/math-type-macros-float.h: Likewise.
12105         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12107         * sysdeps/generic/math-type-macros.h: Document
12108         M_STRTO_NAN.
12110 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12112         * math/s_nanf.c: Remove __nanf undef.
12113         * math/s_nan.c: Remove __nan undef.
12114         * math/s_nanl.c: Remove __nanl undef.
12116         * sysdeps/generic/math_private.h (__nan): Remove macro
12117         override.
12118         (__nanf): Likewise.
12119         (__nanl): Likewise.
12121 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12123         * math/Makefile (gen-all-calls): New variable.
12124         (generated): Replace gen-libm-calls with gen-all-calls.
12125         (gen-libm-templates.stmp): Likewise.  Also, ensure
12126         the output directory exists or is created and add
12127         dependency on the Makefile.
12128         (calls): Move s_ldexpF into gen-calls.
12129         (gen-calls): New variable.
12131         * math/s_ldexpf.c: Removed.
12132         * math/s_ldexpl.c: Removed.
12133         * math/s_ldexp.c: Refactored into ...
12134         * math/s_ldexp_template.c: New file.
12136         * sysdeps/generic/math-type-macros-double.h: Remove
12137         redundant fall-through definition of declare_mgen_alias.
12138         (declare_mgen_alias_2): New macro.
12140         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
12141         New macro for function aliased to two exported symbols.
12143         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
12144         new template file.
12145         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12147 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12149         * Makeconfig (all-object-suffixes): Remove .og.
12150         * Makerules (elide-routines.og): Remove.
12151         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
12152         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
12153         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
12155 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12157         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
12158         .os objects.
12160 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12162         [BZ #20615]
12163         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
12164         fpu directory by non-fpu.
12165         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
12166         on non-fpu directory from a fpu directory.
12168 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
12170         * include/limits.h: Define
12171         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12172         <bits/libc-header-start.h> instead of including <features.h>.
12173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
12174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
12175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
12176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
12177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
12178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
12179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
12180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
12181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
12183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
12184         * manual/lang.texi (Width of Type): Document these macros.
12185         * stdlib/tst-width.c: New file.
12186         * stdlib/Makefile (tests): Add tst-width.
12188 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12190         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
12191         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
12193 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12195         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
12196         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12197         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12199 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12201         [BZ #18243]
12202         * rt/Makefile (test): Add tst-shm-cancel.
12203         * rt/tst-shm-cancel.c: New file.
12204         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
12206         [BZ #18243]
12207         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
12208         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
12209         definition.
12210         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
12211         uncontended case.
12212         * nptl/sem_wait.c (__new_sem_wait): Likewise.
12213         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
12214         (tf): Fix check for uncontended case.
12215         (do_test): Likewise.
12216         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
12217         (tf): Fix check for uncontended case.
12218         (do_test): Likewise.
12219         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
12220         (tf): Fix check for uncontended case.
12221         (do_test): Likewise.
12222         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
12223         (tf): Fix check for uncontended case.
12224         (do_test): Likewise.
12226         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
12227         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
12229         [BZ #15765]
12230         * nptl/Makefile (tests): Add tst-sem16.
12231         * nptl/tst-sem16.c: New file.
12232         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
12234         * nptl/sem_open.c (sem_open): Init pad value to 0.
12235         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12236         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12238 2016-09-15  Florian Weimer  <fweimer@redhat.com>
12240         [BZ #20611]
12241         * inet/Makefile (routines): Add inet6_scopeid_pton.
12242         (tests): Add tst-inet6_scopeid_pton.
12243         * inet/inet6_scopeid_pton.c: New file.
12244         * inet/net-internal.h: Likewise.
12245         * inet/tst-inet6_scopeid_pton.c: New test.
12246         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
12247         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
12248         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12250 2016-09-14  Florian Weimer  <fweimer@redhat.com>
12252         Remove support for compiling wrappers with PTW.
12253         * sysdeps/nptl/Makeconfig: Drop ptw- support.
12254         * nptl/Makefile (pthread-compat-wrappers): Define.
12255         (libpthread-routines): Use pthread-compat-wrappers.
12256         * sysdeps/unix/sysv/linux/alpha/Makefile
12257         (libpthread-routines, libpthread-shared-only-routines): Remove
12258         ptw- prefix.
12259         * sysdeps/s390/nptl/Makefile
12260         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12261         * sysdeps/ia64/nptl/Makefile
12262         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12263         * sysdeps/nacl/Makefile (libpthread-routines): Use
12264         pthread-compat-wrappers to filter the routines list instead of the
12265         ptw- prefix.
12267 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12269         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
12270         with L() and remove explicit suffix, convert real literals
12271         which can be equivalentally substituted with integers, and
12272         transform -L(x) to L(-x).
12274         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12275         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12276         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12277         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12278         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12279         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12280         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12281         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12282         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12283         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12284         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12285         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12287         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12288         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12289         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12290         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12291         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12292         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12293         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12294         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12295         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12296         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12297         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12298         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12299         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12300         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12301         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12302         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12303         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12304         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12305         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12306         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12307         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12308         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12309         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12310         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12311         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12312         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12313         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12314         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12315         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12316         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12317         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12318         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12319         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12320         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12321         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12322         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12323         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12325 2016-09-13  Florian Weimer  <fweimer@redhat.com>
12327         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
12329 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12331         * malloc/Makefile (tests): Remove individual static test names
12332         and just add all of tests-static.
12334         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
12336 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
12338         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
12339         file.
12341         * sysdeps/sparc/fpu/fegetmode.c: New file.
12342         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
12344         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
12345         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
12347         * sysdeps/s390/fpu/fegetmode.c: New file.
12348         * sysdeps/s390/fpu/fesetmode.c: Likewise.
12350         * sysdeps/powerpc/fpu/fegetmode.c: New file.
12351         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
12352         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
12353         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
12354         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
12355         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
12357         * sysdeps/mips/fpu/fegetmode.c: New file.
12358         * sysdeps/mips/fpu/fesetmode.c: Likewise.
12360         * sysdeps/m68k/fpu/fegetmode.c: New file.
12361         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
12363         * sysdeps/ia64/fpu/fegetmode.c: New file.
12364         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
12366         * sysdeps/hppa/fpu/fegetmode.c: New file.
12367         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
12369         * sysdeps/arm/fegetmode.c: New file.
12370         * sysdeps/arm/fesetmode.c: Likewise.
12372         * sysdeps/alpha/fpu/fegetmode.c: New file.
12373         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
12375         * sysdeps/aarch64/fpu/fegetmode.c: New file.
12376         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
12378         * math/fegetmode.c: New file.
12379         * math/fesetmode.c: Likewise.
12380         * sysdeps/i386/fpu/fegetmode.c: Likewise.
12381         * sysdeps/i386/fpu/fesetmode.c: Likewise.
12382         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
12383         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
12384         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
12385         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
12386         declaration.
12387         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
12388         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
12389         typedef.
12390         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12391         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12392         (femode_t): New typedef.
12393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12394         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12395         (femode_t): New typedef.
12396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12397         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12398         (femode_t): New typedef.
12399         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12400         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12401         (femode_t): New typedef.
12402         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12403         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12404         (femode_t): New typedef.
12405         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12406         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12407         (femode_t): New typedef.
12408         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12409         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12410         (femode_t): New typedef.
12411         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12412         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12413         (femode_t): New typedef.
12414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12415         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12416         (femode_t): New typedef.
12417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12418         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12419         (femode_t): New typedef.
12420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
12421         declaration.
12422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12423         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12424         (femode_t): New typedef.
12425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12426         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12427         (femode_t): New typedef.
12428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12429         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12430         (femode_t): New typedef.
12431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12432         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12433         (femode_t): New typedef.
12434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12435         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12436         (femode_t): New typedef.
12437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12438         * manual/arith.texi (FE_DFL_MODE): Document macro.
12439         (fegetmode): Document function.
12440         (fesetmode): Likewise.
12441         * math/Versions (fegetmode): New libm symbol at version
12442         GLIBC_2.25.
12443         (fesetmode): Likewise.
12444         * math/Makefile (libm-support): Add fegetmode and fesetmode.
12445         (tests): Add test-femode and test-femode-traps.
12446         * math/test-femode-traps.c: New file.
12447         * math/test-femode.c: Likewise.
12448         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
12449         alias for __fe_dfl_env.
12450         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
12451         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
12452         (__fe_dfl_mode): Likewise.
12453         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
12454         version GLIBC_2.25.
12455         * sysdeps/nacl/libm.abilist: Update.
12456         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12460         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12461         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12462         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12465         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12466         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12469         Likewise.
12470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12471         Likewise.
12472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12473         Likewise.
12474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12475         Likewise.
12476         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12477         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12478         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12480         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12482         Likewise.
12483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12484         Likewise.
12485         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12486         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12487         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12489 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12491         [BZ #20495]
12492         [BZ #20508]
12493         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
12494         processors, set Use_dl_runtime_resolve_slow and set
12495         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
12496         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
12497         New.
12498         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
12499         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
12500         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
12501         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
12502         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
12503         if Use_dl_runtime_resolve_opt is set.  Use
12504         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
12505         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
12506         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
12507         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
12508         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
12509         New.
12510         (_dl_runtime_resolve_opt): Likewise.
12511         (_dl_runtime_profile): Define only if _dl_runtime_profile is
12512         defined.
12514 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12516         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
12517         __libc_memalign with "+ RELA R_390_GLOB_DAT".
12519 2016-09-06  Florian Weimer  <fweimer@redhat.com>
12521         Convert malloc to __libc_lock.  Automated part, using this Perl
12522         s/// command:
12523           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
12524             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
12525         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
12526         conversion.
12528 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
12530         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
12531         (linknamespace-symlists-tests): Likewise.
12532         (linknamespace-header-tests): Likewise.
12534 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
12536         [BZ #19810]
12537         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
12538         * elf/tst-noload.c: New test case.
12539         * elf/Makefile (tests): Add tst-noload.
12541 2016-09-02  Roland McGrath  <roland@hack.frob.com>
12543         * sysdeps/nacl/dup.c: Add libc_hidden_def.
12545         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
12546         not any more.
12548         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
12550 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12552         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
12553         (do_cos_slow): Likewise.
12554         (do_sin): Likewise.
12555         (do_sin_slow): Likewise.
12556         (slow): Likewise.
12557         (slow1): Likewise.
12558         (slow2): Likewise.
12559         (sloww): Likewise.
12560         (sloww1): Likewise.
12561         (sloww2): Likewise.
12562         (bsloww): Likewise.
12563         (bsloww1): Likewise.
12564         (bsloww2): Likewise.
12565         (cslow2): Likewise.
12567         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
12569         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
12570         arguments.  Consolidate input partitioning from callers here.
12571         (do_cos_slow): Likewise.
12572         (do_sin): Likewise.
12573         (do_sin_slow): Likewise.
12574         (do_sincos_1): Remove the no longer necessary input partitioning.
12575         (do_sincos_2): Likewise.
12576         (__sin): Likewise.
12577         (__cos): Likewise.
12578         (slow1): Likewise.
12579         (slow2): Likewise.
12580         (sloww1): Likewise.
12581         (sloww2): Likewise.
12582         (bsloww1): Likewise.
12583         (bsloww2): Likewise.
12584         (cslow2): Likewise.
12586 2016-09-02  Florian Weimer  <fweimer@redhat.com>
12588         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
12589         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
12590         outside of allocated array.
12592 2016-09-02  Florian Weimer  <fweimer@redhat.com>
12594         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
12595         instead of MB_CUR_MAX to avoid variable-length array.
12597 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12599         * math/Makefile (libm-calls): Remove k_rem_pio2F.
12600         (type-double-routines): Add k_rem_pio2.
12601         (type-float-routines): Add k_rem_pio2f.
12603         * sysdeps/generic/math_private.h:
12604         (__kernel_rem_pio2l): Removed.
12606         * math/k_rem_pio2l.c: Removed.
12607         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
12608         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
12609         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
12610         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
12612 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12614         * math/Makefile (gen-libm-calls): Add s_fmin
12615         (libm-calls): Remove above.
12617         * math/s_fmin.c: Refactor into ...
12618         * math/s_fmin_template.c: New file.
12620         * math/s_fminf.c: Removed.
12621         * math/s_fminl.c: Removed.
12622         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12623         (LDOUBLE_fmin_libm_version): New macro.
12625         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
12626         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
12628 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12630         * math/Makefile: (gen-libm-calls): Add s_fmax.
12631         (libm-calls): Remove above.
12633         * math/s_fmax.c: Refactor into ...
12634         * math/s_fmax_template.c: New file.
12635         * math/s_fmaxf.c: Removed.
12636         * math/s_fmaxl.c: Removed.
12638         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12639         (LDOUBLE_fmaxl_libm_version): New macro.
12641         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
12642         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
12644         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
12645         s_fmin.c to pick the aarch64 version of the file.
12646         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
12647         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
12649 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12651         * math/Makefile: (gen-libm-calls): Add s_nextdown.
12652         (libm-calls): Remove above.
12654         * math/s_nextdown.c: Refactor into ...
12655         * math/s_nextdown_template.c: New file.
12656         * math/s_nextdownf.c: Removed.
12657         * math/s_nextdownl.c: Removed.
12659         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
12661 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12663         * math/Makefile (gen-libm-calls): Add s_fdim.
12664         (libm-calls): Move to above.
12666         * math/s_fdim.c: Renamed and refactored into to ...
12667         * math/s_fdim_template.c: New file.
12668         * math/s_fdiml.c: Removed.
12669         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
12670         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
12672         * sysdeps/generic/math-type-macros-double.h:
12673         (declare_mgen_alias): Don't declare if already declared.
12674         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
12675         Likewise.
12677         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12678         (declare_mgen_alias): Don't declare if already declared.
12679         (M_LIBM_NEED_COMPAT): Likewise.
12680         (declare_mgen_libm_compat): Likewise.
12681         (LDOUBLE_fdiml_libm_version): New macro.
12683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12684         Include math/s_fdim.c now that ldbl-opt version is not needed.
12685         (declare_mgen_alias): New macro to disable aliasing.
12687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
12688         (declare_mgen_alias): Likewise.
12689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
12690         (declare_mgen_alias): Likewise.
12691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
12692         (declare_mgen_alias): Likewise.
12693         (M_LIBM_NEED_COMPAT): Likewise.
12695 2016-09-01  Florian Weimer  <fweimer@redhat.com>
12697         [BZ #20525]
12698         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
12699         Include <linux/quota.h>.
12700         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
12701         and btodb.
12702         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
12703         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
12704         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
12705         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
12706         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
12707         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
12708         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
12709         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
12710         types.
12711         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
12712         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
12714 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12716         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
12717         (gammal_positive): Fix spacing.
12718         (__ieee754_gammal_r): Likewise.
12720 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12722         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
12723         (_Float128): Define as long double, always.
12724         (L): Apply long double type suffix, always.
12726         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
12727         _Float128, excepting comments.
12729         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12730         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12731         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12732         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12733         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12734         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12735         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12736         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12737         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12738         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
12739         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12740         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12741         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12742         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12743         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12744         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12745         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12746         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12747         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12748         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12749         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12750         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12751         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12752         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12753         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12754         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12755         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12756         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12757         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12758         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12759         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12760         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12761         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12762         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12763         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12764         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12765         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12766         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12767         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12768         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12769         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12770         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12771         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12772         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12773         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12774         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12775         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12776         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12777         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12778         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12779         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12780         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12781         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12782         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12783         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12784         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12785         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12786         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12787         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12788         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12789         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12790         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12791         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12792         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12793         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12794         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12795         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12796         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12798         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
12799         _Float128, and include math_private.h.
12800         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12802         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
12803         long double semantics.
12804         (_Float128): Likewise.
12805         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
12806         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12807         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12808         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12810 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12812         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
12813         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
12814         * sysdeps/s390/configure: Regenerated.
12815         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
12816         instruction for raising over-/underflow if z196 zarch is supported
12817         by default.
12818         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
12820 2016-08-30  Svante Signell  <svante.signell@gmail.com>
12822         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
12823         it point to a dumb buffer for RPC to fill it.
12825 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12827         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
12828         instead of if/else.
12829         (do_sin_slow): Likewise.
12830         (do_sincos_1): Use fabs instead of if/else.
12831         (do_sincos_2): Likewise.
12832         (__sin): Likewise.
12833         (__cos): Likewise.
12834         (slow2): Likewise.
12835         (sloww): Likewise.
12836         (sloww1): Likewise.  Drop argument M.
12837         (sloww2): Use fabs instead of if/else.
12838         (bsloww): Likewise.
12839         (bsloww1): Likewise.
12840         (bsloww2): Likewise.
12842         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
12843         fall through comment.
12844         (do_sincos_1): Likewise.
12846         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
12847         Consolidate switch cases 0 and 2.
12849 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12851         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
12852         (libm-calls): Remove the above.
12854         * math/s_cexp_template.c: Update using type-generic macros.
12855         * math/s_clog10_template.c: Likewise.
12856         * math/s_cpow_template.c: Likewise.
12857         * math/s_clog_template.c: Likewise.
12858         * math/s_cproj_template.c: Likewise.
12859         * math/s_csqrt_template.c: Likewise.
12861         * math/s_cexp.c: Removed.
12862         * math/s_cexpf.c: Removed.
12863         * math/s_cexpl.c: Removed.
12864         * math/s_clog10.c: Removed.
12865         * math/s_clog10f.c: Removed.
12866         * math/s_clog10l.c: Removed.
12867         * math/s_cpow.c: Removed.
12868         * math/s_cpowf.c: Removed.
12869         * math/s_cpowl.c: Removed.
12870         * math/s_clog.c: Removed.
12871         * math/s_clogf.c: Removed.
12872         * math/s_clogl.c: Removed.
12873         * math/s_cproj.c: Removed.
12874         * math/s_cprojf.c: Removed.
12875         * math/s_cprojl.c: Removed.
12876         * math/s_csqrt.c: Removed.
12877         * math/s_csqrtf.c: Removed.
12878         * math/s_csqrtl.c: Removed.
12880         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
12881         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
12882         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
12883         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
12884         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
12885         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
12887         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
12888         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
12889         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
12890         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
12891         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
12892         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
12893         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
12894         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
12895         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
12896         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
12897         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
12899         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
12900         version.
12902         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
12903         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
12904         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
12905         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
12907 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12909         * s_cexp_template.c: Copy of s_cexp.c.
12910         * s_clog_template.c: Copy of s_clog.c.
12911         * s_clog10_template.c: Copy of s_clog10.c.
12912         * s_cpow_template.c: Copy of s_cpow.c.
12913         * s_cproj_template.c: Copy of s_cproj.c.
12914         * s_csqrt_template.c: Copy of s_csqrt.c.
12916 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12918         [BZ #20517]
12919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12920         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
12921         exported.
12923 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
12925         * math/fetestexceptflag.c: New file.
12926         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
12927         Stefan Liebler.
12928         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12929         (fetestexceptflag): New function declaration.
12930         * manual/arith.texi (fetestexceptflag): Document function.
12931         * math/Versions (fetestexceptflag): New libm symbol at version
12932         GLIBC_2.25.
12933         * math/Makefile (libm-support): Add fetestexceptflag.
12934         (tests): Add test-fetestexceptflag.
12935         * math/test-fetestexceptflag.c: New file.
12936         * sysdeps/nacl/libm.abilist: Update.
12937         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12938         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12939         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12940         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12941         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12942         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12943         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12944         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12945         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12946         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12947         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12948         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12950         Likewise.
12951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12952         Likewise.
12953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12954         Likewise.
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12956         Likewise.
12957         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12958         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12959         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12960         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12961         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12963         Likewise.
12964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12965         Likewise.
12966         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12967         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12968         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12970 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12972         [BZ #20432]
12973         Avoid strong references to malloc-internal symbols when linking
12974         statically, to support statically interposed mallocs.
12975         * include/libc-symbols.h (call_function_static_weak): New macro.
12976         * malloc/Makefile (tests): Add tst-interpose-nothread,
12977         tst-interpose-thread, tst-interpose-static-nothread,
12978         tst-interpose-static-thread.
12979         (tests-static): Add tst-interpose-static-nothread,
12980         tst-interpose-static-thread.
12981         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
12982         tst-interpose-aux-thread.o.
12983         (test-extras): Add tst-interpose-aux-nothread,
12984         tst-interpose-aux-thread.
12985         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
12986         tst-interpose-aux-nothread.o.
12987         (tst-interpose-thread, tst-interpose-static-thread): Link with
12988         tst-interpose-aux-thread.o and libthread.
12989         * malloc/tst-interpose-aux-nothread.c: New file.
12990         * malloc/tst-interpose-aux-thread.c: Likewise.
12991         * malloc/tst-interpose-aux.c: Likewise.
12992         * malloc/tst-interpose-aux.h: Likewise.
12993         * malloc/tst-interpose-nothread.c: Likewise.
12994         * malloc/tst-interpose-skeleton.c: Likewise.
12995         * malloc/tst-interpose-static-nothread.c: Likewise.
12996         * malloc/tst-interpose-static-thread.c: Likewise.
12997         * malloc/tst-interpose-thread.c: Likewise.
12998         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
12999         * sysdeps/mach/hurd/fork.c (__fork): Only call
13000         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13001         __malloc_fork_unlock_child if defined.
13002         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13004 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13006         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
13007         timespec C99 designated initialization.
13009 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13011         [BZ #19946]
13012         Avoid expected SIGALRM signals.
13013         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
13014         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
13015         (xpthread_create, xpthread_detach, xpthread_join)
13016         (delayed_exit_thread, delayed_exit): New functions.
13017         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
13018         (tf): Use xpthread_cond_wait.
13019         (do_test): Likewise.  Replace alarm with delayed_exit.
13020         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13021         (do_test): Call delayed_exit.  Report failure.
13022         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13023         (do_test): Call delayed_exit.
13024         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13025         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
13026         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13027         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
13028         error.
13029         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13030         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
13031         error.
13032         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
13033         (do_test): Call delayed_exit.
13034         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
13035         (do_test): Call delayed_exit.
13036         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
13037         (do_test): Call delayed_exit instead of alarm.  Use
13038         xpthread_mutex_lock.
13039         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
13040         (do_test): Call delayed_exit instead of alarm.  Use
13041         xpthread_mutex_lock.
13042         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
13043         (do_test): Call delayed_exit instead of alarm.
13044         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
13045         (do_test): Call delayed_exit instead of alarm.  Use
13046         xpthread_spin_lock.
13047         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
13048         (do_test): Call delayed_exit instead of alarm.  Use
13049         xpthread_join.
13051 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13053         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
13054         adjust CFA when allocating register save area on re-aligned
13055         stack.
13057 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13059         * string/tst-cmp.c: New test.
13060         * string/Makefile (tests): Add it.
13062 2016-08-25  Mark Wielaard  <mark@klomp.org>
13064         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
13065         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
13066         (check_tree_recurse): Use newly defined accessors.
13067         (check_tree): Likewise.
13068         (maybe_split_for_insert): Likewise.
13069         (__tfind): Likewise.
13070         (__tdelete): Likewise.
13071         (trecurse): Likewise.
13072         (tdestroy_recurse): Likewise.
13073         (__tsearch): Likewise. And add asserts for malloc alignment.
13074         (__twalk): Cast root to node in case CHECK_TREE is defined.
13076 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13078         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
13080 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13082         * math/Makefile (libm-gen-calls): Add
13083         catan, catanh, ctan, ctanh.
13084         (libm-calls): Remove the above.
13086         * math/s_catan_template.c: Update using type-generic macros.
13087         * math/s_catanh_template.c: Likewise.
13088         * math/s_ctan_template.c: Likewise.
13089         * math/s_ctanh_template.c: Likewise.
13091         * math/s_catanf.c: Removed.
13092         * math/s_catan.c: Removed.
13093         * math/s_catanl.c: Removed.
13094         * math/s_catanhf.c: Removed.
13095         * math/s_catanh.c: Removed.
13096         * math/s_catanhl.c: Removed.
13097         * math/s_ctanf.c: Removed.
13098         * math/s_ctan.c: Removed.
13099         * math/s_ctanl.c: Removed.
13100         * math/s_ctanhf.c: Removed.
13101         * math/s_ctanh.c: Removed.
13102         * math/s_ctanhl.c: Removed.
13104         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
13105         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
13106         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
13107         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
13108         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
13109         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
13111         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
13112         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
13113         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
13114         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
13116 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13118         * s_catan_template.c: Copy of s_catan.c.
13119         * s_catanh_template.c: Copy of s_catanh.c.
13120         * s_ctan_template.c: Copy of s_ctan.c.
13121         * s_ctanh_template.c: Copy of s_ctanh.c.
13123 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13125         * math/Makefile (gen-libm-calls): Move
13126         casin, casinh, csin, csinh here.
13127         (libm-calls): Remove the above.
13129         * math/s_casin_template.c: Update using type-generic macros.
13130         * math/s_casinh_template.c: Likewise.
13131         * math/s_csin_template.c: Likewise.
13132         * math/s_csinh_template.c: Likewise.
13133         * math/k_casinh_template.c: Likewise.
13135         * math/s_casinf.c: Removed.
13136         * math/s_casin.c: Removed.
13137         * math/s_casinl.c: Removed.
13138         * math/s_casinh.c: Removed.
13139         * math/s_casinhf.c: Removed.
13140         * math/s_casinhl.c: Removed.
13141         * math/s_csin.c: Removed.
13142         * math/s_csinf.c: Removed.
13143         * math/s_csinl.c: Removed.
13144         * math/s_csinh.c: Removed.
13145         * math/s_csinhf.c: Removed.
13146         * math/s_csinhl.c: Removed.
13147         * math/k_casinh.c: Removed.
13148         * math/k_casinhf.c: Removed.
13149         * math/k_casinhl.c: Removed.
13151         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
13152         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
13153         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
13154         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
13156         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
13157         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
13158         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
13159         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
13160         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
13161         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
13162         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
13163         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
13165         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
13166         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
13167         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
13168         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
13170         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
13171         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
13172         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
13173         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
13175 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13177         * s_casin_template.c: Copy of s_casin.c.
13178         * s_casinh_template.c: Copy of s_casinh.c.
13179         * s_csin_template.c: Copy of s_csin.c.
13180         * s_csinh_template.c: Copy of s_csinh.c.
13181         * k_casinh_template.c: Copy of k_casinh.c.
13183 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13185         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
13187 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13189         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
13190         (mul_split) Remove, rename as mul_splitl, remove
13191         redundant float.h include, and include via mul_splitl.h
13193         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13194         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13195         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13196         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13197         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13199         * math/mul_splitl.h: New file.
13201         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
13202         Move into mul_split.h, and remove redundant float.h include.
13204         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13205         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13206         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13207         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
13209         * math/mul_split.h: New file.
13211 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13213         * math/Makefile (libm-gen-calls): Move
13214         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
13215         (libm-calls): Remove above.
13217         * math/s_cacos_template.c: Update using type-generic macros.
13218         * math/s_cacosh_template.c: Likewise.
13219         * math/s_ccos_template.c: Likewise.
13220         * math/s_ccosh_template.c: Likewise.
13222         * math/s_cacosf.c: Removed.
13223         * math/s_cacos.c: Removed.
13224         * math/s_cacosl.c: Removed.
13225         * math/s_cacoshf.c: Removed.
13226         * math/s_cacosh.c: Removed.
13227         * math/s_cacoshl.c: Removed.
13228         * math/s_ccosf.c: Removed.
13229         * math/s_ccos.c: Removed.
13230         * math/s_ccosl.c: Removed.
13231         * math/s_ccoshf.c: Removed.
13232         * math/s_ccosh.c: Removed.
13233         * math/s_ccoshl.c: Removed.
13235         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
13236         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
13237         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
13238         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
13239         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
13240         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
13242         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
13243         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
13244         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
13245         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
13247         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
13248         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
13249         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
13250         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
13252 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13254         * s_cacos_template.c: Copy of s_cacos.c.
13255         * s_cacosh_template.c: Copy of s_cacosh.c.
13256         * s_ccos_template.c: Copy of s_ccos.c.
13257         * s_ccosh_template.c: Copy of s_ccosh.c.
13259 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13261         * stdlib/tst-strtod-round-skeleton.c:
13262         Refactored from tst-strtod-round.c.
13264         (L_): New macro to apply literal modifier.
13265         (FNPFX): New macro to select str or wcs prefix.
13266         (CHAR): New macro to choose wchar_t or char.
13267         (STRM): New macro to choose printf for tested character type.
13269         (STRTO): New macro to choose appropriate string -> real function.
13270         (FNPFXS): Stringitized version of FNPFX.
13271         (STR): Support for above macro.
13272         (STRX): Likewise.
13274         (TEST): Update with above macros.
13275         (test): Likewise.
13276         (GEN_ONE_TEST): Likewise.
13277         (test_in_one_mode): Likewise.
13279         * stdlib/tst-strtod-round.c: New file.
13280         * wcsmbs/tst-wcstod-round.c: New file.
13282         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
13283         (tst-wcstod-round): Add libm depencency for fesetround.
13285 2016-08-19  Zack Weinberg  <zackw@panix.com>
13287         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
13289 2016-08-18  Torvald Riegel  <triegel@redhat.com>
13291         [BZ #20477]
13292         * resolv/res_hconf.c (do_init): Use atomic access.
13293         * resolv/res_hconf.h: Add comments.
13294         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
13295         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
13296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13298 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13300         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13301         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
13302         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13303         Likewise.
13305 2016-08-18  Florian Weimer  <fweimer@redhat.com>
13307         [BZ #16907]
13308         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
13309         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
13310         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
13311         (__attribute__): Remove definition.
13313 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13315         * sysdeps/ieee754/ldbl-128/e_asinl.c:
13316         Remove unused sqrtl declaration.
13318 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13320         * math/Makefile: (gen-libm-templates.stmp): New rule.
13321         (libm-calls): Move carg conj cimag and cabs into ...
13322         (gen-libm-calls): New variable.
13323         (generated): Inform Make objects from gen-libm-calls
13324         may be generated.
13326         * sysdeps/generic/math-type-macros.h: New file.
13327         * sysdeps/generic/math-type-macros-float.h: Likewise.
13328         * sysdeps/generic/math-type-macros-double.h: Likewise.
13329         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13330         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
13331         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
13333         * math/cabs.c: Refactor into
13334         * math/cabs_template.c: new file.
13335         * math/cabsf.c: Removed.
13336         * math/cabsl.c: Removed.
13337         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
13338         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
13340         * math/carg.c: Refactor into
13341         * math/carg_template.c: new file.
13342         * math/cargf.c: Removed.
13343         * math/cargl.c: Removed.
13344         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
13345         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
13347         * math/conj.c: Refactor into
13348         * math/conj_template.c: new file.
13349         * math/conjf.c: Removed.
13350         * math/conjl.c: Removed.
13351         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
13352         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
13354         * math/cimag.c: Refactor into
13355         * math/cimag_template.c: new file.
13356         * math/cimagf.c: Removed.
13357         * math/cimagl.c: Removed.
13358         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13359         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13361         * math/cimag.c: Refactor into
13362         * math/cimag_template.c: new file.
13363         * math/cimagf.c: Removed.
13364         * math/cimagl.c: Removed.
13365         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13366         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13368 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13370         Reduce time to expected nptl/tst-once5 failure.
13371         * nptl/tst-once5.cc (TIMEOUT): Define.
13373 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13375         [BZ #20452]
13376         Avoid additional copies of objects in libc.a in static libraries.
13377         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
13378         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
13379         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
13380         rt-sysdep.
13381         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
13382         Add nptl-sysdep.
13383         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
13384         Add ptw-sysdep.
13385         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
13386         rt-sysdep.
13387         * sysdeps/unix/sysv/linux/alpha/Makefile
13388         (libpthread-shared-only-routines): Add ptw-sysdep,
13389         ptw-sigprocmask, ptw-rt_sigaction.
13390         * sysdeps/unix/sysv/linux/ia64/Makefile
13391         (librt-shared-only-routines): Add rt-sysdep.
13392         * sysdeps/unix/sysv/linux/i386/Makefile
13393         (libpthread-shared-only-routines): Add libc-do-syscall.
13394         * sysdeps/unix/sysv/linux/microblaze/Makefile
13395         (libpthread-shared-only-routines): Add sysdep.
13396         * sysdeps/unix/sysv/linux/powerpc/Makefile
13397         (librt-shared-only-routines): Add rt-sysdep.
13398         (libpthread-shared-only-routines): Add sysdep.
13399         * sysdeps/unix/sysv/linux/s390/Makefile
13400         (librt-shared-only-routines): Add rt-sysdep.
13401         * sysdeps/unix/sysv/linux/sparc/Makefile
13402         (librt-shared-only-routines): Add rt-sysdep.
13403         (libpthread-shared-only-routines): Add sysdep.
13404         * sysdeps/unix/sysv/linux/tile/Makefile
13405         (libpthread-shared-only-routines): Likewise.
13407 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
13409         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
13410         Mask implicit bit out of unpacked value.
13411         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
13412         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
13413         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
13415         * sysdeps/sparc/fpu/fesetexcept.c: New file.
13417         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
13419         * sysdeps/s390/fpu/fesetexcept.c: New file.
13421         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
13422         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
13423         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
13425         * sysdeps/mips/fpu/fesetexcept.c: New file.
13427         * sysdeps/m68k/fpu/fesetexcept.c: New file.
13429         * sysdeps/ia64/fpu/fesetexcept.c: New file.
13431         * sysdeps/hppa/fpu/fesetexcept.c: New file.
13433         * sysdeps/arm/fesetexcept.c: New file.
13435         * sysdeps/alpha/fpu/fesetexcept.c: New file.
13437         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
13439         * math/fesetexcept.c: New file.
13440         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
13441         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
13442         * math/fenv.h: Define
13443         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13444         <bits/libc-header-start.h> instead of including <features.h>.
13445         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
13446         declaration.
13447         * manual/arith.texi (fesetexcept): Document function.
13448         * math/Versions (fesetexcept): New libm symbol at version
13449         GLIBC_2.25.
13450         * math/Makefile (libm-support): Add fesetexcept.
13451         (tests): Add test-fesetexcept and test-fesetexcept-traps.
13452         * math/test-fesetexcept.c: New file.
13453         * math/test-fesetexcept-traps.c: Likewise.
13454         * sysdeps/nacl/libm.abilist: Update.
13455         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13456         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13457         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13458         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13459         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13460         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13461         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13462         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13463         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13464         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13465         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13466         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13468         Likewise.
13469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13470         Likewise.
13471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13472         Likewise.
13473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13474         Likewise.
13475         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13476         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13477         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13478         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13479         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13481         Likewise.
13482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13483         Likewise.
13484         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13485         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13486         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13488 2016-08-16  Florian Weimer  <fweimer@redhat.com>
13490         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
13491         New.
13492         (do_test): Apply default_stack_size_in_mb if not set.
13493         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
13495 2016-08-15  Andreas Schwab  <schwab@suse.de>
13497         [BZ #20435]
13498         CVE-2016-6323
13499         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
13500         as .cantunwind.
13502 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
13504         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
13505         comment from fraiseexcpt.c.
13507         * math/test-fexcept.c (feraiseexcept_exact): New function.
13508         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
13509         (test_except): Likewise.
13511 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
13513         [BZ #20455]
13514         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
13515         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
13516         to be restored.
13518         * math/test-fexcept-traps.c: New file.
13519         * math/test-fexcept.c: Likewise.
13520         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
13521         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
13522         macro.
13523         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
13524         (EXCEPTION_SET_FORCES_TRAP): Likewise.
13526 2016-08-09  Torvald Riegel  <triegel@redhat.com>
13528         * include/atomic.h (atomic_fetch_and_relaxed,
13529         atomic_fetch_and_release, atomic_fetch_or_release,
13530         atomic_fetch_xor_release): New.
13532 2016-08-06  Christian Seiler  <christian@iwakd.de>
13534         [BZ #20444]
13535         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
13536         MACH_PORT_NULL.
13538 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
13540         * math/s_fdim.c: Avoid alias renamed.
13541         * math/s_fdimf.c: Likewise.
13542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13543         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13544         Add s_fdimf-vis3, s_fdim-vis3.
13545         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13546         (CFLAGS-s_fdim-vis3.c): Likewise.
13547         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
13548         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
13550 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
13552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13553         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13554         Remove s_fdimf-vis3, s_fdim-vis3.
13555         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
13556         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
13557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
13558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
13559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
13560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
13561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
13562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
13563         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
13564         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
13566 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
13568         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
13569         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
13570         -Wa,-Av9a -mvis.
13572 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13574         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
13575         LIT() to individual constants in simple expressions
13576         after splitting on spaces.
13577         (_apply_lit): Rename replaced version, and use it to
13578         apply to what appears to be a token.
13580         * math/libm-test.inc: Fix many, many issues with
13581         spacing.
13583 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
13585         * math/math.h: Move comment about <bits/mathdef.h> definitions
13586         above inclusion of <bits/mathdef.h>.  Do not mention
13587         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
13589 2016-08-05  Torvald Riegel  <triegel@redhat.com>
13591         * include/atomic.h (atomic_exchange_relaxed): New.
13593 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
13595         * math/e_scalb.c: Do not include <fenv.h>.
13596         (invalid_fn): Do calculation resulting in NaN instead of raising
13597         FE_INVALID and returning a NaN explicitly.
13598         * math/e_scalbf.c: Do not include <fenv.h>.
13599         (invalid_fn): Do calculation resulting in NaN instead of raising
13600         FE_INVALID and returning a NaN explicitly.
13601         * math/e_scalbl.c: Do not include <fenv.h>.
13602         (invalid_fn): Do calculation resulting in NaN instead of raising
13603         FE_INVALID and returning a NaN explicitly.
13605 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
13607         * po/de.po: Updated from Translation Project.
13608         * po/fi.po: Likewise.
13609         * po/sv.po: Likewise.
13611 2016-08-04  Florian Weimer  <fweimer@redhat.com>
13613         [BZ #20452]
13614         Use sysdep.o from libc.a in static libraries.
13615         * sysdeps/unix/sysv/linux/i386/Makefile
13616         (libpthread-shared-only-routines): Add sysdep.
13617         (librt-shared-only-routines): Likewise.
13619 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13621         * math/tgmath.h (nextdown): Define if
13622         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
13623         (nextup): Likewise.
13625         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
13626         macro.
13627         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13628         Document.
13629         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13630         Document macro.
13631         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
13632         (exp10f): Likewise.
13633         (exp10l): Likewise.
13634         * math/bits/mathcalls.h (exp10): Declare if
13635         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
13637         * manual/arith.texi (nextup): Fix typo in last change.
13639 2016-08-03  Zack Weinberg  <zackw@panix.com>
13641         [BZ #19239]
13642         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
13643         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
13644         define major, minor, and makedev to issue deprecation warnings on use.
13645         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
13646         previously-activated deprecation warnings for these macros and prevent
13647         subsequent inclusions of this header from having any effect.
13648         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
13649         including <sys/sysmacros.h>, and undefine it again afterward.
13651 2016-08-03  Zack Weinberg  <zackw@panix.com>
13653         * sysdeps/generic/sys/sysmacros.h: Delete file.
13654         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
13655         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
13656         * bits/sysmacros.h: ... here; this encoding is now the generic
13657         encoding.  Now defines only the following macros:
13658         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
13659         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
13660         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
13662         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
13663         bits/sysmacros.h and the above new macros to generate the
13664         public implementations of major, minor, and makedev.
13665         * misc/tst-makedev.c: New test.
13666         * include/sys/sysmacros.h: New wrapper.
13668         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
13669         (routines): Add makedev.
13670         (tests): Add tst-makedev.
13671         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
13672         gnu_dev_makedev.
13673         * posix/Makefile (headers): Remove sys/sysmacros.h.
13674         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
13676         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
13677         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
13678         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13679         * sysdeps/unix/sysv/linux/alpha/libc.abilist
13680         * sysdeps/unix/sysv/linux/arm/libc.abilist
13681         * sysdeps/unix/sysv/linux/hppa/libc.abilist
13682         * sysdeps/unix/sysv/linux/i386/libc.abilist
13683         * sysdeps/unix/sysv/linux/ia64/libc.abilist
13684         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13685         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13686         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13687         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13688         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13689         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13690         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13691         * sysdeps/unix/sysv/linux/nios2/libc.abilist
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13696         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13697         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13698         * sysdeps/unix/sysv/linux/sh/libc.abilist
13699         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13700         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13703         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13704         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13705         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13706         Add GLIBC_2.25.
13708         * include/features.h (__glibc_clang_prereq): New macro.
13709         * misc/sys/cdefs.h (__glibc_clang_has_extension)
13710         (__attribute_deprecated_msg__): New macros.
13712 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13714         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
13715         macro.
13716         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
13717         * manual/arith.texi (issignaling): Document as ISO from TS
13718         18661-1:2014.
13719         (nextup): Likewise.
13720         (nextupf): Likewise.
13721         (nextupl): Likewise.
13722         (nextdown): Likewise.
13723         (nextdownf): Likewise.
13724         (nextdownl): Likewise.
13725         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
13726         macro.
13727         * math/math.h: Define
13728         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13729         <bits/libc-header-start.h> instead of including <features.h>.
13730         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
13731         [__USE_GNU].
13732         * math/bits/mathcalls.h (nextdown): Declare if
13733         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
13734         (nextup): Likewise.
13735         (__issignaling): Likewise.
13737 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13739         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
13740         check, and remove __glibc_likely hint
13741         from FP_INFINITE check.
13742         * s_csinhf.c (__csinhf): Likewise.
13744         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
13745         hint from FP_INFINITE check.
13746         * s_csinhl.c (__csinhl): Likewise.
13748 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13750         * math/Makefile (libm-calls): Insert F placeholder into
13751         object names.  Move w_lgamma_compat* routines into
13752         (libm-compat-calls): New variable.
13753         (libm-compat-calls-ldouble-yes): New variable.
13754         (calls): Insert F placeholder.
13755         (generated): Redefine using new type-foreach macro call.
13756         (routines): Likewise.
13758         (types): New variable to hold a list of symbolic names
13759         for each type supported by the target machine.
13760         (libm-routines): Redefine using new types variable.
13761         (type-foreach): macro to replace fooF with the
13762         appropriately suffixed foo for each types.
13764         (type-ldouble-suffix): New variable.
13765         (type-ldouble-routines): Likewise.
13766         (type-ldouble-yes): Likewise.
13767         (type-double-suffix): Likewise.
13768         (type-double-routines): Likewise.
13769         (type-float-suffix): Likewise.
13770         (type-float-routines): Likewise.
13772         (dbl-only-routines): Remove.
13773         (long-c-yes): Likewise.
13774         (long-m-routines): Likewise.
13775         (long-m-support): Likewise.
13776         (long-m-yes): Likewise.
13777         (test-longdouble-yes): Likewise.
13779         (test-float.o): Simplify by increasing the scope of the
13780         recipe which adds libm-test.stmp to the vector types.
13781         (test-ifloat.o): Likewise.
13782         (test-float-finite.o): Likewise.
13783         (test-double.o): Likewise
13784         (test-idouble.o): Likewise.
13785         (test-double-finite.o): Likewise.
13786         (test-ldouble.o): Likewise
13787         (test-ildoubl.o): Likewise.
13788         (test-ldouble-finite.o): Likewise.
13790         (libm-tests): Redefine type tests using foreach and the
13791         list of types in types.
13793         (CPPFLAGS-test-ildoubl.c): Rename to
13794         (CPPFLAGS-test-ildouble.c): New variable
13796         * math/test-ildoubl.c: Rename to
13797         * math/test-ildouble.c: New file.
13799 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13801         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
13802         Use fabsl instead of fabs.
13803         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
13804         Likewise.
13805         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
13806         Add long double suffix to constant to ensure proper
13807         promotion to long double.
13809 2016-08-03  Tom Tromey  <tom@tromey.com>
13811         [BZ #20311]
13812         * nptl_db/Makefile (headers): Add proc_service.h.
13813         * nptl_db/proc_service.h: Add include guard.  Use
13814         __BEGIN/__END_DECLS.
13815         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
13816         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
13817         arguments.
13820 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13822         [BZ #17730]
13823         Avoid using memalign for TCB allocations.
13824         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
13825         (_dl_allocate_tls_storage): Use malloc and manual alignment.
13826         Avoid alignment gap in the TLS_DTV_AT_TP case.
13827         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
13828         determine the pointer to free.
13829         * nptl/tst-tls3-malloc.c: New test.
13830         * nptl/Makefile (tests): Add it.
13831         (tst-tls3-malloc): Link with libdl, libpthread.
13832         (LDFLAGS-tst-tls3-malloc): Set.
13833         (tst-tls3-malloc.out): Depend on DSO used in test.
13835 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13837         [BZ #17730]
13838         Avoid using memalign for TLS allocations.
13839         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
13840         is_static member with to_free member.
13841         (union dtv): Use struct dtv_pointer.
13842         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
13843         dtv_pointer instead of is_static.
13844         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
13845         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
13846         instead of val.
13847         (allocate_dtv_entry): New function.
13848         (allocate_and_init): Return struct dtv_pointer.  Call
13849         allocate_dtv_entry instead of __libc_memalign.
13850         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
13851         instead of val.
13852         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
13853         instead of is_static.  Adjust call to allocate_and_init.
13854         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
13855         struct dtv_pointer instead of val.
13857 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13859         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
13860         (MALLOC_ALIGN_MASK): Move ...
13861         * malloc/malloc-internal.h: ... to here.
13862         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
13864 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13866         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
13867         (UDP_ENCAP_GTP1U): Likewise.
13869         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
13870         (PF_MAX): Update value.
13871         (AF_QIPCRTR): New macro.
13873 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13875         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
13876         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13877         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13878         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13879         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13880         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13881         s_truncf-vis3, s_trunc-vis3.
13882         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13883         (CFLAGS-s_ceil-vis3.c): Likewise.
13884         (CFLAGS-s_floorf-vis3.c): Likewise.
13885         (CFLAGS-s_floor-vis3.c): Likewise.
13886         (CFLAGS-s_truncf-vis3.c): Likewise.
13887         (CFLAGS-s_trunc-vis3.c): Likewise.
13888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
13889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
13891         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
13893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
13895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13896         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
13897         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13898         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
13899         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13901 2016-08-02  David S. Miller  <davem@davemloft.net>
13903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13904         (__nearbyint_vis3): Don't check for sNaN before float register is
13905         loaded with the incoming argument.
13906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13907         (__nearbyintf_vis3): Likewise.
13908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
13909         Likewise.
13910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
13911         Likewise.
13913         * string/test-strncmp.c (do_test_limit): Make sure the test data
13914         stream is aligned as required for the type "CHAR".
13915         (do_test): Likewise.
13917 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13919         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
13920         by beq instructions jumping to the end of the function.
13921         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
13922         clobber list. Use "i" constraint instead of "X".
13923         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
13924         of "X".
13926 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
13928         * bits/libc-header-start.h: New file.
13929         * Makefile (headers): Add bits/libc-header-start.h.
13930         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
13931         (__GLIBC_USE): New macro.
13932         * libio/stdio.h: Define
13933         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13934         <bits/libc-header-start.h> instead of including <features.h>.
13935         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
13936         (open_memstream): Likewise.
13937         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
13938         (__asprintf): Likewise.
13939         (asprintf): Likewise.
13940         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
13941         (getdelim): Likewise.
13942         (getline): Likewise.
13943         * string/string.h: Define
13944         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13945         <bits/libc-header-start.h> instead of including <features.h>.
13946         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
13947         (strndup): Likewise.
13948         * wcsmbs/wchar.h: Define
13949         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13950         <bits/libc-header-start.h> instead of including <features.h>.
13951         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
13952         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
13954 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13956         Support linking against compatibility symbols, for use in tests.
13957         * include/libc-symbols.h (symbol_version_reference): New macro.
13958         (symbol_version): Use it.
13959         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
13960         (compat_symbol): Use compat_symbol_reference.
13961         (compat_symbol_1, compat_symbol_2): Remove.
13962         (compat_symbol_reference, compat_symbol_reference_1)
13963         (compat_symbol_reference_2): New macro.  Use
13964         symbol_version_reference.
13966 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13968         [BZ #19469]
13969         * malloc/Makefile (CPPFLAGS): Compile tests with
13970         -DTEST_NO_MALLOPT.
13971         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
13973 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
13975         [BZ #20033]
13976         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
13977         finite version.
13978         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
13979         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
13980         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
13981         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
13982         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
13983         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
13984         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
13985         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
13986         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
13987         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
13988         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
13989         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
13990         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
13991         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
13992         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
13993         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
13994         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
13995         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
13996         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
13997         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
13998         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
13999         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
14000         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
14001         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
14002         in zero power.
14004 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14006         [BZ #20370]
14007         * malloc/arena.c (get_free_list): Update comment.  Assert that
14008         arenas on the free list have no attached threads.
14009         (remove_from_free_list): New function.
14010         (reused_arena): Call it.
14012 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
14014         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
14015         when it is a NaN.
14016         [_IEEE_FP_INEXACT] Remove.
14017         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
14018         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
14019         when it is a NaN.
14020         [_IEEE_FP_INEXACT] Remove.
14021         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
14022         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
14023         when it is a NaN.
14024         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
14025         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
14026         when its absolute value is greater than 0x1.0p52.
14027         [_IEEE_FP_INEXACT] Remove.
14028         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
14029         when its absolute value is greater than 0x1.0p23.
14030         [_IEEE_FP_INEXACT] Remove.
14032 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
14034         * version.h (RELEASE): Set to "development"
14035         (VERSION): Set to 2.24.90.
14036         * NEWS: Add 2.25 section.
14038         * version.h (RELEASE): Set to "stable"
14039         (VERSION): Set to 2.24.
14040         * include/features.h (__GLIBC_MINOR__): Set to 24.
14042         * NEWS: Add 2.24 fixed bugs.
14043         * po/libc.pot: Regenerate.
14045 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
14047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14048         [$(subdir) = math] (libm-sysdep_routines): Remove.
14049         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14050         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14051         s_truncf-vis3, s_trunc-vis3.
14052         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
14054         file.
14055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
14056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
14057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
14061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
14062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
14064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
14065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
14066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
14067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
14068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
14069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
14070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
14074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
14075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
14076         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
14077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14079         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14080         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14081         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14082         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
14083         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14084         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14085         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
14086         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14088         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
14089         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
14090         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
14091         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
14092         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14093         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14094         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
14095         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
14096         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
14097         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
14099 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
14101         [BZ #20384]
14102         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
14103         test-double-libmvec-sincos-avx-main.o,
14104         test-double-libmvec-sincos-avx2-main.o,
14105         test-double-libmvec-sincos-main.o,
14106         test-float-libmvec-sincosf-avx-main.o,
14107         test-float-libmvec-sincosf-avx2-main.o and
14108         test-float-libmvec-sincosf-main.o.
14109         test-float-libmvec-sincosf-avx512-main.o.
14110         ($(objpfx)test-double-libmvec-sincos): Also link with
14111         $(objpfx)test-double-libmvec-sincos-main.o.
14112         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
14113         $(objpfx)test-double-libmvec-sincos-avx-main.o.
14114         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
14115         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
14116         ($(objpfx)test-float-libmvec-sincosf): Also link with
14117         $(objpfx)test-float-libmvec-sincosf-main.o.
14118         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
14119         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
14120         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
14121         test-double-libmvec-sincos-avx512-main.o and
14122         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
14123         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
14124         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
14125         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
14126         (CFLAGS-test-double-libmvec-sincos.c): Removed.
14127         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
14128         (CFLAGS-test-double-libmvec-sincos-main.c): New.
14129         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
14130         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
14131         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
14132         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
14133         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
14134         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
14135         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
14136         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
14137         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
14138         -DREQUIRE_AVX2.
14139         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
14140         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
14141         -DREQUIRE_AVX512F.
14142         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
14143         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
14144         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14145         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
14146         file.
14147         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
14148         Likewise.
14149         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
14150         Likewise.
14151         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
14152         Likewise.
14153         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
14154         Likewise.
14155         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
14156         Likewise.
14157         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
14158         Likewise.
14159         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
14160         Likewise.
14162 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
14164         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
14166 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
14168         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
14169         and typo in a comment about AT_HWCAP entry.
14171 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14173         * sysdeps/aarch64/libm-test-ulps: Updated.
14175 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14177         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
14178         of r13 as it is not restored in mvcle case.
14180 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
14182         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
14183         Rename "ret" to "__ret".
14184         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
14185         inline_syscall5, inline_syscall6): Likewise.
14187 2016-07-19   Will Newton  <will.newton@gmail.com>
14189         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
14190         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
14191         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
14192         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
14193         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
14195 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
14197         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
14198         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
14199         -mfpmath=387 with $(rtld-CFLAGS).
14200         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
14201         $(rtld-CFLAGS).
14203 2016-07-18   Ross Burton  <ross.burton@intel.com>
14204              Khem Raj  <raj.khem@gmail.com>
14206         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
14207         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
14208         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
14209         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
14210         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
14211         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
14212         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
14213         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
14214         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
14215         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
14216         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
14217         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
14218         R_METAG_TLS_DTPOFF): New.
14220 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14221             Matt Clay  <mclay@lycos.com>
14223         [BZ #20357]
14224         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
14225         to call __mpsin/__mpcos and to negate values.
14226         * math/auto-libm-test-in: Add test.
14227         * math/auto-libm-test-out: Regenerate.
14229 2016-07-18  Zack Weinberg  <zackw@panix.com>
14231         * grp/Makefile: Don't install the internal header grp-merge.h.
14233 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14235         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14237 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14239         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
14241 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14243         [BZ #15368]
14244         * sysdeps/unix/sysv/linux/nptl-signals.h
14245         (__nptl_clear_internal_signals): New function.
14246         (__libc_signal_block_all): Likewise.
14247         (__libc_signal_block_app): Likewise.
14248         (__libc_signal_restore_set): Likewise.
14249         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
14250         implementation.
14251         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
14252         the cached pid/tid value in pthread structure.
14254 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
14256         [BZ #20347]
14257         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14259 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14261         [BZ #20348]
14262         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
14263         preadv64, pwrite64 and pwritev64.
14265 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14267         [BZ #20350]
14268         * posix/tst-preadwrite.c: Renamed to ...
14269         * posix/tst-preadwrite-common.c: This.
14270         (PREAD): Removed.
14271         (PWRITE): Likewise.
14272         (STRINGIFY): Likewise.
14273         (STRINGIFY2): Likewise.
14274         (do_prepare): Make it static and remove function arguments.
14275         (do_test): Likewise.
14276         (PREPARE): Updated.
14277         (TEST_FUNCTION): New.
14278         (name): Make it static.
14279         (fd): Likewise.
14280         (do_prepare): Use create_temp_file.
14281         (do_test): Renamed to ...
14282         (do_test_with_offset): This.  Make it static and accept offset.
14283         Properly check return value of PWRITE and PREAD.  Return bytes
14284         read.  Don't close fd nor unlink name.
14285         * posix/tst-preadwrite.c: Rewrite.
14286         * posix/tst-preadwrite64.c: Likewise.
14288 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14290         [BZ #20309]
14291         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
14292         -mtls-dialect=gnu2 works.
14293         * configure: Regenerated.
14294         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
14295         (tests): Add tst-gnu2-tls1.
14296         (modules-names): Add tst-gnu2-tls1mod.
14297         ($(objpfx)tst-gnu2-tls1): New.
14298         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
14299         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
14300         * elf/tst-gnu2-tls1.c: New file.
14301         * elf/tst-gnu2-tls1mod.c: Likewise.
14302         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
14303         bytes for push in the PLT entry to align the stack.
14305 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14307         [BZ #20349]
14308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
14310 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14312         [BZ #18707]
14313         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
14314         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
14316 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14318         * sysdeps/unix/sysv/linux/sysdep.h
14319         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
14320         guards.
14321         * misc/tst-preadvwritev-common.c: New file.
14322         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
14323         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
14324         a check for files larger than 2GB.
14326         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14327         (__ASSUME_OFF_DIFF_OFF64): Remove define.
14328         * sysdeps/unix/sysv/linux/pread.c
14329         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
14330         __OFF_T_MATCHES_OFF64_T.
14331         * sysdeps/unix/sysv/linux/pread64.c
14332         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
14333         * sysdeps/unix/sysv/linux/preadv.c
14334         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
14335         * sysdeps/unix/sysv/linux/preadv64.c
14336         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
14337         * sysdeps/unix/sysv/linux/pwrite.c
14338         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
14339         * sysdeps/unix/sysv/linux/pwrite64.c
14340         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
14341         * sysdeps/unix/sysv/linux/pwritev.c
14342         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
14343         * sysdeps/unix/sysv/linux/pwritev64.c
14344         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
14346 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
14348         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14349         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
14351 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14353         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
14355 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14357         [BZ #20240]
14358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
14359         (CFLAGS-s_modf-ppc32.c): New variable.
14360         (CFLAGS-s_modff-ppc32.c): Likewise.
14361         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14362         (CFLAGS-s_modf-ppc64.c): Likewise.
14363         (CFLAGS-s_modff-ppc64.c): Likewise.
14365 2016-07-07  Andreas Schwab  <schwab@suse.de>
14367         [BZ #20263]
14368         * nptl/tst-robust10.c: New test.
14369         * nptl/Makefile (tests): Add tst-robust10.
14371 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
14373         [BZ #20263]
14374         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
14376 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14378         * sysdeps/s390/linkmap.h (struct link_map_machine):
14379         Remove member gotplt and add member jmprel.
14380         * sysdeps/s390/s390-32/dl-machine.h
14381         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
14382         instead of gotplt with &got[3].
14383         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
14384         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14386 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
14388         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
14390 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14392         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
14393         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
14394         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14395         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
14396         * libio/vtables.c (_IO_vtable_check)
14397         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14398         * libio/libioP.h (IO_set_accept_foreign_vtables)
14399         [!PTR_MANGLE]: Do not call PTR_MANGLE.
14401 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
14403         [BZ #20314]
14404         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
14405         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
14406         $(common-objpfx)cmath.
14407         ($(common-objpfx)cstdlib): New target.
14408         ($(common-objpfx)cmath): Likewise.
14410 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
14412         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
14414 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14416         [BZ #20327]
14417         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
14418         are not part of the string.
14420 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14422         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
14423         * nptl/tst-cancel4-common.h (fifoname): New variable.
14424         (fifofd): Likewise.
14425         (cl_fifo): New function.
14426         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
14427         SIGINT.
14428         (tf_open): Add early cancel test.
14430 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14432         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
14434 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
14436         * sysdeps/generic/ldsodefs.h
14437         (dl_symbol_visibility_binds_local_p): New inline function.
14438         * elf/dl-addr.c (determine_info): Treat hidden and internal
14439         symbols as local.
14440         * elf/dl-lookup.c (do_lookup_x): Likewise.
14441         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
14443 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
14445         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
14446         invalid exception for a sNaN input.
14447         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14448         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14449         (__nearbyint_vis3): Likewise
14450         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14451         (__nearbyintf_vis3): Likewise
14452         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
14453         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14454         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
14455         Likewise.
14456         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
14457         Likewise.
14459 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
14461         [BZ #20139]
14462         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
14463         (HAVE_AVX512DQ_ASM_SUPPORT): This.
14464         * sysdeps/x86_64/configure.ac: Require assembler from binutils
14465         2.24 or above.
14466         (HAVE_AVX512_ASM_SUPPORT): Removed.
14467         (HAVE_AVX512DQ_ASM_SUPPORT): New.
14468         * sysdeps/x86_64/configure: Regenerated.
14469         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
14470         check unconditional.
14471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14472         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14473         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14474         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
14475         Likewise.
14476         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14477         Likewise.
14478         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14479         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14480         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14481         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14482         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
14483         Likewise.
14484         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14485         Likewise.
14486         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14487         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14488         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
14489         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
14490         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
14491         Likewise.
14492         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
14493         Likewise.
14494         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
14495         Likewise.
14496         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
14497         Likewise.
14498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
14499         Likewise.
14500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
14501         Likewise.
14502         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
14503         Likewise.
14504         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
14505         Likewise.
14506         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
14507         Likewise.
14508         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
14509         Likewise.
14510         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
14511         Likewise.
14513 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
14515         [BZ #20024]
14516         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
14517         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
14518         of this implementation of vector function.
14519         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14520         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14521         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
14522         Likewise.
14523         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14524         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14525         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
14526         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
14527         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
14528         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
14529         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
14530         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
14531         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
14532         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
14533         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
14534         for testing vector sincos with fixed ABI.
14535         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14536         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14537         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14538         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14539         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14540         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14541         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14542         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
14543         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
14544         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
14545         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
14546         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
14547         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
14548         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
14549         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14550         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14552 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14554         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
14556 2016-06-30  Anton Blanchard  <anton@samba.org>
14558         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14559         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
14560         s_sinf-ppc64.
14561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
14562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
14563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
14564         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
14566 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14570         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
14571         e_expf-ppc64.
14572         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
14573         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
14574         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
14575         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
14577 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
14579         [BZ #20277]
14580         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
14581         when SHARED is defined.
14583 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
14585         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
14586         (index_arch_Prefer_ERMS): Likewise.
14587         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
14588         __memcpy_erms for Prefer_ERMS.
14589         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14590         (__memmove_erms): Enabled for libc.a.
14591         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
14592         __memmove_erms or Prefer_ERMS.
14593         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
14594         __mempcpy_erms for Prefer_ERMS.
14595         * sysdeps/x86_64/multiarch/memset.S (memset): Return
14596         __memset_erms for Prefer_ERMS.
14598 2016-06-30  Andreas Schwab  <schwab@suse.de>
14600         [BZ #20262]
14601         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
14602         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
14603         of memory.
14605 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
14607         [BZ #18645]
14608         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
14609         (test-extras): Add tst-cleanupx4aux.
14610         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
14611         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
14612         tst-cleanupx4aux.o.
14613         * nptl/tst-cleanupx4aux.c: New file.
14615 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14617         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14619 2016-06-29  Andreas Schwab  <schwab@suse.de>
14621         [BZ #20260]
14622         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
14623         address before the beginning of the string as an integer to avoid
14624         array-bounds warning.
14626 2016-06-28  Richard Henderson  <rth@redhat.com>
14628         * elf/elf.h (EM_BPF): New.
14629         (EM_NUM): Update.
14630         (R_BPF_NONE, R_BPF_MAP_FD): New.
14632         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
14633         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
14634         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
14635         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
14636         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
14637         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
14638         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
14639         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
14640         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
14641         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
14642         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
14643         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
14644         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
14645         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
14646         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
14647         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
14648         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
14649         (EM_NUM): Update.
14651 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
14653         [BZ #18960]
14654         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
14655         Set _nl_current_LC_CATEGORY_used to two instead of one.
14657 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
14659         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
14660         (do_test): ... this.
14661         (TEST_FUNCTION): New macro.
14662          Include test-skeleton.c.
14663         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
14664         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
14666 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
14668         [BZ #15479]
14669         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
14670         floating-point environment rather than just control word.
14671         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14672         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
14673         floating-point environment, with "invalid" exceptions merged in,
14674         rather than just control word.
14675         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
14676         * math/libm-test.inc (trunc_test_data): Do not allow spurious
14677         "inexact" exceptions.
14679         [BZ #15479]
14680         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
14681         floating-point environment rather than just control word.
14682         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14683         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
14684         floating-point environment, with "invalid" exceptions merged in,
14685         rather than just control word.
14686         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
14687         * math/libm-test.inc (floor_test_data): Do not allow spurious
14688         "inexact" exceptions.
14690         [BZ #15479]
14691         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
14692         floating-point environment rather than just control word.
14693         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14694         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
14695         floating-point environment, with "invalid" exceptions merged in,
14696         rather than just control word.
14697         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
14698         * math/libm-test.inc (ceil_test_data): Do not allow spurious
14699         "inexact" exceptions.
14701 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
14703         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
14704         __libc_vfork.
14705         (__vfork) [IS_IN (libc)]: Remove alias.
14706         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
14707         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14708         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14710 2016-06-24  Torvald Riegel  <triegel@redhat.com>
14712         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
14713         of atomic_compare_and_exchange_bool_rel.
14714         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14715         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
14716         catomic_compare_and_exchange_bool_rel): Remove.
14717         * sysdeps/aarch64/atomic-machine.h
14718         (atomic_compare_and_exchange_bool_rel): Likewise.
14719         * sysdeps/alpha/atomic-machine.h
14720         (atomic_compare_and_exchange_bool_rel): Likewise.
14721         * sysdeps/arm/atomic-machine.h
14722         (atomic_compare_and_exchange_bool_rel): Likewise.
14723         * sysdeps/mips/atomic-machine.h
14724         (atomic_compare_and_exchange_bool_rel): Likewise.
14725         * sysdeps/microblaze/atomic-machine.h
14726         ( __arch_compare_and_exchange_bool_8_rel,
14727         __arch_compare_and_exchange_bool_16_rel): Likewise.
14728         * sysdeps/powerpc/atomic-machine.h
14729         ( __arch_compare_and_exchange_bool_8_rel,
14730         __arch_compare_and_exchange_bool_16_rel): Likewise.
14731         * sysdeps/powerpc/powerpc32/atomic-machine.h
14732         ( __arch_compare_and_exchange_bool_32_rel,
14733         __arch_compare_and_exchange_bool_64_rel): Likewise.
14734         * sysdeps/powerpc/powerpc64/atomic-machine.h
14735         ( __arch_compare_and_exchange_bool_32_rel,
14736         __arch_compare_and_exchange_bool_64_rel): Likewise.
14737         * sysdeps/tile/atomic-machine.h
14738         (atomic_compare_and_exchange_bool_rel): Likewise.
14740 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
14742         [BZ #20296]
14743         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
14744         when either argument is a NaN.
14745         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14746         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
14748         * math/libm-test.inc (snan_value_ld): New macro.
14749         (isgreater_test_data): Add sNaN tests.
14750         (isgreaterequal_test_data): Likewise.
14751         (isless_test_data): Likewise.
14752         (islessequal_test_data): Likewise.
14753         (islessgreater_test_data): Likewise.
14754         (isunordered_test_data): Likewise.
14755         (nextafter_test_data): Likewise.
14756         (nexttoward_test_data): Likewise.
14757         (remainder_test_data): Likewise.
14758         (remquo_test_data): Likewise.
14759         (significand_test_data): Likewise.
14760         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
14762 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14764         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
14765         environment macros are defined.
14766         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
14768 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14770         [BZ #20191]
14771         Implement vtable verification in libio.
14772         * Makerules (shlib.lds): Place __libc_IO_vtables section.
14773         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
14774         * debug/vdprintf_chk.c (__vdprintf_chk): Call
14775         _IO_new_file_init_internal instead of _IO_file_init.
14776         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
14777         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
14778         * libio/Makefile (routines): Add vtables.
14779         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
14780         (_IO_init): Remove, not for internal use.
14781         (_IO_init_internal): Declare, internal replacement for _IO_init.
14782         (_IO_file_init): Remove, not for internal use.
14783         (_IO_new_file_init): Remove, not for internal use.
14784         (_IO_new_file_init_internal): Declare, internal replacement for
14785         _IO_new_file_init.
14786         (_IO_old_file_init): Remove, not for internal use.
14787         (_IO_old_file_init_internal): Declare, internal replacement for
14788         _IO_old_file_init.
14789         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
14790         internal use.
14791         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
14792         Declare.
14793         (libio_vtable): New macro.
14794         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
14795         functions.
14796         * libio/fileops.c (_IO_new_file_init_internal): Rename from
14797         _IO_new_file_init.
14798         (_IO_new_file_init): New externally visible wrapper which disables
14799         vtable verification.
14800         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
14801         Define as vtables.
14802         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
14803         (_IO_init): New externally visible wrapper which disables
14804         vtable verification.
14805         * libio/iofdopen.c (_IO_new_fdopen): Call
14806         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
14807         comment.
14808         * libio/iofopen.c (__fopen_internal): Call
14809         _IO_new_file_init_internal instead of _IO_file_init.
14810         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
14811         Define as vtables.
14812         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
14813         _IO_new_file_init_internal instead of _IO_file_init.
14814         * libio/iopopen.c (_IO_new_popen): Likewise.
14815         (_IO_proc_jumps): Define as vtable.
14816         * libio/iovdprintf.c (_IO_vdprintf): Call
14817         _IO_new_file_init_internal instead of _IO_file_init.
14818         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
14819         (__open_memstream): Call _IO_init_internal instead of _IO_init.
14820         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
14821         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
14822         _IO_old_file_init.
14823         (_IO_old_file_init): New externally visible wrapper which disables
14824         vtable verification.
14825         (_IO_old_file_jumps): Define as vtable.
14826         * libio/oldiofdopen.c (_IO_old_fdopen): Call
14827         _IO_old_file_init_internal instead of _IO_old_file_init.
14828         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14829         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14830         (_IO_old_proc_jumps): Define as vtable.
14831         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
14832         Define as vtables.
14833         * libio/vtables.c: New file.
14834         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
14835         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
14836         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
14837         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
14838         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
14839         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
14840         instead of _IO_init.
14842 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14844         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
14846 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14848         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
14849         potentially unused.
14851 2016-06-22  Florian Weimer  <fweimer@redhat.com>
14853         * test-skeleton.c (write_message): New function.
14854         * malloc/tst-mallocfork2.c (write_message): Remove.
14855         * debug/tst-longjmp_chk2.c (write_indented): New function.
14856         (write_message): Remove.
14857         (stackoverflow_handler): Call write_indented.
14859 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
14861         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
14862         "inexact" exceptions after fnstenv.
14863         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14864         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14865         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14867 2015-06-22  Zack Weinberg  <zackw@panix.com>
14869         * sysdeps/generic/bits/hwcap.h: Moved to ...
14870         * bits/hwcap.h: Here.
14872 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
14874         * sysdeps/aarch64/memcpy.S (memcpy):
14875         Further tuning for performance.
14877 2016-06-21  Florian Weimer  <fweimer@redhat.com>
14879         [BZ #20284]
14880         * malloc/arena.c (reused_arena): Do not return NULL if we start
14881         out with a non-corrupted arena.
14883 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14885         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
14886         * misc/tst-preadvwritev.c: New file.
14887         * misc/tst-preadvwritev64.c: Likewise.
14888         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
14889         usage.
14890         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
14891         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
14892         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
14893         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
14895 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
14897         [BZ #19654]
14898         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14899         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
14900         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
14901         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
14902         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
14903         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
14904         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
14905         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
14906         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
14907         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
14908         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
14909         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
14910         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
14911         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
14912         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
14913         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
14914         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
14915         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
14916         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
14917         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
14918         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
14919         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
14920         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
14921         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
14922         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
14923         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
14925 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14927         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
14928         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
14930 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14932         * sysdeps/aarch64/memcpy.S (memcpy):
14933         Rewrite of optimized memcpy and memmove.
14934         * sysdeps/aarch64/memmove.S (memmove): Remove
14935         memmove code (merged into memcpy.S).
14937 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14939         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
14940         * sysdeps/generic/dl-dtv.h: New file.
14941         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14942         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
14943         (dtv_t): Remove.
14944         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14945         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
14946         (dtv_t): Remove.
14947         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14948         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
14949         (dtv_t): Remove.
14950         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14951         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
14952         (dtv_t): Remove.
14953         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14954         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
14955         (dtv_t): Remove.
14956         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14957         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
14958         (dtv_t): Remove.
14959         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14960         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
14961         (dtv_t): Remove.
14962         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
14963         (dtv_t): Remove.
14964         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14965         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
14966         (dtv_t): Remove.
14967         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14968         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
14969         (dtv_t): Remove.
14970         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14971         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
14972         (dtv_t): Remove.
14973         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14974         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
14975         (dtv_t): Remove.
14976         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14977         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
14978         (dtv_t): Remove.
14979         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14980         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
14981         (dtv_t): Remove.
14982         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14983         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
14984         (dtv_t): Remove.
14985         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14986         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
14987         (dtv_t): Remove.
14989 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14991         Revert symbol poisoning of  __malloc_initialize_hook.
14992         * include/stdc-predef.h (__malloc_initialize_hook): Remove
14993         poisoning.
14994         * malloc/Makefile: Remove un-poisoning.
14995         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
14996         instead of old__malloc_initialize_hook.
14997         * malloc/malloc-hooks.h: Likewise.
14998         * malloc/malloc.c: Likewise.
14999         * malloc/mcheck-init.c: Likewise.
15001 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
15003         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
15005 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
15007         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
15008         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
15009         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15010         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15012 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15014         * NEWS: Mention addition of nextup and nextdown.
15015         * manual/arith.texi: Document nextup and nextdown.
15016         * manual/libm-err-tab.pl: Add nextup and nextdown.
15017         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
15018         * math/Versions (libm): Add GLIBC_2.24.
15019         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
15020         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15021         Add new test.
15022         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
15023         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
15024         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
15025         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
15026         (nextup_test_data): Likewise.
15027         (nextdown_test_data): Likewise.
15028         * math/s_nextdown.c: New file.
15029         * math/s_nextdownf.c: Likewise.
15030         * math/s_nextdownl.c: Likewise.
15031         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
15032         F(nextup): New function.
15033         F(nextdown): Likewise.
15034         * math/tgmath.h: Add nextup and nextdown.
15035         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
15036         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
15037         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15038         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15039         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15040         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
15041         Add nextup and nextdown.
15042         (CFLAGS-nldbl-nextup.c): New variable.
15043         (CFLAGS-nldbl-nextdown.c): Likewise.
15044         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
15045         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
15046         * sysdeps/nacl/libm.abilist: Update.
15047         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15048         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15049         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15050         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15051         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15052         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15053         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15054         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15055         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15056         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15057         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15058         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15061         Likewise.
15062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15064         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15065         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15066         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15067         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15068         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
15070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
15071         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15072         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15073         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15074         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15076 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15078         * manual/pattern.texi: Fix typos & grammar errors.
15080 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15082         * manual/search.texi: Fix typos & grammar errors.
15084 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15086         * manual/message.texi: Fix typos & grammar errors.
15088 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
15090         * manual/contrib.texi: Fix spelling typos.
15091         * manual/crypt.texi: Likewise.
15092         * manual/filesys.texi: Likewise.
15093         * manual/locale.texi: Likewise.
15094         * manual/message.texi: Likewise.
15095         * manual/nss.texi: Likewise.
15096         * manual/string.texi: Likewise.
15098 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15100         * manual/locale.texi: Fix typos & grammar errors.
15102 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15104         * manual/charset.texi: Fix typos & grammar errors.
15106 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15108         * manual/string.texi: Fix typos.
15110 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15112         * manual/ctype.texi: Fix typos.
15114 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15116         * manual/memory.texi: Fix various typos & grammar errors.
15118 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
15120         [BZ #20255]
15121         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
15122         * math/libm-test.inc (fdim_test_data): Add another test.
15124         [BZ #6796]
15125         [BZ #20255]
15126         [BZ #20256]
15127         * math/s_fdim.c: Include <math_private.h>.
15128         (__fdim): Use math_narrow_eval on result.
15129         * math/s_fdimf.c: Include <math_private.h>.
15130         (__fdimf): Use math_narrow_eval on result.
15131         * sysdeps/i386/fpu/s_fdim.S: Remove file.
15132         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
15133         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
15134         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
15135         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
15136         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
15137         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
15138         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
15139         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
15140         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
15141         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
15142         * math/libm-test.inc (fdim_test_data): Expect errno setting on
15143         overflow.  Add sNaN tests.
15145         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
15146         fpclassify.
15147         * math/s_fdimf.c (__fdimf): Likewise.
15148         * math/s_fdiml.c (__fdiml): Likewise.
15150 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15152         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15153         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
15154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15155         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15156         ifunc'ed strcasecmp/strncasecmp.
15157         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
15158         [EALIGN]: Removed.
15159         [END]: Likewise.
15160         [__strcasecmp]: Define instead of the above to control symbol name.
15161         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
15162         for __strcasecmp_power8.
15163         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
15164         for __strncasecmp_power8.
15165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
15166         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
15167         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
15168         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
15169         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
15170         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
15172 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
15174         [BZ #20252]
15175         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
15176         arguments when second argument is a NaN.
15177         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
15178         qNaN tests.
15180         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
15181         (conj_test_data): Likewise.
15182         (copysign_test_data): Likewise.
15183         (creal_test_data): Likewise.
15184         (fma_test_data): Likewise.
15185         (fmod_test_data): Likewise.
15187         [BZ #20250]
15188         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
15189         itself.
15190         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
15191         zero input to itself.
15192         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
15193         Likewise.
15194         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
15195         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15196         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15197         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15198         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
15200 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15202         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
15203         * nptl/tst-cancel4-common.c: New file.
15204         * nptl/tst-cancel4-common.h: Likewise.
15205         * nptl/tst-cancel4.c: Move common definitions to
15206         tst-cancel4-common.{c,h} file.
15207         * nptl/tst-cancel4_1.c: New test.
15208         * nptl/tst-cancel4_2.c: New test.
15210 2016-06-13  Florian Weimer  <fweimer@redhat.com>
15212         [BZ #20248]
15213         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
15214         (write_message): New function.
15215         (stackoverflow_handler): Call it instead of printf, to avoid
15216         excessive stack usage by printf.
15217         (do_test): Restore SIGSEGV, SIGBUS default handlers.
15219 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15221         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
15222         (prio_inherit_missing): Remove define.
15223         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15224         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
15226         Likewise.
15227         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15228         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15229         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15230         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15231         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15232         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15234 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15236         [BZ #19670]
15237         [BZ #19672]
15239         * io/test-lfs.c (do_prepare): Use xmalloc.
15240         * io/tst-fcntl.c (do_prepare): Likewise.
15241         * libio/tst-fopenloc.c (do_bz17916): Likewise.
15242         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
15243         * login/tst-utmp.c (do_prepare): Likewise.
15244         * posix/tst-exec.c (do_prepare): Likewise.
15245         * posix/tst-pathconf.c (prepare): Likewise.
15246         * posix/tst-spawn.c (do_prepare): Likewise.
15247         * posix/tst-truncate.c (do_prepare): Likewise.
15248         * rt/tst-aio.c (do_prepare): Likewise.
15249         * rt/tst-aio64.c (do_prepare): Likewise.
15251 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15253         [BZ #20237]
15254         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
15255         (get*ent): Set entidx to NULL during initialization.  If entidx is
15256         NULL, start iteration from the beginning.
15258 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15260         * malloc/malloc.c (musable): Return correct size for dumped fake
15261         mmapped chunk.
15263 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15265         [BZ #20222]
15266         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
15267         (_IO_cookie_write): Likewise.
15268         (_IO_cookie_seek): Likewise.
15269         (_IO_cookie_close): Likewise.
15270         (_IO_old_cookie_seek): Likewise.
15271         (set_callbacks): New function.
15272         (_IO_cookie_init): Call set_callbacks to copy callbacks.
15274 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
15276         * locale/programs/localedef.c (oldstyle_tables): Remove.
15277         * locale/programs/localedef.h (oldstyle_tables): Likewise.
15279 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
15281         [BZ #20240]
15282         * math/Makefile (CFLAGS-s_modf.c): New variable.
15283         (CFLAGS-s_modff.c): Likewise.
15284         (CFLAGS-s_modfl.c): Likewise.
15285         * math/libm-test.inc (modf_test_data): Add sNaN tests.
15287 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
15289         [BZ #20215]
15290         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
15291         [!__GNUC_PREREQ (3,2)]: Likewise.
15293 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15295         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
15296         (msghdr.msg_controllen): Likewise.
15297         (cmsghdr.cmsg_len): Likewise.
15298         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
15299         ptw-oldsendmsg.
15300         (CFLAGS-oldrecvmsg.c): Remove rule.
15301         (CFLAGS-oldsendmsg.c): Likewise.
15302         (CFLAGS-recvmsg.c): Add rule.
15303         (CFLAGS-sendmsg.c): Likewise.
15304         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
15305         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
15306         (CFLAGS-recvmsg.c): Remove rule.
15307         (CFLAGS-sendmsg.c): Likewise.
15308         (CFLAGS-oldrecvmsg.c): Likewise.
15309         (CFLAGS-oldsendmsg.c): Likewise.
15310         (CFLAGS-recvmmsg.c): Likewise.
15311         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
15312         to kernel defined interfaces.
15313         (msghdr.msg_controllen): Likewise.
15314         (cmsghdr.cmsg_len): Likewise.
15315         (msghdr.__glibc_reserved1): Remove member.
15316         (msghdr.__glibc_reserved2): Likewise.
15317         (cmsghdr.__glibc_reserved1): Likewise.
15318         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
15319         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
15320         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15321         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15322         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
15323         version.
15324         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15325         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
15326         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15327         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
15328         Remove recvmsg and sendmsg.
15329         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
15330         Likewise.
15331         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15332         Likewise.
15333         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15334         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15335         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15336         Likewise.
15337         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15338         Likewise.
15339         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
15340         [libc] (GLIBC_2.24): Likewise.
15341         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15342         Likewise.
15343         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15344         Likewise.
15345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15346         [libc] (GLIBC_2.24): Likewise.
15347         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15348         Likewise.
15349         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15350         Likewise.
15351         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15352         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15353         Likewise.
15354         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15355         Likewise.
15356         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15357         Likewise.
15358         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
15359         Likewise.
15360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
15361         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
15362         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
15363         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
15364         version for {recv,send,recm,sendm}msg.
15365         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15366         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15367         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15368         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15369         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15370         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15371         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15372         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15373         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15374         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15375         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15376         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15378         Likewise.
15379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15380         Likewise.
15381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15383         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15384         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15385         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15386         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15387         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15388         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15391         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15392         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15393         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15395 2016-06-10  Florian Weimer  <fweimer@redhat.com>
15397         [BZ #19564]
15398         Remove __malloc_initialize_hook from the API.
15399         * malloc/malloc.h (__malloc_initialize_hook): Remove.
15400         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
15401         #pragma GCC poison.
15402         * malloc/malloc-hooks.h: New file.
15403         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
15404         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
15405         (old__malloc_initialize_hook): Rename from
15406         __malloc_initialize_hook to evade poisoning.  Turn into compat
15407         symbol.
15408         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
15409         __malloc_initialize_hook.
15410         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
15411         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
15412         * manual/memory.texi (Hooks for Malloc): Remove
15413         __malloc_initialize_hook.  Adjust hook example.
15415 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
15417         [BZ #20235]
15418         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
15419         itself.
15420         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15421         * math/libm-test.inc (log2_test_data): Add sNaN tests.
15423         [BZ #20234]
15424         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
15425         infinity or NaN input to itself.
15427         [BZ #20233]
15428         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
15429         to itself.
15431         [BZ #20232]
15432         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
15433         itself.
15435 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15437         * sysdeps/x86_64/start.S (_start): Always indirect branch to
15438         __libc_start_main via GOT.
15440 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15442         * sysdeps/x86_64/memcopy.h: New file.
15443         * sysdeps/x86_64/wordcopy.c: Likewise.
15445 2016-06-09  Florian Weimer  <fweimer@redhat.com>
15447         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
15448         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
15449         <cstdlib>.
15450         (optimization_barrier): New.
15451         (do_test): Use it.  Call quick_exit in the global namespace.
15452         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
15453         instead of <cstdlib>, <thread>.
15454         (optimization_barrier): New.
15455         (non_main_thread): Adjust declaration.  Call optimization_barrier.
15456         Call quick_exit in the global namespace.
15457         (do_test): Call optimization_barrier.  Use pthread_create,
15458         pthread_join instead of std::thread.
15460 2016-06-09  Andreas Schwab  <schwab@suse.de>
15462         [BZ #19755]
15463         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
15464         new entries in auto-propagate mode.
15465         * nscd/grpcache.c (cache_addgr): Likewise.
15467 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15469         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
15470         New functions.
15471         (add_temp_file): Use them.
15473 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
15475         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
15477 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
15479         [BZ #20229]
15480         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
15481         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
15482         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
15484         [BZ #20228]
15485         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
15486         itself.
15487         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15488         * math/libm-test.inc (log10_test_data): Add sNaN tests.
15490         [BZ #20227]
15491         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
15492         itself.
15493         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15494         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15495         * math/libm-test.inc (log_test_data): Add sNaN tests.
15497         [BZ #20226]
15498         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
15499         itself.
15500         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15501         * math/libm-test.inc (exp_test_data): Add sNaN tests.
15502         (exp10_test_data): Likewise.
15503         (expm1_test_data): Likewise.
15505         [BZ #20225]
15506         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
15507         itself.
15508         * math/s_ldexpf.c (__ldexpf): Likewise.
15509         * math/s_ldexpl.c (__ldexpl): Likewise.
15510         * math/w_scalbln.c (__w_scalbln): Likewise.
15511         * math/w_scalblnf.c (__w_scalblnf): Likewise.
15512         * math/w_scalblnl.c (__w_scalblnl): Likewise.
15513         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
15514         (scalbln_test_data): Likewise.
15516         [BZ #20224]
15517         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
15518         argument to itself.
15519         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
15521 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
15523         [BZ #19776]
15524         * sysdeps/x86_64/memcpy.S: Make it dummy.
15525         * sysdeps/x86_64/mempcpy.S: Likewise.
15526         * sysdeps/x86_64/memmove.S: New file.
15527         * sysdeps/x86_64/memmove_chk.S: Likewise.
15528         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15529         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15530         * sysdeps/x86_64/memmove.c: Removed.
15531         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
15532         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15533         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
15534         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15535         Likewise.
15536         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15537         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15539         memcpy-sse2-unaligned, memmove-avx-unaligned,
15540         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
15541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15542         (__libc_ifunc_impl_list): Replace
15543         __memmove_chk_avx512_unaligned_2 with
15544         __memmove_chk_avx512_unaligned.  Remove
15545         __memmove_chk_avx_unaligned_2.  Replace
15546         __memmove_chk_sse2_unaligned_2 with
15547         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
15548         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
15549         with __memmove_avx512_unaligned.  Replace
15550         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
15551         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
15552         with __memcpy_chk_avx512_unaligned.  Remove
15553         __memcpy_chk_avx_unaligned_2.  Replace
15554         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
15555         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
15556         Replace __memcpy_avx512_unaligned_2 with
15557         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
15558         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
15559         with __mempcpy_chk_avx512_unaligned.  Remove
15560         __mempcpy_chk_avx_unaligned_2.  Replace
15561         __mempcpy_chk_sse2_unaligned_2 with
15562         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
15563         Replace __mempcpy_avx512_unaligned_2 with
15564         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
15565         Replace __mempcpy_sse2_unaligned_2 with
15566         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
15567         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
15568         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
15569         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
15570         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
15571         (ENTRY): Removed.
15572         (END): Likewise.
15573         (ENTRY_CHK): Likewise.
15574         (libc_hidden_builtin_def): Likewise.
15575         Don't include ../memcpy.S.
15576         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
15577         __memcpy_chk_avx512_unaligned_erms and
15578         __memcpy_chk_avx512_unaligned.  Use
15579         __memcpy_chk_avx_unaligned_erms and
15580         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
15581         Default to __memcpy_chk_sse2_unaligned.
15582         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15583         Change function suffix from unaligned_2 to unaligned.
15584         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
15585         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
15586         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
15587         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
15588         (ENTRY): Removed.
15589         (END): Likewise.
15590         (ENTRY_CHK): Likewise.
15591         (libc_hidden_builtin_def): Likewise.
15592         Don't include ../mempcpy.S.
15593         (mempcpy): New.  Add a weak alias.
15594         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
15595         __mempcpy_chk_avx512_unaligned_erms and
15596         __mempcpy_chk_avx512_unaligned.  Use
15597         __mempcpy_chk_avx_unaligned_erms and
15598         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
15599         Default to __mempcpy_chk_sse2_unaligned.
15601 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
15603         [BZ #19881]
15604         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
15605         into ...
15606         * sysdeps/x86_64/memset.S: This.
15607         (__bzero): Removed.
15608         (__memset_tail): Likewise.
15609         (__memset_chk): Likewise.
15610         (memset): Likewise.
15611         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
15612         defined.
15613         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
15614         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
15615         (__memset_zero_constant_len_parameter): Check SHARED instead of
15616         PIC.
15617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15618         memset-avx2 and memset-sse2-unaligned-erms.
15619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15620         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
15621         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
15622         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15623         (__bzero): Enabled.
15624         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
15625         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
15626         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
15627         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
15628         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15629         (memset): Removed.
15630         (__memset_chk): Likewise.
15631         (MEMSET_SYMBOL): New.
15632         (libc_hidden_builtin_def): Replace __memset_sse2 with
15633         __memset_sse2_unaligned.
15634         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
15635         __memset_chk_sse2 and __memset_chk_avx2 with
15636         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
15637         Use __memset_chk_sse2_unaligned_erms or
15638         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
15639         __memset_chk_avx512_unaligned_erms and
15640         __memset_chk_avx512_unaligned.
15642 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15644         * math/gen-auto-libm-test.c (fp_format_desc): remove
15645         suffix member.
15646         (output_generic_value): Remove usage of suffix member,
15647         and the resulting unuse of the fp_format argument.
15648         (output_for_one_input_case): Remove unused fp_format
15649         parameter.
15651         * math/auto-libm-test-out: Regenerate.
15653         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
15654         usage with TEST_COND_ibm128.
15655         (TEST_COND_flt_32): Remove.
15656         (TEST_COND_dbl_64): Remove.
15657         (TEST_COND_ldbl_96_intel): Remove.
15658         (TEST_COND_ldbl_96_m68k): Remove.
15659         (TEST_COND_ldbl_128): Remove.
15661 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15663         * auto-libm-test-in:
15664         Replace flt-32 usage with binary32.
15665         Replace dbl-64 usage with binary64.
15666         Replace ldbl-intel-96 usage with intel96.
15667         Replace ldbl-m68k-96 usage with m68k96.
15668         Replace ldbl-128ibm usage with ibm128.
15669         Replace ldbl-128 usage with binary128.
15671         * auto-libm-test-out: Regenerate.
15673 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15675         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
15676         (parse_ulps): Dynamically generate type name matching
15677         string from all_floats.
15678         (get_ulps): Generate the ulps as an array instead.
15679         (output_ulps): Dynamically compose the type based
15680         on the number of supported formats, and print
15681         the indices as type specific helper macros.
15683         * math/libm-test.inc: Remove comment about CHOOSE.
15684         (ulp_data): Generate the type in libm-test-ulps.h.
15685         (ULP_IDX): New macro.
15686         (find_ulps): Update usage of max_ulp.
15688         * math/test-double-vlen2.h (CHOOSE): Remove.
15689         * math/test-double-vlen4.h (CHOOSE): Likewise.
15690         * math/test-double-vlen8.h (CHOOSE): Likewise.
15691         * math/test-float.c (CHOOSE): Likewise.
15692         * math/test-float-finite.c (CHOOSE): Likewise.
15693         * math/test-double.c (CHOOSE): Likewise.
15694         * math/test-double-finite.c (CHOOSE): Likewise.
15695         * math/test-idouble.c (CHOOSE): Likewise.
15696         * math/test-ifloat.c (CHOOSE): Likewise.
15697         * math/test-ildoubl.c (CHOOSE): Likewise.
15698         * math/test-ldouble-finite.c (CHOOSE): Likewise.
15699         * math/test-ldouble.c (CHOOSE): Likewise.
15701         * math/test-float.h (TEST_FLOAT): Remove.
15702         * math/test-double.h (TEST_DOUBLE): Likewise.
15703         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
15705 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15707         * math/gen-libm-test.pl: (apply_lit): New subroutine.
15708         (parse_args): Strip C suffix from floating point literals
15709         typed with 'f' and wrap them with LIT().
15711         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
15712         (test_ff_f_data_nexttoward): Rename to
15713         (test_fj_f_data): New struct.
15714         (nexttoward_test_data): Relabel tests as
15715         TEST_fj_f instead of TEST_ff_f.
15717 2016-06-08  Florian Weimer  <fweimer@redhat.com>
15719         Emacs bug 23726.
15720         * malloc/malloc.c (dumped_main_arena_start): Update comment.
15721         (__libc_realloc): Correct size computation for dumped fake mmapped
15722         chunks.
15724 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
15726         [BZ #20219]
15727         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
15728         to itself.
15729         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
15731         [BZ #20218]
15732         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
15733         to itself.
15734         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
15736 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
15738         [BZ #20195]
15739         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
15740         check to ...
15741         (init_cpu_features): Here.
15743 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
15745         [BZ #20214]
15746         * sysdeps/unix/sysv/linux/bits/in.h
15747         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15748          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
15749         Define to 1.
15750         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15751          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
15752         Define to 0.
15753         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
15754         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
15756 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
15758         [BZ #20198]
15759         * stdlib/Makefile (tests): Add tst-quick_exit, and
15760         tst-thread-quick_exit.
15761         [ifeq ($(have-cxx-thread_local),yes)]
15762         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
15763         (CFLAGS-tst-thread-quick_exit.o): Likewise.
15764         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
15765         (LDLIBS-tst-thread-quick_exit): Likewise.
15766         [ifneq ($(have-cxx-thread_local),yes)]
15767         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
15768         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
15769         If run_dtors is true call __call_tls_dtors.
15770         (exit): Call __run_exit_handlers with run_dtors set to true.
15771         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
15772         definition.
15773         * stdlib/quick_exit.c (quick_exit): Remove function.
15774         (__new_quick_exit): New function.
15775         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
15776         function.
15777         * stdlib/tst-quick_exit.cc: New file.
15778         * stdlib/tst-thread-quick_exit.cc: New file.
15779         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
15780         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
15781         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
15782         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
15783         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
15784         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
15785         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
15786         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
15787         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
15788         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
15789         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
15790         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
15791         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
15792         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
15793         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
15794         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
15796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
15797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
15798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
15799         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
15800         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
15801         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
15802         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
15803         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
15804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
15805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
15806         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
15807         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
15808         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
15810 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15812         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
15813         a typo in comments.
15815 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15817         [BZ #20213]
15818         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
15819         argument to itself.
15820         * math/libm-test.inc (asin_test_data): Add sNaN tests.
15822 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15824         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
15825         required flags.
15826         (CFLAGS-pwritev64.c): Likewise.
15827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
15828         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15829         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
15830         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15831         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
15832         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
15833         syscall from auto-generation.
15834         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
15835         [WORDSIZE == 64] (pwritev64): Remove macro.
15836         [!PWRITEV] (PWRITEV): Likewise.
15837         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15838         [!PWRITEV] (PWRITE): Likewise.
15839         [!PWRITEV] (OFF_T): Likewise.
15840         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15841         (LO_HI_LONG): Remove macro.
15842         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
15843         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
15844         (PWRITEV): Remove macro.
15845         (PWRITEV_REPLACEMENTE): Likewise.
15846         (PWRITE): Likewise.
15847         (OFF_T): Likewise.
15848         (pwritev64): New function.
15849         * nptl/tst-cancel4.c (tf_writev): Add test.
15851         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
15852         required flags.
15853         (CFLAGS-preadv64.c): Likewise.
15854         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
15855         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15856         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
15857         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
15858         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
15859         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
15860         syscall from auto-generation.
15861         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
15862         [WORDSIZE == 64] (preadv64): Remove macro.
15863         [!PREADV] (PREADV): Likewise.
15864         [!PREADV] (PREADV_REPLACEMENT): Likewise.
15865         [!PREADV] (PREAD): Likewise.
15866         [!PREADV] (OFF_T): Likewise.
15867         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
15868         (LO_HI_LONG): Remove macro.
15869         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
15870         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
15871         (PREADV): Remove macro.
15872         (PREADV_REPLACEMENTE): Likewise.
15873         (PREAD): Likewise.
15874         (OFF_T): Likewise.
15875         (preadv64): New function.
15876         * nptl/tst-cancel4.c (tf_preadv): Add test.
15878 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15880         [BZ #20212]
15881         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
15882         argument to itself.
15883         * math/libm-test.inc (acos_test_data): Add sNaN tests.
15885 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15887         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
15888         New symbol defined as libc_hidden_def.
15889         (strcasestr): Became a weak alias to __strcasestr.
15890         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
15891         according to multi-arch support.  Move __stpncpy hidden
15892         definition from here to...
15893         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
15894         symbol stpncpy.
15895         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
15896         libc_hidden_builtin_def.
15897         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
15898         memset symbol to use when multi-arch support is available.
15900 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15902         * dlfcn/tst-rec-dlopen.c: Include string.h.
15904 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15906         * manual/install.texi: Remove mention of --without-tls
15907         * INSTALL: Regenerate.
15909 2016-06-05  Florian Weimer  <fweimer@redhat.com>
15911         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
15912         Remove.
15913         (call_function, interposed_malloc_called): New variables.
15914         (malloc): New function.
15915         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
15916         and clear call_function as needed.
15918 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
15920         * include/wchar.h (__wmemset): Use __typeof.
15922 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
15924         * include/wchar.h (__wmemset): Declare function without typeof.
15926 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
15928         [BZ #20205]
15929         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
15930         exponent when incrementing negative subnormal with low mantissa
15931         word zero.
15932         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15933         Add another test.
15935 2016-06-03  Florian Weimer  <fweimer@redhat.com>
15937         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
15938         __wmemset instead of wmemset.
15940 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
15942         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
15943         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
15944         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
15945         __USE_KERNEL_IPV6_DEFS to 0.
15946         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
15947         Update comment.
15949 2016-06-01  Florian Weimer  <fweimer@redhat.com>
15951         [BZ #19861]
15952         Do not use IFUNC resolver with potentially unrelocated symbol.
15953         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
15954         (DEFINE_FORK): Remove macro and inline definition.
15955         (fork_alias): Renamed from fork_ifunc.
15956         (__fork_alias): Renamed from __fork_ifunc.
15958 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
15960         [BZ 19653]
15961         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
15962         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
15964 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15966         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
15967         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
15968         i386-linux-gnu).
15969         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
15970         Set to no.
15971         * sysdeps/mach/hurd/configure: Refresh.
15973 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15975         [BZ #20178]
15976         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
15977         on failure instead of exit.
15979 2016-05-30  Roland McGrath  <roland@hack.frob.com>
15981         [BZ #3629]
15982         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
15983         of POSIX.1-2008.
15985 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15987         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
15988           Use PLT entry for calling _hurd_self_sigstate.
15990 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
15992         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
15993         available logical processors with SMT level type sharing L2
15994         cache for Intel processors.
15996 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15998         [BZ #20160]
15999         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
16000         argument to itself before returning the result.
16001         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16002         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16003         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16004         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16005         Likewise.
16006         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16007         Likewise.
16008         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
16009         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
16010         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16011         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16012         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16013         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16015         [BZ #20160]
16016         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
16017         argument to itself before returning the result.
16018         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16019         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16020         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16021         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
16022         Likewise.
16023         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16024         Likewise.
16025         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
16026         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
16027         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
16028         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16029         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16030         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16032 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16034         * libm-test.inc: Replace usage of M_El with
16035         (lit_e): New macro.
16037 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16039         * libm-test.inc: Replace usage of M_PI_4l with
16040         (lit_pi_4_d): New macro.
16042 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16044         * libm-test.inc: Replace usage of M_PIl with
16045         (lit_pi): New macro.
16047 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16049         * libm-test.inc: Replace usage of M_PI2l with
16050         (lit_pi_2_d): New macro.
16052         * math/test-double.h (LITM): New macro.
16053         * math/test-float.h (LITM): Likewise.
16054         * math/test-ldouble.h (LITM): Likewise.
16056 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16058         * libm-test.inc (M_PI_34l): Rename to
16059         (lit_pi_3_m_4_d): New Macro.
16060         (M_PI_34_LOG10El): Rename to
16061         (lit_pi_3_m_4_ln10_m_d): New Macro.
16062         (M_PI2_LOG10El): Rename to
16063         (lit_pi_2_ln10_m_d):  New Macro.
16064         (M_PI4_LOG10El): Rename to
16065         (lit_pi_4_ln10_m_d):  New Macro.
16066         (M_PI_LOG10El): Rename to
16067         (lit_pi_ln10_d):  New Macro.
16069 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16071         [BZ #20157]
16072         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
16073         determine whether to negate low half if [_ARCH_PPCGR], and integer
16074         comparison otherwise.
16075         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
16076         determine whether to negate low half.
16078         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
16079         (NO_TEST_INLINE_DOUBLE): Likewise.
16080         (TEST_COND_x86_64): Likewise.
16081         (TEST_COND_x86): Likewise.
16082         (M_PI_6l): Likewise.
16084 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16086         * math/libm-test.inc:
16087         (TEST_FLOAT): Change usage to TEST_COND_binary32.
16088         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
16089         (TEST_LDOUBLE): Update usage to evaluate as true if
16090         the guarded tests match the property being tested.
16091         (LDBL_MAX_EXP): Change to MAX_EXP.
16092         (LDBL_MIN_EXP): Change to MIN_EXP.
16093         (LDBL_MANT_DIG): Change to MANT_DIG, except for
16094         nexttoward tests.
16096 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16098         * math/libm-test.inc:
16099         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
16100         (TYPE_MIN): Likewise.
16101         (TYPE_TRUE_MIN): Likewise.
16102         (TYPE_MAX): Likewise.
16103         (MIN_EXP): Likewise.
16104         (MAX_EXP): Likewise.
16105         (MANT_DIG): Likewise.
16107         (FSTR_MAX): New macro.
16108         (__CONCATX): Likewise.
16109         (QTYPE_STR): Likewise.
16110         (TEST_COND_binary32): Likewise.
16111         (TEST_COND_binary64): Likewise.
16112         (TEST_COND_binary128): Likewise.
16113         (TEST_COND_ibm128): Likewise.
16114         (TEST_COND_intel96): Likewise.
16115         (TEST_COND_m68k96): Likewise.
16117         (TEST_COND_flt_32): Redefine as equivalent format test macro.
16118         (TEST_COND_dbl_64): Likewise.
16119         (TEST_COND_ldbl_96_intel): Likewise.
16120         (TEST_COND_ldbl_96_m68k): Likewise.
16121         (TEST_COND_ldbl_128): Likewise.
16122         (TEST_COND_ldbl_128ibm): Likewise.
16124         (plus_zero): Redefine using LIT macro.
16125         (minus_zero): Likewise.
16126         (plus_infty): Redefine as (INF).
16127         (minux_infty): Redefine as (-INF).
16128         (max_value): Redefine as TYPE_MAX.
16129         (min_value): Redefine as TYPE_MIN.
16130         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
16132         (print_float): Refactor to use snprintf to convert FLOAT values
16133         to string. This brings it closer to dropin replacement of strtof
16134         for the TS 18661 defined types.
16135         (update_stats): Likewise.
16136         (print_complex_function_ulps): Likewise.
16137         (print_max_error): Likewise.
16138         (print_complex_max_error): Likewise.
16139         (check_float_internal): Likewise.
16141         * math/test-float.h (PREFIX): New macro.
16142         (LIT): Likewise.
16143         (TYPE_STR): Likewise.
16144         (FTOSTR): Likewise.
16146         * math/test-double.h (PREFIX): New macro.
16147         (LIT): Likewise.
16148         (TYPE_STR): Likewise.
16149         (FTOSTR): Likewise.
16151         * math/test-ldouble.h (PREFIX): New macro.
16152         (LIT): Likewise.
16153         (TYPE_STR): Likewise.
16154         (FTOSTR): Likewise.
16156 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16158         [BZ #20156]
16159         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
16160         to itself when zero or not finite.
16161         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
16162         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16163         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
16164         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
16166 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
16168         [BZ #20153]
16169         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
16170         x * x + x for infinities and NaNs.
16172         [BZ #20151]
16173         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
16174         argument to itself before returning result.
16175         (__ieee754_y0l): Likewise.
16176         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16177         (__ieee754_y1l).
16179         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
16180         (atan_test_data): Likewise.
16181         (ceil_test_data): Likewise.
16182         (cos_test_data): Likewise.
16183         (cosh_test_data): Likewise.
16184         (erf_test_data): Likewise.
16185         (exp2_test_data): Likewise.
16186         (fabs_test_data): Likewise.
16187         (floor_test_data): Likewise.
16188         (ilogb_test_data): Likewise.
16189         (j0_test_data): Likewise.
16190         (j1_test_data): Likewise.
16191         (jn_test_data): Likewise.
16192         (lgamma_test_data): Likewise.
16193         (lrint_test_data): Likewise.
16194         (llrint_test_data): Likewise.
16195         (logb_test_data): Likewise.
16196         (lround_test_data): Likewise.
16197         (llround_test_data): Likewise.
16198         (nearbyint_test_data): Likewise.
16199         (rint_test_data): Likewise.
16200         (round_test_data): Likewise.
16201         (sin_test_data): Likewise.
16202         (sincos_test_data): Likewise.
16203         (sinh_test_data): Likewise.
16204         (sqrt_test_data): Likewise.
16205         (tan_test_data): Likewise.
16206         (tanh_test_data): Likewise.
16207         (tgamma_test_data): Likewise.
16208         (trunc_test_data): Likewise.
16209         (y0_test_data): Likewise.
16210         (y1_test_data): Likewise.
16211         (yn_test_data): Likewise.
16213         * math/libm-test.inc: Update comment about NaN testing.
16214         (TEST_SNAN): New macro.
16215         (snan_value): Likewise.
16216         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
16217         (fpclassify_test_data): Add sNaN tests.
16218         (isfinite_test_data): Likewise.
16219         (isinf_test_data): Likewise.
16220         (isnan_test_data): Likewise.
16221         (isnormal_test_data): Likewise.
16222         (issignaling_test_data): Likewise.
16223         (signbit_test_data): Likewise.
16224         * math/gen-libm-test.pl (%beautify): Add snan_value.
16225         (show_exceptions): Add argument $test_snan.
16226         (parse_args): Handle snan_value as non-finite.  Update call to
16227         show_exceptions.
16228         * math/Makefile (libm-test-no-inline-cflags): Add
16229         -fsignaling-nans.
16231 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16233         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
16234         (CFLAGS-oldsendmsg.c): Add rule.
16235         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16236         Correct recvmsg symbol name.
16237         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
16238         Likewise.
16240 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16242         * sysdeps/unix/sysv/linux/Makefile
16243         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
16244         oldsendmmsg.
16245         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
16246         sendmmsg.
16247         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16248         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16249         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16250         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16252         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16253         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16255         Likewise.
16256         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16257         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
16258         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16259         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
16260         iovlen and controllen fields to adjust to POSIX specification.
16261         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16263         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
16264         and change to correct expected type.
16265         (msghdr.msg_controllen): Likewise.
16266         (cmsghdr.cmsg_len): Likewise.
16267         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
16268         expected POSIX assumption about the size.
16269         (msghdr.msg_controllen): Likewise.
16270         (msghdr.__glibc_reserved1): Likewise.
16271         (msghdr.__glibc_reserved2): Likewise.
16272         (cmsghdr.cmsg_len): Likewise.
16273         (cmsghdr.__glibc_reserved1): Likewise.
16274         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
16275         Add ptw-oldrecvmsg and ptw-oldsendmsg.
16276         (CFLAGS-sendmsg.c): Remove rule.
16277         (CFLAGS-recvmsg.c): Likewise.
16278         (CFLAGS-oldsendmsg.c): Add rule.
16279         (CFLAGS-oldrecvmsg.c): Likewise.
16280         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
16281         recvmsg and sendmsg.
16282         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
16283         Likewise.
16284         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
16285         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
16286         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16287         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
16288         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16289         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16290         Likewise.
16291         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16292         Likewise.
16293         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
16294         Likewise.
16295         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
16296         Likewise.
16297         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16298         Likewise.
16299         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16300         Likewise.
16301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
16302         (GLIBC_2.24): Likewise.
16303         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16304         Likewise.
16305         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16306         Likewise.
16307         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16308         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16309         Likewise.
16310         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16311         Likewise.
16312         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16313         Likewise.
16314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
16315         (GLIBC_2.24): Likewise.
16316         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
16317         Likewise.
16318         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
16319         Likewise.
16320         * sysdeps/unix/sysv/linux/Makefile
16321         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
16322         (CFLAGS-sendmsg.c): Add rule.
16323         (CFLAGS-recvmsg.c): Likewise.
16324         (CFLAGS-oldsendmsg.c): Likewise.
16325         (CFLAGS-oldrecvmsg.c): Likewise.
16326         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
16327         initialization.
16328         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16329         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16330         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
16331         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16332         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
16333         iovlen and controllen fields to adjust to POSIX specification.
16334         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
16335         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
16336         added recvmsg and sendmsg.
16337         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16338         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16339         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16340         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16341         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16342         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16343         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16344         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16345         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16346         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16347         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16348         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16350         Likewise.
16351         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
16352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16353         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16354         Likewise.
16355         Likewise.
16356         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16357         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16358         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16359         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16360         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16361         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16363         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16365         Likewise.
16366         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16367         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16369         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
16370         from auto-generation.
16371         (sendmsg): Likewise.
16372         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
16373         (sendmsg): Likewise.
16374         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
16375         (sendmsg): Likewise.
16376         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
16377         (sendmsg): Likewise.
16378         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
16379         (sendmsg): Likewise.
16380         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
16381         (sendmsg): Likewise.
16382         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
16383         Likewise.
16384         (sendmsg): Likewise.
16385         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
16386         (sendmsg): Likewise.
16387         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16389         Remove.
16390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16391         Likewise.
16392         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16393         Undefine.
16394         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16395         Likewise.
16396         * sysdeps/unix/sysv/linux/kernel-features.h
16397         (__ASSUME_SENDMSG_SYSCALL): Define.
16398         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16399         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16400         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16401         Remove.
16402         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16403         Likewise.
16404         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16405         Undefine.
16406         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16407         Likewise.
16408         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16409         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16410         Remove.
16411         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16412         Likewise.
16413         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16414         Undefine.
16415         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16416         Likewise.
16417         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16418         (__ASSUME_SENDMSG_SYSCALL): Undefine.
16419         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16420         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16421         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16422         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16423         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16424         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16425         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16427 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16429         * stdlib/gen-tst-strtod-round.c: Add backslash to
16430         compile command in comment.
16431         (printfp): Remove the literal suffix, and define an infinite
16432         value as INF to avoid expansion clash with INFINITY.
16433         (round_str): Remove the literal suffix.
16434         (round_for_all): Likewise, remove the now duplicate ldbl-64
16435         entry, and remove some magic constants.
16437         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
16438         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
16439         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
16440         (_CONCAT): New macro.
16441         (CONCAT): Likewise.
16442         (CHOOSE_ld): Likewise.
16443         (CHOOSE_f): Likewise.
16444         (CHOOSE_d): Likewise.
16445         (FTYPE_MEMBER): Likewise.
16446         (BOOL_MEMBER): Likewise.
16447         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
16448         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
16449         (_XNTRY): Likewise.
16450         (XNTRY): Likewise.
16451         (_ENTRY): Likewise.
16452         (ENTRY): Likewise.
16453         (test_exactness): Generate members via macro.
16454         (test_results): Likewise.
16455         (test): Update members.
16456         (TEST): Redefine using new macros.
16457         (INF): New macro.
16458         (fetestmodes): New structure.
16459         (do_test): Refactor to be type generic.
16460         (test_in_one_mode): Refactor duplicate code into
16461         (GEN_ONE_TEST): New macro.
16463         * stdlib/tst-strtod-round-data.h: Regenerate.
16465         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
16466         Extend to pass additional arbitrary parameters to
16467         generators.
16469 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
16471         [BZ #15479]
16472         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
16473         floating-point state after first floating-point operation on
16474         input.  Restore full floating-point state instead of just rounding
16475         mode.
16476         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16477         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16478         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16479         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16480         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16482         [BZ #15479]
16483         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
16484         floating-point state after first floating-point operation on
16485         input.  Restore full floating-point state instead of just rounding
16486         mode.
16487         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16488         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16489         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16490         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16491         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16493 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16495         [BZ #19727]
16496         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
16497         valid high surrogate.
16498         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
16499         of an utf16 surrogate.
16500         * iconv/gconv_simple.c (BODY): Likewise.
16501         * iconvdata/bug-iconv12.c: New file.
16502         * iconvdata/Makefile (tests): Add bug-iconv12.
16504 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16506         [BZ #19726]
16507         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
16508         outptrp in case of an illegal input.
16509         * iconv/tst-iconv6.c: New file.
16510         * iconv/Makefile (tests): Add tst-iconv6.
16512 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16514         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
16515         an error in case of a value in range of an utf16 low surrogate.
16517 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16519         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
16520         an error in case of a value in range of an utf16 low surrogate.
16522 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16524         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
16525         Move to ...
16526         * sysdeps/s390/Makefile: ... here.
16527         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
16528         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
16529         (BRANCH_ON_COUNT): New define.
16530         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
16531         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
16532         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
16533         run on s390-32, too.
16534         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
16535         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
16536         run on s390-32, too.
16537         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
16538         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
16539         run on s390-32, too.
16541 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16543         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
16544         etf3eh or new vector loop-variant.
16546 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16548         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
16549         etf3eh or new vector loop-variant.
16551 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16553         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
16554         or new vector loop-variant.
16556 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16558         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
16559         Rename to TR_LOOP and usage of tr instead of troo instruction.
16561 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16563         * sysdeps/s390/multiarch/gconv_simple.c: New File.
16564         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
16566 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16568         * sysdeps/s390/multiarch/8bit-generic.c: New File.
16569         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
16570         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
16571         New override define.
16572         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
16574 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16576         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
16577         * sysdeps/s390/configure.ac: Add test for S390 vector register
16578         support in gcc.
16579         * sysdeps/s390/configure: Regenerated.
16581 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16583         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
16584         Install file from $(objpfx)gconv-modules.
16585         ($(objpfx)gconv-modules): Concatenate architecture specific file
16586         in variable sysdeps-gconv-modules and gconv-modules in src dir.
16587         * sysdeps/s390/gconv-modules: New file.
16588         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
16589         Deleted.
16590         ($(objpfx)gconv-modules-s390): Deleted.
16591         (sysdeps-gconv-modules): New variable.
16593 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
16595         [BZ #15479]
16596         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
16597         of immediate operand to rounding instruction.
16598         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
16599         Likewise.
16600         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
16601         Likewise.
16602         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
16603         Likewise.
16605 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16607         * math/libm-test.inc (MIN_EXP): Directly define as
16608         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
16610 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16612         * math/libm-test.inc (MANT_DIG): Directly define as
16613         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
16615 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16617         * stdlib/gen-tst-strtod-round.c (main):
16618           Change usage to more closely match the generated
16619           output.  Add usage and compilation instructions.
16620           (string_to_fp): Add and use FILE* parameter as
16621           output target.
16622           (print_fp): Likewise.
16623           (round_str): Likewise.
16624           (round_for_all): Likewise.
16625         * stdlib/tst-strtod-round.c (tests): Move into
16626         * stdlib/tst-strtod-round-data.h: New file.
16628 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
16630         [BZ #15479]
16631         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
16632         (__round): Do not force "inexact" exception.
16633         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
16634         variable.
16635         (__round): Do not force "inexact" exception.
16636         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
16637         (__roundf): Do not force "inexact" exception.
16638         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
16639         (__roundl): Do not force "inexact" exception.
16640         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
16641         (__roundl): Do not force "inexact" exception.
16642         * math/libm-test.inc (round_test_data): Do not allow spurious
16643         "inexact" exceptions.
16645         [BZ #15479]
16646         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
16647         exception in comment.
16648         (huge): Remove variable.
16649         (__floor): Do not force "inexact" exception.
16650         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
16651         "inexact" exception in comment.
16652         (huge): Remove variable.
16653         (__floor): Do not force "inexact" exception.
16654         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
16655         exception in comment.
16656         (huge): Remove variable.
16657         (__floorf): Do not force "inexact" exception.
16658         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
16659         exception in comment.
16660         (huge): Remove variable.
16661         (__floorl): Do not force "inexact" exception.
16663         [BZ #15479]
16664         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
16665         exception in comment.
16666         (huge): Remove variable.
16667         (__ceil): Do not force "inexact" exception.
16668         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
16669         "inexact" exception in comment.
16670         (huge): Remove variable.
16671         (__ceil): Do not force "inexact" exception.
16672         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
16673         (__ceilf): Do not force "inexact" exception.
16674         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
16675         exception in comment.
16676         (huge): Remove variable.
16677         (__ceill): Do not force "inexact" exception.
16679 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16681         * config.h.in (BIND_NOW): New.
16682         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
16683         * configure: Regenerated.
16684         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
16685         indirect branch via the GOT slot.
16687 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16689         [BZ #19765]
16690         * sysdeps/s390/mempcpy.S: New File.
16691         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16692         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
16693         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16694         Add mempcpy variants.
16695         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
16696         (memcpy): Adjust to be usable from mempcpy entry point.
16697         (__memcpy_mvcle): Likewise.
16698         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16699         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
16700         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
16701         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
16702         (__memcpy_z10): Likewise.
16703         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16705 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16707         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
16708         Remove __GI_ symbol.
16709         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
16710         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
16711         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
16712         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16713         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
16714         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
16716 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16718         * sysdeps/s390/s390-64/memcpy.S (memcpy):
16719         Use cghi instead of chi to compare 64bit value.
16721 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16723         * sysdeps/s390/s390-32/memcpy.S (memcpy):
16724         Jump to 1MB check before executing mvc-loop.
16726 2016-05-24  Florian Weimer  <fweimer@redhat.com>
16728         [BZ #6527]
16729         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
16730         unconditionally.
16731         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
16733 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16735         * stdlib/tst-strtod6.c (do_test): Use new type generic
16736         invocation of the test function.
16737         (test): Refactor into ...
16738         (TEST_STRTOD): New macro base function.
16740 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16742         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
16743         (TEST_STRTOD): New macro.
16744         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
16746 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16748         * stdlib/tst-strtod6.c (do_test): Use new type generic
16749         invocation of the test function.
16750         (test): Refactor into ...
16751         (TEST_STRTOD): New macro base function.
16753 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16755         CVE-2016-4429
16756         [BZ #20112]
16757         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
16758         payload.
16760 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16762         [BZ #20111]
16763         * bits/sockaddr.h (_SS_SIZE): Define.
16764         * bits/socket.h (_SS_SIZE): Remove.
16765         (_SS_PADSIZE): Adjust to account for all padding.
16766         (struct sockaddr_storage): Update comment.  Avoid implicit
16767         padding.
16768         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
16769         (_SS_PADSIZE): Adjust to account for all padding.
16770         (struct sockaddr_storage): Update comment.  Avoid implicit
16771         padding.
16772         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
16773         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
16774         (_SS_PADSIZE): Adjust to account for all padding.
16775         (struct sockaddr_storage): Update comment.  Avoid implicit
16776         padding.
16777         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
16778         __SS_SIZE is 126 in this version.
16779         * inet/tst-sockaddr.c: New file.
16780         * inet/Makefile (tests): Add tst-sockaddr.c
16781         (tst-sockaddr.c): Compile with non-strict aliasing.
16783 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
16785         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
16786         [XPG3 || XPG4].
16787         (NL_ARGMAX): Also expect for [XPG3].
16788         (NL_LANGMAX): Likewise.
16789         (NL_MSGMAX): Likewise.
16790         (NL_NMAX): Likewise.
16791         (NL_SETMAX): Likewise.
16792         (NL_TEXTMAX): Likewise.
16793         (NZERO): Likewise.
16794         (TMP_MAX): Likewise.
16795         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
16796         variable.
16798         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
16799         (PF_MAX): Update value.
16800         (AF_KCM): New macro.
16801         (SOL_NETBEUI): Likewise.
16802         (SOL_LLC): Likewise.
16803         (SOL_DCCP): Likewise.
16804         (SOL_NETLINK): Likewise.
16805         (SOL_TIPC): Likewise.
16806         (SOL_RXRPC): Likewise.
16807         (SOL_PPPOL2TP): Likewise.
16808         (SOL_BLUETOOTH): Likewise.
16809         (SOL_PNPIPE): Likewise.
16810         (SOL_RDS): Likewise.
16811         (SOL_IUCV): Likewise.
16812         (SOL_CAIF): Likewise.
16813         (SOL_ALG): Likewise.
16814         (SOL_NFC): Likewise.
16815         (SOL_KCM): Likewise.
16816         (MSG_BATCH): New enum value and macro.
16818 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
16820         [BZ #18185]
16821         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
16822         sharing L2 cache to 2 for Knights Landing.
16824 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
16826         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
16827         (FTW_DP): Do not expect for [XPG3 || XPG4].
16828         (FTW_SL): Do not expect for [XPG3].
16829         (FTW_SLN): Likewise.
16830         (FTW_PHYS): Likewise.
16831         (FTW_MOUNT): Likewise.
16832         (FTW_DEPTH): Likewise.
16833         (FTW_CHDIR): Likewise.
16834         (nftw): Likewise.
16835         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
16836         variable.
16838 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16840         * manual/errno.texi: Fix various typos & grammar errors.
16842 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16844         * manual/intro.texi: Fix duplicated typo.
16846 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16848         [BZ #13304]
16849         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
16850         <float.h>, <math_private.h> and <stdlib.h>.
16851         (add_split): New function.
16852         (mul_split): Likewise.
16853         (ext_val): New typedef.
16854         (store_ext_val): New function.
16855         (mul_ext_val): New function.
16856         (compare): New function.
16857         (add_split_ext): New function.
16858         (__fmal): After checking for Inf, NaN and zero, compute result as
16859         an exact sum of scaled double values in round-to-nearest before
16860         adding those up and adjusting for other rounding modes.
16861         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
16862         tests of fma.
16863         * math/auto-libm-test-out: Regenerated.
16865 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16867         [BZ #20119]
16868         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
16869         processor level type mask for CPUID with EAX == 11.
16871 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16873         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
16874         logical threads if the HTT bit is 0.
16875         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
16876         (index_cpu_HTT): Likewise.
16877         (reg_HTT): Likewise.
16879 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16881         [BZ #20115]
16882         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
16883         Remove alignments on jump targets.
16885 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16887         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
16888         (getpwent): Likewise.
16889         (setpwent): Likewise.
16890         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
16891         variable.
16893         * conform/data/search.h-data (insque): Do not expect for [XPG3].
16894         (remque): Likewise.
16895         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
16896         variable.
16898 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16900         * math/libm-test.inc: Update comment not to refer to signs of NaNs
16901         not being tested.
16903 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16905         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16906         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
16907         call.
16908         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16909         (__condvar_cleanup1): Likewise.
16911 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16913         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
16914         New
16915         (__pthread_unwind): Renamed to ...
16916         (PTHREAD_UNWIND): This.
16917         (__pthread_enable_asynccancel): Replace
16918         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
16920 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16922         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
16923         (CLONE_NEWCGROUP): New macro.
16925         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
16926         (Q_GETNEXTQUOTA): New macro.
16928 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16930         [BZ #19907]
16931         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
16932         buffer updated by the previous run.
16933         * string/test-memcpy.c (do_one_test): Likewise.
16934         * benchtests/bench-memmove.c (do_one_test): Add a comment.
16935         * string/test-memmove.c (do_one_test): Likewise.
16937 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
16939         [BZ #20094]
16940         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
16941         not [__USE_XOPEN].
16942         (unlockpt): Likewise.
16943         (ptsname): Likewise.
16944         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
16945         variable.
16947         [BZ #20076]
16948         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
16949         instead of [__USE_UNIX98].
16950         (S_ISSOCK): Likewise.
16951         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
16952         variable.
16954         [BZ #20074]
16955         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
16956         [__USE_POSIX].
16957         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
16958         variable.
16960         [BZ #20051]
16961         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
16962         (ttyslot): Do not declare.
16963         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
16964         (ttyslot): New prototype.
16965         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
16966         variable.
16967         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16969 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16971         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
16973 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16975         Fix race condition in tst-mallocfork2, use fewer resources.
16976         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
16977         to current process group.
16978         (signal_sender): Yield in the non-sleeping case.
16980 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
16982         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
16983         (ecvt): Likewise.
16984         (fcvt): Likewise.
16985         (gcvt): Likewise.
16986         (getsubopt): Likewise.
16987         (grantpt): Likewise.
16988         (initstate): Likewise.
16989         (l64a): Likewise.
16990         (mktemp): Likewise.
16991         (mkstemp): Likewise.
16992         (ptsname): Likewise.
16993         (random): Likewise.
16994         (realpath): Likewise.
16995         (setstate): Likewise.
16996         (srandom): Likewise.
16997         (ttyslot): Likewise.
16998         (unlockpt): Likewise.
16999         (valloc): Likewise.
17001         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
17002         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
17003         variable.
17005 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17007         [BZ #20072]
17008         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
17009         init_cpu_features only if SHARED is defined.
17010         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
17012 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17014         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
17015         non-inclusive caches on Intel processors.
17017 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17019         * malloc/malloc.c (dumped_main_arena_start)
17020         (dumped_main_arena_end): New variables.
17021         (DUMPED_MAIN_ARENA_CHUNK): New macro.
17022         (do_check_chunk): Skip dumped fake mmapped chunks.
17023         (munmap_chunk): Likewise.
17024         (__libc_free): Do not adjust statistics for fake mmapped chunks.
17025         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
17026         mmapped chunks.
17027         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
17028         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
17029         and dumped_main_arena_end to cover the dumped heap.
17031 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
17033         * conform/data/time.h-data (getdate_err): Do not expect for
17034         [XPG3].
17035         (getdate): Likewise.
17036         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
17037         variable.
17039         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
17040         (F_ULOCK): Likewise.
17041         (F_TEST): Likewise.
17042         (F_TLOCK): Likewise.
17043         (useconds_t): Likewise.
17044         (intptr_t): Do not expect for [XPG3] or [XPG4].
17045         (brk): Do not expect for [XPG3]
17046         (fchown): Likewise.
17047         (fchdir): Likewise.
17048         (ftruncate): Likewise.
17049         (getdtablesize): Likewise.
17050         (gethostid): Likewise.
17051         (getpagesize): Likewise.
17052         (getpgid): Likewise.
17053         (getsid): Likewise.
17054         (getwd): Likewise.
17055         (lchown): Likewise.
17056         (lockf): Likewise.
17057         (readlink): Likewise.
17058         (sbrk): Likewise.
17059         (setpgrp): Likewise.
17060         (setregid): Likewise.
17061         (setreuid): Likewise.
17062         (symlink): Likewise.
17063         (sync): Likewise.
17064         (truncate): Likewise.
17065         (ualarm): Likewise.
17066         (usleep): Likewise.
17067         (vfork): Likewise.
17068         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
17069         variable.
17071         [BZ #20054]
17072         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
17073         not [__USE_UNIX98].
17074         * conform/data/unistd.h-data (gethostname): Do not expect for
17075         [XPG3].
17077         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
17078         [!POSIX] (S_IFBLK): Likewise.
17079         [!POSIX] (S_IFCHR): Likewise.
17080         [!POSIX] (S_IFIFO): Likewise.
17081         [!POSIX] (S_IFREG): Likewise.
17082         [!POSIX] (S_IFDIR): Likewise.
17083         [!POSIX] (S_IFLNK): Likewise.
17084         [!POSIX] (S_IFSOCK): Likewise.
17085         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
17086         variable.
17087         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17089 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
17091         * sysdeps/aarch64/memset.S (__memset):
17092         Rewrite of optimized memset.
17094 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17096         [BZ #19703]
17097         Partially async-signal-safe fork for single-threaded processes.
17098         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
17099         variable.  Do not acquire and reset/release malloc and libio locks
17100         in single-threaded processes.
17101         * malloc/tst-mallocfork2.c: New file.
17102         * malloc/Makefile (tests): Add it.
17104 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17106         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
17107         argument.  Use scratch buffer instead of extend_alloca.
17108         (gethosts): Use scratch buffer instead of extend_alloca.
17109         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
17110         extend_alloca.
17111         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
17113 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
17115         [BZ #20055]
17116         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
17117         instead of [__USE_UNIX98].
17118         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
17119         [__USE_UNIX98].
17120         * conform/data/termios.h-data (tcgetsid): Do not expect for
17121         [XPG3].
17122         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
17123         variable.
17124         (test-xfail-XPG4/termios.h/conform): Likewise.
17126 2016-05-11  Florian Weimer  <fweimer@redhat.com>
17128         Do not use mcheck in localedef.
17129         * locale/programs/localedef.c (turn_on_mcheck)
17130         (__malloc_initialize_hook): Remove.
17132 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17134         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
17135         * sysdeps/s390/s390-64/Makefile: Likewise.
17137 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17139         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
17140         Remove ifunc-defines.sym.
17141         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
17142         Likewise.
17143         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
17144         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17145         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
17146         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
17147         rtld-global-offsets.sym.
17148         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
17149         * sysdeps/x86/cpu-features-offsets.sym: This.
17150         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
17151         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
17153 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
17155         [BZ #20073]
17156         * io/sys/stat.h (fchmod): Declare for
17157         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
17158         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
17159         variable.
17161         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
17162         [XPG3] (S_IFSOCK): Likewise.
17163         [XPG3] (S_ISVTX): Likewise.
17164         [XPG3] (S_ISLNK): Likewise.
17165         [XPG3] (S_ISSOCK): Likewise.
17166         [XPG3] (fchmod): Likewise.
17167         [XPG3] (lstat): Likewise.
17168         [XPG3] (mknod): Likewise.
17170         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
17171         [XPG3].  Expect type long and XFAIL for [XPG4].
17172         (st_blocks): Likewise.
17174         [BZ #20044]
17175         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
17176         (pthread_atfork): New prototype.
17177         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
17178         variable.
17180         [BZ #20043]
17181         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
17182         prototype.
17184 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17186         [BZ #20017]
17187         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
17188         gmtime.
17190 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17192         [BZ #19994]
17193         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
17194         flag in _res.options.
17196 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
17198         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
17199         [XPG3 || XPG4].
17200         (blksize_t): Likewise.
17201         (clockid_t): Likewise.
17202         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
17203         variable.
17204         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17206 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17208         * sysdeps/unix/sysv/linux/s390/init-first.c:
17209         Add VDSO_SYMBOL(getcpu).
17210         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
17211         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
17212         Add VDSO_SYMBOL(getcpu).
17213         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
17214         New define HAVE_GETCPU_VSYSCALL.
17215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17217 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17219         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
17220         instead of <sysdeps/x86_64/cacheinfo.c>.
17221         * sysdeps/x86_64/cacheinfo.c: Moved to ...
17222         * sysdeps/x86/cacheinfo.c: Here.
17224 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17226         * malloc/malloc-internal.h: Adjust header file guard.
17228 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17230         [BZ #19787]
17231         * inet/getnameinfo.c (check_sprintf_result): New function.
17232         (CHECKED_SNPRINTF): New macro.
17233         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
17234         to the host buffer.
17235         (gni_host_local): Use checked_copy to copy the host name.
17236         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
17237         (gni_serv_local): Use checked_copy to copy the service name.
17238         (getnameinfo): Remove unnecessary truncation of result buffers.
17240 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17242         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
17243         in case of inet_ntop failure.
17245 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17247         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
17248         avoid long lines.
17249         (gni_host_inet_numeric): Likewise.  Reduce scope of local
17250         variables.
17251         (gni_host_inet, gni_host_local): Add comment.
17252         (gni_host): Add comment.  Use temporary to avoid long lines.
17254 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17256         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
17257         registers specifiers where general purpose registers specifiers should
17258         have been used.
17260 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17262         [BZ #19779]
17263         CVE-2016-1234
17264         Avoid copying names of directory entries.
17265         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
17266         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
17267         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
17268         (struct readdir_result): New type.
17269         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
17270         (GL_READDIR): New macros.
17271         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
17272         (convert_dirent, convert_dirent64): New functions.
17273         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
17274         convert_dirent64.  Adjust references to the readdir result.
17275         * sysdeps/unix/sysv/linux/i386/glob64.c:
17276         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
17277         * posix/bug-glob2.c (LONG_NAME): Define.
17278         (filesystem): Add LONG_NAME.
17279         (my_DIR): Increase the size of room_for_dirent.
17281 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
17283         [BZ #20041]
17284         * misc/sys/select.h (__need_timespec): Only define if
17285         [__USE_XOPEN2K].
17286         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
17287         variable.
17288         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17289         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17290         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17292 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17293             Segher Boessenkool  <segher@gcc.gnu.org>
17295         [BZ #20004]
17296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
17297         (__novec_swapcontext): Add missing load.
17299 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
17301         [BZ #20023]
17302         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
17303         <time.h>.
17304         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
17305         variable.
17306         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17308 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
17311         flags CLONE_VM compare.
17313 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17315         [BZ #20031]
17316         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
17317         completely empty.
17319 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17321         [BZ #19573]
17322         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
17323         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
17324         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
17325         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
17326         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
17327         (hesiod_free_list): Mark as hidden.
17328         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
17329         res_set, res_get.
17330         * hesiod/hesiod.c: Remove unnecessary forward declarations.
17331         (init, __hesiod_res_get, __hesiod_res_set): Remove.
17332         (hesiod_init): Remove obsolete res_ninit call.
17333         (hesiod_end): Do not free resolver state.  Do not invoke callback.
17334         (hesiod_bind): Do not call init.
17335         (get_txt_records): Use res_mkquery, res_send instead of
17336         res_nmkquery, res_nsend.
17337         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
17338         instead of _nss_hesiod_init.
17339         (_nss_hesiod_initgroups_dyn): Likewise.
17340         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
17341         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
17342         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
17344 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17346         * hesiod/hesiod_p.h (DEF_RHS): Remove.
17347         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
17349 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17351         * hesiod/hesiod.h: Remove RCS keyword.
17352         * hesiod/hesiod_p.h: Likewise.
17354         * hesiod/hesiod.c: Likewise.
17356 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
17358         [BZ #12450]
17359         * locale/iso-639.def: Add Samogitian/sgs.
17361 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17363         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
17365         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
17367 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
17368             Carlos O'Donell  <carlos@redhat.com>
17370         [BZ #19072]
17371         * grp/Makefile (headers): Add grp-merge.h
17372         (routines): Add grp-merge.
17373         * grp/getgrgid_r.c: Include grp-merge.h.
17374         (DEEPCOPY_FN): Define.
17375         (MERGE_FN): Define.
17376         * grp/getgrname_r.c: Include grp-merge.h.
17377         (DEEPCOPY_FN): Define.
17378         (MERGE_FN): Define.
17379         * grp/grp-merge.c: New file.
17380         * grp/grp-merge.h: New file.
17381         * include/grp-merge.h: New file.
17382         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
17383         __copy_grp@GLIBC_PRIVATE.
17384         * manual/nss.texi (Actions in the NSS configuration): Describe
17385         return, continue, and merge.
17386         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
17387         (DEEPCOPY_FN): Define.
17388         (MERGE_FN): Define.
17389         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
17390         (DEEPCOPY_FN): Define.
17391         (MERGE_FN): Define.
17392         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
17393         [!MERGE_FN]: Define __merge_einval.
17394         (CHECK_MERGE): Define.
17395         (REENTRANT_NAME): Process merge if do_merge is true.
17396         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
17397         (__nss_getent_r): Likewise.
17398         * nss/nsswitch.c (nss_parse_service_list): Likewise.
17399         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
17401 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17403         [BZ #20012]
17404         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
17405         length to calculate the buffer to read.
17406         (fmemopen_write): Set the buffer position based on bytes written.
17407         (fmemopen_seek): Return EINVAL for invalid whence modes.
17409         [BZ #19957]
17410         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
17411         tst-getpid2.
17412         (test): Add tst-clone2.
17413         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
17414         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
17415         pid/tid fields for CLONE_VM.
17416         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17417         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17418         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17419         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
17420         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17421         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17422         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17423         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17425         Likewise.
17426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17427         Likewise.
17428         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17429         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17430         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17431         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17432         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17433         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17434         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17435         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
17437 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17439         [BZ #19642]
17440         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
17441         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
17442         (gni_serv_local, gni_serv): New functions extracted from
17443         getnameinfo.
17444         (getnameinfo): Call gni_host and gni_serv to perform the
17445         processing.  Always free scratch buffer.
17447 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17449         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
17450         remaining bytes in the dest string, with zeros.
17452 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17454         [BZ #20010]
17455         CVE-2016-3706
17456         * sysdeps/posix/getaddrinfo.c
17457         (convert_hostent_to_gaih_addrtuple): New function.
17458         (gethosts): Call convert_hostent_to_gaih_addrtuple.
17459         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
17460         AF_INET data.
17462 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17464         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
17465         callback function gl_readdir.
17466         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
17467         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
17468         (glob_in_dir): Remove len.  Use strdup instead of malloc and
17469         memcpy to copy the name.
17470         * manual/pattern.texi (Calling Glob): Document requirements for
17471         implementations of the gl_readdir callback function.
17472         * manual/examples/mkdirent.c: New example.
17473         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
17474         per the manual guidance.
17475         * posix/tst-gnuglob.c (my_readdir): Likewise.
17477 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
17479         [BZ #20014]
17480         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
17481         not [__USE_POSIX].
17482         (getchar_unlocked): Likewise.
17483         (putc_unlocked): Likewise.
17484         (putchar_unlocked): Likewise.
17485         (flockfile): Likewise.
17486         (ftrylockfile): Likewise.
17487         (funlockfile): Likewise.
17488         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
17489         variable.
17490         (test-xfail-XPG4/stdio.h/conform): Likewise.
17492         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
17493         Expect constant.
17494         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
17495         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
17496         variable.
17497         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17498         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17500         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
17501         [__USE_LARGEFILE64] (off64_t): Likewise.
17502         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
17503         variable.
17505 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17507         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
17509 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17511         * resolv/inet_addr.c: Reindent preprocessor conditionals.
17512         * resolv/res_init.c: Likewise.
17513         * resolv/res_mkquery.c: Likewise.
17515 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17517         * resolv/res_init.c (isascii): Do not define.  Use definition in
17518         <ctype.h>.
17519         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
17520         (LOG_AUTH): Remove.
17521         (SPRINTF): Remove, adjust caller.
17522         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
17524 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17526         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
17527         SUNSECURITY conditional.
17528         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
17530 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17532         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
17533         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
17534         Remove BSD-related preprocessor conditionals.
17535         * conf/portability.h: Remove.
17537 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17539         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
17540         * resolv/res_data.c: Likewise.
17542 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17544         * resolv/res_comp.c: Remove code conditional on __ultrix__.
17545         * resolv/res_data.c: Remove code conditional on ultrix.
17547 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17549         * resolv/res_init.c (RFC1535): Do not define.  Remove
17550         RFC1535 preprocessor conditionals.
17551         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
17552         because there configuration options which make the resolver
17553         behavior different.
17555 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17557         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
17558         RESOLVSORT preprocessor conditionals.
17559         * resolv/nss_dns/dns-host.c: Likewise.
17560         * resolv/res_init.c: Likewise.
17562 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17564         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
17565         is never defined.
17567 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17569         * inet/inet_lnaof.c: Remove SCSS keyword.
17570         * inet/inet_mkadr.c: Likewise.
17571         * inet/inet_net.c: Likewise.
17572         * inet/inet_netof.c: Likewise.
17573         * inet/rcmd.c: Likewise.
17574         * inet/rexec.c: Likewise.
17575         * inet/ruserpass.c: Likewise.
17577 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17579         * resolv/inet_addr.c: Remove _LIBC conditionals.
17580         * resolv/res_data.c: Likewise.
17581         * resolv/res_init.c: Likewise.
17582         * resolv/res_mkquery.c: Likewise.
17583         * resolv/res_libc.c: Update comment.
17584         * resolv/README: Update.
17586 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17588         * resolv/gethnamaddr.c: Remove SCSS keyword.
17589         * resolv/herror.c: Likewise.
17590         * resolv/inet_addr.c: Likewise.
17591         * resolv/inet_net_ntop.c: Likewise.
17592         * resolv/inet_net_pton.c: Likewise.
17593         * resolv/inet_neta.c: Likewise.
17594         * resolv/inet_ntop.c: Likewise.
17595         * resolv/inet_pton.c: Likewise.
17596         * resolv/ns_date.c: Remove RCS keyword.
17597         * resolv/ns_name.c: Likewise.
17598         * resolv/ns_netint.c: Likewise.
17599         * resolv/ns_parse.c: Likewise.
17600         * resolv/ns_print.c: Likewise.
17601         * resolv/ns_samedomain.c: Likewise.
17602         * resolv/ns_ttl.c: Likewise.
17603         * resolv/nsap_addr.c: Likewise.
17604         * resolv/res_comp.c: Remove SCSS and RCS keyword.
17605         * resolv/res_data.c: Remove RCS keyword.
17606         * resolv/res_debug.c: Remove SCSS and RCS keyword.
17607         * resolv/res_init.c: Likewise.
17608         * resolv/res_mkquery.c: Likewise.
17609         * resolv/res_query.c: Likewise.
17610         * resolv/res_send.c: Likewise.
17612 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
17614         * conform/data/stdio.h-data (fdopen): Expect also for
17615         [XPG3 || XPG4].
17617         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
17618         (fseeko): Likewise.
17619         (ftello): Likewise.
17620         (ftrylockfile): Likewise.
17621         (funlockfile): Likewise.
17622         (getc_unlocked): Likewise.
17623         (getchar_unlocked): Likewise.
17624         (putc_unlocked): Likewise.
17625         (putchar_unlocked): Likewise.
17627 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17629         [BZ #19868]
17630         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
17631         DNS packet syntax checks (which were not needed before).  Skip
17632         over non-PTR records.
17634 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17636         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
17637         definition.  Include <stddef.h> instead.
17639 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17641         [BZ #19831]
17642         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
17643         function.
17644         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
17645         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
17647 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17649         [BZ #19862]
17650         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
17651         (getanswer_r): Do not call syslog.
17652         (gaih_getanswer_slice): Likewise.
17653         * resolv/gethnamaddr.c (AskedForGot): Remove.
17654         (getanswer): Do not call syslog.
17655         (gethostbyaddr): Likewise.
17657 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
17659         * conform/data/signal.h-data (union sigval): Expect also if
17660         [XOPEN2K].
17661         (struct sigevent): Likewise.
17662         (SIGEV_NONE): Likewise.
17663         (SIGEV_SIGNAL): Likewise.
17664         (SIGEV_THREAD): Likewise.
17665         (SIGRTMIN): Likewise.
17666         (SIGRTMAX): Likewise.
17667         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
17668         variable.
17669         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17671 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17673         [BZ #19830]
17674         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
17675         (gaih_getanswer_slice): Likewise.
17676         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
17677         Also check for availability of RR metadata.
17679 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17681         [BZ #19825]
17682         * resolv/res_send.c (send_vc): Remove early *resplen2
17683         initialization.  Set *resplen2 on socket error.  Call
17684         close_and_return_error for other errors.
17686 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17688         * sysdeps/unix/sysv/linux/netiucv/iucv.h
17689         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
17690         (SCM_IUCV_TRGCLS): New define.
17692 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17694         [BZ #20005]
17695         * libio/fmemopen.c (fmemopen_write): Update internal position after
17696         write.
17697         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
17698         * stdio-common/tst-fmemopen4.c: New file..
17700 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
17702         [BZ #19996]
17703         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
17704         not [__USE_XOPEN2K].
17705         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
17706         variable.
17708         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
17709         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
17710         variable.
17712         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
17713         [__USE_XOPEN2K8].
17714         [__USE_LARGEFILE64] (off64_t): Likewise.
17715         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
17716         variable.
17718 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
17720         [BZ #19989]
17721         * libio/stdio.h (cuserid): Do not declare if
17722         [__USE_XOPEN2K && !__USE_GNU].
17723         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
17724         variable.
17726 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17728         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17729         (sysdep_routines): Add P8 and PPC64 strcspn targets.
17730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17731         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17732         ifunc'ed strcspn.
17733         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17734         [EALIGN]: Removed.
17735         [END]: Likewise
17736         [STRSPN]: Define instead of the above to control symbol name.
17737         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
17738         New file.
17739         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
17740         Likewise.
17741         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
17742         Likewise.
17743         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
17744         Likewise.
17745         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17746         [INITIAL_MASK]: New macro.
17747         [STRCSPN]: Likewise.
17748         [UPDATE_MASK]: Likewise.
17749         [USE_AS_STRCSPN]: Likewise.
17751 2016-04-25  Florian Weimer  <fweimer@redhat.com>
17753         [BZ #19931]
17754         * stdio-common/tst-vfprintf-width-prec.c: New file.
17755         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
17756         (tests-special): Add tst-vfprintf-width-prec-mem.out.
17757         (generated): Add mtrace-related files.
17758         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
17759         (tst-%-mem.out): New pattern rule, replaces
17760         tst-printf-bz18872-mem.out.
17761         * stdio-common/vfprintf.c (vfprintf): When handling a precision
17762         specifier, deallocate any previously allocated work buffer.
17764 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
17766         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
17767         Add nop before __startcontext, add explaining comments.
17769 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
17771         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
17772         any more. Notably since IPV6_PKTINFO has been reintroduced with a
17773         completely different API.
17775         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
17776         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
17777         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
17778         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
17779         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
17780         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
17781         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
17782         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
17783         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
17784         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
17786 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
17788         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
17790 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
17792         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
17793         when it is the default of 0.
17795 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17797         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
17798         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17799         (sysdep_routines): Add new strcasestr targets.
17800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17801         (__libc_ifunc_impl_list): Likewise.
17802         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
17803         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
17804         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
17805         * sysdeps/powerpc/powerpc64/power8/Makefile:
17806         New file to add strcasestr-ppc64 to sysdep_routines.
17807         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
17808         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
17810 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
17812         * benchtests/Makefile (wcsmbs-benchset): Include only for
17813         native builds and runs.
17814         (LOCALES): Likewise.
17815         (bench-build): Build timing-type here instead of the bench
17816         target.  Generate locale only for native builds.
17817         * benchtests/README: Add note for cross-building.
17819         * benchtests/Makefile (bench-clean): Clean up extra-objs.
17821         * benchtests/README: Update README to include instructions on
17822         using bench-build.
17824         * Makefile.in (bench-build): New target.
17825         * Rules (PHONY): Add bench-build target.
17826         * benchtests/Makefile (bench): Depend on bench-build.
17827         (bench-build): New target.
17829 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17831         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
17832         profil_reply_port.
17833         (profile_waiter): Do not initialize profil_reply_port.
17834         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
17835         frequency instead of tick length in us.
17837 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
17839         [BZ #18712]
17840         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
17841         (__old_mempcpy_small): Likewise.
17842         (__old_strcpy_small): Likewise.
17843         (__old_stpcpy_small): Likewise.
17844         (__old_strpbrk_c2): Fix compat symbol name.
17845         (__old_strpbrk_c3): Likewise.
17846         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
17847         (__mempcpy_small): Remove.
17848         (__strcpy_small): Remove.
17849         (__stpcpy_small): Remove.
17851 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
17853         [BZ #19400]
17854         * locale/iso-639.def: Add the Talossan/tzl language.
17856 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17858         [BZ #16983]
17859         * locale/programs/ld-address.c (address_finish): Update postal_fmt
17860         comment.  Add "ln" to strchr check on postal_fmt.
17862 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17864         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
17865         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
17866         tel_dom_fmt.
17868 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17870         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17871         (sysdep_routines): Added __strlen_power8.
17872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
17873         __strlen_power8 entry.
17874         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
17875         Implementation for POWER8.
17876         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
17877         for __strlen_power8.
17878         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
17879         Implementation for POWER8.
17881 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
17883         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
17885 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
17887         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
17888         Goldmont and Airmont processors.
17890 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
17892         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
17893         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
17894         (__STRING2_SMALL_GET32): Remove.
17895         (memset): Remove.
17896         (__memset_1): Remove.
17897         (__memset_gc): Remove.
17898         (__mempcpy): Remove.
17899         (mempcpy): Remove.
17900         (__mempcpy_args): Remove.
17901         (strchr): Remove.
17902         (strcpy): Remove.
17903         (strcpy_args): Remove.
17904         (__stpcpy_args): Remove.
17905         (__strcmp_cc): Remove.
17906         (__strcmp_gc): Remove.
17907         (strstr): Remove.
17909 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
17911         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
17912         * nis/nis_call.c (nis_server_cache_add): Likewise.
17914 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17916         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
17918 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17920         * malloc/arena.c (__malloc_fork_lock_parent)
17921         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
17922         internal_function attribute.
17924 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
17926         * stdio-common/printf_fp.c (__printf_fp_l):
17927         Rename ___printf_fp_l to __printf_fp_l and
17928         remove strong alias. Use libc_hidden_def instead
17929         of ldbl_hidden_def macro.
17931 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17933         Remove malloc hooks from fork handler.  They are no longer needed
17934         because malloc runs right before fork, and no malloc calls from
17935         other fork handlers are not possible anymore.
17936         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
17937         declarations.
17938         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
17939         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
17940         (atfork_recursive_cntr): Remove.
17941         (__malloc_fork_lock_parent): Do not override malloc hooks and
17942         thread_arena.
17943         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
17944         thread_arena.
17945         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
17946         thread_arena instead of save_arena.
17948 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17950         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
17951         (thread_atfork, thread_atfork_static): Remove.
17952         * sysdeps/mach/hurd/malloc-machine.h:
17953         (thread_atfork, thread_atfork_static): Remove.
17955 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17957         [BZ #19431]
17958         Run the malloc fork handler as late as possible to avoid deadlocks.
17959         * malloc/malloc-internal.h: New file.
17960         * malloc/malloc.c: Include it.
17961         * malloc/arena.c (ATFORK_MEM): Remove.
17962         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
17963         Update comment.
17964         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
17965         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
17966         Remove outdated comment.
17967         (ptmalloc_init): Do not call thread_atfork.  Remove
17968         thread_atfork_static.
17969         * malloc/tst-malloc-fork-deadlock.c: New file.
17970         * Makefile (tests): Add tst-malloc-fork-deadlock.
17971         (tst-malloc-fork-deadlock): Link against libpthread.
17972         * manual/memory.texi (Aligned Memory Blocks): Update safety
17973         annotation comments.
17974         * sysdeps/nptl/fork.c (__libc_fork): Call
17975         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17976         __malloc_fork_unlock_child.
17977         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
17979 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17981         [BZ #19613]
17982         Remove union wait.
17983         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
17984         (w_stopsig, w_stopval): Remove.
17985         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
17986         stat_loc argument.
17987         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
17988         (__WAIT_STATUS_DEFN): Remove.
17989         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17990         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
17991         (wait, wait3, wait4): Use int * for the stat_loc argument.
17992         * posix/wait.c (__wait): Likewise.
17993         * posix/wait3.c (__wait3): Likewise.
17994         * posix/wait4.c (__wait4): Likewise.
17995         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
17996         (__WAIT_STATUS_DEFN): Remove.
17997         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17998         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
17999         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
18000         argument.
18001         * sysdeps/posix/wait.c (__libc_wait): Likewise.
18002         * sysdeps/posix/wait3.c (__wait3): Likewise.
18003         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
18004         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18005         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
18006         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
18007         stat_loc argument.
18008         * manual/process.texi (BSD Wait Functions): Remove union wait.
18010 2016-04-13  Andreas Schwab  <schwab@suse.de>
18012         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
18013         (test-extras): Add tst-tlsalign-vars.
18014         * math/Makefile: Wrap long lines.
18015         (libm-vec-test-wrappers): Define.
18016         (test-extras): Add $(libm-vec-test-wrappers).
18017         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
18018         * nss/Makefile (extra-test-objs): Add nss_test1.os.
18019         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
18020         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
18021         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
18022         (extra-test-objs): Add corresponding objects.
18024 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
18026         [BZ #19928]
18027         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
18028         New.
18029         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
18030         times of shared cache size.
18031         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
18032         (VMOVNT): New.
18033         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
18034         (VMOVNT): Likewise.
18035         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18036         (VMOVNT): Likewise.
18037         (VMOVU): Changed to movups for smaller code sizes.
18038         (VMOVA): Changed to movaps for smaller code sizes.
18039         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
18040         comments.
18041         (PREFETCH): New.
18042         (PREFETCH_SIZE): Likewise.
18043         (PREFETCHED_LOAD_SIZE): Likewise.
18044         (PREFETCH_ONE_SET): Likewise.
18045         Rewrite to use forward and backward loops, which move 4 vector
18046         registers at a time, to support overlapping addresses and use
18047         non temporal store if size is above the threshold and there is
18048         no overlap between destination and source.
18050 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
18052         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
18053         Include dl-vdso.
18054         * sysdeps/unix/sysv/linux/mips/Versions: Add
18055         __vdso_clock_gettime.
18056         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
18057         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
18058         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
18059         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
18060         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
18061         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
18062         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18063         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18064         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18066 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18068         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
18069         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
18070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18071         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18072         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18073         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18076         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
18077         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
18078         syscalls generation.
18079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18080         [__NR_pwrite64] (__NR_write): Remove define.
18081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18082         [__NR_pwrite64] (__NR_write): Remove define.
18083         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
18084         Remove define.
18085         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
18086         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
18087         Remove define.
18088         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
18089         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
18090         Linux implementation as base.
18091         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18093         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
18094         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
18095         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18096         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
18098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18099         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
18100         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
18101         syscall generation.
18102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18103         [__NR_pread64] (__NR_pread): Remove define.
18104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18105         [__NR_pread64] (__NR_pread): Likewise.
18106         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
18107         define.
18108         (__libc_pread): Use SYSCALL_LL macro on offset argument.
18109         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
18110         Remove define.
18111         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
18112         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
18113         Linux implementation as base.
18114         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18115         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18116         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18118         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
18119         definition.
18120         (__ALIGNMENT_COUNT): Likewise.
18121         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
18122         (__ALIGNMENT_COUNT): Likewise.
18123         (SYSCALL_LL): New define.
18124         (SYSCALL_LL64): Likewise.
18125         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
18126         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
18127         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
18128         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
18130         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18131         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
18132         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18133         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18134         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18135         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18137 2016-04-11  Florian Weimer  <fweimer@redhat.com>
18139         [BZ #19865]
18140         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
18141         original buffer before retry.
18143 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18145         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
18146         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
18147         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
18148         GLRO(dl_auxv) list.
18149         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
18150         including <ldsodefs.h>.
18151         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
18153 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
18155         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
18156         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
18157         $(CPPFLAGS).
18159 2016-04-09  Khem Raj  <raj.khem@gmail.com>
18161         [BZ #17950]
18162         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
18163         Add -mfpmath=387.
18165 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
18167         * sysdeps/i386/configure.ac: Change == to = when calling test.
18168         * sysdeps/x86_64/configure.ac: Likewise.
18169         * sysdeps/i386/configure: Regenerated.
18170         * sysdeps/x86_64/configure: Likewise.
18172 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
18174         [BZ #16137]
18175         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
18176         * benchtests/bench-strcoll.c (input_files): Likewise.
18177         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18178         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
18179         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
18181 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
18183         [BZ #19929]
18184         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
18185         [__USE_XOPEN2K8 && !__USE_GNU].
18186         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
18187         variable.
18189         [BZ #19925]
18190         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
18191         define if [!__USE_MISC && __USE_XOPEN2K].
18192         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
18193         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
18194         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
18195         Likewise.
18196         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
18197         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
18198         variable.
18199         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18201 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18203         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18204         (sysdep_routines): Add new strspn targets.
18205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18206         (__libc_ifunc_impl_list): Add strspn.
18207         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18208         New file.
18209         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
18210         Likewise.
18211         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
18212         Likewise.
18213         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18214         Likewise.
18216 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18218         * misc/hsearch_r.c: Include <limits.h>.
18220 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18222         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
18224 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18226         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18227         (MEMCPY_SYMBOL): New.
18228         (MEMPCPY_SYMBOL): Likewise.
18229         (MEMMOVE_CHK_SYMBOL): Likewise.
18230         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
18231         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
18232         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
18233         Provide alias for memcpy in libc.a and ld.so.
18235 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18237         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18238         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
18239         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
18240         Disabled fro now.
18241         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
18242         symbols.  Properly check USE_MULTIARCH on __memset symbols.
18244 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18246         * benchtests/Makefile (string-benchset): Add memcpy-large,
18247         memmove-large and memset-large.
18248         * benchtests/bench-memcpy-large.c: New file.
18249         * benchtests/bench-memmove-large.c: Likewise.
18250         * benchtests/bench-memmove-large.c: Likewise.
18251         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
18253 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18255         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
18256         32-bit displacement to avoid long nop between instructions.
18258 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18260         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
18261         a comment on VMOVU and VMOVA.
18263 2016-04-04  Florian Weimer  <fweimer@redhat.com>
18265         [BZ #19633]
18266         Use specified locale for number formatting in strfmon_l.
18267         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
18268         (__nl_lookup_word): New inline functions.
18269         * include/printf.h (__print_fp_l): Declare.
18270         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
18271         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
18272         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
18273         (___printf_fp): New function.
18274         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
18275         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
18276         * stdlib/tst-strfmon_l.c (do_test): New test.
18277         * stdlib/Makefile (tests): Add kt.
18278         (LOCALES): Build additional locales.
18279         (tst-strfmon_l.out): Require locales.
18281 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18283         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
18284         if not in libc.
18285         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18286         Likewise.
18287         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
18288         Likewise.
18289         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18290         Likewise.
18292 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18294         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18295         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
18296         with unaligned_erms.
18297         (__memmove_erms): Skip if source == destination.
18298         (__memmove_unaligned_erms): Don't check source == destination
18299         first.
18301 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18303         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
18304         bit_arch_Fast_Copy_Backward for Intel Core proessors.
18306 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18308         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
18309         * string/strspn.c (strspn): Likewise.
18311 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18313         * benchtests/bench-memset.c (do_test): Support 64-byte
18314         alignment.
18315         (test_main): Test 64-byte alignment.
18317 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18319         * benchtests/bench-memmove.c (test_main): Test 64-byte
18320         alignment.
18322 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18324         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
18326 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18328         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
18329         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
18330         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
18332         * string/strpbrk.c (strpbrk): Rewrite function.
18333         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
18334         (__strpbrk_c2): Likewise.
18335         (__strpbrk_c3): Likewise.
18336         * string/string-inlines.c
18337         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
18338         Likewise.
18339         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
18340         Likewise.
18342         * string/strspn.c (strcspn): Rewrite function.
18343         * string/bits/string2.h (strspn): Use __builtin_strcspn.
18344         (__strspn_c1): Remove inline function.
18345         (__strspn_c2): Likewise.
18346         (__strspn_c3): Likewise.
18347         * string/string-inlines.c
18348         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
18349         compatibility symbol.
18350         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
18351         Likewise.
18352         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
18353         Likewise.
18354         * string/string-inlines.c: Include generic version.
18356 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
18357             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18359         * string/Version (libc): Add GLIBC_2.24.
18360         * string/strcspn.c (strcspn): Rewrite function.
18361         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
18362         (__strcspn_c1): Remove inline function.
18363         (__strcspn_c2): Likewise.
18364         (__strcspn_c3): Likewise.
18365         * string/string-inline.c
18366         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
18367         compatibility symbol.
18368         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
18369         Likewise.
18370         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
18371         Likewise.
18372         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
18374 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18376         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18377         Use ahi instead of aghi to adjust stack pointer.
18379 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18381         [BZ #19853]
18382         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
18383         TEST to take significant digits as second parameter.
18384         [TEST]: Redefine in terms of TEST_N taking 30
18385         significant digits.
18386         (do_test): Add test case to demonstrate precision
18387         failure in the ldbl-128ibm printf.
18388         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
18389         (__mpn_extract_long_double): Carry 7 extra intermediate
18390         bits of precision to aide computing difference when
18391         signs differ.
18393 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18395         [BZ #19881]
18396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18397         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
18398         memset-avx512-unaligned-erms.
18399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18400         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
18401         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
18402         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
18403         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
18404         __memset_sse2_unaligned_erms, __memset_erms,
18405         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
18406         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18407         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
18408         file.
18409         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18410         Likewise.
18411         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
18412         Likewise.
18413         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
18414         Likewise.
18416 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18418         [BZ #19776]
18419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18420         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
18421         memmove-avx512-unaligned-erms.
18422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18423         (__libc_ifunc_impl_list): Test
18424         __memmove_chk_avx512_unaligned_2,
18425         __memmove_chk_avx512_unaligned_erms,
18426         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
18427         __memmove_chk_sse2_unaligned_2,
18428         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
18429         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
18430         __memmove_avx512_unaligned_erms, __memmove_erms,
18431         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
18432         __memcpy_chk_avx512_unaligned_2,
18433         __memcpy_chk_avx512_unaligned_erms,
18434         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
18435         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
18436         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
18437         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
18438         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
18439         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
18440         __mempcpy_chk_avx512_unaligned_erms,
18441         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
18442         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
18443         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
18444         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
18445         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
18446         __mempcpy_erms.
18447         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
18448         file.
18449         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18450         Likewise.
18451         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18452         Likewise.
18453         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18454         Likewise.
18456 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18458         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
18459         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
18460         (La_s390_64_regs): Likewise.
18461         (La_s390_32_retval): Append vector register lrv_v24.
18462         (La_s390_64_retval): Likeweise.
18463         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
18464         Handle extended structs La_s390_32_regs and La_s390_32_retval.
18465         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
18466         Handle extended structs La_s390_64_regs and La_s390_64_retval.
18468 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18470         [BZ #19916]
18471         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
18472         to create a non-vector/vector version for _dl_runtime_resolve and
18473         _dl_runtime_profile. Move implementation to ...
18474         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
18475         (_dl_runtime_resolve) Save and restore fpr/vrs.
18476         (_dl_runtime_profile) Save and restore vrs and fix some issues
18477         if _dl_call_pltexit is called.
18478         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
18479         Choose the correct resolver function if running on a machine with vx.
18480         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
18481         to create a non-vector/vector version for _dl_runtime_resolve and
18482         _dl_runtime_profile. Move implementation to ...
18483         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
18484         (_dl_runtime_resolve) Save and restore fpr/vrs.
18485         (_dl_runtime_profile) Save and restore vrs and fix some issues
18486         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
18487         Choose the correct resolver function if running on a machine with vx.
18489 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18491         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
18493 2016-03-31  Florian Weimer  <fweimer@redhat.com>
18495         [BZ #19509]
18496         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
18497         skip_map != NULL.
18498         * elf/tst-dlsym-error.c: New file.
18499         * elf/Makefile (tests): Add tst-dlsym-error.
18500         (tst-dlsym-error): Link against libdl.
18502 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
18504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18505         (__ASSUME_FUTIMESAT): Remove macro.
18506         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
18508 2016-03-29  Florian Weimer  <fweimer@redhat.com>
18510         [BZ #19879]
18511         CVE-2016-3075
18512         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
18513         copy name.
18515 2016-03-29  Florian Weimer  <fweimer@redhat.com>
18517         [BZ #19837]
18518         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
18519         error if parse_line fails.
18521 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18523         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
18524         (index_cpu_ERMS): Likewise.
18525         (reg_ERMS): Likewise.
18527 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
18529         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
18530         PER_LINUX_FDPIC): Add.
18532 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18535         memcpy-avx512-no-vzeroupper.
18536         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
18537         to ...
18538         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
18539         (MEMCPY): Don't define.
18540         (MEMCPY_CHK): Likewise.
18541         (MEMPCPY): Likewise.
18542         (MEMPCPY_CHK): Likewise.
18543         (MEMPCPY_CHK): Renamed to ...
18544         (__mempcpy_chk_avx512_no_vzeroupper): This.
18545         (MEMPCPY_CHK): Renamed to ...
18546         (__mempcpy_chk_avx512_no_vzeroupper): This.
18547         (MEMCPY_CHK): Renamed to ...
18548         (__memmove_chk_avx512_no_vzeroupper): This.
18549         (MEMCPY): Renamed to ...
18550         (__memmove_avx512_no_vzeroupper): This.
18551         (__memcpy_avx512_no_vzeroupper): New alias.
18552         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
18554 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18556         [BZ #18858]
18557         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18558         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
18559         and mempcpy-avx512-no-vzeroupper.
18560         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
18561         New.
18562         (MEMPCPY): Likewise.
18563         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
18564         (MEMPCPY_CHK): New.
18565         (MEMPCPY): Likewise.
18566         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
18567         (MEMPCPY): Likewise.
18568         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
18569         (MEMPCPY): Likewise.
18570         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
18571         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
18572         Likewise.
18573         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
18574         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
18576 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
18577              Amit Pawar  <Amit.Pawar@amd.com>
18579         [BZ #19583]
18580         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18581         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
18582         processors.  Set Fast_Copy_Backward for AMD Excavator
18583         processors.
18584         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
18585         New.
18586         (index_arch_Fast_Unaligned_Copy): Likewise.
18587         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
18588         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
18590 2016-03-25  Florian Weimer  <fweimer@redhat.com>
18592         [BZ #19791]
18593         * resolv/res_send.c (close_and_return_error): New function.
18594         (send_dg): Initialize *resplen2 after reopen failure.  Call
18595         close_and_return_error for error returns.  On error paths without
18596         __res_iclose, initialze *resplen2 explicitly.  Update comment for
18597         successful return.
18599 2016-03-25  Florian Weimer  <fweimer@redhat.com>
18601         [BZ #19860]
18602         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
18603         zero if the compiler does not provide the AVX512F bit.
18605 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
18607         [BZ #19848]
18608         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
18609         from 8 to 4.
18610         (__ieee754_powl): Compare integer exponent against 4 not 8.
18611         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
18612         from 8 to 4.
18613         (__ieee754_powl): Compare integer exponent against 4 not 8.
18614         * math/auto-libm-test-in: Add more tests of pow.
18615         * math/auto-libm-test-out: Regenerated.
18616         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18619 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
18621         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
18622         Make code unconditional.
18623         [!__NR_utimensat]: Remove conditional code.
18624         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
18625         Make code unconditional.
18626         [!__NR_utimensat]: Remove conditional code.
18627         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
18628         Make code unconditional.
18629         [!__NR_utimensat]: Remove conditional code.
18631 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
18633         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
18634         Make code unconditional.
18636 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
18638         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
18639         call-clobbered %eax on retry path.
18640         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18642 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18644         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
18645         Don't set %rcx twice before "rep movsb".
18647 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18649         [BZ #19583]
18650         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
18651         inline.  Check family before setting family, model and
18652         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
18653         bits here.
18654         (init_cpu_features): Replace HAS_CPU_FEATURE and
18655         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
18656         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
18657         for Intel processors with usable AVX2.  Call get_common_indeces
18658         for other processors with family == NULL.
18659         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
18660         (CPU_FEATURES_ARCH_P): Likewise.
18661         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
18662         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
18664 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18666         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
18667         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
18668         $(shared-thread-library) instead of hardcoding the path to libpthread.
18670 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
18672         * sysdeps/unix/sysv/linux/kernel-features.h
18673         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
18674         * sysdeps/unix/sysv/linux/getdents.c
18675         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
18676         [!have_no_getdents64_defined]: Likewise.
18677         (__GETDENTS): Remove __have_no_getdents64 conditional.
18679 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
18681         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
18682         Remove macro.
18683         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
18684         <kernel-features.h>.
18685         (signalfd) [__NR_signalfd4]: Make code unconditional.
18686         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
18688 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18690         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
18691         style.
18693 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18695         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
18696         (__pthread_enable_asynccancel): Use JUMPTARGET to call
18697         __pthread_unwind.
18698         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18699         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
18700         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18701         (__condvar_cleanup1): Likewise.
18703 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
18705         [BZ #19822]
18706         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
18707         move it to the final $@ location.
18709 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18711         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
18712         access where posix_spawn success and pid argument is null.
18713         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
18714         success case.
18716 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
18718         * sysdeps/mach/hurd/i386/c++-types.data: New file.
18720         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
18722         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
18723         and __fcntl.
18724         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
18725         __fcntl only.
18726         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
18727         adding attribute_hidden to __open and __fcntl.
18729         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
18730         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
18731         depend on libc-modules.h,
18732         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
18734 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
18736         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
18737         Remove macro.
18738         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
18739         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
18740         entry.
18742         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
18743         Remove macro.
18744         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
18745         include <kernel-features.h>.
18746         [!__ASSUME_FALLOCATE]: Remove conditional code.
18747         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
18749 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18751         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
18752         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
18753         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
18754         (_ZGVdN4v_cos_avx2): Likewise.
18755         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
18756         (_ZGVdN4v_cos): Likewise.
18757         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
18758         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
18759         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
18760         (_ZGVdN4v_exp_avx2): Likewise.
18761         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
18762         (_ZGVdN4v_exp): Likewise.
18763         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
18764         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
18765         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
18766         (_ZGVdN4v_log_avx2): Likewise.
18767         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
18768         (_ZGVdN4v_log): Likewise.
18769         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
18770         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
18771         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
18772         (_ZGVdN4vv_pow_avx2): Likewise.
18773         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
18774         (_ZGVdN4vv_pow): Likewise.
18775         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
18776         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
18777         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
18778         (_ZGVdN4v_sin_avx2): Likewise.
18779         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
18780         (_ZGVdN4v_sin): Likewise.
18781         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
18782         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
18783         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
18784         (_ZGVdN4vvv_sincos_avx2): Likewise.
18785         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
18786         (_ZGVdN4vvv_sincos): Likewise.
18787         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
18788         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
18789         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
18790         (_ZGVbN4v_cosf_sse4): Likewise.
18791         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
18792         (_ZGVdN8v_cosf_avx2): Likewise.
18793         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
18794         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
18795         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
18796         (_ZGVbN4v_expf_sse4): Likewise.
18797         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
18798         (_ZGVdN8v_expf_avx2): Likewise.
18799         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
18800         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
18801         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
18802         (_ZGVbN4v_logf_sse4): Likewise.
18803         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
18804         (_ZGVdN8v_logf_avx2): Likewise.
18805         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
18806         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
18807         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
18808         (_ZGVbN4vv_powf_sse4): Likewise.
18809         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
18810         (_ZGVdN8vv_powf_avx2): Likewise.
18811         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18812         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
18813         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18814         (_ZGVbN4vvv_sincosf_sse4): Likewise.
18815         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18816         (_ZGVdN8vvv_sincosf_avx2): Likewise.
18817         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
18818         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
18819         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
18820         (_ZGVbN4v_sinf_sse4): Likewise.
18821         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
18822         (_ZGVdN8v_sinf_avx2): Likewise.
18823         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18824         Use JUMPTARGET to call callee.
18825         (WRAPPER_IMPL_SSE2_ff): Likewise.
18826         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18827         (WRAPPER_IMPL_AVX): Likewise.
18828         (WRAPPER_IMPL_AVX_ff): Likewise.
18829         (WRAPPER_IMPL_AVX_fFF): Likewise.
18830         (WRAPPER_IMPL_AVX512): Likewise.
18831         (WRAPPER_IMPL_AVX512_ff): Likewise.
18832         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18833         Likewise.
18834         (WRAPPER_IMPL_SSE2_ff): Likewise.
18835         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18836         (WRAPPER_IMPL_AVX): Likewise.
18837         (WRAPPER_IMPL_AVX_ff): Likewise.
18838         (WRAPPER_IMPL_AVX_fFF): Likewise.
18839         (WRAPPER_IMPL_AVX512): Likewise.
18840         (WRAPPER_IMPL_AVX512_ff): Likewise.
18841         (WRAPPER_IMPL_AVX512_fFF): Likewise.
18843 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18845         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
18846         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
18847         qualifier.
18848         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
18849         internal_function qualifiers.
18851 2016-03-15  Carlos O'Donell <carlos@redhat.com>
18853         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
18854         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
18855         * math/atest-exp.c (exp_mpn): Mark chk unused.
18856         * math/atest-exp2.c (exp_mpn): Likewise.
18857         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
18858         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
18860 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
18862         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
18863         Remove macro.
18864         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
18865         <kernel-features.h>.
18866         [__NR_ppoll]: Make code unconditional.
18867         [!__ASSUME_PPOLL]: Remove conditional code.
18869         * sysdeps/unix/sysv/linux/kernel-features.h
18870         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
18871         (__ASSUME_ACCEPT4): Likewise.
18872         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18873         Define.
18874         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
18875         Likewise.
18876         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18877         Likewise.
18878         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
18879         Likewise.
18880         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
18881         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
18882         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18883         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18884         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18885         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18886         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18887         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18888         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18889         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18890         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18891         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18893         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18894         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18895         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18896         Likewise.
18897         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18898         Likewise.
18899         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18900         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18901         0x040300].
18902         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18903         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18904         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18905         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18906         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18907         0x030300].
18908         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
18909         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18910         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18911         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18912         0x040300].
18913         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18914         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18915         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18916         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18917         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18918         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18919         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18920         0x030300].
18921         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18922         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18923         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18924         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18925         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18926         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18927         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18928         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18929         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18930         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18931         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18932         0x040300].
18933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18934         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18935         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18936         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18937         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18938         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18939         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18940         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18941         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18942         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18943         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18944         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18945         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18946         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18947         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
18948         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18949         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18950         Likewise.
18951         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18952         Likewise.
18954 2016-03-15  Andreas Schwab  <schwab@suse.de>
18956         [BZ #19257]
18957         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
18958         statp->_u._ext.nscount as loop count.
18960 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18962         * math/test-signgam-finite-c99.c: Also #undef
18963         __LIBC_INTERNAL_MATH_INLINES.
18964         * math/test-signgam-main.c: Likewise.
18966 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
18968         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
18969         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18970         (MADV_FREE): Likewise.
18971         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
18972         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
18973         EPOLLEXCLUSIVE.
18975 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
18977         * timezone/README: Remove mention of checktab.awk. Mention wiki
18978         SharedSourceFiles.
18980 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
18982         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
18983         WUNTRACED.
18985 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18987         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
18988         order to match the type of p when calling atomic_exchange_acq().
18990 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18992         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
18993         cfi_offset calls.
18994         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18995         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
18996         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
18997         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
18998         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
19000 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
19002         * timezone/checktab.awk: Removed.
19004 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
19006         * manual/math.texi (Errors in Math Functions): Document relaxed
19007         accuracy goals for IBM long double.
19008         * math/libm-test.inc (test_exceptions): Always allow spurious
19009         "underflow" and "inexact" exceptions for IBM long double.
19011 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
19013         [BZ #19762]
19014         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19015         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
19016         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
19017         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
19018         (bit_arch_*): This for feature array.
19019         (bit_*): Renamed to ...
19020         (bit_cpu_*): This for cpu array.
19021         (index_*): Renamed to ...
19022         (index_arch_*): This for feature array.
19023         (index_*): Renamed to ...
19024         (index_cpu_*): This for cpu array.
19025         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
19026         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
19027         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
19028         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
19029         bit_##name with index_cpu_##name and bit_cpu_##name.
19030         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
19031         bit_##name with index_arch_##name and bit_arch_##name.
19033 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
19035         [BZ #19792]
19036         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
19037         Terminate FDE before return label.
19039 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
19041         [BZ #19790]
19042         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
19043         (rintl): Define as macro.
19044         [USE_AS_NEARBYINTL] (__rintl): Likewise.
19045         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
19046         of fesetround.  Ensure results are evaluated before end of scope.
19047         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
19048         USE_AS_NEARBYINTL and include s_rintl.c.
19049         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
19050         Disable exception traps in new environment.
19051         (libc_feholdsetround_ppc_ctx): Likewise.
19053 2016-03-08  Roland McGrath  <roland@hack.frob.com>
19055         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
19056         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
19057         (tst_audit10_aux) [__AVX512F__]: ... here.
19059 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
19061         * include/sys/auxv.h: New file.
19063 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19065         [BZ #19759]
19066         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
19068 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19070         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
19071         operand modifier.
19072         (feclearexcept): Likewise.
19074 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19076         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
19077         to reflect the entire 32-bit HWCAP.
19078         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
19079         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
19081 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19083         [BZ #19783]
19084         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
19085         $(test-via-rtld-prefix).
19086         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
19088 2016-03-08  Florian Weimer  <fweimer@redhat.com>
19090         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
19091         union wait.  Report any non-zero exit status as error.
19093 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19095         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
19096         configured with --enable-hardcoded-path-in-tests.
19098 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
19100         [BZ #19677]
19101         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19102         (__ieee754_remainderl): Put zero low parts in canonical form.
19103         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
19104         file.  Based on
19105         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
19106         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
19107         with wrapper round test-fmodrem-ldbl-128ibm.c.
19108         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
19109         file.
19110         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
19111         Likewise.
19112         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
19113         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
19115 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19117         [BZ #19610]
19118         * elf/ldconfig.c (opt_link): Update comment.
19119         (options): Update help string for option -X.
19120         (search_dir): Unlink stale symbolic link only if updating symbolic
19121         links.
19122         * elf/tst-ldconfig-X.sh: New file.
19123         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
19124         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
19126 2016-03-07  Andreas Schwab  <schwab@suse.de>
19128         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
19129         needed arguments.
19131 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
19133         [BZ #15333]
19134         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
19135         to lstat64.
19137 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19139         * libio/filedoalloc.c (isatty): Remove.
19140         (local_isatty): Add comment.  Call __isatty directly.
19141         (_IO_file_doallocate): Update comment.  Assume _LIBC.
19142         * libio/wfiledoalloc.c (isatty): Remove.
19143         (_IO_wfile_doallocate): Update comment.
19145 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19147         [BZ #19269]
19148         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
19149         tst-audit4-aux.o.
19150         (tst-audit10): Depend on tst-audit10-aux.o.
19151         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
19152         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
19153         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
19154         instead of inline AVX code.
19155         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
19156         instead of inline AVX512 code.
19157         * sysdeps/x86_64/tst-audit4-aux.c: New file
19158         * sysdeps/x86_64/tst-audit10-aux.c: New file
19160         [BZ #19648]
19161         * test-skeleton.c (main): Do not set RLIMIT_DATA.
19163 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19165         [BZ #14750]
19166         [BZ #10354]
19167         [BZ #18433]
19168         * include/sched.h (__clone): Add hidden prototype.
19169         (__clone2): Likewise.
19170         * include/unistd.h (__dup): Likewise.
19171         * posix/Makefile (tests): Add tst-spawn2.
19172         * posix/tst-spawn2.c: New file.
19173         * sysdeps/posix/dup.c (__dup): Add hidden definition.
19174         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
19175         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19176         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19177         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19178         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19179         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
19180         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19181         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
19182         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19183         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19185         Likewise.
19186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19187         Likewise.
19188         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19189         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19190         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19191         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19192         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19193         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19194         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19195         * sysdeps/unix/sysv/linux/nptl-signals.h
19196         (____nptl_is_internal_signal): New function.
19197         * sysdeps/unix/sysv/linux/spawni.c: New file.
19199         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
19200         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
19201         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
19202         * posix/tst-execvp2.c (do_test): Likewise.
19203         * posix/tst-execvp3.c (do_test): Likewise.
19204         * posix/tst-execvp4.c (do_test): Likewise.
19205         * posix/tst-execvpe1.c: New file.
19206         * posix/tst-execvpe2.c: Likewise.
19207         * posix/tst-execvpe3.c: Likewise.
19208         * posix/tst-execvpe4.c: Likewise.
19209         * posix/tst-execvpe5.c: Likewise.
19210         * posix/tst-execvpe6.c: Likewise.
19212         [BZ #19534]
19213         * posix/execl.c (execl): Remove dynamic memory allocation.
19214         * posix/execle.c (execle): Likewise.
19215         * posix/execlp.c (execlp): Likewise.
19217 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19219         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
19220         Replace .text with .text.avx512.
19221         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19222         Likewise.
19224 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
19226         * sysdeps/generic/libnsl.abilist: New file.
19227         * sysdeps/generic/libutil.abilist: New file.
19229 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19231         [BZ #19762]
19232         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
19233         HAS_ARCH_FEATURE with Fast_Rep_String.
19234         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
19235         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
19236         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
19237         Likewise.
19238         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
19239         Likewise.
19240         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
19241         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
19242         Likewise.
19243         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
19244         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
19245         Likewise.
19247 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19249         [BZ #19745]
19250         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
19251         with *%rax in call.
19253 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19255         [BZ #19745]
19256         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
19257         with *__libc_start_main@GOTPCREL(%rip) in call.
19259 2016-03-04  Roland McGrath  <roland@hack.frob.com>
19261         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
19262         inside conditional for nonempty $(CXX).
19264         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
19265         nonempty.
19267         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
19268         to test for empty $(CXX) rather than $(CXX) of "no".
19270 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19272         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
19274 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
19275             H.J. Lu  <hongjiu.lu@intel.com>
19277         [BZ #18880]
19278         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
19279         instead of Slow_BSF, and also check for Fast_Copy_Backward to
19280         enable __memcpy_ssse3_back.
19282 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19284         [BZ #19758]
19285         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19286         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
19288 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19290         [BZ #19490]
19291         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
19292         (__fentry__): Likewise.
19294 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19296         * gmon/Makefile (noprof): Add $(sysdep_noprof).
19297         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
19299 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19301         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
19302         __mcount_internal directly.
19303         (C_LABEL(__fentry__)): Likewise.
19304         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
19305         directly.
19307 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19309         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19310         (__start_context): Call __setcontext directly.
19312 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
19314         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19315         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19316         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
19317         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19318         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19319         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19320         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
19321         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19322         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19323         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
19324         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19325         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19326         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19327         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19328         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19329         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19330         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
19331         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19332         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19333         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19334         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
19335         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19336         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19337         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19338         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
19339         Remove conditional code.
19340         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19341         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
19342         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19343         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19344         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
19345         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19346         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19347         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19348         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19349         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19350         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19351         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19353 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
19355         * NEWS (2.23): Fix typo in bug 19048 text.
19357 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
19359         [BZ #14259]
19360         * Makeconfig: Rename msgcatdir to localedir.
19361         Rename inst_msgcatdir to inst_localedir.
19362         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
19363         * config.make.in: Add localedir.
19364         * elf/Makefile ($(objpfx)sotruss): Use localedir.
19365         (ldd-rewrite): Likewise.
19366         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
19367         (install-others): Use inst_localedir.
19368         (CPPFLAGS): Use localedir.
19369         * locale/Makefile (locale-CPPFLAGS): Likewise.
19370         * po/Makefile (mo-installed): Use inst_localedir.
19372         [BZ #19575]
19373         * localedata/charmaps/GB18030: Update comments regarding PAU to
19374         non-PUA mappings.
19376 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
19378         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
19379         test for header.
19380         * sysdeps/unix/sysv/linux/configure: Regenerated.
19381         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
19382         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
19383         Remove conditional code.
19384         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
19386         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19387         Define to 3.2.0.
19388         (arch_minimum_kernel): Likewise.
19389         * sysdeps/unix/sysv/linux/configure: Regenerated.
19390         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
19391         Define to 2.6.32.
19392         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
19393         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
19394         (arch_minimum_kernel): Define to 2.6.32.
19395         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
19396         * README: Document Linux 3.2 requirement.
19397         * manual/install.texi (Linux): Document Linux 3.2 headers
19398         requirement.
19399         * INSTALL: Regenerated.
19401 2016-02-24  Andreas Schwab  <schwab@suse.de>
19403         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
19404         if !NO_LONG_DOUBLE.
19406 2016-02-22  Roland McGrath  <roland@hack.frob.com>
19408         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
19409         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
19411 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
19413         [BZ #19512]
19414         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
19416 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19418         * posix/tst-dir.c: Include libc-internal.h.
19420 2016-02-20  Florian Weimer  <fweimer@redhat.com>
19422         [BZ #19056]
19423         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
19424         * manual/filesys.texi (Reading/Closing Directory): Mention
19425         deprecaion.
19426         * posix/tst-dir.c (main): Disable deprecation warning in test.
19428 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
19430         [BZ #19679]
19431         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
19432         Renamed to ...
19433         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
19434         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19435         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
19436         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19437         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19438         * sysdeps/x86_64/dl-trampoline.h
19439         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19440         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19442 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19444         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
19446 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19448         * elf/elf.h (R_386_GOT32X): New.
19449         (R_386_NUM): Update.
19450         (R_X86_64_GOTPCRELX: New.
19451         (R_X86_64_REX_GOTPCRELX): New.
19452         (R_X86_64_NUM): Update.
19454 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
19456         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
19458 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
19460         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
19461         assign attr->stackaddr to it, and adjust it down when
19462         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
19463         [_STACK_GROWS_UP]: Delete assert.
19464         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
19465         Implement stack grows up logic.
19466         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
19467         stack grows up logic.
19469 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19471         * NEWS: Update with 2.24 template.
19473 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
19475         [BZ #19678]
19476         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19477         Ensure +0.0 is returned when taking the next value below the least
19478         positive value.
19480 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19482         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
19483         available.  Do not define NO_THREADS.
19484         * malloc/malloc.c: Do not check NO_THREADS.
19485         * malloc/arena.c: Likewise.
19487 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19489         * malloc/malloc.c (__libc_mallinfo): Update comment.
19490         (struct malloc_par): Remove max_total_mem member, it was always 0.
19491         (int_mallinfo): Store 0 into usmblks (no functional change).
19492         * malloc/hooks.c (struct malloc_state): Document that
19493         max_total_mem is always 0.
19494         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
19495         always 0.
19496         * manual/memory.texi (Statistics of Malloc): Likewise.
19498 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19500         * malloc/malloc.c (sysmalloc): Do not update arena_max.
19501         * malloc/arena.c (arena_max): Remove.
19502         (heap_trim, _int_new_arena): Do not update arena_max.
19504 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19506         * resolv/res_init.c (res_ninit): Update comment.
19508 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19510         [BZ #19505]
19511         * posix/spawn_int.h: Add headers and include guard.
19512         (__spawn_valid_fd): New function.
19513         * posix/spawn_faction_addopen.c
19514         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
19515         * posix/spawn_faction_addclose.c
19516         (posix_spawn_file_actions_addclose): Likewise.
19517         * posix/spawn_faction_adddup2.c
19518         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
19519         second file descriptor.
19520         * posix/spawn_valid_fd.c: New file.
19521         * posix/tst-posix_spawn-fd.c: New file.
19522         * posix/Makefile (routines): Add spawn_valid_fd.
19523         (tests): Add tst-posix_spawn-fd.
19525 2016-02-19  Florian Weimer  <fweimer@redhat.com>
19527         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
19528         (do_test): Limit the number of arenas, so that we can use fewer
19529         outer threads.  Limit timeout to 3 seconds, in preparation for a
19530         larger TIMEOUT value.
19532 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
19534         [BZ #19674]
19535         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
19536         sign in overflowing and underflowing results when overflow or
19537         underflow is detected early.  Include sign in result before rather
19538         than after scaling.
19540         [BZ #19603]
19541         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19542         (__ieee754_remainderl): Adjust sign of integer version of low part
19543         when taking absolute value of high part.
19544         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19545         * math/libm-test.inc (remainder_test_data): Add another test.
19546         (remquo_test_data): Likewise.
19548 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
19550         [BZ #19602]
19551         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
19552         equal high parts and both low parts zero specially.
19553         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
19554         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
19555         Add test-fmodl-ldbl-128ibm.
19557         [BZ #19595]
19558         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
19559         common logic for all cases of shifting subnormal results.  Do not
19560         insert sign bit in shifted mantissa.  Always pass -1023 as biased
19561         exponent to ldbl_insert_mantissa in subnormal case.
19563         [BZ #19594]
19564         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
19565         on high and low parts then adjust result and use
19566         ldbl_canonicalize_int if needed.
19568         [BZ #19593]
19569         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
19570         on high part and __floor or __ceil on low part then use
19571         ldbl_canonicalize_int if needed.
19573         [BZ #19592]
19574         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
19575         high and low parts then use ldbl_canonicalize_int if needed.
19577         [BZ #17899]
19578         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
19579         New function.
19580         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
19581         on high and low parts then use ldbl_canonicalize_int if needed.
19583 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19585         * configure: Regenerated.
19587         * po/libc.pot: Regenerated.
19589         * po/be.po: Updated translation.
19590         * po/bg.po: Likewise.
19591         * po/ca.po: Likewise.
19592         * po/cs.po: Likewise.
19593         * po/da.po: Likewise.
19594         * po/el.po: Likewise.
19595         * po/eo.po: Likewise.
19596         * po/es.po: Likewise.
19597         * po/fi.po: Likewise.
19598         * po/fr.po: Likewise.
19599         * po/gl.po: Likewise.
19600         * po/hr.po: Likewise.
19601         * po/hu.po: Likewise.
19602         * po/ia.po: Likewise.
19603         * po/id.po: Likewise.
19604         * po/it.po: Likewise.
19605         * po/ja.po: Likewise.
19606         * po/lt.po: Likewise.
19607         * po/nb.po: Likewise.
19608         * po/nl.po: Likewise.
19609         * po/pt_BR.po: Likewise.
19610         * po/rw.po: Likewise.
19611         * po/sk.po: Likewise.
19612         * po/sl.po: Likewise.
19613         * po/sv.po: Likewise.
19614         * po/tr.po: Likewise.
19615         * po/zh_CN.po: Likewise.
19616         * po/zh_TW.po: Likewise.
19618         * version.h (RELEAES): Set to "development".
19619         (VERSION): Set to 2.23.90.
19621         * version.h (RELEASE): Set to "stable".
19622         (VERSION): Set to 2.23.
19623         * include/feature.h (__GLIBC_MINOR__): Set to 23.
19625         * NEWS: Updated fixed bugs.
19627 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
19628             Wilco Dijkstra  <wdijkstr@arm.com>
19630         [BZ #19462]
19631         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
19632         (_STRING_INLINE_unaligned): This.
19633         * include/string.h: Include <string_private.h>.
19634         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
19635         _STRING_INLINE_unaligned.
19636         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
19637         (_STRING_INLINE_unaligned): New.
19638         * sysdeps/aarch64/string_private.h: New file.
19639         * sysdeps/generic/string_private.h: Likewise.
19640         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
19641         * sysdeps/s390/string_private.h: Likewise.
19642         * sysdeps/x86/string_private.h: Likewise.
19643         * sysdeps/m68k/m680x0/m68020/bits/string.h
19644         (_STRING_ARCH_unaligned): Renamed to ...
19645         (_STRING_INLINE_unaligned): This.
19646         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
19647         to ...
19648         (_STRING_INLINE_unaligned): This.
19649         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
19650         to ...
19651         (_STRING_INLINE_unaligned): This.
19652         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
19653         to ...
19654         (_STRING_INLINE_unaligned): This.
19656 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19657             H.J. Lu  <hongjiu.lu@intel.com>
19659         [BZ #19590]
19660         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
19661         relocation.
19663 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
19665         [BZ #18665]
19666         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
19667         *herrno_p.
19668         (gaih_getanswer): Document functional behviour. Return tryagain
19669         if any result is tryagain.
19670         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
19671         when freed.
19672         * resolv/res_send.c: Add copyright text.
19673         (__libc_res_nsend): Document that MAXPACKET is expected.
19674         (send_vc): Document. Remove buffer reuse.
19675         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
19676         size of the buffer. Add Dprint for truncated UDP buffer.
19678 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
19680         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
19681         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
19682         * INSTALL: Regenerate.
19684 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
19685             Jonathan Wakely  <jwakely@redhat.com>
19686             Carlos O'Donell  <carlos@redhat.com>
19688         [BZ 19439]
19689         * math/Makefile (tests): Add test-math-isinff.
19690         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
19691         * math/bits/mathcalls.h [__USE_MISC]: Use
19692         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
19693         functions not in C++11 and which don't conflict e.g. isinff,
19694         isinfl etc.
19695         * math/test-math-isinff.cc: New file.
19697 2016-02-12  Florian Weimer  <fweimer@redhat.com>
19699         * misc/bug18240.c (do_test): Set RLIMIT_AS.
19701 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19703         [BZ #19529]
19704         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
19706 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19708         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19710 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
19712         [BZ #19550]
19713         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
19714         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
19715         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
19716         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
19717         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
19718         New syscall entry.
19719         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
19720         New syscall entry.
19721         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
19722         syscall entry.
19724 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
19726         [BZ #18240]
19727         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
19728         unsigned int wraparound.
19730 2016-01-27  Florian Weimer  <fweimer@redhat.com>
19732         [BZ #18240]
19733         * misc/bug18240.c: New test.
19734         * misc/Makefile (tests): Add it.
19736 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
19737             Joseph Myers  <joseph@codesourcery.com>
19739         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
19740         load in branch delay slot when less than a word of input left.
19742 2016-01-27  Andreas Schwab  <schwab@suse.de>
19744         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
19745         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
19746         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
19747         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
19749 2016-01-26  David S. Miller  <davem@davemloft.net>
19751         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
19753 2016-01-25  David S. Miller  <davem@davemloft.net>
19755         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
19756         __sqrtl_finite.
19757         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
19758         instead using versioned_symbol.
19759         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
19760         of entries.
19762         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
19763         __sqrtl_finite to GLIBC_2.23
19765 2016-01-25  Ricchard Henderson  <rth@redhat.com>
19767         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19769 2016-01-25  Andreas Schwab  <schwab@suse.de>
19771         [BZ #17514]
19772         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
19773         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
19774         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
19775         * nptl/tst-mutex-errorcheck.c: New file.
19777 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19779         [BZ #18560]
19780         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
19781         (IPCOP_semop): Likewise.
19782         (IPCOP_semget): Likewise.
19783         (IPCOP_semctl): Likewise.
19784         (IPCOP_msgsnd): Likewise.
19785         (IPCOP_msgrcv): Likewise.
19786         (IPCOP_msgget): Likewise.
19787         (IPCOP_msgctl): Likewise.
19788         (IPCOP_shmat): Likewise.
19789         (IPCOP_shmdt): Likewise.
19790         (IPCOP_shmget): Likewise.
19791         (IPCOP_shmctl): Likewise.
19793 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19795         * string/tst-endian.c: Include <libc-internal.h>.
19796         (do_test): Ignore tautological-compare warnings around
19797         "htobeXX (beXXtoh (i)) != i" and
19798         "htoleXX (leXXtoh (i)) != i" if-statements.
19800 2016-01-24  David S. Miller  <davem@davemloft.net>
19802         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
19803         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
19804         alias.
19805         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
19806         __sqrtl_finite.
19808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19810 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
19812         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
19813         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
19814         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19816 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19818         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
19819         (thread_func): Use new function to simplify barrier check.
19820         (do_test): Use new function to simplify checking barrier exit
19821         code, and actually join the child thread.
19823 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19825         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
19826         semicolon.
19827         (__libc_tend): Likewise.
19828         (__libc_tabort): Likewise.
19830 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
19832         * sysdeps/nios2/libm-test-ulps: Update.
19833         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
19834         (__gtsf2): Likewise.
19835         (__unorddf2): Likewise.
19836         (__unordsf2): Likewise.
19837         (__ledf2): Likewise.
19839 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
19841         * nis/nis_table.c (__follow_path): Disable diagnostic for
19842         uninitialized variable that is a false positive for gcc 4.7.
19843         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
19845 2016-01-20  Roland McGrath  <roland@hack.frob.com>
19847         * sysdeps/nacl/lowlevellock-futex.h
19848         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
19849         Always evaluate PRIVATE argument.
19851 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
19853         [BZ #19490]
19854         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
19855         (pthread_cond_broadcast): Use ENTRY/END
19856         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
19857         (pthread_cond_signal): Likewise.
19858         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
19859         Likewise.
19860         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
19861         Likewise.
19862         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
19863         Likewise.
19865 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
19867         * sysdeps/ieee754/dbl-64/s_finite.c
19868         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
19869         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
19870         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
19871         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
19872         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
19874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
19875         (__gtsf2): Add as optional for libc.so.
19876         (__unordsf2): Likewise.
19877         (__signbit): Remove for libc.so.
19878         (__signbitl): Likewise.
19880 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19882         * iconvdata/bug-iconv11.c (test_ibm93x):
19883         Use %zu printf format specifier for size_t argument.
19885 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
19887         * math/gen-libm-test.pl (parse_ulps): Do not reduce
19888         already-recorded ulps.
19889         * sysdeps/arm/libm-test-ulps: Regenerated.
19890         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19891         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19892         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19894 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19895             Paul Pluzhnikov  <ppluzhnikov@google.com>
19897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
19898         assembler not supporting AVX-512.
19900 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
19902         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19904 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
19906         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19907         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19909         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19911         * sysdeps/arm/libm-test-ulps: Regenerated.
19913 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19915         [BZ #19451]
19916         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
19918 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19920         [BZ #19486]
19921         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
19922         * sysdeps/generic/fix-fp-int-convert-overflow.h
19923         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
19924         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
19925         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
19926         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
19927         Likewise.
19928         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
19929         Avoid conversions to long int where inexact exceptions
19930         could be raised.
19931         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
19932         Likewise.
19933         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
19934         Avoid conversions to long long int where inexact exceptions
19935         could be raised.
19936         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
19937         Likewise.
19939 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
19941         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
19942         * configure: Regenerated.
19944 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19946         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
19948 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
19950         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
19951         outside of comment.
19953 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19955         * nptl/tst-barrier1.c: Add description on first line.
19956         * nptl/tst-barrier2.c: Likewise.
19957         * nptl/tst-barrier3.c: Likewise.
19958         * nptl/tst-barrier4.c: Likewise.
19959         * nptl/tst-barrier5.c: Likewise.
19961 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19963         [BZ #18868]
19964         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
19966 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
19969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19970         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
19971         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
19972         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
19973         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
19974         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19975         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19976         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19977         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19978         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19980 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19982         [BZ #13065]
19983         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
19984         new implementation.
19985         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
19986         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
19987         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
19988         (BARRIER_IN_THRESHOLD): New macro.
19989         * nptl/pthread_barrierattr_setpshared.c
19990         (pthread_barrierattr_setpshared): Clean up.
19991         * nptl/tst-barrier4.c: Correct comment.
19992         * nptl/tst-barrier5.c: New file.
19993         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
19994         (gen-as-const-headers): Remove lowlevelbarrier.sym.
19995         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
19996         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
19997         * nptl/lowlevelbarrier.sym: Remove.
19998         * nptl/DESIGN-barrier.txt: Remove.
19999         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
20000         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
20001         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
20002         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
20003         error.
20004         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
20005         implementation.
20007 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20009         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
20010         (do_child): Mask SIGRTMIN while thr is running.
20012 2016-01-15  Martin Sebor  <msebor@redhat.com>
20014         [BZ #19432]
20015         * iconvdata/Makefile: Add bug-iconv11.
20016         * iconvdata/bug-iconv11.c: New test.
20017         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
20018         * iconvdata/ibm933.c: Same.
20019         * iconvdata/ibm935.c: Same.
20020         * iconvdata/ibm937.c: Same.
20021         * iconvdata/ibm939.c: Same.
20023 2016-01-15  Martin Sebor  <msebor@redhat.com>
20025         [BZ #19443]
20026         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
20027         [DEBUG] (_ufc_set_bits): Declare used.
20028         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
20029         [DEBUG] (print_all): Declare used.
20030         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
20031         operands of the ternary ?: expression to target type.
20032         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
20033         calling the undeclared abort.
20034         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
20036 2016-01-15  Martin Sebor  <msebor@redhat.com>
20038         [BZ #18755]
20039         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
20040         warnings.
20041         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
20042         (__gai_create_helper_thread): Same.
20043         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
20044         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
20045         to suppress -Wmaybe-uninitialized warnings.
20047 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
20049         [BZ #19465]
20050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
20051         inside if.
20052         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20053         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20054         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20056 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
20058         [BZ #19466]
20059         * time/tst-mktime2.c (time_t_max): Removed.
20060         (time_t_min): Likewise.
20061         (TYPE_SIGNED): New.
20062         (TYPE_MINIMUM): Likewise.
20063         (TYPE_MAXIMUM): Likewise.
20064         (TIME_T_MIN): Likewise.
20065         (TIME_T_MAX): Likewise.
20066         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
20067         and TIME_T_MIN.
20068         (do_test): Likewise.
20070 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
20072         [BZ #19467]
20073         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20074         index_Fast_Unaligned_Load flag for Excavator family CPUs.
20076 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
20078         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
20080 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
20082         * benchtests/Makefile (PYTHON): Define.
20083         (bench-func): Use $(PYTHON) to run python scripts.
20084         ($(objpfx)bench-%.c): Likewise.
20086 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
20088         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
20089         leading slash when `file_name' is "/".
20091 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
20093         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
20094         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
20095         Likewise.
20096         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
20097         Likewise.
20098         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
20099         Likewise.
20100         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
20101         enum constant and macro.
20102         (PTRACE_SETSIGMASK): Likewise.
20103         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20104         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20105         (PTRACE_GETSIGMASK): Likewise.
20106         (PTRACE_SETSIGMASK): Likewise.
20107         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20108         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
20109         Likewise.
20110         (PTRACE_SETSIGMASK): Likewise.
20111         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20112         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20113         (PTRACE_GETSIGMASK): Likewise.
20114         (PTRACE_SETSIGMASK): Likewise.
20115         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20116         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
20117         Likewise.
20118         (PTRACE_SETSIGMASK): Likewise.
20119         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20120         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
20121         Likewise.
20122         (PTRACE_SETSIGMASK): Likewise.
20123         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20124         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
20125         Likewise.
20126         (PTRACE_SETSIGMASK): Likewise.
20127         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20129 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
20130             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20132         [BZ #19439]
20133         * math/bits/mathcalls.h
20134         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
20135         prototype.
20136         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
20138 2016-01-11  Andreas Schwab  <schwab@suse.de>
20140         [BZ #19253]
20141         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
20142         cache when TZDEFRULES was used.
20143         * time/tst-tzname.c: New file.
20144         * time/Makefile (test): Add tst-tzname.
20145         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
20146         * timezone/Makefile (test-zones): Add $(posixrules-file).
20147         ($(testdata)/$(posixrules-file)): New rule.
20149 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
20151         Fix doc quoting problems with Texinfo 5
20152         Without this change, in the info file output, Texinfo 5 quotes code
20153         in text with undirected single quotes 'like this' and generates
20154         code examples that with many PDF readers cannot be cut out of PDFs
20155         and pasted into code.
20156         * manual/libc.texinfo: Configure the libc manual like the GNU
20157         Emacs manual, by using @documentencoding and setting
20158         txicodequoteundirected and txicodequotebacktick.  This way,
20159         Texinfo 5 quotes code in text with directed single quotes ‘like
20160         this’ and produces examples that can be cut out of PDFs.  This
20161         change causes Texinfo 5 to generate info files that contain UTF-8
20162         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
20163         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
20165 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20167         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
20168         __libc_tabort, __libc_tend): New wrappers that enforce compiler
20169         barriers to their respective compiler built-ins.
20170         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
20171         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
20172         * sysdeps/powerpc/sysdep.h: Likewise.
20173         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
20174         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
20175         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
20177 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
20179         * scripts/config.guess: Revert previous shebang change.
20180         * scripts/config.sub: Likewise.
20181         * scripts/mkinstalldirs: Likewise.
20183 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20185         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
20186         PPC_FEATURE2_HAS_IEEE128.
20187         * sysdeps/powerpc/dl-procinfo.c:
20188         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
20190 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
20192         [BZ #19415]
20193         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
20194         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
20195         (_dl_lookup_address): Rewrite using function resolver trampoline.
20196         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
20197         two bits in address.
20199 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20201         * longlong.h: Change !__SHMEDIA__ to
20202         (!defined (__SHMEDIA__) || !__SHMEDIA__).
20203         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
20205 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
20206             Joseph Myers  <joseph@codesourcery.com>
20207             Mark Shinwell  <shinwell@codesourcery.com>
20208             Andrew Stubbs  <ams@codesourcery.com>
20209             Rich Felker <dalias@libc.org>
20211         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
20213 2016-01-07  Richard Henderson  <rth@redhat.com>
20215         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
20217 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20219         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
20220         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
20221         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20222         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20223         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
20225 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
20226             Joseph Myers  <joseph@codesourcery.com>
20228         * timezone/private.h: Update from tzcode 2015g.
20229         * timezone/tzfile.h: Likewise.
20230         * timezone/tzselect.ksh: Likewise.
20231         * timezone/zdump.c: Likewise.
20232         * timezone/zic.c: Likewise.
20233         * timezone/ialloc.c: Remove file.
20234         * timezone/scheck.c: Likewise.
20235         * timezone/Makefile (extra-objs): Remove variable.
20236         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
20237         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
20238         -Wno-maybe-uninitialized.
20239         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
20240         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
20241         (CFLAGS-ialloc.c): Remove variable.
20242         (CFLAGS-scheck.c): Likewise.
20243         * timezone/README: Update list of files from tzcode.
20245 2016-01-07  Khem Raj  <raj.khem@gmail.com>
20247         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
20248         instead of __fxprintf when _LIBC is undefined.
20250 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
20252         * catgets/test-gencat.sh: Remove space after shebang.
20253         * conform/GlibcConform.pm: Likewise.
20254         * conform/check-header-lists.sh: Likewise.
20255         * conform/conformtest.pl: Likewise.
20256         * conform/linknamespace.pl: Likewise.
20257         * conform/list-header-symbols.pl: Likewise.
20258         * debug/catchsegv.sh: Likewise.
20259         * elf/genrtldtbl.awk: Likewise.
20260         * elf/tst-pathopt.sh: Likewise.
20261         * elf/tst-rtld-load-self.sh: Likewise.
20262         * grp/tst_fgetgrent.sh: Likewise.
20263         * iconvdata/gen-8bit-gap-1.sh: Likewise.
20264         * iconvdata/gen-8bit-gap.sh: Likewise.
20265         * iconvdata/gen-8bit.sh: Likewise.
20266         * iconvdata/run-iconv-test.sh: Likewise.
20267         * intl/tst-gettext.sh: Likewise.
20268         * intl/tst-gettext2.sh: Likewise.
20269         * intl/tst-gettext4.sh: Likewise.
20270         * intl/tst-gettext6.sh: Likewise.
20271         * intl/tst-translit.sh: Likewise.
20272         * io/ftwtest-sh: Likewise.
20273         * libio/test-freopen.sh: Likewise.
20274         * locale/gen-translit.pl: Likewise.
20275         * malloc/tst-mtrace.sh: Likewise.
20276         * manual/check-safety.sh: Likewise.
20277         * manual/libc-texinfo.sh: Likewise.
20278         * manual/tsort.awk: Likewise.
20279         * manual/xtract-typefun.awk: Likewise.
20280         * nptl/tst-cancel-wrappers.sh: Likewise.
20281         * nptl/tst-tls6.sh: Likewise.
20282         * posix/globtest.sh: Likewise.
20283         * posix/tst-getconf.sh: Likewise.
20284         * posix/wordexp-tst.sh: Likewise.
20285         * scripts/check-c++-types.sh: Likewise.
20286         * scripts/check-local-headers.sh: Likewise.
20287         * scripts/config.guess: Likewise.
20288         * scripts/config.sub: Likewise.
20289         * scripts/cpp: Likewise.
20290         * scripts/cross-test-ssh.sh: Likewise.
20291         * scripts/documented.sh: Likewise.
20292         * scripts/evaluate-test.sh: Likewise.
20293         * scripts/gen-libc-abis: Likewise.
20294         * scripts/gen-sorted.awk: Likewise.
20295         * scripts/list-fixed-bugs.py: Likewise.
20296         * scripts/merge-test-results.sh: Likewise.
20297         * scripts/mkinstalldirs: Likewise.
20298         * scripts/rellns-sh: Likewise.
20299         * scripts/test-installation.pl: Likewise.
20300         * scripts/update-copyrights: Likewise.
20301         * stdio-common/tst-printf.sh: Likewise.
20302         * stdio-common/tst-unbputc.sh: Likewise.
20303         * stdlib/tst-fmtmsg.sh: Likewise.
20304         * stdlib/tst-setcontext3.sh: Likewise.
20305         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
20306         * sysdeps/unix/make-syscalls.sh: Likewise.
20308 2016-01-06  John David Anglin  <dave.anglin@bell.net>
20310         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
20311         asm stw with atomic_exchange_rel.  Add explanatory comment.
20312         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20313         Likewise.
20315 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20317         [BZ #19122]
20318         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
20319         * sysdeps/generic/dl-unistd.h: New file.
20320         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
20322 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20324          [BZ #19122]
20325          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
20326          * sysdeps/generic/dl-mman.h: New file.
20327          * sysdeps/mach/hurd/dl-mman.h: Likewise.
20329 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
20331         * manual/texinfo.tex: Update to version 2016-01-04.21 with
20332         trailing whitespace removed.
20333         * scripts/config.guess: Update to version 2016-01-01.
20334         * scripts/config.sub: Update to version 2016-01-01.
20335         * scripts/move-if-change: Update from gnulib.
20337 2016-01-04  Anton Blanchard  <anton@samba.org>
20339         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
20340         for array indices.
20341         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
20343 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
20345         * NEWS: Update copyright dates.
20346         * catgets/gencat.c (print_version): Likewise.
20347         * csu/version.c (banner): Likewise.
20348         * debug/catchsegv.sh: Likewise.
20349         * debug/pcprofiledump.c (print_version): Likewise.
20350         * debug/xtrace.sh (do_version): Likewise.
20351         * elf/ldconfig.c (print_version): Likewise.
20352         * elf/ldd.bash.in: Likewise.
20353         * elf/pldd.c (print_version): Likewise.
20354         * elf/sotruss.sh: Likewise.
20355         * elf/sprof.c (print_version): Likewise.
20356         * iconv/iconv_prog.c (print_version): Likewise.
20357         * iconv/iconvconfig.c (print_version): Likewise.
20358         * locale/programs/locale.c (print_version): Likewise.
20359         * locale/programs/localedef.c (print_version): Likewise.
20360         * login/programs/pt_chown.c (print_version): Likewise.
20361         * malloc/memusage.sh (do_version): Likewise.
20362         * malloc/memusagestat.c (print_version): Likewise.
20363         * malloc/mtrace.pl: Likewise.
20364         * manual/libc.texinfo: Likewise.
20365         * nptl/version.c (banner): Likewise.
20366         * nscd/nscd.c (print_version): Likewise.
20367         * nss/getent.c (print_version): Likewise.
20368         * nss/makedb.c (print_version): Likewise.
20369         * posix/getconf.c (main): Likewise.
20370         * scripts/test-installation.pl: Likewise.
20371         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20373         * All files with FSF copyright notices: Update copyright dates
20374         using scripts/update-copyrights.
20375         * intl/plural.c: Regenerated.
20376         * locale/programs/charmap-kw.h: Likewise.
20377         * locale/programs/locfile-kw.h: Likewise.
20379 2016-01-02  Helge Deller  <deller@gmx.de>
20381         [BZ #19285]
20382         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
20383         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
20384         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
20385         (MADV_xxK_PAGES): Remove.
20387 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
20389         [BZ #15421]
20390         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
20391         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
20392         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
20393         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
20395 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
20397         [BZ #19408]
20398         * sysdeps/unix/sysv/linux/personality.c: New file.
20399         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
20400         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
20401         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
20402         (sysdep_routines): Add personality.
20403         (tests): Add tst-personality.
20404         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
20405         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
20406         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
20407         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
20408         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
20409         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
20410         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
20411         Likewise.
20412         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
20413         Likewise.
20414         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
20415         Likewise.
20416         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
20417         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
20418         Likewise.
20420 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
20422         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
20423         (PATH_ARM_SYSTYPE): Remove.
20424         (PATH_CPUINFO): Likewise.
20425         (IO_BASE_FOOTBRIDGE): Likewise.
20426         (IO_SHIFT_FOOTBRIDGE): Likewise.
20427         (struct platform): Likewise.
20428         (init_iosys): Remove compatibility code for 2.4 kernels.
20429         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
20431 2015-12-29  Florian Weimer  <fweimer@redhat.com>
20433         * malloc/tst-malloc-thread-fail.c: New file.
20434         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
20435         (tst-malloc-thread-fail): Link against libpthread.
20437 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
20439         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
20440         (get_parser): New function.
20441         (main): New function.
20443 2015-12-29  Rob Wu  <rob@robwu.nl>
20445         [BZ #19369]
20446         * resolv/res_init.c (__res_vinit): Reset defdname before use.
20448 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
20450         [BZ #19270]
20451         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20453 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
20455         [BZ #15421]
20456         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
20458 2015-12-23  Torvald Riegel  <triegel@redhat.com>
20460         [BZ #13690]
20461         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
20462         after releasing it.
20463         (__lll_robust_unlock): Likewise.
20464         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20465         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
20466         (lll_robust_unlock): Likewise.
20467         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
20468         Prevent warnings in callers.
20470 2015-12-23  Florian Weimer  <fweimer@redhat.com>
20472         * malloc/arena.c (list_lock): Update comment.
20474 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20476         * sysdeps/powerpc/hwcapinfo.c: Export symbol
20477         __parse_hwcap_and_convert_at_platform to libc.a.
20479 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20481         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
20482         platform and feature support for POWER9.
20483         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20484         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
20485         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
20486         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
20487         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
20488         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
20489         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
20490         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
20492 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20494         Harmonize generic stdio-lock support with nptl
20496         This fixes build when _IO_funlockfile is a macro, fixes build where
20497         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
20498         stack unwind.
20500         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
20501         _IO_release_lock ): Use cleanup attribute on new
20502         _IO_acquire_lock_file variable instead of assuming that
20503         _IO_release_lock will be called.
20504         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
20505         _IO_acquire_lock_needs_exceptions_enabled.
20506         (_IO_acquire_lock_clear_flags2): New macro.
20508 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20510         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20512 2015-12-21  Florian Weimer  <fweimer@redhat.com>
20514         [BZ #19182]
20515         * malloc/arena.c (list_lock): Document lock ordering requirements.
20516         (free_list_lock): New lock.
20517         (ptmalloc_lock_all): Comment on free_list_lock.
20518         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
20519         (detach_arena): Update comment.  free_list_lock is now needed.
20520         (_int_new_arena): Use free_list_lock around detach_arena call.
20521         Acquire arena lock after list_lock.  Add comment, including FIXME
20522         about incorrect synchronization.
20523         (get_free_list): Switch to free_list_lock.
20524         (reused_arena): Acquire free_list_lock around detach_arena call
20525         and attached threads counter update.  Add two FIXMEs about
20526         incorrect synchronization.
20527         (arena_thread_freeres): Switch to free_list_lock.
20528         * malloc/malloc.c (struct malloc_state): Update comments to
20529         mention free_list_lock.
20531 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20533         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
20534         Remove functions.
20535         (sloww, sloww1): Accept argument to offset quadrant.
20536         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
20537         quadrant.
20538         (__sin, __cos): Consolidate common code into new functions.
20539         (reduce_sincos_1, do_sincos_1): New functions.
20540         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
20542         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
20543         code to new functions.
20544         (reduce_sincos_2, do_sincos_2): New functions.
20545         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
20547         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
20548         common code for sincos.
20549         (__cos) [!IN_SINCOS]: Likewise.
20550         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
20551         New function.
20552         (__sincos): Use it.
20554 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
20556         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
20557         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
20558         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20560 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20562         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
20563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
20564         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20565         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
20566         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20567         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
20568         index_Prefer_No_VZEROUPPER): New feature.
20569         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
20570         Prefer_No_VZEROUPPER for Knights Landing.
20572 015-12-18  Torvald Riegel  <triegel@redhat.com>
20574         * math/atest-exp2.c (mp_exp_m1): Remove.
20576 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20578         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
20579         syscalls.
20580         (__SYSCALL0): New macro.
20581         (__SYSCALL1): Likewise.
20582         (__SYSCALL2): Likewise.
20583         (__SYSCALL3): Likewise.
20584         (__SYSCALL4): Likewise.
20585         (__SYSCALL5): Likewise.
20586         (__SYSCALL6): Likewise.
20587         (__SYSCALL_CONCAT_X): Likewise.
20588         (__SYSCALL_CONCAT): Likewise.
20589         (__SYSCALL_DIST): Likewise.
20590         (__SYSCALL_CALL): Likewise.
20592 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
20594         [BZ #19363]
20595         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
20597 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20599         [BZ #19375]
20600         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
20601         negative subnormals.
20603 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
20605         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20606         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
20607         (INTERNAL_SYSCALL_NCS): Use it.
20608         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20610 2015-12-16  Florian Weimer  <fweimer@redhat.com>
20612         [BZ #19243]
20613         * malloc/arena.c (get_free_list): Remove assert and adjust
20614         reference count handling.  Add comment about reused_arena
20615         interaction.
20616         (reused_arena): Add comments abount get_free_list interaction.
20617         * malloc/tst-malloc-thread-exit.c: New file.
20618         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
20619         (tst-malloc-thread-exit): Link against libpthread.
20621 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20623         [BZ #19367]
20624         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
20625         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
20626         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
20627         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
20628         (index_Prefer_MAP_32BIT_EXEC): Likewise.
20630 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20632         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
20633         Silvermont optimizations for Knights Landing.
20635 2015-12-15  Andreas Schwab  <schwab@suse.de>
20637         [BZ #17197]
20638         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
20639         immediately after emitting SI.
20640         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
20641         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
20642         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
20643         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
20644         * iconvdata/bug-iconv10.c: New file.
20645         * iconvdata/Makefile (tests): Add bug-iconv10.
20646         ($(objpfx)bug-iconv10.out): New rule.
20648 2015-12-15  Florian Weimer  <fweimer@redhat.com>
20650         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
20651         aliasing violation.
20653 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
20655         [BZ #18472]
20656         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
20657         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
20658         conditionals for them.
20659         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
20660         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
20661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
20662         sys/kdaemon.h.
20663         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
20664         compat-only syscall, obsoleted in glibc 2.23.
20665         (create_module): Likewise.
20666         (get_kernel_syms): Likewise.
20667         (query_module): Likewise.
20668         (uselib): Likewise.
20669         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
20671 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
20673         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
20674         <linux/version.h>.
20675         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
20676         conditional code.
20677         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
20678         and ioshift_name initialization.
20680 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20682         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20683         Fix indentation.
20685 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20687         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
20689 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20691         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
20693 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
20694             Jakub Wilk  <jwilk@debian.org>
20696         [BZ #19347]
20697         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
20698         to change the group of the device to the tty group.
20700 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
20702         Split large string section; add truncation advice
20703         * manual/examples/strncat.c: Remove.
20704         This example was misleading, as the code would have undefined
20705         behavior if "hello" was longer than SIZE.  Anyway, the manual
20706         shouldn't encourage strncpy+strncat for this sort of thing.
20707         * manual/string.texi (Copying Strings and Arrays): Split into
20708         three sections Copying Strings and Arrays, Concatenating Strings,
20709         and Truncating Strings, as this section was way too long.  All
20710         cross-referenced changed.  Add advice about string-truncation
20711         functions.  Remove misleading strncat example.
20713 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
20715         * manual/nss.texi (NSS Modules Interface): Document
20716         NSS_STATUS_NOTFOUND and SUCCESS.
20718 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20720         [BZ 18568]
20721         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20722         201505L, for Unicode 8.
20724 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
20726         * locale/C-translit.h: Regenerate.
20728 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20730         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
20731         and U+0153.
20733 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
20735         [BZ #19351]
20736         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
20737         expanding log(1+z), compare z rather than its square with epsilon
20738         to determine when to avoid evaluating the expansion.
20740         [BZ #19350]
20741         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20742         Increase overflow threshold.
20744         [BZ #19349]
20745         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
20746         when small.
20748         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20749         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20750         New macro.
20751         [__LINUX_KERNEL_VERSION >= 0x040300]
20752         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20753         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20754         Likewise.
20755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20756         Likewise.
20757         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20758         Likewise.
20759         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20760         Likewise.
20761         [__LINUX_KERNEL_VERSION >= 0x040300]
20762         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20763         [__LINUX_KERNEL_VERSION >= 0x040300]
20764         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20765         [__LINUX_KERNEL_VERSION >= 0x040300]
20766         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20767         [__LINUX_KERNEL_VERSION >= 0x040300]
20768         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20769         [__LINUX_KERNEL_VERSION >= 0x040300]
20770         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20771         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20772         Likewise.
20773         [__LINUX_KERNEL_VERSION >= 0x040300]
20774         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20776         Likewise.
20777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20778         Likewise.
20779         [__LINUX_KERNEL_VERSION >= 0x040300]
20780         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20781         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20782         Likewise.
20783         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20784         Likewise.
20785         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20786         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
20787         Likewise.
20788         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
20789         Likewise.
20790         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20791         Likewise.
20792         [__LINUX_KERNEL_VERSION >= 0x040300]
20793         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20794         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20795         Likewise.
20796         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20797         Likewise.
20798         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20799         Likewise.
20800         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20801         Likewise.
20802         [__LINUX_KERNEL_VERSION >= 0x040300]
20803         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20804         [__LINUX_KERNEL_VERSION >= 0x040300]
20805         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20806         [__LINUX_KERNEL_VERSION >= 0x040300]
20807         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20808         [__LINUX_KERNEL_VERSION >= 0x040300]
20809         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20810         [__LINUX_KERNEL_VERSION >= 0x040300]
20811         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20812         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20813         Likewise.
20814         [__LINUX_KERNEL_VERSION >= 0x040300]
20815         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20816         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20817         Likewise.
20818         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20819         Likewise.
20820         [__LINUX_KERNEL_VERSION >= 0x040300]
20821         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20822         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20823         Likewise.
20824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20825         Likewise.
20826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20827         (__ASSUME_SOCKET_SYSCALL): Likewise.
20828         (__ASSUME_BIND_SYSCALL): Likewise.
20829         (__ASSUME_CONNECT_SYSCALL): Likewise.
20830         (__ASSUME_LISTEN_SYSCALL): Likewise.
20831         (__ASSUME_ACCEPT_SYSCALL): Likewise.
20832         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20833         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20834         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20835         (__ASSUME_SEND_SYSCALL): Likewise.
20836         (__ASSUME_SENDTO_SYSCALL): Likewise.
20837         (__ASSUME_RECV_SYSCALL): Likewise.
20838         (__ASSUME_RECVFROM_SYSCALL): Likewise.
20839         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
20840         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20841         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20842         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20843         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20844         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20845         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
20846         Likewise.
20847         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
20848         Likewise.
20849         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
20850         Likewise.
20851         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
20852         Likewise.
20853         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
20854         Likewise.
20855         [__LINUX_KERNEL_VERSION >= 0x020625]
20856         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20857         [__LINUX_KERNEL_VERSION >= 0x020625]
20858         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20859         [__LINUX_KERNEL_VERSION >= 0x020625]
20860         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20861         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
20862         Likewise.
20863         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
20864         Likewise.
20865         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
20866         Likewise.
20867         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
20868         Likewise.
20869         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
20870         Likewise.
20871         [__LINUX_KERNEL_VERSION >= 0x020625]
20872         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20873         [__LINUX_KERNEL_VERSION >= 0x020625]
20874         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20875         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
20876         Likewise.
20877         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
20878         Likewise.
20880 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20882         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
20883         record the current if the current ABI and CPU support the FP64
20884         extension.
20885         (has-modd-spreg): Define to record the current if the current ABI and
20886         CPU support 32-bit floating point values in odd FPU registers.
20887         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20888         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
20889         $(has-modd-spreg) equals yes.
20890         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
20891         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
20892         $(has-modd-spreg) equal yes.
20894 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20896         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
20897         basename.
20899 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
20901         * benchtests/Makefile (bench-math): Move ffs and ffsll...
20902         (bench-string): ... here.
20903         (bench): Add bench-string.
20904         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
20905         to *-benchset to reflect what they are.
20906         (benchset): Adjust.
20908         * benchtests/sincos-inputs: Add inputs from sin-inputs and
20909         cos-inputs.
20911 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
20913         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
20914         __attribute__ ((__simd__)) for vector math function declarations.
20916 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20918         Fix typo in strncat, wcsncat manual entries
20919         * manual/string.texi (Copying and Concatenation): Fix typos in
20920         sample implementations of strncat and wcsncat, by having them use
20921         the old value of the destination length, not the new one.
20923 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
20925         [BZ #16961]
20926         [BZ #16962]
20927         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
20928         string on the stack for strtod.
20929         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
20930         a string on the stack for strtof.
20931         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
20932         constructing a string on the stack for strtold.
20933         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
20934         __strtold_nan to GLIBC_PRIVATE.
20935         * math/test-nan-overflow.c: New file.
20936         * math/test-nan-payload.c: Likewise.
20937         * math/Makefile (tests): Add test-nan-overflow and
20938         test-nan-payload.
20940 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20942         Consistency about byte vs character in string.texi
20943         * manual/string.texi (String and Array Utilities):
20944         Distinguish more carefully among bytes, multibyte characters,
20945         and wide characters.  Use "byte" when talking about C 'char',
20946         to distinguish it more clearly from multibyte characters.
20947         Say "wide character" or "multibyte character" instead of
20948         "character", when a wide or multibyte character is intended.
20949         Similarly for "multibyte string" versus "string".
20950         Define these terms more carefully.
20952 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
20954         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
20955         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
20956         Likewise.
20957         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20958         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20959         * sysdeps/sh/math_private.h: New file.
20960         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
20961         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
20962         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
20963         long double function name.
20964         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20965         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20966         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20967         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20968         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20970         Remove __finitel, __isinfl, and __isnanl.
20971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20972         Likewise.
20973         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20975         Remove __finitel.
20976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20977         Likewise.
20978         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20980 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
20982         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
20983         installed libmvec_nonshared.a.
20985 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20987         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
20988         (sysdep_routines): Likewise.
20989         (sysdep-rtld-routines): Likewise.
20990         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
20991         [$(subdir) = nptl](tests-static): test-get_hwcap-static
20992         * sysdeps/powerpc/Versions: Added new
20993         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
20994         * sysdeps/powerpc/hwcapinfo.c: New file.
20995         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
20996         and parse hwcap, hwcap2 and platform number information.
20997         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
20998         to store HWCAP+HWCAP2 and platform number.
20999         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
21000         for HWCAP+HWCAP2 and platform number in the TCB.
21001         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
21002         the HWCAP, HWCAP2 and platform number in the TCB.
21003         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
21004         (TLS_INIT_TP): Included calls to add the hwcap and
21005         at_platform values in the TCB in TP initialization.
21006         (TLS_DEFINE_INIT_TP): Likewise.
21007         (THREAD_GET_HWCAP): New macro.
21008         (THREAD_SET_HWCAP): Likewise.
21009         (THREAD_GET_AT_PLATFORM): Likewise.
21010         (THREAD_SET_AT_PLATFORM): Likewise.
21011         * sysdeps/powerpc/powerpc32/dl-machine.h:
21012         (dl_platform_init): New function that calls
21013         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
21014         powerpc32.
21015         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
21016         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
21017         this functionality, static linking case.
21018         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
21019         linking case.
21020         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
21021         __parse_hwcap_and_convert_at_platform for the static linking case.
21022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
21023         Included the new __parse_hwcap_and_convert_at_platform symbol in the
21024         ABI list for GLIBC 2.23.
21025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
21026         Likewise.
21027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
21028         Likewise.
21030 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
21032         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
21033         * configure: Regenerate.
21034         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
21035         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
21037 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
21039         * iconvdata/ibm930.c: Add comment explaining encoding uses.
21040         * iconvdata/ibm933.c: Likewise.
21041         * iconvdata/ibm935.c: Likewise.
21042         * iconvdata/ibm937.c: Likewise.
21043         * iconvdata/ibm939.c: Likewise.
21045 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21047         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
21048         pthread_join.
21049         * nptl/tst-cancel21.c (tf): Likewise.
21051 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21053         [BZ #19313]
21054         * bits/typesizes.h (__CPU_MASK_TYPE): New.
21055         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21056         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21057         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
21058         Likewise.
21059         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
21060         Likewise.
21061         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
21062         Likewise.
21063         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
21064         Likewise.
21065         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
21066         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
21067         unsigned long int with __CPU_MASK_TYPE.
21069 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21071         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21073 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
21075         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
21076         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
21077         t512.x.
21078         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
21080 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
21082         [BZ #19214]
21083         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
21084         argument to return extended model.  Update family and model
21085         with extended family and model when family == 0x0f.
21086         (init_cpu_features): Updated.
21088 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21090         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
21091         signed off_t, so 32bit bigger than 2GiB values are fine actually.
21093         * sysdeps/mach/hurd/mmap64.c: New file.
21095 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
21097         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
21098         rights for its main user thread in NEWTASK.
21100 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
21102         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
21103         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
21105 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
21107         [BZ #14259]
21108         * Makeconfig: Rename localedir to complocaledir.
21109         Rename inst_localedir to inst_complocaledir.
21110         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
21111         * config.make.in: Use complocaledir and libc_cv_complocaledir.
21112         * configure.ac: Use libc_cv_complocaledir.
21113         * configure: Regenerate.
21114         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
21115         -DCOMPLOCALEDIR.
21116         * locale/findlocale.c: Use COMPLOCALEDIR.
21117         * locale/loadarchive.c: Likewise.
21118         * locale/programs/locale.c: Likewise.
21119         * locale/programs/localedef.c: Likewise.
21120         * locale/programs/locarchive.c: Likewise.
21121         * localedata/Makefile: Use inst_complocaledir.
21122         * sysdeps/gnu/configure: Regenerate.
21123         * sysdeps/hppa/configure: Regenerate.
21124         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21125         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21127         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21128         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21129         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21130         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21132 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
21134         [BZ #19058]
21135         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
21136         AS_NEEDED.
21137         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
21138         workaround.
21139         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
21140         libmvec-static-only-routines): Added new file.
21141         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
21143 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21145         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
21146         of interrupted RPC instead of restoring it.
21148         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
21149         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
21150         libc_hidden_def.
21151         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
21152         into initialized data instead of common. Define rtld_hidden_data_def.
21153         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
21154         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
21155         libc_hidden_def.
21156         (if_freenameindex): Add libc_hidden_weak.
21157         (if_nameindex): Add libc_hidden_weak.
21158         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
21159         __open64.
21160         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
21161         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
21162         * sysdeps/mach/nanosleep.c: Include <time.h>
21163         (__nanosleep): Rename to __libc_nanosleep.
21164         (__nanosleep): Add weak_alias.
21165         (nanosleep): Update alias.
21167 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
21169         * stdlib/strtod_nan.c: New file.
21170         * stdlib/strtod_nan_double.h: Likewise.
21171         * stdlib/strtod_nan_float.h: Likewise.
21172         * stdlib/strtod_nan_main.c: Likewise.
21173         * stdlib/strtod_nan_narrow.h: Likewise.
21174         * stdlib/strtod_nan_wide.h: Likewise.
21175         * stdlib/strtof_nan.c: Likewise.
21176         * stdlib/strtold_nan.c: Likewise.
21177         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
21178         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
21179         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
21180         * wcsmbs/wcstod_nan.c: Likewise.
21181         * wcsmbs/wcstof_nan.c: Likewise.
21182         * wcsmbs/wcstold_nan.c: Likewise.
21183         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
21184         strtold_nan.
21185         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
21186         wcstof_nan.
21187         * include/stdlib.h (__strtof_nan): Declare and use
21188         libc_hidden_proto.
21189         (__strtod_nan): Likewise.
21190         (__strtold_nan): Likewise.
21191         (__wcstof_nan): Likewise.
21192         (__wcstod_nan): Likewise.
21193         (__wcstold_nan): Likewise.
21194         * include/wchar.h (____wcstoull_l_internal): Declare.
21195         * stdlib/strtod_l.c: Do not include <ieee754.h>.
21196         (____strtoull_l_internal): Remove declaration.
21197         (STRTOF_NAN): Define macro.
21198         (SET_MANTISSA): Remove macro.
21199         (STRTOULL): Likewise.
21200         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
21201         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
21202         (STRTOF_NAN): Define macro.
21203         (SET_MANTISSA): Remove macro.
21204         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
21205         (SET_MANTISSA): Remove macro.
21206         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
21207         macro.
21208         (SET_MANTISSA): Remove macro.
21209         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
21210         macro.
21211         (SET_MANTISSA): Remove macro.
21212         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
21213         (SET_MANTISSA): Remove macro.
21214         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
21215         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
21216         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
21218         [BZ #19266]
21219         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
21220         upper case and lower case letters inside NAN(), not using TOLOWER.
21221         * stdlib/tst-strtod-nan-locale-main.c: New file.
21222         * stdlib/tst-strtod-nan-locale.c: Likewise.
21223         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
21224         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
21225         Depend on $(gen-locales).
21226         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
21227         * wcsmbs/tst-wcstod-nan-locale.c: New file.
21228         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
21229         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
21230         Depend on $(gen-locales).
21231         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
21233 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
21235         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
21237         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
21239         __finitel, __isinfl, and __isnanl.
21240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21241         Likewise.
21242         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
21244         __finitel.
21245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21246         Likewise.
21247         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21249 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21251         * malloc/memusage.c (me): Remove redundant getenv call.
21253 2015-10-24  Florian Weimer  <fweimer@redhat.com>
21255         [BZ #19143]
21256         [BZ #19164]
21257         * nptl/check-cpuset.h: Remove.
21258         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21259         Remove CPU set size check.
21260         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21261         Likewise.
21262         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
21263         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21264         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
21265         (__pthread_setaffinity_new): Remove CPU set size check.
21266         * sysdeps/unix/sysv/linux/sched_setaffinity.c
21267         (__kernel_cpumask_size): Remove.
21268         (__sched_setaffinity_new): Remove CPU set size check.
21269         * manual/threads.texi (Default Thread Attributes): Remove stale
21270         reference to check_cpuset_attr, determine_cpumask_size in comment.
21271         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
21272         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
21273         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
21274         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
21275         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
21276         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
21277         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
21278         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
21279         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
21280         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
21281         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
21282         skeleton test file.
21283         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
21284         tst-affinity-pid.
21286 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21288         * scripts/update-abilist.sh: New file.
21289         * Makefile (+subdir_targets): Add subdir_update-all-abi.
21290         * Makerules (update-all-abi-%, update-all-abi)
21291         (subdir_update-all-abi): New targets.
21292         * elf/Makefile (update-all-abi): New target.
21294 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21296         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
21297         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
21298         (__libc_lock_define_initialized): Use it.
21299         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
21300         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
21301         * malloc/malloc.c (main_arena): Likewise.
21302         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21303         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21305 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
21307         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21308         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
21309         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21310         (PTRACE_O_MASK): Update value.
21311         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
21312         New value in enum __ptrace_setoptions.
21313         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21314         (PTRACE_O_MASK): Update value.
21315         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21316         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21317         (PTRACE_O_MASK): Update value.
21318         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
21319         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21320         (PTRACE_O_MASK): Update value.
21321         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
21322         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21323         (PTRACE_O_MASK): Update value.
21324         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
21325         New value in enum __ptrace_setoptions.
21326         (PTRACE_O_MASK): Update value.
21327         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
21328         New value in enum __ptrace_setoptions.
21329         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21330         (PTRACE_O_MASK): Update value.
21332         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
21333         New macro.
21334         (PACKET_AUXDATA): Likewise.
21335         (PACKET_ORIGDEV): Likewise.
21336         (PACKET_VERSION): Likewise.
21337         (PACKET_HDRLEN): Likewise.
21338         (PACKET_RESERVE): Likewise.
21339         (PACKET_TX_RING): Likewise.
21340         (PACKET_LOSS): Likewise.
21341         (PACKET_VNET_HDR): Likewise.
21342         (PACKET_TX_TIMESTAMP): Likewise.
21343         (PACKET_TIMESTAMP): Likewise.
21344         (PACKET_FANOUT): Likewise.
21345         (PACKET_TX_HAS_OFF): Likewise.
21346         (PACKET_QDISC_BYPASS): Likewise.
21347         (PACKET_ROLLOVER_STATS): Likewise.
21348         (PACKET_FANOUT_DATA): Likewise.
21349         (PACKET_MR_UNICAST): Likewise.
21351         [BZ #19242]
21352         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
21353         (TOUPPER): Likewise.
21354         * stdlib/tst-strtol-locale-main.c: New file.
21355         * stdlib/tst-strtol-locale.c: Likewise.
21356         * stdlib/Makefile (tests): Add tst-strtol-locale.
21357         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
21358         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
21359         Depend on $(gen-locales).
21360         * wcsmbs/tst-wcstol-locale.c: New file.
21361         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
21362         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
21363         tr_TR.ISO-8859-9.
21364         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
21365         Depend on $(gen-locales).
21367 2015-11-20  Roland McGrath  <roland@hack.frob.com>
21369         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
21370         __glibc_likely instead of __builtin_expect.  After falling back to
21371         dyncode_create in a non-ET_DYN case, use the allocate_code_data
21372         system interface to register the code pages as occupied.
21374 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
21376         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21377         [!ARM_MATH_PRIVATE_H].
21378         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
21379         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21380         [!HPPA_MATH_PRIVATE_H].
21381         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
21382         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
21383         to [!I386_MATH_PRIVATE_H].
21384         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
21385         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
21386         Change guard to [!M68K_MATH_PRIVATE_H].
21387         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
21388         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
21389         guard to [!MICROBLAZE_MATH_PRIVATE_H].
21390         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
21391         macro.
21392         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21393         [!MIPS_MATH_PRIVATE_H].
21394         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
21395         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21396         [!NIO2_MATH_PRIVATE_H].
21397         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
21398         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21399         [!TILE_MATH_PRIVATE_H].
21400         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
21402         [BZ #15421]
21403         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
21404         initialize with 0 and define as weak alias of __signgam.
21405         * include/math.h [!_ISOMAC] (__signgam): Declare.
21406         * math/Makefile (libm-calls): Add w_lgamma_compat.
21407         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
21408         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
21409         test-signgam-ullong-init.
21410         (tests-static): Add test-signgam-uchar-static,
21411         test-signgam-uchar-init-static, test-signgam-uint-static,
21412         test-signgam-uint-init-static, test-signgam-ullong-static and
21413         test-signgam-ullong-init-static.
21414         (CFLAGS-test-signgam-uchar.c): New variable.
21415         (CFLAGS-test-signgam-uchar-init.c): Likewise.
21416         (CFLAGS-test-signgam-uchar-static.c): Likewise.
21417         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21418         (CFLAGS-test-signgam-uint.c): Likewise.
21419         (CFLAGS-test-signgam-uint-init.c): Likewise.
21420         (CFLAGS-test-signgam-uint-static.c): Likewise.
21421         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21422         (CFLAGS-test-signgam-ullong.c): Likewise.
21423         (CFLAGS-test-signgam-ullong-init.c): Likewise.
21424         (CFLAGS-test-signgam-ullong-static.c): Likewise.
21425         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21426         * math/Versions (libm): Add GLIBC_2.23.
21427         * math/lgamma-compat.h: New file.
21428         * math/test-signgam-main.c: Likewise.
21429         * math/test-signgam-uchar-init-static.c: Likewise.
21430         * math/test-signgam-uchar-init.c: Likewise.
21431         * math/test-signgam-uchar-static.c: Likewise.
21432         * math/test-signgam-uchar.c: Likewise.
21433         * math/test-signgam-uint-init-static.c: Likewise.
21434         * math/test-signgam-uint-init.c: Likewise.
21435         * math/test-signgam-uint-static.c: Likewise.
21436         * math/test-signgam-uint.c: Likewise.
21437         * math/test-signgam-ullong-init-static.c: Likewise.
21438         * math/test-signgam-ullong-init.c: Likewise.
21439         * math/test-signgam-ullong-static.c: Likewise.
21440         * math/test-signgam-ullong.c: Likewise.
21441         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
21442         wrapper of w_lgamma_main.c.
21443         * math/w_lgamma_compat.c: New file.
21444         * math/w_lgamma_compatf.c: Likewise.
21445         * math/w_lgamma_compatl.c: Likewise.
21446         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
21447         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21448         defining compatibility symbols.
21449         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
21450         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
21451         wrapper of w_lgammaf_main.c.
21452         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
21453         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21454         defining compatibility symbols.
21455         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
21456         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
21457         wrapper of w_lgammal_main.c.
21458         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
21459         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21460         defining compatibility symbols.
21461         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
21462         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
21463         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
21464         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
21465         <lgamma-compat.h>.
21466         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
21467         (__ieee754_gamma): Define as alias.
21468         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
21469         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
21470         <lgamma-compat.h>.
21471         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
21472         (__ieee754_gammaf): Define as alias.
21473         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
21474         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
21475         <lgamma-compat.h>.
21476         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
21477         (__ieee754_gammal): Define as alias.
21478         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
21479         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
21480         <math/w_lgamma_compat.c>.
21481         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
21482         Define as alias of __lgamma_compat and use in defining lgammal.
21483         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
21484         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
21485         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
21486         (USE_AS_COMPAT): New macro.
21487         (LGAMMA_OLD_VER): Undefine and redefine.
21488         (lgammal): Do not define here.
21489         (gammal): Only define here if [GAMMA_ALIAS].
21490         * conform/linknamespace.pl (@whitelist): Remove signgam.
21491         * sysdeps/nacl/libm.abilist: Update.
21492         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21493         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21494         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21495         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21496         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21497         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21498         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21499         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21500         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21501         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21502         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21503         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21505         Likewise.
21506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21507         Likewise.
21508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21509         Likewise.
21510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21511         Likewise.
21512         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21513         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21514         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21515         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21516         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21518         Likewise.
21519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21520         Likewise.
21521         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21522         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21523         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21525 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21527         [BZ #16364]
21528         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
21529         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
21531 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21533         * sysdeps/s390/fpu/bits/mathinline.h:
21534         Use __asm__ [__volatile__] instead of asm [volatile].
21535         * sysdeps/s390/abort-instr.h: Likewise.
21536         * sysdeps/s390/atomic-machine.h: Likewise.
21537         * sysdeps/s390/bits/string.h: Likewise.
21538         * sysdeps/s390/dl-tls.h: Likewise.
21539         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21540         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21541         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21542         * sysdeps/s390/fpu/fesetround.c: Likewise.
21543         * sysdeps/s390/fpu/fpu_control.h: Likewise.
21544         * sysdeps/s390/fpu/s_fma.c: Likewise.
21545         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
21546         * sysdeps/s390/memusage.h: Likewise.
21547         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
21548         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
21549         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
21550         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
21551         * sysdeps/s390/nptl/tls.h: Likewise.
21552         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
21553         * sysdeps/s390/s390-32/backtrace.c: Likewise.
21554         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21555         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
21556         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21557         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21558         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
21559         * sysdeps/s390/s390-64/backtrace.c: Likewise.
21560         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21561         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
21562         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
21563         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21564         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21565         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
21566         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21567         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21568         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
21569         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21570         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
21571         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21572         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
21573         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21574         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
21576 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21577             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21579         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21580         Add lwarx hint, and use macro for acquire instruction.
21581         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21582         Likewise.
21583         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
21584         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
21585         update to use new atomic macros.
21587 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21589         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21590         (__lll_trylock_elision): Fix setting of adapt_count.
21591         * sysdeps/unix/sysv/linux/powerpc/htm.h
21592         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
21593         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
21594         (_ABORT_SYSCALL): Renumber, and clarify definition.
21595         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
21597 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21599         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
21600         after system headers to prevent MIN/MAX redefinition.  Define
21601         HAVE_ALLOCA to preserve builtin alloca usage.
21603 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21605         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
21606         static and don't set or restore rounding.
21607         (__cos)[IN_SINCOS]: Likewise.
21608         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
21609         (__sincos): Set and restore rounding mode.  Remove check for infinite
21610         or NaN input.
21612         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
21614         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
21615         as used.
21617 2015-11-16  Florian Weimer  <fweimer@redhat.com>
21619         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
21621 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21623         * config.make.in (have-glob-dat-reloc): New.
21624         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
21625         target supports GLOB_DAT relocaton. AC_SUBST.
21626         * configure: Regenerated.
21627         * elf/Makefile (tests): Add tst-prelink.
21628         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21629         (tst-prelink-ENV): New.
21630         ($(objpfx)tst-prelink-conflict.out): Likewise.
21631         ($(objpfx)tst-prelink-cmp.out): Likewise.
21632         * sysdeps/x86/tst-prelink.c: Moved to ...
21633         * elf/tst-prelink.c: Here.
21634         * sysdeps/x86/tst-prelink.exp: Moved to ...
21635         * elf/tst-prelink.exp: Here.
21636         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
21637         (tst-prelink-ENV): Removed.
21638         ($(objpfx)tst-prelink-conflict.out): Likewise.
21639         ($(objpfx)tst-prelink-cmp.out): Likewise.
21640         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
21642 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
21644         [BZ #14551]
21645         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
21646         (__mpn_construct_long_double): If high part overflows to infinity,
21647         set errno and recompute overflowed result of the correct sign.
21648         * sysdeps/ieee754/ldbl-128ibm/Makefile
21649         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
21650         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
21651         $(libm).
21652         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
21654 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
21656         [BZ #15479]
21657         [BZ #19238]
21658         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
21659         floating-point state after first operation on input.  Restore full
21660         state rather than just rounding mode.
21661         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21662         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21663         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21665         [BZ #19235]
21666         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
21667         add 0.5 to integer arguments.
21668         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
21669         Likewise.
21670         (.LC2): New object.
21672 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
21674         * scripts/pylintrc (reports): Set to no.
21676 2015-11-10  Roland McGrath  <roland@hack.frob.com>
21678         * elf/dl-load.c (open_verify): Take new argument FD.
21679         Skip __open call if passed FD is not -1.
21680         (_dl_map_object, open_path): Update callers.
21681         * elf/dl-sysdep-open.h: New file.
21682         * elf/dl-load.c: Include it.
21683         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
21684         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
21685         * sysdeps/nacl/dl-sysdep-open.h: New file.
21686         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
21687         from libc to rtld.
21689 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21691         [BZ #19228]
21692         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
21693         and restore full floating-point state.
21694         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21695         Likewise.
21696         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21697         Likewise.
21698         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21699         Likewise.
21700         * math/test-nearbyint-except-2.c: New file.
21701         * math/Makefile (tests): Add test-nearbyint-except-2.
21703 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
21705         [BZ #19178]
21706         * sysdeps/x86/Makefile (tests): Add tst-prelink.
21707         (tst-prelink-ENV): New.
21708         ($(objpfx)tst-prelink-conflict.out): Likewise.
21709         ($(objpfx)tst-prelink-cmp.out): Likewise.
21710         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21711         * sysdeps/x86/tst-prelink.c: New file.
21712         * sysdeps/x86/tst-prelink.exp: Likewise.
21714 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21716         * math/auto-libm-test-in: Add another test of pow.
21717         * math/auto-libm-test-out: Regenerated.
21718         * math/libm-test.inc (pow_test_data): Add another test.
21720 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21722         [BZ #19219]
21723         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
21724         weak_alias to nearbyintl.
21726 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21728         * sysdeps/aarch64/bits/string.h: New file.
21729         (_STRING_ARCH_unaligned): Define.
21731 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21733         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
21734         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21735         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21736         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
21737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
21739 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
21741         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
21742         for original name of the DSO.  Add it to the name list of the DSO
21743         if it is actually given.
21744         (_dl_map_object): Keep track of whether an audit module rewrote
21745         the file name.  If yes, pass the original name to
21746         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
21747         debugging is enabled, log the change of the file name.
21748         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
21749         _dl_map_object_from_fd.
21750         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
21751         * elf/tst-audit11.c: New file
21752         * elf/tst-auditmod11.c: New file.
21753         * elf/tst-audit11mod1.c: New file.
21754         * elf/tst-audit11mod2.c: New file.
21755         * elf/tst-audit11mod2.map: New file.
21756         * elf/tst-audit12.c: New file
21757         * elf/tst-auditmod12.c: New file.
21758         * elf/tst-audit12mod1.c: New file.
21759         * elf/tst-audit12mod2.c: New file.
21760         * elf/tst-audit12mod2.map: New file.
21761         * elf/tst-audit12mod3.c: New file.
21763 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21765         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
21766         Don't create weak aliases,
21767         because versioned symbols are created later.
21768         * sysdeps/s390/s390-32/setjmp.S
21769         (setjmp, _setjmp): Remove weak and rename to an unique name
21770         in SHARED case due to existing versioned symbols.
21771         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21772         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
21773         (getcontext): Create weak alias only in non SHARED case.
21774         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21776 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21778         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
21779         (__ASSUME_*_SYSCALL) Define new macros.
21780         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
21781         Remove socketcall syscalls.
21782         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
21783         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
21784         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
21785         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
21786         * sysdeps/unix/sysv/linux/send.c (__libc_send):
21787         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
21789 2015-11-09  Florian Weimer  <fweimer@redhat.com>
21791         [BZ #12926]
21792         Terminate process on invalid netlink response.
21793         * sysdeps/unix/sysv/linux/netlinkaccess.h
21794         (__netlink_assert_response): Declare.
21795         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
21796         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
21797         (sysdep_routines): Add netlink_assert_response.
21798         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
21799         __netlink_assert_response.
21800         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21801         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21802         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
21803         __netlink_assert_response.
21805 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21807         [BZ #19178]
21808         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
21809         (RTYPE_CLASS_PLT): Likewise.
21810         (RTYPE_CLASS_COPY): Likewise.
21811         (RTYPE_CLASS_TLS): Likewise.
21812         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
21813         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
21814         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
21815         DL_DEBUG_PRELINK.
21817 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
21819         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
21820         calls with argument -0.5.
21821         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
21823         * configure.ac (libc_cv_z_nodelete): Remove configure test.
21824         (libc_cv_z_nodlopen): Likewise.
21825         (libc_cv_z_initfirst): Likewise.
21826         * configure: Regenerated.
21828 2015-11-06  Florian Weimer  <fweimer@redhat.com>
21830         Simplify abilist format to be line-based.
21831         * scripts/abilist.awk: Collect descriptors in the descs variable.
21832         (emit): Write descs variable and sort it
21833         externally, with sort.
21834         * sysdeps/**/*.abilist: Convert to new format.
21836 2015-11-06  Mark Wielaard  <mjw@redhat.com>
21838         [BZ #11460]
21839         * io/Makefile (routines): Add fts64.
21840         (tests): Add tst-fts and tst-fts-lfs.
21841         (CFLAGS-fts64.c): New.
21842         * io/Versions (GLIBC_2.23): New.
21843         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
21844         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
21845         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
21846         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
21847         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
21848         (FTSENT64): Likewise.
21849         (fts64_children): Likewise.
21850         (fts64_close): Likewise.
21851         (fts64_open): Likewise.
21852         (fts64_read): Likewise.
21853         (fts64_set): Likewise.
21854         * io/fts64.c: New file.
21855         * io/tst-fts.c: New test.
21856         * io/tst-fts-lfs.c: Likewise.
21857         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
21858         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
21859         fts64_set.
21860         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21861         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21862         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21863         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21864         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21865         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21866         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21867         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21868         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21869         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21870         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21871         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21872         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21874         Likewise.
21875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21876         Likewise.
21877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21879         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21880         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21881         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21882         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21883         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21886         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21887         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21888         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21889         * sysdeps/wordsize-64/fts.c: New file.
21890         * sysdeps/wordsize-64/fts64.c: Likewise.
21891         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
21892         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
21893         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
21894         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
21896 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21898         * math/libm-test.inc (NON_FINITE): New macro.
21899         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
21900         * math/gen-libm-test.pl (show_exceptions): Add argument
21901         $non_finite.
21902         (parse_args): Update call to show_exceptions.
21903         * math/test-math-finite.h: New file.
21904         * math/test-math-no-finite.h: Likewise.
21905         * math/test-double-finite.c: Likewise.
21906         * math/test-float-finite.c: Likewise.
21907         * math/test-ldouble-finite.c: Likewise.
21908         * math/test-double.c: Include "test-math-no-finite.h".
21909         * math/test-float.c: Include "test-math-no-finite.h".
21910         * math/test-ldouble.c: Include "test-math-no-finite.h".
21911         * math/test-math-inline.h (TEST_FINITE): New macro.
21912         * math/test-math-vector.h (TEST_FINITE): Likewise.
21913         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
21914         (libm-tests): Add test-float-finite and test-double-finite.
21915         ($(objpfx)test-float-finite.o): New dependency on
21916         $(objpfx)libm-test.stmp.
21917         ($(objpfx)test-double-finite.o): Likewise.
21918         ($(objpfx)test-ldouble-finite.o): Likewise.
21919         (libm-test-no-inline-cflags): New variable.
21920         (libm-test-finite-cflags): Likewise.
21921         (CFLAGS-test-float-finite.c): Likewise.
21922         (CFLAGS-test-double-finite.c): Likewise.
21923         (CFLAGS-test-ldouble-finite.c): Likewise.
21924         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
21925         (CFLAGS-test-double.c): Likewise.
21926         (CFLAGS-test-ldouble.c): Likewise.
21928 2015-11-05  Roland McGrath  <roland@hack.frob.com>
21930         * io/fcntl.c (__fcntl): Add ... to prototype.
21931         * misc/ioctl.c (__ioctl): Likewise.
21932         * misc/syscall.c (syscall): Likewise.
21934 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21936         * scripts/list-fixed-bugs.py: New file.
21938         [BZ #19213]
21939         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
21940         returned for argument 1.
21941         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
21942         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
21943         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
21944         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
21945         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
21946         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
21948         [BZ #19211]
21949         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
21950         __USE_XOPEN], not if [!__USE_ISOC99].
21951         (lgammaf): Likewise.
21952         (lgammal): Likewise.
21953         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
21954         (gammaf): Likewise.
21955         (gammal): Likewise.
21956         * math/test-signgam-finite-c11.c: New file.
21957         * math/test-signgam-finite-c99.c: Likewise.
21958         * math/test-signgam-finite.c: Likewise.
21959         * math/Makefile (tests): Add test-signgam-finite,
21960         test-signgam-finite-c99 and test-signgam-finite-c11.
21961         (CFLAGS-test-signgam-finite.c): New variable.
21962         (CFLAGS-test-signgam-finite-c99.c): Likewise.
21963         (CFLAGS-test-signgam-finite-c11.c): Likewise.
21965         [BZ #19212]
21966         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
21967         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
21968         500].
21969         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
21970         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
21971         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
21972         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
21973         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
21974         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
21975         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
21976         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
21977         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
21978         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
21980         [BZ #19209]
21981         * math/bits/math-finite.h (ldexp): Remove declaration.
21982         (ldexpf): Likewise.
21983         (ldexpl): Likewise.
21985         [BZ #19205]
21986         * math/bits/math-finite.h (acosf): Condition declaration on
21987         [__USE_ISOC99].
21988         (acosl): Likewise.
21989         (acoshf): Likewise.
21990         (acoshl): Likewise.
21991         (asinf): Likewise.
21992         (asinl): Likewise.
21993         (atan2f): Likewise.
21994         (atan2l): Likewise.
21995         (atanhf): Likewise.
21996         (atanhl): Likewise.
21997         (coshf): Likewise.
21998         (coshl): Likewise.
21999         (expf): Likewise.
22000         (expl): Likewise.
22001         (fmodf): Likewise.
22002         (fmodl): Likewise.
22003         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
22004         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
22005         (j0l): Likewise.
22006         (y0f): Likewise.
22007         (y0l): Likewise.
22008         (j1f): Likewise.
22009         (j1l): Likewise.
22010         (y1f): Likewise.
22011         (y1l): Likewise.
22012         (jnf): Likewise.
22013         (jnl): Likewise.
22014         (ynf): Likewise.
22015         (ynl): Likewise.
22016         (lgammaf_r): Condition declaration on [__USE_ISOC99].
22017         (lgammal_r): Likewise.
22018         (__lgamma_r_finite): New declaration.
22019         (__lgammaf_r_finite): Likewise.
22020         (__lgammal_r_finite): Likewise.
22021         (lgamma): Use __lgamma_r_finite.
22022         (lgammaf): Condition definition on [__USE_ISOC99].  Use
22023         __lgammaf_r_finite.
22024         (lgammal): Condition definition on [__USE_ISOC99].  Use
22025         __lgammal_r_finite.
22026         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
22027         __lgamma_r_finite.
22028         (gammaf): Condition definition on [__USE_ISOC99].  Use
22029         __lgammaf_r_finite.
22030         (gammal): Condition definition on [__USE_ISOC99].  Use
22031         __lgammal_r_finite.
22032         (logf): Condition declaration on [__USE_ISOC99].
22033         (logl): Likewise.
22034         (log10f): Likewise.
22035         (log10l): Likewise.
22036         (ldexpf): Likewise.
22037         (ldexpl): Likewise.
22038         (powf): Likewise.
22039         (powl): Likewise.
22040         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
22041         __USE_ISOC99].
22042         (remainderf): Condition declaration on [__USE_ISOC99].
22043         (remainderl): Likewise.
22044         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
22045         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
22046         (scalbl): Likewise.
22047         (sinhf): Condition declaration on [__USE_ISOC99].
22048         (sinhl): Likewise.
22049         (sqrtf): Likewise.
22050         (sqrtl): Likewise.
22052 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22054         * sysdeps/arm/atomic-machine.h
22055         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22056         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22057         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
22058         Remove conditional code.
22059         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22060         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22061         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
22062         Change conditional to [__ASSEMBLER__].
22063         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22064         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
22065         [!__ASSEMBLER__].
22066         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
22067         code.
22068         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
22069         conditional macro definitions.
22070         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
22071         (__arch_compare_and_exchange_val_16_acq): Likewise.
22072         (__arch_compare_and_exchange_val_32_acq): Likewise.
22073         (atomic_exchange_and_add): Likewise.
22074         (atomic_add): Likewise.
22075         (atomic_add_negative): Likewise.
22076         (atomic_add_zero): Likewise.
22077         (atomic_bit_set): Likewise.
22078         (atomic_bit_test_set): Likewise.
22079         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
22080         code unconditional.
22081         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22083         * math/test-math-errno.h: New file.
22084         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
22085         empty.
22086         (TEST_ERRNO): New macro.
22087         (TEST_EXCEPTIONS): Likewise.
22088         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
22089         (TEST_EXCEPTIONS): Likewise.
22090         * math/test-math-vector.h (TEST_ERRNO): Likewise.
22091         * math/test-double.c: Include "test-math-errno.h".
22092         * math/test-float.c: Likewise.
22093         * math/test-ldouble.c: Likewise.
22094         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
22095         code unconditional.
22096         (test_exceptions): Only run code if TEST_EXCEPTIONS.
22097         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
22098         unconditional.
22099         (test_errno): Only run code if TEST_ERRNO.
22100         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
22102 2015-11-04  Florian Weimer  <fweimer@redhat.com>
22104         * nptl/tst-once5.cc: Remove attribution.
22106 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22108         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
22109         sqrt, tan, tanh, y0, y1 and yn.
22110         * math/auto-libm-test-out: Regenerated.
22111         * math/libm-test.inc (scalb_test_data): Add more tests.
22112         (scalbn_test_data): Likewise.
22113         (scalbln_test_data): Likewise.
22114         (signbit_test_data): Likewise.
22115         (sin_test_data): Likewise.
22116         (sincos_test_data): Likewise.
22117         (sinh_test_data): Likewise.
22118         (sqrt_test_data): Likewise.
22119         (tan_test_data): Likewise.
22120         (tanh_test_data): Likewise.
22121         (tgamma_test_data): Likewise.
22122         (y0_test_data): Likewise.
22123         (y1_test_data): Likewise.
22124         (yn_test_data): Likewise.
22125         (significand_test_data): Likewise.
22126         * sysdeps/i386/fpu/libm-test-ulps: Update.
22128 2015-11-03  David Kastrup  <dak@gnu.org>
22130         [BZ #18604]
22131         * assert/assert.h (assert): Don't macro-expand failed assertion
22132         expression in error message.
22133         * malloc/malloc.c (assert): Likewise.
22135 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
22137         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
22138         test.
22139         * configure: Regenerated.
22141 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
22143         * math/libm-test.inc (modf_test_data): Add more tests.
22144         (nearbyint_test_data): Likewise.
22145         (nextafter_test_data): Likewise.
22146         (nexttoward_test_data): Likewise.
22147         (pow_test_data): Likewise.
22148         (remainder_test_data): Likewise.
22149         (remquo_test_data): Likewise.
22150         (rint_test_data): Likewise.
22152         [BZ #19201]
22153         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22154         Check for zero remainder in case of large exponents and ensure
22155         correct sign of result in that case.
22156         * math/libm-test.inc (remainder_test_data): Add more tests.
22158         [BZ #6799]
22159         * math/s_nextafter.c: Include <errno.h>.
22160         (__nextafter): Set errno on overflow and underflow.
22161         * math/s_nexttowardf.c: Include <errno.h>.
22162         (__nexttowardf): Set errno on overflow and underflow.
22163         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
22164         (__nextafterl): Set errno on overflow and underflow.
22165         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
22166         (__nexttoward): Set errno on overflow and underflow.
22167         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
22168         (__nexttowardf): Set errno on overflow and underflow.
22169         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
22170         (__nextafterf): Set errno on overflow and underflow.
22171         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
22172         (__nextafterl): Set errno on overflow and underflow.
22173         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
22174         (__nexttoward): Set errno on overflow and underflow.
22175         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
22176         (__nexttowardf): Set errno on overflow and underflow.
22177         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
22178         (__nextafterl): Set errno on overflow and underflow.
22179         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
22180         (__nexttoward): Set errno on overflow and underflow.
22181         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
22182         (__nexttowardf): Set errno on overflow and underflow.
22183         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
22184         (__nexttoward): Set errno on overflow and underflow.
22185         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
22186         (__nexttowardf): Set errno on overflow and underflow.
22187         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
22188         (__nldbl_nexttowardf): Set errno on overflow and underflow.
22189         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
22190         (__nextafterl): Set errno on overflow and underflow.
22191         * math/libm-test.inc (nextafter_test_data): Do not allow errno
22192         setting to be missing on overflow.  Add more tests.
22193         (nexttoward_test_data): Likewise.
22195         * configure.ac (libc_cv_initfini_array): Remove configure test.
22196         * configure: Regenerated.
22198 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
22200         [BZ #19189]
22201         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
22202         non-finite argument handle arguments with negative sign.
22204         * math/libm-test.inc (j0_test_data): Do not test sign of zero
22205         result from infinite argument.
22206         (j1_test_data): Likewise.
22207         (jn_test_data): Likewise.
22208         (y0_test_data): Likewise.
22209         (y1_test_data): Likewise.
22210         (yn_test_data): Likewise.
22212         [BZ #16171]
22213         * math/w_remainder.c (drem): Define as weak alias of __remainder.
22214         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
22215         * math/w_remainderf.c (dremf): Define as weak alias of
22216         __remainderf.
22217         * math/w_remainderl.c (dreml): Define as weak alias of
22218         __remainderl.
22219         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
22220         __remainder.
22221         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
22222         __remainderf.
22223         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
22224         __remainderl.
22225         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
22226         weak alias of remainderl.
22227         * sysdeps/ieee754/ldbl-opt/w_remainder.c
22228         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
22229         alias of __remainder.
22230         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
22231         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
22232         strong alias of __remainderl.
22233         (dreml): Use long_double_symbol.
22234         * math/Makefile (libm-calls): Remove w_drem.
22235         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
22236         (CFLAGS-nldbl-drem.c): Remove variable.
22237         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
22238         * math/w_drem.c: Remove file.
22239         * math/w_dremf.c: Likewise.
22240         * math/w_dreml.c: Likewise.
22241         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
22242         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
22243         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
22245         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
22246         * sysdeps/i386/configure: Regenerated.
22247         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
22248         * sysdeps/x86_64/configure: Regenerated.
22250         * configure.ac (libc_cv_asm_protected_directive): Remove configure
22251         test.
22252         (libc_cv_visibility_attribute): Likewise.
22253         (libc_cv_protected_data): Test unconditionally.
22254         (libc_cv_broken_visibility_attribute): Remove configure test.
22255         (libc_cv_have_sdata_section): Test unconditionally.
22256         * configure: Regenerated.
22258         * include/libc-internal.h (libc_max_align_t): Remove typedef.
22259         * include/scratch_buffer.h: Include <stddef.h> instead of
22260         <libc-internal.h>.
22261         (struct scratch_buffer): Use max_align_t instead of
22262         libc_max_align_t.
22264 2015-10-29  Florian Weimer  <fweimer@redhat.com>
22266         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
22267         instead of extend_alloca.  Change control flow to avoid a goto.
22268         Remove assert which is trivially always true.
22270 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22272         [BZ #16068]
22273         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
22274         (FE_ALL_EXCEPT_X86): New macro.
22275         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22276         FE_ALL_EXCEPT.  Ensure precision control is included in
22277         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22278         handle "denormal operand exception" and clear FZ and DAZ bits.
22279         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
22280         (FE_ALL_EXCEPT_X86): New macro.
22281         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22282         FE_ALL_EXCEPT.  Ensure precision control is included in
22283         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22284         handle "denormal operand exception" and clear FZ and DAZ bits.
22285         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
22286         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
22287         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22288         test-fenv-x87 and test-fenv-sse-2.
22289         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
22291         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
22292         * math/test-double.h (BUILD_COMPLEX): New macro.
22293         * math/test-float.h (BUILD_COMPLEX): Likewise.
22294         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
22296         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
22297         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
22298         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
22299         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
22300         instead of DBL_DENORM_MIN in comment.
22301         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
22302         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22303         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
22304         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
22305         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
22306         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22308 2015-10-28  Florian Weimer  <fweimer@redhat.com>
22310         [BZ #19048]
22311         * malloc/malloc.c (struct malloc_state): Update comment.  Add
22312         attached_threads member.
22313         (main_arena): Initialize attached_threads.
22314         * malloc/arena.c (list_lock): Update comment.
22315         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
22316         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
22317         (deattach_arena): New function.
22318         (_int_new_arena): Initialize arena reference count and deattach
22319         replaced arena.
22320         (get_free_list, reused_arena): Update reference count and deattach
22321         replaced arena.
22322         (arena_thread_freeres): Update arena reference count and only put
22323         unreferenced arenas on the free list.
22325 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22327         [BZ #19181]
22328         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
22329         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
22330         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
22331         * math/test-fenv-clear-main.c: New file.
22332         * math/test-fenv-clear.c: Likewise.
22333         * math/Makefile (tests): Add test-fenv-clear.
22334         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
22335         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22336         test-fenv-clear-sse.
22337         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
22339         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
22340         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
22341         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
22343 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22345         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
22346         static libc.
22348 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22350         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
22351         test.
22352         * sysdeps/i386/configure: Regenerated.
22353         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
22354         test.
22355         * sysdeps/x86_64/configure: Regenerated.
22356         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
22357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22358         memset-avx2 unconditionally instead of conditionally on
22359         [$(config-cflags-avx2) = yes].
22360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22361         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
22362         unconditional.
22363         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
22364         * sysdeps/x86_64/multiarch/memset_chk.S
22365         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
22366         to [IS_IN (libc) && SHARED].
22368 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22370         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
22371         configure test.
22372         * sysdeps/arm/configure: Regenerated.
22373         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
22374         Define variable if not already defined.
22376         [BZ #17404]
22377         * sysdeps/mips/atomic-machine.h
22378         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
22379         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
22380         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22382         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
22383         unconditional.
22384         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
22385         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22386         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
22387         unconditional.
22388         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22389         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
22390         unconditional.
22391         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22392         * stdlib/setenv.c
22393         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
22394         code unconditional.
22395         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
22396         Remove conditional code.
22397         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
22398         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
22399         unconditional.
22400         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22401         code.
22402         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
22403         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
22404         unconditional.
22405         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22406         code.
22407         * sysdeps/ieee754/ldbl-128/k_tanl.c
22408         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22409         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22410         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
22411         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22412         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22413         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
22414         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
22415         unconditional.
22416         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22417         code.
22418         * sysdeps/ieee754/ldbl-96/k_tanl.c
22419         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22420         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22422         * nptl/tst-initializers1-c11.c: New file.
22423         * nptl/tst-initializers1-gnu11.c: Likewise.
22424         * nptl/Makefile (tests): Add these new tests.
22425         (CFLAGS-tst-initializers1-c11.c): New variable.
22426         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22428         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
22429         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
22430         instead of -std=gnu99.
22431         * configure.ac (systemtap): Test with -std=gnu11 instead of
22432         -std=gnu99.
22433         * configure: Regenerated.
22434         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
22435         in compilation command in comment.
22437         * sysdeps/nptl/configure.ac: Remove file.
22438         * sysdeps/nptl/configure: Remove generated file.
22439         * configure.ac (libc_cv_forced_unwind): Do not substitute.
22440         * configure: Regenerated.
22441         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
22442         * config.make.in (have-forced-unwind): Remove variable.
22443         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22444         unconditional.
22445         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
22446         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
22447         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
22448         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
22449         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22450         unconditional.
22452 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22454         [BZ #19174]
22455         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
22456         .skip_lock_out_of_tbegin_retries.
22457         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22458         (__lll_lock_elision): Likewise, and respect a value of
22459         try_tbegin <= 0.
22461 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22463         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
22464         statement.
22466 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22468         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
22469         variable.
22470         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22471         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22473         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
22474         of -std=c1x -D_ISOC11_SOURCE.
22476         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
22477         * configure: Regenerated.
22478         * manual/install.texi (Tools for Compilation): Document
22479         requirement for GCC 4.7 or later.
22480         * INSTALL: Regenerated.
22482 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
22484         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
22485         on CNT to a conditional jump to 'puntdata'.
22487 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22489         * configure.ac (libc_cv_gcc___thread): Remove configure test.
22490         (libc_cv_gcc_tls_model_attr): Likewise.
22491         * configure: Regenerated.
22493         * configure.ac (libc_cv_need_minus_P): Remove configure test.
22494         * configure: Regenerated.
22495         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
22497 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
22499         * configure.ac (old_glibc_headers): Remove configure test.
22500         * configure: Regenerated.
22501         * config.make.in (old-glibc-headers): Remove variable.
22502         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
22503         (install): Remove dependency on remove-old-headers.
22504         (headers2_0): Remove variable.
22505         (remove-old-headers): Remove rule.
22507         * configure.ac (libc_cv_dot_text): Remove configure test.
22508         (libc_cv_asm_set_directive): Use .text instead of
22509         ${libc_cv_dot_text} in configure test.
22510         * configure: Regenerated.
22512 2015-10-26  Florian Weimer  <fweimer@redhat.com>
22514         [BZ #19168]
22515         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22517 2015-10-26  Florian Weimer  <fweimer@redhat.com>
22519         * configure.ac (CXX): Clear the variable if the C++ toolchain does
22520         not support static linking.
22521         * configure: Regenerate.
22523 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
22525         * math/libm-test.inc (check_float_internal): Do not special-case
22526         errors up to 0.5 ulp.
22528         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22529         log2.
22530         * math/auto-libm-test-out: Regenerated.
22531         * math/libm-test.inc (MAX_EXP): New macro.
22532         (ilogb_test_data): Add more tests.
22533         (isfinite_test_data): Likewise.
22534         (isgreater_test_data): Likewise.
22535         (isgreaterequal_test_data): Likewise.
22536         (isinf_test_data): Likewise.
22537         (isless_test_data): Likewise.
22538         (islessequal_test_data): Likewise.
22539         (islessgreater_test_data): Likewise.
22540         (isnan_test_data): Likewise.
22541         (isnormal_test_data): Likewise.
22542         (issignaling_test_data): Likewise.
22543         (isunordered_test_data): Likewise.
22544         (j0_test_data): Likewise.
22545         (j1_test_data): Likewise.
22546         (jn_test_data): Likewise.
22547         (lgamma_test_data): Likewise.
22548         (log_test_data): Likewise.
22549         (log10_test_data): Likewise.
22550         (log1p_test_data): Likewise.
22551         (log2_test_data): Likewise.
22552         (logb_test_data): Likewise.
22553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22555         [BZ #18611]
22556         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
22557         avoid excess range and precision on underflow.
22558         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22559         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
22560         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22561         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
22562         underflow.
22563         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22565         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22566         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22567         * math/auto-libm-test-in: Do not allow missing errno setting for
22568         tests of j1 and jn.
22569         * math/auto-libm-test-out: Regenerated.
22571 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
22573         [BZ #15491]
22574         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
22575         floating-point environment instead of clearing all exceptions.
22576         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
22577         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
22578         merging in "invalid" exceptions from frndint.
22579         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
22580         * math/test-nearbyint-except.c: New file.
22581         * math/Makefile (tests): Add test-nearbyint-except.
22583 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
22585         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
22587         * sysdeps/tile/libm-test-ulps: Regenerated.
22589 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
22592         (__NR_sync_file_range2): Assume it is always defined.
22593         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22594         (__NR_sync_file_range): Assume it is always defined.
22596 2015-10-22  Andreas Schwab  <schwab@suse.de>
22598         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22599         INTERNAL_SYSCALL_ERRNO.
22600         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22601         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22602         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22603         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22604         Likewise.
22605         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22607 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22609         * io/tst-fcntl.c (fd): New static variable.
22610         (do_prepare): Open temporary file here....
22611         (do_test): ...not here.
22613         * io/ftwtest-sh: Also trap on exit to remove temporary files.
22615 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
22617         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
22618         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
22619         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
22620         Moved before "#ifdef __ASSEMBLER__".
22622 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22624         [BZ #19156]
22625         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
22626         arguments very close to 0.
22628 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
22630         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
22631         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
22633 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
22635         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
22636         New.  Defined for GCC 5 and above when not compiling for
22637         profiling.
22638         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
22640         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22641         Renamed to ...
22642         (CFLAGS-epoll_pwait.o): This.
22643         (CFLAGS-mmap.c): Renamed to ...
22644         (CFLAGS-mmap.o): This.
22645         (CFLAGS-mmap64.c): Renamed to ...
22646         (CFLAGS-mmap64.o): This.
22647         (CFLAGS-epoll_pwait.os): New.
22648         (CFLAGS-mmap.os): Likewise.
22649         (CFLAGS-mmap64.os): Likewise.
22650         (CFLAGS-semtimedop.os): Likewise.
22651         (CFLAGS-semtimedop.c): Renamed to ...
22652         (CFLAGS-semtimedop.o): This.
22654 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22656         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
22657         warning message.
22659 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22661         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
22662         * Makefile ($(objpfx)c++-types-check.out): Filter out
22663         $(+gccwarn-c) instead of -Wstrict-prototypes.
22665         * io/fts.c (fts_open): Convert to prototype-style function
22666         definition.
22667         * malloc/mcheck.c (mcheck): Likewise.
22668         (mcheck_pedantic): Likewise.
22669         * posix/regexec.c (re_search_2_stub): Likewise.  Use
22670         internal_function.
22671         (re_search_internal): Likewise.
22672         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
22673         prototype-style function definition.
22674         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22675         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
22676         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
22677         (xdr_utmpptr): Likewise.
22678         (xdr_utmparr): Likewise.
22679         (xdr_utmpidle): Likewise.
22680         (xdr_utmpidleptr): Likewise.
22681         (xdr_utmpidlearr): Likewise.
22683         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
22684         log, log10 and log2.
22685         * math/auto-libm-test-out: Regenerated.
22686         * math/libm-test.inc (fmod_test_data): Add more tests.
22687         (fpclassify_test_data): Likewise.
22688         (frexp_test_data): Likewise.
22689         (hypot_test_data): Likewise.
22690         (ilogb_test_data): Likewise.
22692 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
22694         * debug/fortify_fail.c (__fortify_fail): Convert to
22695         prototype-style function definition.  Use internal_function.
22696         * libio/genops.c (save_for_backup): Convert to prototype-style
22697         function definition.
22698         * libio/wgenops.c (save_for_wbackup): Likewise.
22699         * login/grantpt.c (grantpt): Likewise.
22700         * login/ptsname.c (ptsname): Likewise.
22701         (__ptsname_r): Likewise.
22702         * login/unlockpt.c (unlockpt): Likewise.
22703         * mach/msgserver.c (__mach_msg_server): Likewise.
22704         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
22705         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
22706         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
22707         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
22708         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
22709         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
22710         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
22711         Likewise.
22712         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
22713         internal_function.
22714         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
22715         prototype-style function definition.
22716         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
22717         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
22718         (__pthread_create_2_0): Likewise.
22719         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
22720         * nptl/register-atfork.c (__register_atfork): Likewise.
22721         * posix/glob.c (glob): Likewise.
22722         * posix/regcomp.c (re_comp): Likewise.
22723         * posix/regexec.c (re_exec): Likewise.
22724         * stdlib/add_n.c [__STDC__]: Make code unconditional.
22725         [!__STDC__]: Remove conditional code.
22726         * stdlib/cmp.c [__STDC__]: Make code unconditional.
22727         [!__STDC__]: Remove conditional code.
22728         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
22729         [!__STDC__]: Remove conditional code.
22730         * stdlib/divrem.c [__STDC__]: Make code unconditional.
22731         [!__STDC__]: Remove conditional code.
22732         * stdlib/lshift.c [__STDC__]: Make code unconditional.
22733         [!__STDC__]: Remove conditional code.
22734         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
22735         [!__STDC__]: Remove conditional code.
22736         * stdlib/mul.c [__STDC__]: Make code unconditional.
22737         [!__STDC__]: Remove conditional code.
22738         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
22739         [!__STDC__]: Remove conditional code.
22740         * stdlib/rshift.c [__STDC__]: Make code unconditional.
22741         [!__STDC__]: Remove conditional code.
22742         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
22743         function definition.
22744         (STRTOF): Likewise.
22745         * stdlib/strtod_l.c (__STRTOF): Likewise.
22746         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
22747         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
22748         (__strtol_l): Likewise.
22749         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
22750         [!__STDC__]: Remove conditional code.
22751         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
22752         definition.
22753         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22754         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22755         type.
22756         (__strcasecmp): Convert to prototype-style function definition.
22757         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
22758         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22759         type.
22760         (__strncasecmp): Convert to prototype-style function definition.
22761         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
22762         * sunrpc/xdr.c (xdr_union): Likewise.
22763         * sunrpc/xdr_array.c (xdr_array): Likewise.
22764         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
22765         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
22766         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
22767         Likewise.
22768         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
22769         Likewise.
22770         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
22771         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22772         Likewise.
22773         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
22774         (LOCALE_PARAM_PROTO): Likewise.
22775         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
22776         argument type.
22777         (ut_argument_spec): Remove macro.
22778         (ut_argument_spec_iso): Rename to ut_argument_spec.
22779         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
22780         prototype-style function definition.
22781         (memcpy_uppcase): Likewise.
22782         (__strftime_internal): Likewise.
22783         (my_strftime): Likewise.
22784         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
22785         (LOCALE_PARAM_DECL): Likewise.
22786         [_LIBC] (LOCALE_PARAM): Include argument type.
22787         (__strptime_internal): Convert to prototype-style function
22788         definition.
22789         (strptime): Likewise.
22790         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22791         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22792         type.
22793         (__wcscasecmp): Convert to prototype-style function definition.
22794         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
22795         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22796         type.
22797         (__wcsncasecmp): Convert to prototype-style function definition.
22799         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
22800         function definition.
22801         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22802         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22803         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
22804         * elf/dl-minimal.c (_itoa): Likewise.
22805         * hurd/hurdmalloc.c (malloc): Likewise.
22806         (free): Likewise.
22807         (realloc): Likewise.
22808         * inet/inet6_option.c (inet6_option_space): Likewise.
22809         (inet6_option_init): Likewise.
22810         (inet6_option_append): Likewise.
22811         (inet6_option_alloc): Likewise.
22812         (inet6_option_next): Likewise.
22813         (inet6_option_find): Likewise.
22814         * io/ftw.c (FTW_NAME): Likewise.
22815         (NFTW_NAME): Likewise.
22816         (NFTW_NEW_NAME): Likewise.
22817         (NFTW_OLD_NAME): Likewise.
22818         * libio/iofwide.c (_IO_fwide): Likewise.
22819         * libio/strops.c (_IO_str_init_static_internal): Likewise.
22820         (_IO_str_init_static): Likewise.
22821         (_IO_str_init_readonly): Likewise.
22822         (_IO_str_overflow): Likewise.
22823         (_IO_str_underflow): Likewise.
22824         (_IO_str_count): Likewise.
22825         (_IO_str_seekoff): Likewise.
22826         (_IO_str_pbackfail): Likewise.
22827         (_IO_str_finish): Likewise.
22828         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
22829         (_IO_wstr_overflow): Likewise.
22830         (_IO_wstr_underflow): Likewise.
22831         (_IO_wstr_count): Likewise.
22832         (_IO_wstr_seekoff): Likewise.
22833         (_IO_wstr_pbackfail): Likewise.
22834         (_IO_wstr_finish): Likewise.
22835         * locale/programs/localedef.c (normalize_codeset): Likewise.
22836         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22837         (add_locales_to_archive): Likewise.
22838         (delete_locales_from_archive): Likewise.
22839         * malloc/malloc.c (__libc_mallinfo): Likewise.
22840         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
22841         * misc/tsearch.c (__tfind): Likewise.
22842         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
22843         * nptl/pthread_attr_getdetachstate.c
22844         (__pthread_attr_getdetachstate): Likewise.
22845         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22846         Likewise.
22847         * nptl/pthread_attr_getinheritsched.c
22848         (__pthread_attr_getinheritsched): Likewise.
22849         * nptl/pthread_attr_getschedparam.c
22850         (__pthread_attr_getschedparam): Likewise.
22851         * nptl/pthread_attr_getschedpolicy.c
22852         (__pthread_attr_getschedpolicy): Likewise.
22853         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
22854         Likewise.
22855         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
22856         Likewise.
22857         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22858         Likewise.
22859         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22860         Likewise.
22861         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
22862         (__pthread_attr_init_2_0): Likewise.
22863         * nptl/pthread_attr_setdetachstate.c
22864         (__pthread_attr_setdetachstate): Likewise.
22865         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22866         Likewise.
22867         * nptl/pthread_attr_setinheritsched.c
22868         (__pthread_attr_setinheritsched): Likewise.
22869         * nptl/pthread_attr_setschedparam.c
22870         (__pthread_attr_setschedparam): Likewise.
22871         * nptl/pthread_attr_setschedpolicy.c
22872         (__pthread_attr_setschedpolicy): Likewise.
22873         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
22874         Likewise.
22875         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
22876         Likewise.
22877         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22878         Likewise.
22879         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22880         Likewise.
22881         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
22882         Likewise.
22883         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
22884         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22885         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
22886         use internal_function.
22887         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
22888         prototype-style function definition.
22889         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22890         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
22891         internal_function.
22892         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
22893         Convert to prototype-style function definition.
22894         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22895         Likewise.
22896         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
22897         Likewise.
22898         (__pthread_mutex_unlock): Likewise.
22899         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
22900         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
22901         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
22902         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
22903         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
22904         * nss/makedb.c (process_input): Likewise.
22905         * posix/fnmatch.c (__strchrnul): Likewise.
22906         (__wcschrnul): Likewise.
22907         (fnmatch): Likewise.
22908         * posix/fnmatch_loop.c (FCT): Likewise.
22909         * posix/glob.c (globfree): Likewise.
22910         (__glob_pattern_type): Likewise.
22911         (__glob_pattern_p): Likewise.
22912         * posix/regcomp.c (re_compile_pattern): Likewise.
22913         (re_set_syntax): Likewise.
22914         (re_compile_fastmap): Likewise.
22915         (regcomp): Likewise.
22916         (regerror): Likewise.
22917         (regfree): Likewise.
22918         * posix/regexec.c (regexec): Likewise.
22919         (re_match): Likewise.
22920         (re_search): Likewise.
22921         (re_match_2): Likewise.
22922         (re_search_2): Likewise.
22923         (re_search_stub): Likewise.  Use internal_function
22924         (re_copy_regs): Likewise.
22925         (re_set_registers): Convert to prototype-style function
22926         definition.
22927         (prune_impossible_nodes): Likewise.  Use internal_function.
22928         * resolv/inet_net_pton.c (inet_net_pton): Convert to
22929         prototype-style function definition.
22930         (inet_net_pton_ipv4): Likewise.
22931         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22932         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
22933         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
22934         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
22935         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22936         Make variadic.
22937         * time/strptime_l.c (localtime_r): Convert to prototype-style
22938         function definition.
22939         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22940         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22941         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22942         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22944         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
22945         definition.
22946         (_ufc_doit_r): Likewise.
22947         * crypt/crypt_util.c (_ufc_copymem): Likewise.
22948         (_ufc_output_conversion_r): Likewise.
22949         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
22950         * inet/rcmd.c (rcmd_af): Likewise.
22951         (rcmd): Likewise.
22952         (ruserok_af): Likewise.
22953         (ruserok): Likewise.
22954         (ruserok2_sa): Likewise.
22955         (ruserok_sa): Likewise.
22956         (iruserok_af): Likewise.
22957         (iruserok): Likewise.
22958         (__ivaliduser): Likewise.
22959         (__validuser2_sa): Likewise.
22960         * inet/rexec.c (rexec_af): Likewise.
22961         (rexec): Likewise.
22962         * inet/ruserpass.c (ruserpass): Likewise.
22963         * locale/programs/xmalloc.c (xcalloc): Likewise.
22964         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
22965         * math/w_drem.c (__drem): Likewise.
22966         * math/w_dremf.c (__dremf): Likewise.
22967         * math/w_dreml.c (__dreml): Likewise.
22968         * misc/daemon.c (daemon): Likewise.
22969         * resolv/res_debug.c (p_fqnname): Likewise.
22970         * stdlib/div.c (div): Likewise.
22971         * string/memcmp.c (memcmp_bytes): Likewise.
22972         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
22973         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
22975         * crypt/cert.c (main): Convert to prototype-style function
22976         definition.
22977         * io/pipe.c (__pipe): Likewise.
22978         * io/pipe2.c (__pipe2): Likewise.
22979         * misc/futimesat.c (futimesat): Likewise.
22980         * misc/utimes.c (__utimes): Likewise.
22981         * posix/execve.c (__execve): Likewise.
22982         * posix/execvp.c (execvp): Likewise.
22983         * posix/execvpe.c (__execvpe): Likewise.
22984         * posix/fexecve.c (fexecve): Likewise.
22985         * socket/socketpair.c (socketpair): Likewise.
22986         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22987         * stdlib/erand48.c (erand48): Likewise.
22988         * stdlib/erand48_r.c (__erand48_r): Likewise.
22989         * stdlib/jrand48.c (jrand48): Likewise.
22990         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
22991         * stdlib/lcong48.c (lcong48): Likewise.
22992         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
22993         * stdlib/nrand48.c (nrand48): Likewise.
22994         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
22995         * stdlib/seed48.c (seed48): Likewise.
22996         * stdlib/seed48_r.c (__seed48_r): Likewise.
22997         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
22998         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
22999         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
23001 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23003         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
23004         * configure: Regenerated.
23005         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
23006         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
23007         unconditional.
23008         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23009         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23010         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23011         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
23012         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
23013         unconditional.
23014         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23016         * posix/Makefile (CFLAGS-regex.c): Remove variable.
23017         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
23019         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
23020         function definition.
23021         * crypt/crypt_util.c (__encrypt_r): Likewise.
23022         * libio/genops.c (_IO_no_init): Likewise.
23023         * libio/iofopncook.c (_IO_fopencookie): Likewise.
23024         (_IO_old_fopencookie): Likewise.
23025         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23026         * libio/iogetline.c (_IO_getline): Likewise.
23027         (_IO_getline_info): Likewise.
23028         * libio/iogetwline.c (_IO_getwline): Likewise.
23029         (_IO_getwline_info): Likewise.
23030         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
23031         * libio/vswprintf.c (_IO_vswprintf): Likewise.
23032         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
23033         (find_entry): Likewise.
23034         (iterate_table): Likewise.
23035         (lookup): Likewise.
23036         * login/forkpty.c (forkpty): Likewise.
23037         * misc/hsearch_r.c (__hsearch_r): Likewise.
23038         * misc/select.c (__select): Likewise.
23039         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
23040         Likewise.
23041         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
23042         Likewise.
23043         * nptl/old_pthread_cond_timedwait.c
23044         (__pthread_cond_timedwait_2_0): Likewise.
23045         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23046         * nptl/pthread_barrierattr_getpshared.c
23047         (pthread_barrierattr_getpshared): Likewise.
23048         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
23049         Likewise.
23050         * nptl/pthread_mutex_setprioceiling.c
23051         (pthread_mutex_setprioceiling): Likewise.
23052         * nptl/pthread_mutexattr_getprioceiling.c
23053         (pthread_mutexattr_getprioceiling): Likewise.
23054         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23055         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23056         Likewise.
23057         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23058         Likewise.
23059         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
23060         Likewise.
23061         * socket/recvfrom.c (__recvfrom): Likewise.
23062         * socket/sendto.c (__sendto): Likewise.
23063         * socket/setsockopt.c (__setsockopt): Likewise.
23064         * stdio-common/_itoa.c (_itoa): Likewise.
23065         * stdio-common/_itowa.c (_itowa): Likewise.
23066         * stdio-common/reg-printf.c (__register_printf_specifier):
23067         Likewise.
23068         (__register_printf_function): Likewise.
23069         * stdio-common/tempname.c (__path_search): Likewise.
23070         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
23071         * stdlib/mul_1.c (mpn_mul_1): Likewise.
23072         * stdlib/random_r.c (__initstate_r): Likewise.
23073         * stdlib/setenv.c (__add_to_environ): Likewise.
23074         * stdlib/submul_1.c (mpn_submul_1): Likewise.
23075         * streams/getpmsg.c (getpmsg): Likewise.
23076         * streams/putmsg.c (putmsg): Likewise.
23077         * streams/putpmsg.c (putpmsg): Likewise.
23078         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
23079         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
23080         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
23081         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
23082         * sunrpc/pm_getport.c (pmap_getport): Likewise.
23083         * sunrpc/svc_udp.c (cache_get): Likewise.
23084         * sunrpc/xdr_array.c (xdr_vector): Likewise.
23085         * sysdeps/mach/hurd/getcwd.c
23086         (__canonicalize_directory_name_internal): Likewise.
23087         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
23088         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
23089         * sysdeps/mach/hurd/select.c (__select): Likewise.
23090         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
23091         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
23092         * sysdeps/sparc/nptl/pthread_barrier_init.c
23093         (__pthread_barrier_init): Likewise.
23094         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
23095         (__pthread_cond_timedwait): Likewise.
23096         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
23097         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
23098         Likewise.
23099         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
23100         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
23101         Likewise.
23102         * sysvipc/semtimedop.c (semtimedop): Likewise.
23103         * time/setitimer.c (__setitimer): Likewise.
23104         * time/strftime_l.c (emacs_strftime): Likewise.
23106 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23108         * config.make.in (have-ssp): Delete.
23109         (stack-protector): New variable.
23110         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
23111         cache test for -fstack-protector-strong.  Export stack_protector to
23112         the best ssp flag.
23113         * configure: Regenerated.
23114         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
23115         * nscd/Makefile (CFLAGS-nscd): Likewise.
23116         * resolv/Makefile (CFLAGS-libresolv): Likewise.
23118 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
23120         [BZ #19122]
23121         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
23122         attribute_hidden.
23124 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23126         [BZ #18743]
23127         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
23128         code to...
23129         (ELIDE_LOCK): ...here.
23130         (__get_new_count): New function with part of the code from
23131         __elide_lock that updates the value of adapt_count after a
23132         transaction abort.
23133         (__elided_trylock): Moved this code to...
23134         (ELIDE_TRYLOCK): ...here.
23136 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23138         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
23139         * configure: Regenerate.
23140         * INSTALL: Regenerate.
23141         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
23142         and tweak grammar.
23144 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
23146         * login/programs/pt_chown.c: Include signal.h
23147         (main): Clear any signal mask from the parent process.
23149 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23151         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
23152         * configure: Regenerated.
23153         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
23154         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
23155         $(gnu89-inline-CFLAGS).
23157         * configure.ac (libc_cv_asm_weak_directive): Remove configure
23158         test.
23159         (libc_cv_asm_weakext_directive): Likewise.
23160         * configure: Regenerated.
23161         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
23162         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
23163         * include/libc-symbols.h
23164         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
23165         #error.
23166         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
23167         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
23169         * sysdeps/arm/backtrace.c (__backtrace): Convert to
23170         prototype-style function definition.
23171         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23172         * sysdeps/i386/ffs.c (__ffs): Likewise.
23173         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23174         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
23175         Likewise.
23176         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23177         Likewise.
23178         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23179         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23180         Likewise.
23181         * sysdeps/m68k/ffs.c (__ffs): Likewise.
23182         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
23183         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
23184         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
23185         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
23186         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
23187         * sysdeps/mach/hurd/access.c (__access): Likewise.
23188         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
23189         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
23190         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
23191         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
23192         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
23193         (cthread_getspecific): Likewise.
23194         (cthread_setspecific): Likewise.
23195         (__libc_getspecific): Likewise.
23196         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
23197         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
23198         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
23199         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
23200         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
23201         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
23202         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
23203         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
23204         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
23205         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
23206         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
23207         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
23208         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
23209         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
23210         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
23211         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
23212         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
23213         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
23214         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
23215         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
23216         * sysdeps/mach/hurd/link.c (__link): Likewise.
23217         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
23218         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
23219         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
23220         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
23221         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23222         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
23223         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
23224         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
23225         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23226         * sysdeps/mach/hurd/rename.c (rename): Likewise.
23227         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
23228         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23229         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
23230         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
23231         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
23232         * sysdeps/mach/hurd/send.c (__send): Likewise.
23233         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
23234         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
23235         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
23236         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
23237         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
23238         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
23239         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
23240         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
23241         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
23242         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
23243         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
23244         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
23245         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
23246         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
23247         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
23248         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23249         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
23250         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23251         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
23252         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23253         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
23254         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
23255         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
23256         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
23257         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
23258         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
23259         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
23260         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
23261         * sysdeps/posix/alarm.c (alarm): Likewise.
23262         * sysdeps/posix/cuserid.c (cuserid): Likewise.
23263         * sysdeps/posix/dirfd.c (dirfd): Likewise.
23264         * sysdeps/posix/dup.c (__dup): Likewise.
23265         * sysdeps/posix/dup2.c (__dup2): Likewise.
23266         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
23267         (main): Likewise.
23268         * sysdeps/posix/flock.c (__flock): Likewise.
23269         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
23270         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
23271         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
23272         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
23273         * sysdeps/posix/isatty.c (__isatty): Likewise.
23274         * sysdeps/posix/killpg.c (killpg): Likewise.
23275         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23276         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
23277         * sysdeps/posix/raise.c (raise): Likewise.
23278         * sysdeps/posix/remove.c (remove): Likewise.
23279         * sysdeps/posix/rename.c (rename): Likewise.
23280         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
23281         * sysdeps/posix/seekdir.c (seekdir): Likewise.
23282         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23283         * sysdeps/posix/sigignore.c (sigignore): Likewise.
23284         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
23285         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
23286         * sysdeps/posix/sigset.c (sigset): Likewise.
23287         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
23288         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
23289         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
23290         * sysdeps/posix/time.c (time): Likewise.
23291         * sysdeps/posix/ttyname.c (getttyname): Likewise.
23292         (ttyname): Likewise.
23293         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
23294         * sysdeps/posix/utime.c (utime): Likewise.
23295         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
23296         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23297         Likewise.
23298         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
23299         (pthread_spin_trylock): Likewise.
23300         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
23301         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
23302         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
23303         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
23304         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
23305         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
23306         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
23307         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
23308         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
23309         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
23310         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
23311         * sysdeps/s390/ffs.c (__ffs): Likewise.
23312         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
23313         Likewise.
23314         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23315         Likewise.
23316         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
23317         Likewise.
23318         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
23319         (pthread_barrier_destroy): Likewise.
23320         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23321         (__pthread_barrier_wait): Likewise.
23322         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
23323         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23324         (__pthread_barrier_wait): Likewise.
23325         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
23326         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
23327         (memcmp_not_common_alignment): Likewise.
23328         (MEMCMP): Likewise.
23329         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
23330         (_wordcopy_fwd_dest_aligned): Likewise.
23331         (_wordcopy_bwd_aligned): Likewise.
23332         (_wordcopy_bwd_dest_aligned): Likewise.
23333         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
23334         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
23335         * sysdeps/unix/bsd/stty.c (stty): Likewise.
23336         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
23337         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
23338         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
23339         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
23340         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
23341         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
23342         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
23343         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
23344         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23345         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
23346         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
23347         * sysdeps/unix/stime.c (stime): Likewise.
23348         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
23349         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
23350         Likewise.  Use internal_function.
23351         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
23352         Convert to prototype-style function definition.
23353         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23354         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23355         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
23356         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23357         Likewise.  Use internal_function.
23358         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
23359         prototype-style function definition
23360         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23361         Likewise.
23362         (__getlogin_r): Likewise.
23363         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
23364         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
23365         (__pthread_cond_broadcast): Likewise.
23366         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
23367         (__pthread_cond_destroy): Likewise.
23368         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
23369         (__pthread_cond_init): Likewise.
23370         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
23371         (__pthread_cond_signal): Likewise.
23372         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
23373         (__pthread_cond_wait): Likewise.
23374         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
23375         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23376         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
23377         Likewise.
23378         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
23379         Likewise.
23380         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23381         Likewise.
23382         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
23383         Likewise.
23384         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
23385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
23386         (__ftruncate64): Likewise.
23387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
23388         (truncate64): Likewise.
23389         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
23390         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
23391         (pthread_getcpuclockid): Likewise.
23392         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
23393         Likewise.
23394         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
23395         Likewise.
23396         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
23397         Likewise.
23398         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
23399         Likewise.
23400         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
23401         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
23402         (__libc_sigaction): Likewise.
23403         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
23404         Likewise.
23405         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23406         (__sigprocmask): Likewise.
23407         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
23408         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
23409         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
23410         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23411         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23412         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
23413         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23414         Likewise.
23415         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
23416         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
23417         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23418         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
23419         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
23420         Likewise.
23421         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
23422         (__sigprocmask): Likewise.
23423         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
23424         (cfgetispeed): Likewise.
23425         (cfsetospeed): Likewise.
23426         (cfsetispeed): Likewise.
23427         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
23428         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
23429         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23430         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23431         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
23432         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
23433         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
23434         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
23435         Likewise.
23436         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
23437         Likewise.
23438         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
23439         Likewise.
23440         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
23441         Likewise.
23442         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
23444 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23446         sunrpc: Rewrite with explicit TLS access using __thread.
23447         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
23448         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
23449         directly.
23450         (__rpc_thread_variables): Access thread_rpc_vars directly.
23451         Eliminate redundant assignment of the tvp variable.
23453 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23455         malloc: Rewrite with explicit TLS access using __thread.
23456         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
23457         (tsd_setspecific, tsd_getspecific): Remove.
23458         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
23459         (tsd_setspecific, tsd_getspecific): Likewise.
23460         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
23461         (tsd_setspecific, tsd_getspecific): Likewise.
23462         * malloc/arena.c (thread_arena): New TLS variable.
23463         (arena_key): Remove variable.
23464         (arena_get): Use thread_arena.
23465         (arena_lookup): Remove macro.
23466         (malloc_atfork, free_atfork, ptmalloc_lock_all)
23467         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
23468         (_int_new_arena, get_free_list, reused_arena)
23469         (arena_thread_freeres): Use thread_arena.
23470         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
23471         tsd_getspecific, tsd_setspecific from safety annotations.
23472         (Allocating Cleared Space): Remove arena_lookup from safety
23473         annotations.
23475 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23477         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
23478         struct scratch_buffer instead of extend_alloca.
23480 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23482         * sysdeps/unix/sysv/linux/kernel-features.h
23483         (__ASSUME_SOCK_CLOEXEC): Remove.
23484         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
23485         (__have_paccept): Remove unused macro.
23486         * include/unistd.h (__have_sock_cloexec): Remove declaration.
23487         * misc/syslog.c (openlog_internal): Remove fallback code for
23488         !__ASSUME_SOCK_CLOEXEC.
23489         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
23490         missing SOCK_CLOEXEC.
23491         * nscd/connections.c (have_sock_cloexec): Remove definition.
23492         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
23493         * nscd/nscd_helper.c (open_socket): Remove fallback code for
23494         !__ASSUME_SOCK_CLOEXEC.
23495         * resolv/res_send.c (__have_o_nonblock): Remove definition.
23496         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
23497         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
23498         definition.
23499         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
23500         code for !__ASSUME_SOCK_CLOEXEC.
23502 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23504         [BZ #18982]
23505         * manual/stdio.texi (Variable Arguments Output): Add portability
23506         note, explaining that vfprintf clobbers the va_list pointer.
23508 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
23510         * math/libm-test.inc (fabs_test_data): Add more tests.
23511         (fdim_test_data): Likewise.
23512         (fma_test_data): Likewise.
23513         (fmax_test_data): Likewise.
23514         (fmin_test_data): Likewise.
23515         (fmod_test_data): Likewise.
23517 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
23519         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
23520         data.
23522 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
23524         * math/libm-test.inc (ceil_test_data): Add more tests and more
23525         expectations for "inexact".
23526         (floor_test_data): Add more tests.
23527         (round_test_data): Likewise.
23528         (trunc_test_data): Likewise.
23530         * crypt/cert.c (good_bye): Convert to prototype-style function
23531         definition.
23532         (get8): Likewise.
23533         (put8): Likewise.
23534         * crypt/crypt-entry.c (crypt): Likewise.
23535         (__fcrypt): Likewise.
23536         * crypt/crypt_util.c (_ufc_prbits): Likewise.
23537         (_ufc_set_bits): Likewise.
23538         (_ufc_clearmem): Likewise.
23539         (__init_des_r): Likewise.
23540         (shuffle_sb): Likewise.
23541         (shuffle_sb): Likewise.
23542         (_ufc_setup_salt_r): Likewise.
23543         (_ufc_mk_keytab_r): Likewise.
23544         (_ufc_dofinalperm_r): Likewise.
23545         (encrypt): Likewise.
23546         (__setkey_r): Likewise.
23547         (setkey): Likewise.
23548         * crypt/md5.c (md5_init_ctx): Likewise.
23549         (md5_read_ctx): Likewise.
23550         (md5_finish_ctx): Likewise.
23551         (md5_stream): Likewise.
23552         (md5_buffer): Likewise.
23553         (md5_process_bytes): Likewise.
23554         * crypt/sha256.c (__sha256_init_ctx): Likewise.
23555         (__sha256_finish_ctx): Likewise.
23556         (__sha256_process_bytes): Likewise.
23557         * crypt/sha512.c (__sha512_init_ctx): Likewise.
23558         (__sha512_finish_ctx): Likewise.
23559         (__sha512_process_bytes): Likewise.
23560         * ctype/isctype.c (__isctype): Likewise.
23561         * debug/backtrace.c (__backtrace): Likewise.
23562         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
23563         * debug/fgets_chk.c (__fgets_chk): Likewise.
23564         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
23565         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
23566         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23567         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23568         * debug/memset_chk.c (__memset_chk): Likewise.
23569         * debug/strcat_chk.c (__strcat_chk): Likewise.
23570         * debug/strncat_chk.c (__strncat_chk): Likewise.
23571         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
23572         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
23573         * dirent/dirfd.c (dirfd): Likewise.
23574         * dirent/getdents.c (__getdirentries): Likewise.
23575         * dirent/getdents64.c (getdirentries64): Likewise.
23576         * dirent/rewinddir.c (__rewinddir): Likewise.
23577         * dirent/seekdir.c (seekdir): Likewise.
23578         * dirent/telldir.c (telldir): Likewise.
23579         * elf/sln.c (makesymlinks): Likewise.
23580         (makesymlink): Likewise.
23581         * gmon/gmon.c (__moncontrol): Likewise.
23582         (__monstartup): Likewise.
23583         (write_hist): Likewise.
23584         (write_call_graph): Likewise.
23585         (write_bb_counts): Likewise.
23586         * grp/setgroups.c (setgroups): Likewise.
23587         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23588         * inet/inet_net.c (inet_network): Likewise.
23589         * inet/inet_netof.c (inet_netof): Likewise.
23590         * inet/rcmd.c (rresvport_af): Likewise.
23591         (rresvport): Likewise.
23592         * io/access.c (__access): Likewise.
23593         * io/chdir.c (__chdir): Likewise.
23594         * io/chmod.c (__chmod): Likewise.
23595         * io/chown.c (__chown): Likewise.
23596         * io/close.c (__close): Likewise.
23597         * io/creat.c (creat): Likewise.
23598         * io/creat64.c (creat64): Likewise.
23599         * io/dup.c (__dup): Likewise.
23600         * io/dup2.c (__dup2): Likewise.
23601         * io/dup3.c (__dup3): Likewise.
23602         * io/euidaccess.c (__euidaccess): Likewise.
23603         * io/faccessat.c (faccessat): Likewise.
23604         * io/fchmod.c (__fchmod): Likewise.
23605         * io/fchmodat.c (fchmodat): Likewise.
23606         * io/fchown.c (__fchown): Likewise.
23607         * io/fchownat.c (fchownat): Likewise.
23608         * io/fcntl.c (__fcntl): Likewise.
23609         * io/flock.c (__flock): Likewise.
23610         * io/fts.c (fts_load): Likewise.
23611         (fts_close): Likewise.
23612         (fts_read): Likewise.
23613         (fts_set): Likewise.
23614         (fts_children): Likewise.
23615         (fts_build): Likewise.
23616         (fts_stat): Likewise.
23617         (fts_sort): Likewise.
23618         (fts_alloc): Likewise.
23619         (fts_lfree): Likewise.
23620         (fts_palloc): Likewise.
23621         (fts_padjust): Likewise.
23622         (fts_maxarglen): Likewise.
23623         (fts_safe_changedir): Likewise.
23624         * io/getwd.c (getwd): Likewise.
23625         * io/isatty.c (__isatty): Likewise.
23626         * io/lchown.c (__lchown): Likewise.
23627         * io/link.c (__link): Likewise.
23628         * io/linkat.c (linkat): Likewise.
23629         * io/lseek.c (__libc_lseek): Likewise.
23630         * io/mkdir.c (__mkdir): Likewise.
23631         * io/mkdirat.c (mkdirat): Likewise.
23632         * io/mkfifo.c (mkfifo): Likewise.
23633         * io/mkfifoat.c (mkfifoat): Likewise.
23634         * io/open.c (__libc_open): Likewise.
23635         * io/open64.c (__libc_open64): Likewise.
23636         * io/readlink.c (__readlink): Likewise.
23637         * io/readlinkat.c (readlinkat): Likewise.
23638         * io/rmdir.c (__rmdir): Likewise.
23639         * io/symlink.c (__symlink): Likewise.
23640         * io/symlinkat.c (symlinkat): Likewise.
23641         * io/ttyname.c (ttyname): Likewise.
23642         * io/ttyname_r.c (__ttyname_r): Likewise.
23643         * io/umask.c (__umask): Likewise.
23644         * io/unlink.c (__unlink): Likewise.
23645         * io/unlinkat.c (unlinkat): Likewise.
23646         * io/utime.c (utime): Likewise.
23647         * libio/clearerr.c (clearerr): Likewise.
23648         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
23649         * libio/feof.c (_IO_feof): Likewise.
23650         * libio/feof_u.c (feof_unlocked): Likewise.
23651         * libio/ferror.c (_IO_ferror): Likewise.
23652         * libio/ferror_u.c (ferror_unlocked): Likewise.
23653         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23654         * libio/fileno.c (__fileno): Likewise.
23655         * libio/fputc.c (fputc): Likewise.
23656         * libio/fputc_u.c (fputc_unlocked): Likewise.
23657         * libio/fputwc.c (fputwc): Likewise.
23658         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
23659         * libio/freopen.c (freopen): Likewise.
23660         * libio/freopen64.c (freopen64): Likewise.
23661         * libio/fseek.c (fseek): Likewise.
23662         * libio/fseeko.c (fseeko): Likewise.
23663         * libio/fseeko64.c (fseeko64): Likewise.
23664         * libio/ftello.c (__ftello): Likewise.
23665         * libio/ftello64.c (ftello64): Likewise.
23666         * libio/fwide.c (fwide): Likewise.
23667         * libio/genops.c (_IO_un_link): Likewise.
23668         (_IO_link_in): Likewise.
23669         (_IO_least_marker): Likewise.
23670         (_IO_switch_to_main_get_area): Likewise.
23671         (_IO_switch_to_backup_area): Likewise.
23672         (_IO_switch_to_get_mode): Likewise.
23673         (_IO_free_backup_area): Likewise.
23674         (_IO_switch_to_put_mode): Likewise.
23675         (__overflow): Likewise.
23676         (__underflow): Likewise.
23677         (__uflow): Likewise.
23678         (_IO_setb): Likewise.
23679         (_IO_doallocbuf): Likewise.
23680         (_IO_default_underflow): Likewise.
23681         (_IO_default_uflow): Likewise.
23682         (_IO_default_xsputn): Likewise.
23683         (_IO_sgetn): Likewise.
23684         (_IO_default_xsgetn): Likewise.
23685         (_IO_sync): Likewise.
23686         (_IO_default_setbuf): Likewise.
23687         (_IO_default_seekpos): Likewise.
23688         (_IO_default_doallocate): Likewise.
23689         (_IO_init): Likewise.
23690         (_IO_old_init): Likewise.
23691         (_IO_default_sync): Likewise.
23692         (_IO_default_finish): Likewise.
23693         (_IO_default_seekoff): Likewise.
23694         (_IO_sputbackc): Likewise.
23695         (_IO_sungetc): Likewise.
23696         (_IO_set_column): Likewise.
23697         (_IO_set_column): Likewise.
23698         (_IO_adjust_column): Likewise.
23699         (_IO_get_column): Likewise.
23700         (_IO_init_marker): Likewise.
23701         (_IO_remove_marker): Likewise.
23702         (_IO_marker_difference): Likewise.
23703         (_IO_marker_delta): Likewise.
23704         (_IO_seekmark): Likewise.
23705         (_IO_unsave_markers): Likewise.
23706         (_IO_nobackup_pbackfail): Likewise.
23707         (_IO_default_pbackfail): Likewise.
23708         (_IO_default_seek): Likewise.
23709         (_IO_default_stat): Likewise.
23710         (_IO_default_read): Likewise.
23711         (_IO_default_write): Likewise.
23712         (_IO_default_showmanyc): Likewise.
23713         (_IO_default_imbue): Likewise.
23714         (_IO_iter_next): Likewise.
23715         (_IO_iter_file): Likewise.
23716         * libio/getc.c (_IO_getc): Likewise.
23717         * libio/getwc.c (_IO_getwc): Likewise.
23718         * libio/iofclose.c (_IO_new_fclose): Likewise.
23719         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23720         * libio/iofflush.c (_IO_fflush): Likewise.
23721         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
23722         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
23723         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
23724         * libio/iofgets.c (_IO_fgets): Likewise.
23725         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
23726         * libio/iofgetws.c (fgetws): Likewise.
23727         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23728         * libio/iofopen64.c (_IO_fopen64): Likewise.
23729         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23730         (_IO_cookie_write): Likewise.
23731         (_IO_cookie_seek): Likewise.
23732         (_IO_cookie_close): Likewise.
23733         (_IO_cookie_seekoff): Likewise.
23734         (_IO_old_cookie_seek): Likewise.
23735         * libio/iofputs.c (_IO_fputs): Likewise.
23736         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
23737         * libio/iofputws.c (fputws): Likewise.
23738         * libio/iofputws_u.c (fputws_unlocked): Likewise.
23739         * libio/iofread.c (_IO_fread): Likewise.
23740         * libio/iofread_u.c (__fread_unlocked): Likewise.
23741         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
23742         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
23743         * libio/ioftell.c (_IO_ftell): Likewise.
23744         * libio/iofwrite.c (_IO_fwrite): Likewise.
23745         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23746         * libio/iogets.c (_IO_gets): Likewise.
23747         * libio/iopadn.c (_IO_padn): Likewise.
23748         * libio/iopopen.c (_IO_new_proc_open): Likewise.
23749         (_IO_new_popen): Likewise.
23750         (_IO_new_proc_close): Likewise.
23751         * libio/ioputs.c (_IO_puts): Likewise.
23752         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
23753         (_IO_seekoff): Likewise.
23754         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
23755         (_IO_seekpos): Likewise.
23756         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
23757         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
23758         * libio/ioungetc.c (_IO_ungetc): Likewise.
23759         * libio/ioungetwc.c (ungetwc): Likewise.
23760         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23761         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
23762         * libio/iowpadn.c (_IO_wpadn): Likewise.
23763         * libio/libc_fatal.c (__libc_fatal): Likewise.
23764         * libio/memstream.c (__open_memstream): Likewise.
23765         (_IO_mem_sync): Likewise.
23766         (_IO_mem_finish): Likewise.
23767         * libio/oldfileops.c (_IO_old_file_init): Likewise.
23768         (_IO_old_file_close_it): Likewise.
23769         (_IO_old_file_finish): Likewise.
23770         (_IO_old_file_fopen): Likewise.
23771         (_IO_old_file_attach): Likewise.
23772         (_IO_old_file_setbuf): Likewise.
23773         (_IO_old_do_write): Likewise.
23774         (old_do_write): Likewise.
23775         (_IO_old_file_underflow): Likewise.
23776         (_IO_old_file_overflow): Likewise.
23777         (_IO_old_file_sync): Likewise.
23778         (_IO_old_file_seekoff): Likewise.
23779         (_IO_old_file_write): Likewise.
23780         (_IO_old_file_xsputn): Likewise.
23781         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
23782         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23783         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
23784         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
23785         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23786         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
23787         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
23788         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
23789         (_IO_old_popen): Likewise.
23790         (_IO_old_proc_close): Likewise.
23791         * libio/oldpclose.c (__old_pclose): Likewise.
23792         * libio/pclose.c (__new_pclose): Likewise.
23793         * libio/peekc.c (_IO_peekc_locked): Likewise.
23794         * libio/putc.c (_IO_putc): Likewise.
23795         * libio/putc_u.c (putc_unlocked): Likewise.
23796         * libio/putchar.c (putchar): Likewise.
23797         * libio/putchar_u.c (putchar_unlocked): Likewise.
23798         * libio/putwc.c (putwc): Likewise.
23799         * libio/putwc_u.c (putwc_unlocked): Likewise.
23800         * libio/putwchar.c (putwchar): Likewise.
23801         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
23802         * libio/rewind.c (rewind): Likewise.
23803         * libio/setbuf.c (setbuf): Likewise.
23804         * libio/setlinebuf.c (setlinebuf): Likewise.
23805         * libio/vasprintf.c (_IO_vasprintf): Likewise.
23806         * libio/vscanf.c (_IO_vscanf): Likewise.
23807         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
23808         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
23809         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23810         * libio/wgenops.c (_IO_least_wmarker): Likewise.
23811         (_IO_switch_to_main_wget_area): Likewise.
23812         (_IO_switch_to_wbackup_area): Likewise.
23813         (_IO_wsetb): Likewise.
23814         (_IO_wdefault_pbackfail): Likewise.
23815         (_IO_wdefault_finish): Likewise.
23816         (_IO_wdefault_uflow): Likewise.
23817         (__woverflow): Likewise.
23818         (__wuflow): Likewise.
23819         (__wunderflow): Likewise.
23820         (_IO_wdefault_xsputn): Likewise.
23821         (_IO_wdefault_xsgetn): Likewise.
23822         (_IO_wdoallocbuf): Likewise.
23823         (_IO_wdefault_doallocate): Likewise.
23824         (_IO_switch_to_wget_mode): Likewise.
23825         (_IO_free_wbackup_area): Likewise.
23826         (_IO_switch_to_wput_mode): Likewise.
23827         (_IO_sputbackwc): Likewise.
23828         (_IO_sungetwc): Likewise.
23829         (_IO_adjust_wcolumn): Likewise.
23830         (_IO_init_wmarker): Likewise.
23831         (_IO_wmarker_delta): Likewise.
23832         (_IO_seekwmark): Likewise.
23833         (_IO_unsave_wmarkers): Likewise.
23834         * libio/wmemstream.c (open_wmemstream): Likewise.
23835         (_IO_wmem_sync): Likewise.
23836         (_IO_wmem_finish): Likewise.
23837         * locale/nl_langinfo.c (nl_langinfo): Likewise.
23838         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
23839         * locale/programs/simple-hash.c (init_hash): Likewise.
23840         (delete_hash): Likewise.
23841         (insert_entry): Likewise.
23842         (set_entry): Likewise.
23843         (next_prime): Likewise.
23844         (is_prime): Likewise.
23845         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
23846         (xmalloc): Likewise.
23847         (xrealloc): Likewise.
23848         * locale/programs/xstrdup.c (xstrdup): Likewise.
23849         * localedata/collate-test.c (xstrcoll): Likewise.
23850         * localedata/xfrm-test.c (xstrcmp): Likewise.
23851         * login/getlogin_r.c (__getlogin_r): Likewise.
23852         * login/getpt.c (__posix_openpt): Likewise.
23853         * login/login_tty.c (login_tty): Likewise.
23854         * login/setlogin.c (setlogin): Likewise.
23855         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
23856         (mach_msg_destroy_port): Likewise.
23857         (mach_msg_destroy_memory): Likewise.
23858         * malloc/mcheck.c (flood): Likewise.
23859         * misc/acct.c (acct): Likewise.
23860         * misc/brk.c (__brk): Likewise.
23861         * misc/chflags.c (chflags): Likewise.
23862         * misc/chroot.c (chroot): Likewise.
23863         * misc/fchflags.c (fchflags): Likewise.
23864         * misc/fstab.c (getfsspec): Likewise.
23865         (getfsfile): Likewise.
23866         * misc/fsync.c (fsync): Likewise.
23867         * misc/ftruncate.c (__ftruncate): Likewise.
23868         * misc/ftruncate64.c (__ftruncate64): Likewise.
23869         * misc/getdomain.c (getdomainname): Likewise.
23870         (getdomainname): Likewise.
23871         * misc/gethostname.c (__gethostname): Likewise.
23872         * misc/getpass.c (getpass): Likewise.
23873         * misc/getttyent.c (skip): Likewise.
23874         (value): Likewise.
23875         * misc/gtty.c (gtty): Likewise.
23876         * misc/hsearch.c (hsearch): Likewise.
23877         (hcreate): Likewise.
23878         * misc/hsearch_r.c (__hcreate_r): Likewise.
23879         (__hdestroy_r): Likewise.
23880         * misc/ioctl.c (__ioctl): Likewise.
23881         * misc/mkdtemp.c (mkdtemp): Likewise.
23882         * misc/mkostemp.c (mkostemp): Likewise.
23883         * misc/mkostemp64.c (mkostemp64): Likewise.
23884         * misc/mkostemps.c (mkostemps): Likewise.
23885         * misc/mkostemps64.c (mkostemps64): Likewise.
23886         * misc/mkstemp.c (mkstemp): Likewise.
23887         * misc/mkstemp64.c (mkstemp64): Likewise.
23888         * misc/mkstemps.c (mkstemps): Likewise.
23889         * misc/mkstemps64.c (mkstemps64): Likewise.
23890         * misc/mktemp.c (__mktemp): Likewise.
23891         * misc/preadv.c (preadv): Likewise.
23892         * misc/preadv64.c (preadv64): Likewise.
23893         * misc/pwritev.c (pwritev): Likewise.
23894         * misc/pwritev64.c (pwritev64): Likewise.
23895         * misc/readv.c (__readv): Likewise.
23896         * misc/revoke.c (revoke): Likewise.
23897         * misc/setdomain.c (setdomainname): Likewise.
23898         * misc/setegid.c (setegid): Likewise.
23899         * misc/seteuid.c (seteuid): Likewise.
23900         * misc/sethostid.c (sethostid): Likewise.
23901         * misc/sethostname.c (sethostname): Likewise.
23902         * misc/setregid.c (__setregid): Likewise.
23903         * misc/setreuid.c (__setreuid): Likewise.
23904         * misc/sstk.c (sstk): Likewise.
23905         * misc/stty.c (stty): Likewise.
23906         * misc/syscall.c (syscall): Likewise.
23907         * misc/syslog.c (setlogmask): Likewise.
23908         * misc/truncate.c (__truncate): Likewise.
23909         * misc/truncate64.c (truncate64): Likewise.
23910         * misc/ualarm.c (ualarm): Likewise.
23911         * misc/usleep.c (usleep): Likewise.
23912         * misc/ustat.c (ustat): Likewise.
23913         * misc/writev.c (__writev): Likewise.
23914         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
23915         * nptl/old_pthread_cond_broadcast.c
23916         (__pthread_cond_broadcast_2_0): Likewise.
23917         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
23918         Likewise.
23919         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
23920         Likewise.
23921         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
23922         Likewise.
23923         * nptl/pt-raise.c (raise): Likewise.
23924         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
23925         Likewise.
23926         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
23927         * nptl/pthread_barrierattr_destroy.c
23928         (pthread_barrierattr_destroy): Likewise.
23929         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23930         Likewise.
23931         * nptl/pthread_barrierattr_setpshared.c
23932         (pthread_barrierattr_setpshared): Likewise.
23933         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23934         Likewise.
23935         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
23936         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23937         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
23938         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
23939         Likewise.
23940         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
23941         Likewise.
23942         * nptl/pthread_condattr_getpshared.c
23943         (pthread_condattr_getpshared): Likewise.
23944         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
23945         Likewise.
23946         * nptl/pthread_condattr_setpshared.c
23947         (pthread_condattr_setpshared): Likewise.
23948         * nptl/pthread_detach.c (pthread_detach): Likewise.
23949         * nptl/pthread_equal.c (__pthread_equal): Likewise.
23950         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
23951         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
23952         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
23953         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
23954         Likewise.
23955         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
23956         Likewise.
23957         * nptl/pthread_mutex_getprioceiling.c
23958         (pthread_mutex_getprioceiling): Likewise.
23959         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
23960         Likewise.
23961         * nptl/pthread_mutexattr_getprotocol.c
23962         (pthread_mutexattr_getprotocol): Likewise.
23963         * nptl/pthread_mutexattr_getpshared.c
23964         (pthread_mutexattr_getpshared): Likewise.
23965         * nptl/pthread_mutexattr_getrobust.c
23966         (pthread_mutexattr_getrobust): Likewise.
23967         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23968         Likewise.
23969         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
23970         Likewise.
23971         * nptl/pthread_mutexattr_setprioceiling.c
23972         (pthread_mutexattr_setprioceiling): Likewise.
23973         * nptl/pthread_mutexattr_setprotocol.c
23974         (pthread_mutexattr_setprotocol): Likewise.
23975         * nptl/pthread_mutexattr_setpshared.c
23976         (pthread_mutexattr_setpshared): Likewise.
23977         * nptl/pthread_mutexattr_setrobust.c
23978         (pthread_mutexattr_setrobust): Likewise.
23979         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
23980         Likewise.
23981         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
23982         Likewise.
23983         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
23984         Likewise.
23985         * nptl/pthread_rwlockattr_getkind_np.c
23986         (pthread_rwlockattr_getkind_np): Likewise.
23987         * nptl/pthread_rwlockattr_getpshared.c
23988         (pthread_rwlockattr_getpshared): Likewise.
23989         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
23990         Likewise.
23991         * nptl/pthread_rwlockattr_setkind_np.c
23992         (pthread_rwlockattr_setkind_np): Likewise.
23993         * nptl/pthread_rwlockattr_setpshared.c
23994         (pthread_rwlockattr_setpshared): Likewise.
23995         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
23996         Likewise.
23997         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
23998         Likewise.
23999         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
24000         Likewise.
24001         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
24002         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
24003         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
24004         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
24005         * nptl/sem_close.c (sem_close): Likewise.
24006         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
24007         * nptl/sem_init.c (__old_sem_init): Likewise.
24008         * nptl/sigaction.c (__sigaction): Likewise.
24009         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24010         * posix/_exit.c (_exit): Likewise.
24011         * posix/alarm.c (alarm): Likewise.
24012         * posix/confstr.c (confstr): Likewise.
24013         * posix/fpathconf.c (__fpathconf): Likewise.
24014         * posix/getgroups.c (__getgroups): Likewise.
24015         * posix/getpgid.c (__getpgid): Likewise.
24016         * posix/group_member.c (__group_member): Likewise.
24017         * posix/pathconf.c (__pathconf): Likewise.
24018         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
24019         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
24020         * posix/setgid.c (__setgid): Likewise.
24021         * posix/setpgid.c (__setpgid): Likewise.
24022         * posix/setuid.c (__setuid): Likewise.
24023         * posix/sleep.c (__sleep): Likewise.
24024         * posix/sysconf.c (__sysconf): Likewise.
24025         * posix/times.c (__times): Likewise.
24026         * posix/uname.c (__uname): Likewise.
24027         * posix/waitid.c (__waitid): Likewise.
24028         * pwd/getpw.c (__getpw): Likewise.
24029         * resolv/base64.c (b64_pton): Likewise.
24030         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
24031         * resolv/gethnamaddr.c (Dprintf): Likewise.
24032         (gethostbyname): Likewise.
24033         (gethostbyname2): Likewise.
24034         (gethostbyaddr): Likewise.
24035         (_sethtent): Likewise.
24036         (_gethtbyname): Likewise.
24037         (_gethtbyname2): Likewise.
24038         (_gethtbyaddr): Likewise.
24039         (map_v4v6_address): Likewise.
24040         (map_v4v6_hostent): Likewise.
24041         (addrsort): Likewise.
24042         (ht_sethostent): Likewise.
24043         (ht_gethostbyname): Likewise.
24044         (ht_gethostbyaddr): Likewise.
24045         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
24046         (inet_net_ntop_ipv4): Likewise.
24047         * resolv/inet_neta.c (inet_neta): Likewise.
24048         * resolv/inet_ntop.c (inet_ntop): Likewise.
24049         (inet_ntop4): Likewise.
24050         (inet_ntop6): Likewise.
24051         * resolv/inet_pton.c (__inet_pton): Likewise.
24052         (inet_pton4): Likewise.
24053         (inet_pton6): Likewise.
24054         * resolv/res_debug.c (loc_aton): Likewise.
24055         (loc_ntoa): Likewise.
24056         * resource/getpriority.c (__getpriority): Likewise.
24057         * resource/getrusage.c (__getrusage): Likewise.
24058         * resource/nice.c (nice): Likewise.
24059         * resource/setpriority.c (__setpriority): Likewise.
24060         * resource/setrlimit64.c (setrlimit64): Likewise.
24061         * resource/vlimit.c (vlimit): Likewise.
24062         * resource/vtimes.c (vtimes): Likewise.
24063         * rt/aio_error.c (aio_error): Likewise.
24064         * rt/aio_return.c (aio_return): Likewise.
24065         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
24066         * signal/kill.c (__kill): Likewise.
24067         * signal/killpg.c (killpg): Likewise.
24068         * signal/raise.c (raise): Likewise.
24069         * signal/sigaction.c (__sigaction): Likewise.
24070         * signal/sigaddset.c (sigaddset): Likewise.
24071         * signal/sigaltstack.c (sigaltstack): Likewise.
24072         * signal/sigandset.c (sigandset): Likewise.
24073         * signal/sigblock.c (__sigblock): Likewise.
24074         * signal/sigdelset.c (sigdelset): Likewise.
24075         * signal/sigempty.c (sigemptyset): Likewise.
24076         * signal/sigfillset.c (sigfillset): Likewise.
24077         * signal/sighold.c (sighold): Likewise.
24078         * signal/sigignore.c (sigignore): Likewise.
24079         * signal/sigintr.c (siginterrupt): Likewise.
24080         * signal/sigisempty.c (sigisemptyset): Likewise.
24081         * signal/sigismem.c (sigismember): Likewise.
24082         * signal/signal.c (signal): Likewise.
24083         * signal/sigorset.c (sigorset): Likewise.
24084         * signal/sigpause.c (__sigpause): Likewise.
24085         * signal/sigpending.c (sigpending): Likewise.
24086         * signal/sigprocmask.c (__sigprocmask): Likewise.
24087         * signal/sigrelse.c (sigrelse): Likewise.
24088         * signal/sigreturn.c (__sigreturn): Likewise.
24089         * signal/sigset.c (sigset): Likewise.
24090         * signal/sigsetmask.c (__sigsetmask): Likewise.
24091         * signal/sigstack.c (sigstack): Likewise.
24092         * signal/sigsuspend.c (__sigsuspend): Likewise.
24093         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
24094         * signal/sysv_signal.c (__sysv_signal): Likewise.
24095         * socket/accept.c (accept): Likewise.
24096         * socket/accept4.c (__libc_accept4): Likewise.
24097         * socket/bind.c (__bind): Likewise.
24098         * socket/connect.c (__connect): Likewise.
24099         * socket/getpeername.c (getpeername): Likewise.
24100         * socket/getsockname.c (__getsockname): Likewise.
24101         * socket/getsockopt.c (getsockopt): Likewise.
24102         * socket/listen.c (__listen): Likewise.
24103         * socket/recv.c (__recv): Likewise.
24104         * socket/recvmsg.c (__recvmsg): Likewise.
24105         * socket/send.c (__send): Likewise.
24106         * socket/sendmsg.c (__sendmsg): Likewise.
24107         * socket/shutdown.c (shutdown): Likewise.
24108         * socket/sockatmark.c (sockatmark): Likewise.
24109         * socket/socket.c (__socket): Likewise.
24110         * stdio-common/ctermid.c (ctermid): Likewise.
24111         * stdio-common/cuserid.c (cuserid): Likewise.
24112         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
24113         * stdio-common/remove.c (remove): Likewise.
24114         * stdio-common/rename.c (rename): Likewise.
24115         * stdio-common/renameat.c (renameat): Likewise.
24116         * stdio-common/tempname.c (__gen_tempname): Likewise.
24117         * stdio-common/xbug.c (InitBuffer): Likewise.
24118         (AppendToBuffer): Likewise.
24119         (ReadFile): Likewise.
24120         * stdlib/a64l.c (a64l): Likewise.
24121         * stdlib/drand48_r.c (drand48_r): Likewise.
24122         * stdlib/getcontext.c (getcontext): Likewise.
24123         * stdlib/getenv.c (getenv): Likewise.
24124         * stdlib/l64a.c (l64a): Likewise.
24125         * stdlib/llabs.c (llabs): Likewise.
24126         * stdlib/lldiv.c (lldiv): Likewise.
24127         * stdlib/lrand48_r.c (lrand48_r): Likewise.
24128         * stdlib/mrand48_r.c (mrand48_r): Likewise.
24129         * stdlib/putenv.c (putenv): Likewise.
24130         * stdlib/random.c (__srandom): Likewise.
24131         (__initstate): Likewise.
24132         (__setstate): Likewise.
24133         * stdlib/random_r.c (__srandom_r): Likewise.
24134         (__setstate_r): Likewise.
24135         (__random_r): Likewise.
24136         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
24137         * stdlib/setcontext.c (setcontext): Likewise.
24138         * stdlib/setenv.c (setenv): Likewise.
24139         (unsetenv): Likewise.
24140         * stdlib/srand48.c (srand48): Likewise.
24141         * stdlib/srand48_r.c (__srand48_r): Likewise.
24142         * stdlib/swapcontext.c (swapcontext): Likewise.
24143         * stdlib/system.c (__libc_system): Likewise.
24144         * stdlib/tst-strtod.c (expand): Likewise.
24145         * stdlib/tst-strtol.c (expand): Likewise.
24146         * stdlib/tst-strtoll.c (expand): Likewise.
24147         * streams/fattach.c (fattach): Likewise.
24148         * streams/fdetach.c (fdetach): Likewise.
24149         * streams/getmsg.c (getmsg): Likewise.
24150         * streams/isastream.c (isastream): Likewise.
24151         * string/ffs.c (__ffs): Likewise.
24152         * string/ffsll.c (ffsll): Likewise.
24153         * string/memcmp.c (memcmp_common_alignment): Likewise.
24154         (memcmp_not_common_alignment): Likewise.
24155         (MEMCMP): Likewise.
24156         * string/memcpy.c (memcpy): Likewise.
24157         * string/memmove.c (MEMMOVE): Likewise.
24158         * string/memset.c (memset): Likewise.
24159         * string/rawmemchr.c (RAWMEMCHR): Likewise.
24160         * string/strchrnul.c (STRCHRNUL): Likewise.
24161         * string/strerror.c (strerror): Likewise.
24162         * string/strndup.c (__strndup): Likewise.
24163         * string/strverscmp.c (__strverscmp): Likewise.
24164         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
24165         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
24166         (clnttcp_freeres): Likewise.
24167         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
24168         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
24169         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
24170         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
24171         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
24172         (xdr_callhdr): Likewise.
24173         * sunrpc/rpcinfo.c (udpping): Likewise.
24174         (tcpping): Likewise.
24175         (pstatus): Likewise.
24176         (pmapdump): Likewise.
24177         (brdcst): Likewise.
24178         (deletereg): Likewise.
24179         (getprognum): Likewise.
24180         (getvers): Likewise.
24181         (get_inet_address): Likewise.
24182         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
24183         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24184         (svcudp_stat): Likewise.
24185         (svcudp_recv): Likewise.
24186         (svcudp_reply): Likewise.
24187         (svcudp_getargs): Likewise.
24188         (svcudp_freeargs): Likewise.
24189         (svcudp_destroy): Likewise.
24190         * sunrpc/xdr.c (xdr_bytes): Likewise.
24191         (xdr_netobj): Likewise.
24192         (xdr_string): Likewise.
24193         (xdr_wrapstring): Likewise.
24194         * sunrpc/xdr_float.c (xdr_float): Likewise.
24195         (xdr_double): Likewise.
24196         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
24197         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
24198         * sysvipc/ftok.c (ftok): Likewise.
24199         * sysvipc/msgctl.c (msgctl): Likewise.
24200         * sysvipc/msgget.c (msgget): Likewise.
24201         * sysvipc/msgrcv.c (msgrcv): Likewise.
24202         * sysvipc/msgsnd.c (msgsnd): Likewise.
24203         * sysvipc/semget.c (semget): Likewise.
24204         * sysvipc/semop.c (semop): Likewise.
24205         * sysvipc/shmat.c (shmat): Likewise.
24206         * sysvipc/shmctl.c (shmctl): Likewise.
24207         * sysvipc/shmdt.c (shmdt): Likewise.
24208         * sysvipc/shmget.c (shmget): Likewise.
24209         * termios/cfmakeraw.c (cfmakeraw): Likewise.
24210         * termios/speed.c (cfgetospeed): Likewise.
24211         (cfgetispeed): Likewise.
24212         (cfsetospeed): Likewise.
24213         (cfsetispeed): Likewise.
24214         * termios/tcflow.c (tcflow): Likewise.
24215         * termios/tcflush.c (tcflush): Likewise.
24216         * termios/tcgetattr.c (__tcgetattr): Likewise.
24217         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
24218         * termios/tcgetsid.c (tcgetsid): Likewise.
24219         * termios/tcsendbrk.c (tcsendbreak): Likewise.
24220         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
24221         * time/adjtime.c (__adjtime): Likewise.
24222         * time/dysize.c (dysize): Likewise.
24223         * time/ftime.c (ftime): Likewise.
24224         * time/getitimer.c (__getitimer): Likewise.
24225         * time/gettimeofday.c (__gettimeofday): Likewise.
24226         * time/gmtime.c (__gmtime_r): Likewise.
24227         (gmtime): Likewise.
24228         * time/localtime.c (__localtime_r): Likewise.
24229         (localtime): Likewise.
24230         * time/offtime.c (__offtime): Likewise.
24231         * time/settimeofday.c (__settimeofday): Likewise.
24232         * time/stime.c (stime): Likewise.
24233         * time/strftime_l.c (tm_diff): Likewise.
24234         (iso_week_days): Likewise.
24235         * time/strptime.c (strptime): Likewise.
24236         * time/time.c (time): Likewise.
24237         * time/timespec_get.c (timespec_get): Likewise.
24238         * time/tzset.c (tzset_internal): Likewise.
24239         (compute_change): Likewise.
24240         (__tz_compute): Likewise.
24241         * wcsmbs/btowc.c (__btowc): Likewise.
24242         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
24243         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
24244         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
24245         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
24246         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
24247         * wcsmbs/wcscat.c (__wcscat): Likewise.
24248         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24249         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
24250         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
24251         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24252         * wcsmbs/wcsdup.c (wcsdup): Likewise.
24253         * wcsmbs/wcslen.c (__wcslen): Likewise.
24254         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
24255         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
24256         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
24257         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
24258         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24259         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
24260         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24261         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24262         * wcsmbs/wcstok.c (wcstok): Likewise.
24263         * wcsmbs/wctob.c (wctob): Likewise.
24264         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
24265         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24266         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
24267         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
24268         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
24269         * wcsmbs/wmemset.c (__wmemset): Likewise.
24270         * wctype/wcfuncs.c (__towlower): Likewise.
24271         (__towupper): Likewise.
24273         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
24274         (lll_unlock_elision): Add adapt_count parameter.
24276 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24278         * sysdeps/nptl/configure.ac: Do not give errors based on the
24279         results of top-level configure tests.
24280         * sysdeps/nptl/configure: Regenerated.
24282         * configure.ac (libc_cv_Bgroup): Remove configure test.
24283         * configure: Regenerated.
24284         * config.make.in (have-Bgroup): Remove variable.
24286         * configure.ac (sizeof_long_double): Remove configure test.
24287         * configure: Regenerated.
24288         * config.make.in (sizeof-long-double): Remove variable.
24290         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
24291         * configure: Regenerated.
24292         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
24293         variable.
24294         (exceptions): Likewise.
24295         * sysdeps/arm/configure: Regenerated.
24296         * config.make.in (exceptions): Remove variable.
24297         * Makeconfig (uses-callbacks): Use -fexceptions instead of
24298         $(exceptions).
24299         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
24300         (CFLAGS-vdprintf_chk.c): Likewise.
24301         (CFLAGS-printf_chk.c): Likewise.
24302         (CFLAGS-fprintf_chk.c): Likewise.
24303         (CFLAGS-vprintf_chk.c): Likewise.
24304         (CFLAGS-vfprintf_chk.c): Likewise.
24305         (CFLAGS-gets_chk.c): Likewise.
24306         (CFLAGS-fgets_chk.c): Likewise.
24307         (CFLAGS-fgets_u_chk.c): Likewise.
24308         (CFLAGS-fread_chk.c): Likewise.
24309         (CFLAGS-fread_u_chk.c): Likewise.
24310         (CFLAGS-wprintf_chk.c): Likewise.
24311         (CFLAGS-fwprintf_chk.c): Likewise.
24312         (CFLAGS-vwprintf_chk.c): Likewise.
24313         (CFLAGS-vfwprintf_chk.c): Likewise.
24314         (CFLAGS-fgetws_chk.c): Likewise.
24315         (CFLAGS-fgetws_u_chk.c): Likewise.
24316         * libio/Makefile (CFLAGS-fileops.c): Likewise.
24317         (CFLAGS-fputc.c): Likewise.
24318         (CFLAGS-fputwc.c): Likewise.
24319         (CFLAGS-freopen64.c): Likewise.
24320         (CFLAGS-freopen.c): Likewise.
24321         (CFLAGS-fseek.c): Likewise.
24322         (CFLAGS-fseeko64.c): Likewise.
24323         (CFLAGS-fseeko.c): Likewise.
24324         (CFLAGS-ftello64.c): Likewise.
24325         (CFLAGS-ftello.c): Likewise.
24326         (CFLAGS-fwide.c): Likewise.
24327         (CFLAGS-genops.c): Likewise.
24328         (CFLAGS-getc.c): Likewise.
24329         (CFLAGS-getchar.c): Likewise.
24330         (CFLAGS-getwc.c): Likewise.
24331         (CFLAGS-getwchar.c): Likewise.
24332         (CFLAGS-iofclose.c): Likewise.
24333         (CFLAGS-iofflush.c): Likewise.
24334         (CFLAGS-iofgetpos64.c): Likewise.
24335         (CFLAGS-iofgetpos.c): Likewise.
24336         (CFLAGS-iofgets.c): Likewise.
24337         (CFLAGS-iofgetws.c): Likewise.
24338         (CFLAGS-iofputs.c): Likewise.
24339         (CFLAGS-iofputws.c): Likewise.
24340         (CFLAGS-iofread.c): Likewise.
24341         (CFLAGS-iofsetpos64.c): Likewise.
24342         (CFLAGS-iofsetpos.c): Likewise.
24343         (CFLAGS-ioftell.c): Likewise.
24344         (CFLAGS-iofwrite.c): Likewise.
24345         (CFLAGS-iogetdelim.c): Likewise.
24346         (CFLAGS-iogetline.c): Likewise.
24347         (CFLAGS-iogets.c): Likewise.
24348         (CFLAGS-iogetwline.c): Likewise.
24349         (CFLAGS-ioputs.c): Likewise.
24350         (CFLAGS-ioseekoff.c): Likewise.
24351         (CFLAGS-ioseekpos.c): Likewise.
24352         (CFLAGS-iosetbuffer.c): Likewise.
24353         (CFLAGS-iosetvbuf.c): Likewise.
24354         (CFLAGS-ioungetc.c): Likewise.
24355         (CFLAGS-ioungetwc.c): Likewise.
24356         (CFLAGS-oldfileops.c): Likewise.
24357         (CFLAGS-oldiofclose.c): Likewise.
24358         (CFLAGS-oldiofgetpos64.c): Likewise.
24359         (CFLAGS-oldiofgetpos.c): Likewise.
24360         (CFLAGS-oldiofsetpos64.c): Likewise.
24361         (CFLAGS-oldiofsetpos.c): Likewise.
24362         (CFLAGS-peekc.c): Likewise.
24363         (CFLAGS-putc.c): Likewise.
24364         (CFLAGS-putchar.c): Likewise.
24365         (CFLAGS-putwc.c): Likewise.
24366         (CFLAGS-putwchar.c): Likewise.
24367         (CFLAGS-rewind.c): Likewise.
24368         (CFLAGS-wfileops.c): Likewise.
24369         (CFLAGS-wgenops.c): Likewise.
24370         (CFLAGS-oldiofopen.c): Likewise.
24371         (CFLAGS-iofopen.c): Likewise.
24372         (CFLAGS-iofopen64.c): Likewise.
24373         (CFLAGS-oldtmpfile.c): Likewise.
24374         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24375         (CFLAGS-fprintf.c): Likewise.
24376         (CFLAGS-printf.c): Likewise.
24377         (CFLAGS-vfwprintf.c): Likewise.
24378         (CFLAGS-vfscanf.c): Likewise.
24379         (CFLAGS-vfwscanf.c): Likewise.
24380         (CFLAGS-fscanf.c): Likewise.
24381         (CFLAGS-scanf.c): Likewise.
24382         (CFLAGS-isoc99_vfscanf.c): Likewise.
24383         (CFLAGS-isoc99_vscanf.c): Likewise.
24384         (CFLAGS-isoc99_fscanf.c): Likewise.
24385         (CFLAGS-isoc99_scanf.c): Likewise.
24386         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
24387         (CFLAGS-isoc99_fwscanf.c): Likewise.
24388         (CFLAGS-isoc99_vwscanf.c): Likewise.
24389         (CFLAGS-isoc99_vfwscanf.c): Likewise.
24391         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
24392         after mkstemp64.
24393         * login/tst-utmp.c (do_prepare): Likewise.
24394         * rt/tst-aio.c (do_prepare): Likewise.
24395         * rt/tst-aio64.c (do_prepare): Likewise.
24397 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24399         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24400         (__lll_lock_elision): Remove adapt_count decrement...
24401         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24402         (__lll_trylock_elision): Likewise.
24403         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
24404         (__lll_unlock_elision): ... to here. And utilize
24405         new adapt_count parameter.
24406         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24407         (__lll_unlock_elision): Update to include adapt_count
24408         parameter.
24409         (lll_unlock_elision): Pass pointer to adapt_count
24410         variable.
24412 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24414         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
24415         Add elision adapt_count parameter to list of arguments.
24416         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24417         (lll_unlock_elision): Update with new parameter list
24418         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
24419         (lll_unlock_elision): Likewise.
24420         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
24421         (lll_unlock_elision): Likewise.
24423 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24425         [BZ #19122]
24426         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
24427         attribute_hidden.
24429         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
24430         attribute_hidden.
24431         [IS_IN (rtld)] (__strdup): Likewise.
24432         [IS_IN (rtld)] (__strerror_r): Likewise.
24433         [IS_IN (rtld)] (__strsep_g): Likewise.
24434         [IS_IN (rtld)] (memchr): Likewise.
24435         [IS_IN (rtld)] (memcmp): Likewise.
24436         [IS_IN (rtld)] (memcpy): Likewise.
24437         [IS_IN (rtld)] (memmove): Likewise.
24438         [IS_IN (rtld)] (memset): Likewise.
24439         [IS_IN (rtld)] (rawmemchr): Likewise.
24440         [IS_IN (rtld)] (stpcpy): Likewise.
24441         [IS_IN (rtld)] (strchr): Likewise.
24442         [IS_IN (rtld)] (strcmp): Likewise.
24443         [IS_IN (rtld)] (strlen): Likewise.
24444         [IS_IN (rtld)] (strnlen): Likewise.
24445         [IS_IN (rtld)] (strsep): Likewise.
24447         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
24448         attribute_hidden.
24449         [IS_IN (rtld)] (__strtoul_internal): Likewise.
24451         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
24452         attribute_hidden.
24453         [IS_IN (rtld)] (__libc_sigaction): Likewise.
24455         * include/setjmp.h (__longjmp): Add attribute_hidden.
24456         [IS_IN (rtld)] (__sigsetjmp): Likewise.
24458         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
24459         Add attribute_hidden.
24461         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
24462         [IS_IN (rtld)] (__open): Likewise.
24463         [IS_IN (rtld)] (__fcntl): Likewise.
24465         * include/dirent.h (__opendirat): Add attribute_hidden.
24466         (__getdents): Likewise.
24467         (__getdents64): Likewise.
24468         (__alloc_dir): Likewise.
24469         [IS_IN (rtld)] (__closedir): Likewise.
24470         [IS_IN (rtld)] (__fdopendir): Likewise.
24471         [IS_IN (rtld)] (__readdir): Likewise.
24472         [IS_IN (rtld)] (__readdir64): Likewise.
24473         [IS_IN (rtld)] (__rewinddir): Likewise.
24475         * include/dlfcn.h (_dl_catch_error): Moved to ...
24476         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
24477         attribute_hidden.
24479         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
24480         (_itoa_word): Likewise.
24482         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
24483         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
24484         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
24485         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
24486         (_dl_higher_prime_number): Likewise.
24487         (_dl_debug_printf_c): Likewise.
24488         (_dl_signal_cerror): Likewise.
24489         (_dl_receive_error): Likewise.
24490         (_dl_reloc_bad_type): Likewise.
24491         (_dl_resolve_conflicts): Likewise.
24492         (_dl_check_all_versions): Likewise.
24493         (_dl_check_map_versions): Likewise.
24494         (_dl_sort_fini): Likewise.
24495         (_dl_debug_initialize): Likewise.
24496         (_dl_init_paths): Likewise.
24497         (_dl_show_auxv): Likewise.
24498         (_dl_next_ld_env_entry): Likewise.
24499         (_dl_important_hwcaps): Likewise.
24500         (_dl_load_cache_lookup): Likewise.
24501         (_dl_update_slotinfo): Likewise.
24502         (_dl_show_scope): Likewise.
24504         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
24505         attribute_hidden.
24506         (_wordcopy_fwd_dest_aligned): Likewise.
24507         (_wordcopy_bwd_aligned): Likewise.
24508         (_wordcopy_bwd_dest_aligned): Likewise.
24510         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24511         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
24512         Likewise.
24513         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
24514         Likewise.
24515         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
24517 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24519         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
24520         GCC 5 requirement.
24522 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24524         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
24525         test.
24526         * sysdeps/i386/configure: Regenerated.
24527         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
24528         code unconditional.
24530         * configure.ac (libc_cv_asm_previous_directive): Remove configure
24531         test.
24532         (libc_cv_asm_popsection_directive): Likewise.
24533         * configure: Regenerated.
24534         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
24535         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
24536         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
24537         (__make_section_unallocated): Make definition unconditional.
24538         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
24539         Remove conditional definition.
24540         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
24541         (__make_section_unallocated): Likewise.
24543         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
24544         * configure: Regenerated.
24545         * config.make.in (static-libgcc): Remove variable.
24546         * Makerules (build-shlib-helper): Use -static-libgcc instead of
24547         $(static-libgcc).
24548         (build-module-helper): Likewise.
24550         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
24551         * configure: Regenerated.
24553 2015-10-15  Florian Weimer  <fweimer@redhat.com>
24555         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
24556         (struct char_buffer): New type.
24557         (char_buffer_start, char_buffer_size, char_buffer_error)
24558         (char_buffer_rewind, char_buffer_add): New functions.
24559         (ADDW): Remove macro, replaced by the char_buffer_add function.
24560         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
24561         of extend_alloca.  Make control flow more explicit.
24563 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24565         [BZ #19137]
24566         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24567         Add -fomit-frame-pointer.
24568         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
24570 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24572         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
24573         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
24574         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
24575         only if !__GNUC_PREREQ (5,0).
24576         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
24577         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
24578         (INTERNAL_SYSCALL_NCS): Likewise.
24579         (LOADREGS_0): New macro for GCC 5.
24580         (ASMARGS_0): Likewise.
24581         (LOADREGS_1): Likewise.
24582         (ASMARGS_1): Likewise.
24583         (LOADREGS_2): Likewise.
24584         (ASMARGS_2): Likewise.
24585         (LOADREGS_3): Likewise.
24586         (ASMARGS_3): Likewise.
24587         (LOADREGS_4): Likewise.
24588         (ASMARGS_4): Likewise.
24589         (LOADREGS_5): Likewise.
24590         (ASMARGS_5): Likewise.
24591         (LOADREGS_6): Likewise.
24592         (ASMARGS_6): Likewise.
24594 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24596         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
24597         -fomit-frame-pointer.
24598         (CFLAGS-mmap64.c): Likewise.
24599         (CFLAGS-semtimedop.c): Likewise.
24600         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
24601         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
24602         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24603         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24605 2015-10-15  Florian Weimer  <fweimer@redhat.com>
24607         [BZ #18928]
24608         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
24609         _dl_pointer_guard member.
24610         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
24611         initializer.
24612         (security_init): Always set up pointer guard.
24613         (process_envvars): Do not process LD_POINTER_GUARD.
24615 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
24617         [BZ #19134]
24618         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
24619         (.LC2): Likewise.
24620         (.LC3): Likewise.
24621         (__lround): Do not add 0.5 to integer or out-of-range arguments.
24623 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24625         [BZ #19129]
24626         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
24627         r0 and r1.
24629 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
24631         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
24633 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
24635         * include/stap-probe.h: Fix macro definition formatting.
24637 2015-10-14  Florian Weimer  <fweimer@redhat.com>
24639         [BZ #19074]
24640         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
24641         load and store num_ifs.
24643 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24645         [BZ #18822]
24646         * sysdeps/unix/sysv/linux/sched_getaffinity.c
24647         (__sched_getaffinity_new): Add libc_hidden_proto and
24648         libc_hidden_def.
24650 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24652         [BZ #19007]
24653         * scripts/localplt.awk: Also allow GOT references.
24654         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
24655         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
24656         with "+ REL R_386_GLOB_DAT".
24657         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
24658         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
24660 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24662         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
24663         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24664         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
24665         Likewise.
24666         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24667         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
24668         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24669         INTERNAL_SYSCALLINTERNAL_SYSCALL and
24670         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24671         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24672         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24673         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24674         Likewise.
24675         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24677 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24679         [BZ #19125]
24680         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
24681         <math_private.h> and <stdint.h>.
24682         (__llround): Avoid conversions to and from long long int, and
24683         subtractions, where those might raise spurious exceptions.
24684         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24685         <math_private.h> and <stdint.h>.
24686         (__llroundf): Avoid conversions to and from long long int, and
24687         subtractions, where those might raise spurious exceptions.
24689 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24691         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
24692         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24693         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24694         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
24695         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24696         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24697         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
24698         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
24699         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
24700         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24701         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24702         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24703         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
24704         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24705         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24706         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
24707         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
24708         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24709         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
24710         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
24711         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24712         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
24713         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
24714         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24715         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
24716         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24717         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
24718         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24719         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24720         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
24721         (__xstat64_conv): Likewise.
24722         (__xstat32_conv): Likewise.
24724 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24726         * sysdeps/unix/sysv/linux/sysdep.h: New file.
24727         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
24728         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
24729         <sysdeps/unix/sysv/linux/sysdep.h>.
24730         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24731         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
24732         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
24733         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24734         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24735         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
24736         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
24737         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
24738         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
24739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24742         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24743         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24744         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24745         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24746         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
24747         (sysdep-dl-routines): Add sysdep.
24748         [$(subdir) == nptl] (libpthread-routines): Likewise.
24749         [$(subdir) == rt] (librt-routines): Likewise.
24750         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
24751         PIC when branching to SYSCALL_ERROR_LABEL.
24752         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
24753         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
24754         <sysdeps/unix/sysv/linux/sysdep.h>.
24755         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
24756         (SYSCALL_ERROR_ERRNO): Removed.
24757         (SYSCALL_ERROR_HANDLER): Changed to empty.
24758         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
24759         (__syscall_error): New prototype.
24760         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
24761         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
24763 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24765         [BZ #19124]
24766         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
24767         (_dl_runtime_resolve_avx512): Make it a hidden alias of
24768         _dl_runtime_resolve_avx.
24769         (_dl_runtime_profile_avx512): Make it a hidden alias of
24770         _dl_runtime_profile_avx.
24772 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24774         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
24775         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
24776         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
24777         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
24779         [BZ #16422]
24780         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
24781         New configure test.
24782         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
24783         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
24784         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
24785         <math_private.h> and <stdint.h>.
24786         (__llrint): Avoid conversions to long long int where those might
24787         raise spurious exceptions.
24788         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24789         <math_private.h> and <stdint.h>.
24790         (__llrintf): Avoid conversions to long long int where those might
24791         raise spurious exceptions.
24793 2015-10-12  Andreas Schwab  <schwab@suse.de>
24795         [BZ #18969]
24796         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
24797         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
24798         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
24799         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
24800         $(gen-locales).
24801         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
24802         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
24803         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
24804         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
24805         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
24806         $(gen-locales).
24807         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
24808         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
24809         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
24810         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
24811         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
24812         ($(objpfx)tst-ftell-active-handler.out)
24813         ($(objpfx)tst-ftell-append.out)
24814         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
24815         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
24816         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
24817         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
24818         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
24819         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
24820         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
24821         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
24822         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
24823         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
24824         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
24825         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
24826         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
24827         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
24828         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
24829         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
24830         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
24831         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
24832         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
24833         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
24834         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
24835         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
24836         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
24837         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
24838         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
24839         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
24840         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
24841         $(gen-locales).
24842         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
24843         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
24844         $(gen-locales).
24845         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
24846         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
24847         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
24848         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
24849         $(gen-locales).
24850         * libio/tst_wprintf2.c (main): Use explicit locale.
24851         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
24853 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24855         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
24856         __msg_sig_post.
24857         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
24859 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24861         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24862         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24864         * sysdeps/arm/libm-test-ulps: Regenerated.
24866         [BZ #15470]
24867         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
24869         [BZ #16399]
24870         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
24871         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
24872         and <fix-fp-int-convert-overflow.h>.
24873         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24874         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24875         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
24876         and <fix-fp-int-convert-overflow.h>.
24877         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
24878         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24879         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
24880         <fix-fp-int-convert-overflow.h>.
24881         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24882         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24883         * sysdeps/ieee754/dbl-64/s_lround.c: Include
24884         <fix-fp-int-convert-overflow.h>.
24885         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
24886         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24887         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
24888         and <fix-fp-int-convert-overflow.h>.
24889         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24890         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24891         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
24892         <limits.h> and <fix-fp-int-convert-overflow.h>.
24893         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24894         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24895         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
24896         and <fix-fp-int-convert-overflow.h>.
24897         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24898         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24899         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
24900         and <fix-fp-int-convert-overflow.h>.
24901         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24902         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24903         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
24905 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
24907         [BZ #18589]
24908         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
24909         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
24910         $(gen-locales).
24912 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24913             Phil Blundell <pb@pbcl.net>
24915         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
24916         * nptl/tst-cancel26.c: New file.
24917         * nptl/tst-cancel27.c: Likewise.
24919 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
24921         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
24922         __ILP32__ isn't defined.
24923         (lrint): Likewise.
24924         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
24925         (lrintf): Likewise.
24926         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
24927         (lrintl): Likewise.
24928         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
24929         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
24930         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
24932 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24934         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
24935         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
24937         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
24938         file.
24939         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
24940         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
24942 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24944         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
24945         configure test.
24946         * sysdeps/i386/configure: Regenerated.
24947         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
24948         configure test.
24949         * sysdeps/x86_64/configure: Regenerated.
24950         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
24951         Make code unconditional.
24953         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
24954         test.
24955         * sysdeps/i386/configure: Regenerated.
24956         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
24957         test.
24958         * sysdeps/x86_64/configure: Regenerated.
24959         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
24960         Make code unconditional.
24961         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24962         Likewise.
24963         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
24964         Likewise.
24965         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24966         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
24967         code unconditional.
24968         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24969         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
24970         code unconditional.
24971         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24972         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
24973         code unconditional.
24974         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
24975         code unconditional.
24976         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24977         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
24978         code unconditional.
24979         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24980         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
24981         code unconditional.
24982         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24983         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
24984         code unconditional.
24985         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24986         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
24987         code unconditional.
24988         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24989         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
24991         [BZ #19095]
24992         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
24993         mantissa to long int before shifting left.
24995 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24997         [BZ #19094]
24998         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
24999         <limits.h>.
25000         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25001         when result overflows but exception would not result from cast.
25002         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
25003         <limits.h>.
25004         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25005         when result overflows but exception would not result from cast.
25006         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
25007         <limits.h>.
25008         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25009         when result overflows but exception would not result from cast.
25010         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
25011         <limits.h>.
25012         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25013         when result overflows but exception would not result from cast.
25014         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
25015         <limits.h>.
25016         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25017         when result overflows but exception would not result from cast.
25018         * math/libm-test.inc (lrint_test_data): Add more tests.
25019         (llrint_test_data): Likewise.
25021 2015-10-08  Roland McGrath  <roland@hack.frob.com>
25023         [BZ #18872]
25024         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
25025         Move out from under [$(run-built-tests) = yes] conditional.
25026         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
25027         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
25029 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
25031         [BZ #18589]
25032         * string/Makefile (tests): Add bug-strcoll2.
25033         (LOCALES): Add cs_CZ.UTF-8.
25034         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
25036         [BZ #18589]
25037         * string/bug-strcoll2.c: New file.
25038         * locale/categories.def: Revert commit
25039         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
25040         * locale/langinfo.h: Likewise.
25041         * locale/localeinfo.h: Likewise.
25042         * locale/C-collate.c: Likewise.
25043         * locale/programs/ld-collate.c (collate_output): Likewise.
25044         * string/strcoll_l.c (STRDIFF): Likewise.
25045         (STRCOLL): Likewise.
25046         * wcsmbs/wcscoll_l.c: Likewise.
25048 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25050         * math/libm-test.inc (lround_test_data): Do not expect the absence
25051         of "inexact" for some tests with non-integer arguments.
25052         (llround_test_data): Likewise.
25054         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
25055         test.
25056         (libc_cv_cc_sse2avx): Likewise.
25057         * sysdeps/i386/configure: Regenerated.
25058         * sysdeps/i386/i686/multiarch/Makefile
25059         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
25060         [$(subdir) = math].
25061         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
25062         code unconditional.
25063         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25064         Likewise.
25065         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
25066         Likewise.
25067         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25068         Likewise.
25069         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
25070         test.
25071         (libc_cv_cc_sse2avx): Likewise.
25072         * sysdeps/x86_64/configure: Regenerated.
25073         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
25074         unconditional.
25075         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
25076         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
25077         unconditional.
25078         (_dl_runtime_profile)
25079         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
25080         conditional code.
25081         * sysdeps/x86_64/fpu/multiarch/Makefile
25082         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
25083         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25084         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25085         * sysdeps/x86_64/fpu/multiarch/e_exp.c
25086         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25087         * sysdeps/x86_64/fpu/multiarch/e_log.c
25088         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25089         * sysdeps/x86_64/fpu/multiarch/s_atan.c
25090         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25091         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25092         Likewise.
25093         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25094         Likewise.
25095         * sysdeps/x86_64/fpu/multiarch/s_sin.c
25096         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25097         * sysdeps/x86_64/fpu/multiarch/s_tan.c
25098         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25099         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
25100         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
25101         (HAVE_SSE2AVX_SUPPORT): Likewise.
25103 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
25105         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
25106         instead of #pragma optimize.
25108 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25110         [BZ #17195]
25111         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
25112         as is similarly done in systrim and _int_free already.
25114 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25116         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
25118 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25120         [BZ #19088]
25121         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
25122         <limits.h>.
25123         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25124         overflows but exception would not result from cast.
25125         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
25126         and <limits.h>.
25127         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25128         overflows but exception would not result from cast.
25129         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
25130         <limits.h>.
25131         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25132         overflows but exception would not result from cast.
25133         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
25134         <limits.h>.
25135         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25136         overflows but exception would not result from cast.
25137         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
25138         <limits.h>.
25139         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25140         overflows but exception would not result from cast.
25141         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
25142         <limits.h>.
25143         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25144         overflows but exception would not result from cast.
25145         * math/libm-test.inc (lround_test_data): Add more tests.
25146         (llround_test_data): Likewise.
25148 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
25150         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
25151         (CFLAGS-ialloc.c): Ditto.
25152         (CFLAGS-scheck.c): Ditto.
25154 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25156         [BZ #19086]
25157         * manual/filesys.texi (Storage Allocation): Fix argument order for
25158         posix_fallocate64.
25160 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25162         [BZ #19085]
25163         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
25164         exponent below 48 inside case for non-overflowing exponent.
25165         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
25167 2015-10-07  Florian Weimer  <fweimer@redhat.com>
25169         * iconvdata/cp737.h (from_idx): Add const.
25170         * iconvdata/cp775.h (from_idx): Likewise.
25172 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25174         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
25175         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
25176         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
25178         [BZ #19079]
25179         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
25180         file, conditioned on [!_LP64].
25181         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
25182         [!_LP64] (__lround): Do not define as function or alias.
25183         [!_LP64] (lround): Likewise.
25184         [!_LP64] (__lroundl): Likewise.
25185         [!_LP64] (lroundl): Likewise.
25186         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
25187         macro.
25188         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25189         Likewise.
25191 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25193         * math/libm-test.inc (lrint_test_data): Add more tests.
25194         (llrint_test_data): Likewise.
25195         (lround_test_data): Likewise.
25196         (llround_test_data): Likewise.
25198         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
25199         (llrint_test_data): Add tests used for lrint.
25201         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
25202         test.
25203         * sysdeps/i386/configure: Regenerated.
25204         * sysdeps/i386/i686/multiarch/Makefile
25205         [$(config-cflags-sse4) = yes]: Make code unconditional.
25206         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25207         Likewise.
25208         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
25209         Likewise.
25210         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
25211         test.
25212         * sysdeps/x86_64/configure: Regenerated.
25213         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
25214         Make code unconditional.
25215         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25216         Likewise.
25217         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
25218         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
25220         * scripts/rpm2dynsym.sh: Remove file.
25222 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25224         * configure.ac (libc_cv_cxx_thread_local): Define.
25225         * configure: Regenerate.
25226         * config.make.in (have-cxx-thread_local): Define.
25227         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
25228         (LDLIBS-tst-thread_local1): Define.
25229         (tests): Add tst-thread_local1.
25230         [have-cxx-thread_local != yes] (tests-unsupported): Add
25231         tst-thread_local1.
25232         * nptl/tst-thread_local1.cc: New file.
25234 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25236         [BZ #19078]
25237         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
25238         (u_thres): Likewise.
25239         (__expl): Determine whether to call __kernel_standard_l based on
25240         value of result, not argument.
25242         * math/libm-test.inc (scalb_test_data): Add more expectations for
25243         the "inexact" exception.
25245         [BZ #19077]
25246         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
25247         0.0L for argument 1.0L.
25249         [BZ #19076]
25250         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
25251         constant 0.0L when computing infinite result.
25253 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25255         [BZ #10432]
25256         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
25257         malloc_usable_size.
25259 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25261         [BZ #19018]
25262         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25263         Mangle function pointer before storing it.
25264         (__call_tls_dtors): Demangle function pointer before calling it.
25266 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25268         [BZ #19012]
25269         * iconv/gconv_db.c (gen_steps): Check for additional errors.
25270         Clean up on failure.
25272 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
25274         [BZ #19071]
25275         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
25276         long int variable to store possibly incremented high part of
25277         mantissa.
25278         * math/libm-test.inc (lround_test_data): Add tests used for
25279         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
25280         for tests requiring 64-bit long.  Do not condition tests on
25281         [TEST_FLOAT] unnecessarily.
25282         (llround_test_data): Add tests used for lround.  Add another
25283         expectation for the "inexact" exception.  Do not condition tests
25284         on [TEST_FLOAT] unnecessarily.
25286         [BZ #887]
25287         [BZ #19049]
25288         [BZ #19050]
25289         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
25290         * sysdeps/ieee754/dbl-64/e_log10.c: Include
25291         <fix-int-fp-convert-zero.h>.
25292         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25293         * sysdeps/ieee754/dbl-64/e_log2.c: Include
25294         <fix-int-fp-convert-zero.h>.
25295         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25296         * sysdeps/ieee754/dbl-64/s_erf.c: Include
25297         <fix-int-fp-convert-zero.h>.
25298         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25299         * sysdeps/ieee754/dbl-64/s_logb.c: Include
25300         <fix-int-fp-convert-zero.h>.
25301         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25302         * sysdeps/ieee754/flt-32/e_log10f.c: Include
25303         <fix-int-fp-convert-zero.h>.
25304         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25305         * sysdeps/ieee754/flt-32/e_log2f.c: Include
25306         <fix-int-fp-convert-zero.h>.
25307         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25308         * sysdeps/ieee754/flt-32/s_erff.c: Include
25309         <fix-int-fp-convert-zero.h>.
25310         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25311         * sysdeps/ieee754/flt-32/s_logbf.c: Include
25312         <fix-int-fp-convert-zero.h>.
25313         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25314         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
25315         <fix-int-fp-convert-zero.h>.
25316         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25317         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
25318         <fix-int-fp-convert-zero.h>.
25319         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25320         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
25321         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
25322         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
25323         file.
25324         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
25326 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
25328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25330 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
25332         [BZ #19059]
25333         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
25334         overflowing computation.
25335         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25336         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25337         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25338         Likewise.
25339         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25340         Likewise.
25341         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25342         Likewise.
25343         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25344         Likewise.
25345         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25346         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25347         Likewise.
25348         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25349         Likewise.
25350         * math/libm-test.inc (nexttoward_test_data): Add more tests.
25352         * nss/rewrite_field.c (__nss_rewrite_field): Use
25353         internal_function.
25354         * nss/valid_field.c (__nss_valid_field): Likewise.
25355         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25357 2015-10-02  Florian Weimer  <fweimer@redhat.com>
25359         [BZ #18724]
25360         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
25361         (__nss_invalid_field_characters, __nss_valid_field)
25362         (__nss_valid_list_field, __nss_rewrite_field): Declare.
25363         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
25364         tst-field.c: New file.
25365         * nss/Makefile (routines): Add valid_field, rewrite_field.
25366         (tests-static): Define unconditionally.
25367         (tests): Include tests-static.
25368         [build-static-nss] (tests-static): Use append.
25369         [build-static-nss] (tests): Remove modification.
25370         * nss/getent.c (print_group): Call putgrent.  Report error.
25371         (print_gshadow): Call putsgent.  Report error.
25372         (print_passwd): Call putpwent.  Report error.
25373         (print_shadow): Call putspent.  Report error.
25374         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
25375         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
25376         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
25377         name, password, directory, shell fields for valid syntax.  Rewrite
25378         GECOS field to match syntax.
25379         * pwd/Makefile (tests): Add tst-putpwent.
25380         * pwd/tst-putpwent.c: New file.
25381         * grp/putgrent.c (putgrent): Convert to ISO function definition.
25382         Check grName, grpasswd, gr_mem fields for valid syntax.
25383         Change loop variable i to size_t.
25384         * grp/Makefile (tests): Add tst-putgrent.
25385         * grp/tst-putgrent.c: New file.
25386         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
25387         valid syntax.
25388         * shadow/Makefile (tests): Add tst-putspent.
25389         * shadow/tst-putspent.c: New file.
25390         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
25391         sg_mem fields for valid syntax.
25392         * gshadow/Makefile (tests): Add tst-putsgent.
25393         * gshadow/tst-putsgent.c: New file.
25395 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25397         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
25398         assembly instructions.
25400 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25402         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
25403         prefix from operands.
25405 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
25407         [BZ #16347]
25408         [BZ #19046]
25409         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
25410         <libc-internal.h>.
25411         (MAXLGM): Do not use diagnostic control macros.
25412         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
25413         threshold for ldbl-128ibm.
25414         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
25415         instead of multiplying by log then subtracting.
25416         * math/auto-libm-test-in: Add more tests of lgamma.
25417         * math/auto-libm-test-out: Regenerated.
25419         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
25420         (TYPE_HEX_DIG): Likewise.
25421         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
25422         precisions when printing floating-point numbers.
25423         (check_float_internal): Likewise.
25425 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
25427         [BZ #16620]
25428         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
25429         of log (10) rounded downward to 48 bits.
25430         (log10_low): Use corresponding low part of log (10).
25432         [BZ #19032]
25433         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
25434         compute result as (x - x) / (x - x) not as 0 / 0.
25435         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25436         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
25438         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25439         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
25440         and expm1.
25441         * math/auto-libm-test-out: Regenerated.
25442         * math/libm-test.inc (acos_test_data): Add more tests.
25443         (asin_test_data): Likewise.
25444         (asinh_test_data): Likewise.
25445         (atan_test_data): Likewise.
25446         (atanh_test_data): Likewise.
25447         (atan2_test_data): Likewise.
25448         (cbrt_test_data): Likewise.
25449         (ceil_test_data): Likewise.
25450         (copysign_test_data): Likewise.
25451         (cos_test_data): Likewise.
25452         (cosh_test_data): Likewise.
25453         (erf_test_data): Likewise.
25454         (erfc_test_data): Likewise.
25455         (exp_test_data): Likewise.
25456         (exp10_test_data): Likewise.
25457         (exp2_test_data): Likewise.
25458         (expm1_test_data): Likewise.
25459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25461 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
25463         [BZ #19006]
25464         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
25465         to ...
25466         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
25467         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
25468         to ...
25469         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
25470         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
25471         to ...
25472         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
25473         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
25474         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
25475         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
25476         to ...
25477         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
25478         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
25479         Moved to ...
25480         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
25481         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
25482         Moved to ...
25483         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
25484         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
25485         to ...
25486         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
25487         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
25488         Moved to ...
25489         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
25490         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
25491         to ...
25492         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
25493         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
25494         Removed.
25495         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
25496         Likewise.
25497         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
25498         Likewise.
25499         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
25500         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
25501         Likewise.
25502         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
25503         Likewise.
25504         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
25505         Likewise.
25506         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
25507         Likewise.
25508         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
25509         Likewise.
25510         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
25511         Likewise.
25512         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
25513         Likewise.
25514         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
25515         Likewise.
25516         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
25517         Likewise.
25518         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
25519         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
25520         Likewise.
25521         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
25522         Likewise.
25523         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
25524         Likewise.
25525         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
25526         Likewise.
25527         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
25528         Likewise.
25529         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
25530         Replace ../i486/pthread_cond_timedwait.S with
25531         ../pthread_cond_timedwait.S.
25533 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
25535         * math/libm-test.inc (acos_test_data): Refine expectations for
25536         errno and "inexact" exceptions.
25537         (acosh_test_data): Likewise.
25538         (asin_test_data): Likewise.
25539         (asinh_test_data): Likewise.
25540         (atan_test_data): Likewise.
25541         (atanh_test_data): Likewise.
25542         (atan2_test_data): Likewise.
25543         (cbrt_test_data): Likewise.
25544         (ceil_test_data): Likewise.
25545         (copysign_test_data): Likewise.
25546         (cosh_test_data): Likewise.
25547         (erf_test_data): Likewise.
25548         (erfc_test_data): Likewise.
25549         (exp_test_data): Likewise.
25550         (exp10_test_data): Likewise.
25551         (exp2_test_data): Likewise.
25552         (expm1_test_data): Likewise.
25553         (fabs_test_data): Likewise.
25554         (floor_test_data): Likewise.
25555         (fma_test_data): Likewise.
25556         (fmax_test_data): Likewise.
25557         (fmin_test_data): Likewise.
25558         (fmod_test_data): Likewise.
25559         (fpclassify_test_data): Likewise.
25560         (frexp_test_data): Likewise.
25561         (hypot_test_data): Likewise.
25562         (ilogb_test_data): Likewise.
25563         (isgreater_test_data): Likewise.
25564         (isgreaterequal_test_data): Likewise.
25565         (isinf_test_data): Likewise.
25566         (isless_test_data): Likewise.
25567         (islessequal_test_data): Likewise.
25568         (islessgreater_test_data): Likewise.
25569         (isnan_test_data): Likewise.
25570         (isnormal_test_data): Likewise.
25571         (issignaling_test_data): Likewise.
25572         (isunordered_test_data): Likewise.
25573         (j0_test_data): Likewise.
25574         (j1_test_data): Likewise.
25575         (jn_test_data): Likewise.
25576         (lgamma_test_data): Likewise.
25577         (lrint_test_data): Likewise.
25578         (llrint_test_data): Likewise.
25579         (log_test_data): Likewise.
25580         (log10_test_data): Likewise.
25581         (log1p_test_data): Likewise.
25582         (log2_test_data): Likewise.
25583         (logb_test_data): Likewise.
25584         (lround_test_data): Likewise.
25585         (llround_test_data): Likewise.
25586         (modf_test_data): Likewise.
25587         (nearbyint_test_data): Likewise.
25588         (nextafter_test_data): Likewise.
25589         (nexttoward_test_data): Likewise.
25590         (pow_test_data): Likewise.
25591         (remainder_test_data): Likewise.
25592         (remquo_test_data): Likewise.
25593         (rint_test_data): Likewise.
25594         (round_test_data): Likewise.
25595         (signbit_test_data): Likewise.
25596         (sinh_test_data): Likewise.
25597         (sqrt_test_data): Likewise.
25598         (tanh_test_data): Likewise.
25599         (tgamma_test_data): Likewise.
25600         (trunc_test_data): Likewise.
25601         (y0_test_data): Likewise.
25602         (y1_test_data): Likewise.
25603         (yn_test_data): Likewise.
25604         (significand_test_data): Likewise.
25606 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
25608         * manual/filesys.texi (Storage Allocation): Document that
25609         posix_fallocate emulation fails when fd is open with O_WRONLY.
25611 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
25613         [BZ #19016]
25614         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
25615         allow more cases with X^2 + Y^2 >= 0.5.
25616         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
25617         normal element in sum instead of special-casing based on values of
25618         arguments.
25619         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
25620         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
25621         -1 as normal element in sum instead of special-casing based on
25622         values of arguments.
25623         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
25624         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
25625         (__x2y2m1): Update comment.
25626         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
25627         as normal element in sum instead of special-casing based on values
25628         of arguments.
25629         * math/s_clog.c (__clog): Handle more cases using log1p without
25630         hypot.
25631         * math/s_clog10.c (__clog10): Likewise.
25632         * math/s_clog10f.c (__clog10f): Likewise.
25633         * math/s_clog10l.c (__clog10l): Likewise.
25634         * math/s_clogf.c (__clogf): Likewise.
25635         * math/s_clogl.c (__clogl): Likewise.
25636         * math/auto-libm-test-in: Add more tests of clog and clog10.
25637         * math/auto-libm-test-out: Regenerated.
25638         * sysdeps/i386/fpu/libm-test-ulps: Update.
25639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25641 2015-09-28  Martin Sebor  <msebor@redhat.com>
25643         [BZ #18969]
25644         * string/Makefile (LOCALES): Define.
25645         (gen-locales.mk): Include.
25646         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
25647         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
25648         * string/tst-strxfrm2.c (do_test): Print the name of the locale
25649         on setlocale failure.
25651 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
25653         [BZ #18985]
25654         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
25655         (__strftime_internal): Likewise.
25656         * time/tst-strftime.c (do_bz18985): New test.
25657         (do_test): Call it.
25659 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
25661         [BZ #18956]
25662         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
25663         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
25664         extracting high part.
25665         * math/auto-libm-test-in: Add another test of pow.
25666         * math/auto-libm-test-out: Regenerated.
25667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25669 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25671         [BZ #18825]
25672         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
25673         New macro.
25674         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
25675         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25676         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
25677         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
25678         DBL_NARROW_EVAL, reloading the PIC register as needed.
25679         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
25680         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
25681         FLT_NARROW_EVAL.  Use separate return path for case when first
25682         argument is NaN.
25683         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
25684         DEFINE_LDBL_MIN.
25685         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
25686         PIC register.
25687         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
25688         math_check_force_underflow_nonneg.
25689         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
25690         underflow for subnormal result.
25691         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
25692         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
25693         math_check_force_underflow_nonneg.
25694         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
25695         math_check_force_underflow.
25696         * sysdeps/x86_64/fpu/x86_64-math-asm.h
25697         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
25698         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
25699         DEFINE_LDBL_MIN.
25700         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
25701         * math/auto-libm-test-in: Add more tests of pow.
25702         * math/auto-libm-test-out: Regenerated.
25704 2015-09-25  Florian Weimer  <fweimer@redhat.com>
25706         * nss/bug17079.c (init_test_items): Add diagnostic for
25707         inconsistent entries.
25708         (test_buffer_size): Skip inconsistent entries.
25710 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25712         [BZ #13304]
25713         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
25714         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
25715         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
25717         [BZ #13304]
25718         * sysdeps/microblaze/s_fma.c: New file.
25719         * sysdeps/microblaze/s_fmaf.c: Likewise.
25720         * sysdeps/microblaze/sfp-machine.h: Likewise.
25722 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
25724         [BZ #17250]
25725         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
25726         member.
25728 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25730         [BZ #18803]
25731         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
25732         (MO): New macro.
25733         (__ieee754_hypot) [PIC]: Load PIC register.
25734         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
25735         DBL_NARROW_EVAL.
25736         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
25737         math_check_force_underflow_nonneg in case where result might be
25738         tiny.
25739         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25740         Likewise.
25741         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25742         Likewise.
25743         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
25744         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
25745         * math/auto-libm-test-in: Add more tests of hypot.
25746         * math/auto-libm-test-out: Regenerated.
25748 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
25750         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
25752 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25754         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
25755         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
25756         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25757         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25758         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
25759         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25760         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25762         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
25763         LOAD_PIC_REG.
25765         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
25766         (FLT_CHECK_FORCE_UFLOW): Likewise.
25767         (DBL_CHECK_FORCE_UFLOW): Likewise.
25768         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
25769         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
25770         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
25771         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25772         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25773         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25774         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25775         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25776         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
25777         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25778         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
25779         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
25780         (flt_min): Replace with use of DEFINE_FLT_MIN.
25781         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
25782         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
25783         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25784         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
25785         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
25786         (flt_min): Replace with use of DEFINE_FLT_MIN.
25787         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
25788         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
25789         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25790         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
25791         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
25792         (flt_min): Replace with use of DEFINE_FLT_MIN.
25793         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
25794         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
25795         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25796         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25797         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
25798         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25799         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25800         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
25801         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25802         (__atan): Use DBL_CHECK_FORCE_UFLOW.
25803         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
25804         (flt_min): Replace with use of DEFINE_FLT_MIN.
25805         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
25806         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
25807         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25808         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
25809         main computation.
25810         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
25811         (flt_min): Replace with use of DEFINE_FLT_MIN.
25812         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
25813         main computation.
25814         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
25815         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25816         (MO): New macro.
25817         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
25818         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
25819         (flt_min): Replace with use of DEFINE_FLT_MIN.
25820         (MO): New macro.
25821         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
25822         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
25823         (__log1pl): Use MO.
25825         [BZ #19003]
25826         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
25827         $(config-cflags-nofma).
25829 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25831         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25833 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
25835         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
25836         (TWO127): Likewise.
25838         * sysdeps/generic/math_private.h (fabs_tg): New macro.
25839         (min_of_type): Likewise.
25840         (math_check_force_underflow): Likewise.
25841         (math_check_force_underflow_nonneg): Likewise.
25842         (math_check_force_underflow_complex): Likewise.
25843         * math/e_exp2l.c (__ieee754_exp2l): Use
25844         math_check_force_underflow_nonneg.
25845         * math/k_casinh.c (__kernel_casinh): Likewise.
25846         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25847         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25848         * math/s_catan.c (__catan): Use
25849         math_check_force_underflow_complex.
25850         * math/s_catanf.c (__catanf): Likewise.
25851         * math/s_catanh.c (__catanh): Likewise.
25852         * math/s_catanhf.c (__catanhf): Likewise.
25853         * math/s_catanhl.c (__catanhl): Likewise.
25854         * math/s_catanl.c (__catanl): Likewise.
25855         * math/s_ccosh.c (__ccosh): Likewise.
25856         * math/s_ccoshf.c (__ccoshf): Likewise.
25857         * math/s_ccoshl.c (__ccoshl): Likewise.
25858         * math/s_cexp.c (__cexp): Likewise.
25859         * math/s_cexpf.c (__cexpf): Likewise.
25860         * math/s_cexpl.c (__cexpl): Likewise.
25861         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
25862         * math/s_clog10.c (__clog10): Likewise.
25863         * math/s_clog10f.c (__clog10f): Likewise.
25864         * math/s_clog10l.c (__clog10l): Likewise.
25865         * math/s_clogf.c (__clogf): Likewise.
25866         * math/s_clogl.c (__clogl): Likewise.
25867         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
25868         * math/s_csinf.c (__csinf): Likewise.
25869         * math/s_csinh.c (__csinh): Likewise.
25870         * math/s_csinhf.c (__csinhf): Likewise.
25871         * math/s_csinhl.c (__csinhl): Likewise.
25872         * math/s_csinl.c (__csinl): Likewise.
25873         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
25874         * math/s_csqrtf.c (__csqrtf): Likewise.
25875         * math/s_csqrtl.c (__csqrtl): Likewise.
25876         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
25877         * math/s_ctanf.c (__ctanf): Likewise.
25878         * math/s_ctanh.c (__ctanh): Likewise.
25879         * math/s_ctanhf.c (__ctanhf): Likewise.
25880         * math/s_ctanhl.c (__ctanhl): Likewise.
25881         * math/s_ctanl.c (__ctanl): Likewise.
25882         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
25883         instead of volatile.
25884         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
25885         math_check_force_underflow.
25886         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25887         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
25888         volatile when forcing underflow.
25889         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25890         math_check_force_underflow_nonneg.
25891         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
25892         Likewise.
25893         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
25894         math_check_force_underflow.
25895         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25896         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25897         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25898         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
25899         math_check_force_underflow_nonneg.
25900         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
25901         math_check_force_underflow.
25902         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
25903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
25904         instead of volatile.
25905         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
25906         math_check_force_underflow.
25907         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25908         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25909         math_check_force_underflow_nonneg.
25910         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
25911         math_check_force_underflow.
25912         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
25913         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25914         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
25915         math_check_force_underflow_nonneg.
25916         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25917         Likewise.
25918         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
25919         math_check_force_underflow.
25920         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25921         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25922         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
25923         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
25924         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
25925         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
25926         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
25927         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
25928         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25929         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
25930         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
25931         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
25932         Likewise.
25933         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
25934         math_check_force_underflow_nonneg.
25935         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25936         Likewise.
25937         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
25938         math_check_force_underflow.
25939         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25940         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
25941         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25942         Likewise.
25943         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
25944         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
25945         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
25946         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
25947         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
25948         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
25949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
25950         instead of volatile.
25951         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
25952         math_check_force_underflow.
25953         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
25954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
25955         math_check_force_underflow.
25956         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
25957         Likewise.
25958         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25959         Use math_check_force_underflow_nonneg.
25960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
25961         math_check_force_underflow.
25962         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25963         Likewise.
25964         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25965         Likewise.
25966         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25967         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25968         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25969         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
25971         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25972         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
25973         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
25974         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
25975         math_check_force_underflow_nonneg.
25976         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
25977         math_check_force_underflow.
25978         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25979         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
25980         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
25981         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
25982         math_check_force_underflow_nonneg.
25983         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
25984         math_check_force_underflow.
25985         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
25986         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
25987         instead of volatile.
25988         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
25989         math_check_force_underflow.
25991         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
25992         * stdlib/strtod_l.c: Include <math_private.h>.
25993         (overflow_value): Use math_narrow_eval.
25994         (underflow_value): Likewise.
25995         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25996         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25997         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
25998         (__ieee754_gamma_r): Likewise.
25999         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
26000         Likewise.
26001         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
26002         Likewise.
26003         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
26004         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
26005         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
26006         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
26007         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
26008         (__ieee754_gammaf_r): Likewise.
26009         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
26010         Likewise.
26011         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
26012         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
26013         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
26014         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
26015         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
26016         volatile.
26017         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
26018         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
26019         math_narrow_eval.
26020         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26021         Likewise.
26022         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26023         Likewise.
26024         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
26025         Likewise.
26026         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
26027         volatile.
26028         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
26029         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
26030         math_narrow_eval.
26031         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26032         Likewise.
26033         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26034         Likewise.
26036 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
26038         * nptl/Versions: Remove ignored symbols.
26040 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26042         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
26043         * nss/Makefile (tests): Update.
26045 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26047         * nss/bug18287.c: New file.
26048         * nss/Makefile (tests): Add bug18287.
26050 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26052         * mach/Versions (__mach_host_self_): Add symbol.
26054 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26056         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
26057         vm_page_size.
26059 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26061         Really fix sysdeps/i386/fpu/s_scalbn.S build
26063         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
26064         (libc: GLIBC_2_22): Remove unused version set.
26066 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26068         * config.make.in (enable-timezone-tools): New variable.
26069         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
26070         (enable_timezone_tools): Export to generated files.
26071         * configure: Regenerate.
26072         * INSTALL: Regenerate.
26073         * manual/install.texi (--disable-timezone-tools): Document new flag.
26074         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
26075         ifeq ($(enable-timezone-tools),yes) check.
26077 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26079         * timezone/Makefile: Revert previous change.
26081         [BZ #18980]
26082         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
26083         (DEFINE_DBL_MIN): Likewise.
26084         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26085         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26086         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26087         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26088         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
26089         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26090         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26091         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
26092         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
26093         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26094         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26095         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
26096         (flt_min): Replace with use of DEFINE_FLT_MIN.
26097         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26098         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
26099         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26100         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26101         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
26102         (flt_min): Replace with use of DEFINE_FLT_MIN.
26103         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26104         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
26105         (flt_min): Replace with use of DEFINE_FLT_MIN.
26106         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26107         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
26108         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
26109         (__ieee754_hypot): Use DBL_NARROW_EVAL.
26110         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
26111         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
26112         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
26113         (__ieee754_pow): Use DBL_NARROW_EVAL.
26114         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
26115         (__ieee754_powf): Use FLT_NARROW_EVAL.
26116         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
26117         (__ieee754_expf_sse2): Convert double-precision result to single
26118         precision.
26119         * sysdeps/i386/fpu/libm-test-ulps: Update.
26121 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26123         * timezone/Makefile: Ignore unused variable errors due to private.h
26124         (time_t_min) and (time_t_max).
26125         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
26126         Likewise.
26128 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26130         [BZ #18981]
26131         * sysdeps/i386/fpu/i386-math-asm.h: New file.
26132         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
26133         (__ieee754_scalb): Use DBL_NARROW_EVAL.
26134         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
26135         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
26136         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
26137         (__scalbn): Use DBL_NARROW_EVAL.
26138         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
26139         (__scalbnf): Use FLT_NARROW_EVAL.
26141 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26143         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
26144         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
26145         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
26146         * stdio-common/printf_fp.c (___printf_fp):
26147         Use signbit to get the sign. Use isinf macro to allow inlining.
26148         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
26149         * stdio-common/printf_size.c (__printf_size): Likewise.
26151 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26153         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
26155 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26157         [BZ #18980]
26158         * sysdeps/generic/math_private.h: Include <float.h>.
26159         (math_narrow_eval): New macro.
26160         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
26161         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
26162         math_narrow_eval on overflowing return value.
26163         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
26164         Likewise.
26165         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26166         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
26167         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
26168         Likewise.
26169         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26171 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26173         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
26174         * math/Makefile: Remove isinf_ns.c.
26175         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
26176         * math/multc3.c (__multc3): Likewise.
26177         * math/s_casin.c (__casin): Likewise.
26178         * math/s_casinf.c (__casinf): Likewise.
26179         * math/s_casinl.c (__casinl): Likewise.
26180         * math/s_cproj.c (__cproj): Likewise.
26181         * math/s_cprojf.c (__cprojf): Likewise.
26182         * math/s_cprojl.c (__cprofl): Likewise.
26183         * math/s_ctan.c (__ctan): Likewise.
26184         * math/s_ctanf.c (__ctanf): Likewise.
26185         * math/s_ctanh.c (__ctanh): Likewise.
26186         * math/s_ctanhf.c (__ctanhf): Likewise.
26187         * math/s_ctanhl.c (__ctanhl): Likewise.
26188         * math/s_ctanl.c (__ctanl): Likewise.
26189         * math/w_fmod.c (__fmod): Likewise.
26190         * math/w_fmodf.c (__fmodf): Likewise.
26191         * math/w_fmodl.c (_fmodl): Likewise.
26192         * math/w_remainder.c (__remainder): Likewise.
26193         * math/w_remainderf.c (__remainderf): Likewise.
26194         * math/w_remainderl.c (__remainderl): Likewise.
26195         * math/w_scalb.c (__scalb): Likewise.
26196         * math/w_scalbf.c (__scalbf): Likewise.
26197         * math/w_scalbl.c (__scalbl): Likewise.
26198         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
26199         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
26200         with isinf.
26201         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
26202         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
26203         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
26204         __isinf_nsf with isinf.
26205         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
26206         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
26207         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
26208         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
26209         with isinf.
26210         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
26211         __isinf_nsl with isinf.
26212         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
26213         with isinf.
26214         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
26215         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
26216         __isinf_nsl with isinf.
26217         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
26218         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
26219         with isinf.
26221 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26223         * resolv/base64.c (rcsid): Remove unused static.
26224         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
26225         static.  (tqpi1): Likewise.
26226         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
26227         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
26228         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
26229         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
26230         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
26231         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
26232         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
26233         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
26234         Likewise.
26236 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
26238         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
26239         <nptl/pthreadP.h>.
26240         (_longjmp_unwind): Use __libc_ptf_call.
26241         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
26243 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
26245         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
26246         * sysdeps/arm/__longjmp.S: Likewise.
26248 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26250         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
26251         Use __builtin_signbit.
26252         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
26253         Use __builtin_signbitf.
26254         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
26255         Use __builtin_signbitl.
26256         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26257         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
26259 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26261         [BZ #15367]
26262         [BZ #17441]
26264         * math/Makefile: Build test-snan.c with -fsignaling-nans.
26265         * math/math.h (fpclassify): Use __builtin_fpclassify when
26266         available.  (signbit): Use __builtin_signbit(f/l).
26267         (isfinite): Use__builtin_isfinite.  (isnormal): Use
26268         __builtin_isnormal.  (isnan): Use __builtin_isnan.
26269         (isinf): Use __builtin_isinf_sign.
26271 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26273         * benchtests/Makefile: Add bench-math-inlines, link with libm.
26274         * benchtests/bench-math-inlines.c: New benchmark.
26275         * benchtests/bench-util.h: New file.
26276         * benchtests/bench-util.c: New file.
26277         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
26279 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
26281         * elf/tst-dlmopen1.c: Define TEST_SO.
26282         (do_test): Use TEST_SO.
26284         * elf/dl-load.c: Include libc-internal.h.
26285         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
26287 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26289         [BZ #17887]
26290         * time/strptime_l.c (__strptime_internal): Make %z accept
26291         [+-]HH:MM time zones.
26293 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26295         [BZ #17886]
26296         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
26297         valid time zone.
26299 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
26301         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
26302         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
26303         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26304         (__ASSUME_FDATASYNC): Delete.
26306 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26308         * conform/linknamespace.pl: Require weak undefined symbols to be
26309         in the standard namespace.
26310         (%strong_syms): Rename to %seen_syms.
26311         (%strong_seen): Rename to %seen_where.
26313 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
26315         [BZ #18970]
26316         * misc/error.c (error): Replace pthread_setcancelstate with
26317         __pthread_setcancelstate.
26318         (error_at_line): Likewise.
26319         * posix/wordexp.c (parse_comm): Likewise.
26320         * stdlib/fmtmsg.c (fmtmsg): Likewise.
26321         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
26322         (__pthread_setcancelstate): This.
26323         (pthread_setcancelstate): Add an alias.
26324         * nptl/nptl-init.c (pthread_functions): Replace
26325         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
26326         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
26327         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
26328         hidden_proto.
26329         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
26330         it with hidden_def.
26331         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
26332         (pthread_setcancelstate): Renamed to ...
26333         (__pthread_setcancelstate): This.
26334         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
26335         __libc_ptf_call with __pthread_setcancelstate.
26337 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26338             Andreas Schwab  <schwab@suse.de>
26340         [BZ #17118]
26341         * math/s_ctan.c (__ctan): Determine sign of zero real part of
26342         result when imaginary part of argument is infinite using sine and
26343         cosine.
26344         * math/s_ctanf.c (__ctanf): Likewise.
26345         * math/s_ctanl.c (__ctanl): Likewise.
26346         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
26347         of result when real part of argument is infinite using sine and
26348         cosine.
26349         * math/s_ctanhf.c (__ctanhf): Likewise.
26350         * math/s_ctanhl.c (__ctanhl): Likewise.
26351         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
26352         (ctanh_test_data): Add more tests of ctanh.
26354 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26356         [BZ #15384]
26357         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
26358         bit-mask as in subtraction.
26359         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
26360         Likewise.
26361         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
26362         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
26363         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
26365         [BZ #18951]
26366         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
26367         underflow exception for small results.
26368         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26369         Likewise.
26370         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26371         Likewise.
26372         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26373         Likewise.
26374         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26375         Likewise.
26376         * math/auto-libm-test-in: Add more tests of tgamma.
26377         * math/auto-libm-test-out: Regenerated.
26379 2015-09-17  Andreas Schwab  <schwab@suse.de>
26381         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
26383 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26385         [BZ #18977]
26386         * math/bits/mathcalls.h
26387         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
26388         not declare.
26389         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
26390         Likewise.
26391         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
26392         Likewise.
26393         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
26394         Likewise.
26395         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
26396         Likewise.
26397         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
26398         Likewise.
26399         * conform/data/math.h-data
26400         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
26401         function.
26402         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
26403         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
26404         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
26405         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
26406         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
26407         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
26408         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
26409         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
26410         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
26411         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
26412         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
26414         [BZ #6803]
26415         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
26416         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
26417         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
26418         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
26419         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
26420         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
26421         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
26422         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
26423         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26424         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
26425         Likewise.
26426         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26427         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
26428         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
26429         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
26430         long_double_symbol calls.
26431         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
26432         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
26433         strong alias of __ldexpl.
26434         (scalbnl): Define using long_double_symbol.
26435         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
26436         Remove alias.
26437         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
26438         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
26439         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
26440         (scalbln_test_data): Add more errno expectations.
26442 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
26444         Cache the host port like we cache the task port.  This way we do not
26445         need to call the kernel just to get the port.  Furthermore, we no
26446         longer increase the reference count on every invocation of
26447         `mach_host_self'.
26449         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
26450         Protect declarations against the macro expansion.
26451         * mach/mach_init.c (__mach_host_self_): New variable.
26452         (mach_init): Initialize `__mach_host_self_'.
26453         * mach/mach_init.h (__mach_host_self_): New declaration.
26454         (__mach_host_self, mach_host_self): New macros.
26455         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
26456         Release reference.
26458 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26460         [BZ #4404]
26461         * po/de.po: Update from Translation Project.
26463         [BZ #16415]
26464         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
26465         (__expm1l): Remove code to handle positive infinity and overflow.
26466         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
26467         variable.
26468         (__expm1l): Remove code to handle positive infinity and overflow.
26470 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
26471             Paul Pluzhnikov  <ppluzhnikov@google.com>
26473         [BZ #18872]
26474         * stdio-common/Makefile (tst-printf-bz18872): New test.
26475         (tst-printf-bz18872-mem.out): Likewise.
26476         * stdio-common/tst-printf-bz18872.sh: Generate new test.
26477         * stdio-common/vfprintf.c: Fix memory leaks.
26479 2015-09-16  Andreas Schwab  <schwab@suse.de>
26481         [BZ #17244]
26482         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
26483         Remove extra va_start/va_end calls.
26485         [BZ #17243]
26486         * posix/execl.c (execl): Add missing va_end.
26487         * posix/execle.c (execle): Likewise.
26488         * posix/execlp.c (execlp): Likewise.
26490 2015-09-15  Roland McGrath  <roland@hack.frob.com>
26492         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
26493         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
26495 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
26497         [BZ #18967]
26498         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
26499         undefine around includes of <bits/mathcalls.h>.
26500         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
26501         not declare function.
26502         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
26503         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
26504         (scalb): Likewise.
26505         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
26506         not define macro.
26507         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
26508         variable.
26509         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
26510         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
26511         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
26513         [BZ #18857]
26514         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
26515         return non-finite argument without doing ordered comparisons on
26516         it.
26518         [BZ #16296]
26519         * math/fenv.h (fegetround): Use __attribute_pure__.
26520         * include/fenv.h (__fegetround): Likewise.
26522         [BZ #18595]
26523         * math/s_ctan.c (__ctan): Force underflow exception for results
26524         whose real or imaginary part has small absolute value.
26525         * math/s_ctanf.c (__ctanf): Likewise.
26526         * math/s_ctanh.c (__ctanh): Likewise.
26527         * math/s_ctanhf.c (__ctanhf): Likewise.
26528         * math/s_ctanhl.c (__ctanhl): Likewise.
26529         * math/s_ctanl.c (__ctanl): Likewise.
26530         * math/auto-libm-test-in: Do not allow missing underflow for ctan
26531         and ctanh.  Add more tests of ctan and ctanh.
26533         [BZ #15918]
26534         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
26535         handling of cases where one argument is an infinity.
26537         [BZ #18875]
26538         [BZ #18966]
26539         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
26540         (MO): New macro.
26541         (__ieee754_exp10): For small results, force underflow exception
26542         and remove excess range and precision from return value.
26543         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
26544         (MO): New macro.
26545         (__ieee754_exp10f): For small results, force underflow exception
26546         and remove excess range and precision from return value.
26547         * math/auto-libm-test-in: Add more tests of exp10.
26548         * math/auto-libm-test-out: Regenerated.
26550 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
26552         [BZ #18875]
26553         [BZ #18961]
26554         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
26555         (MO): New macro.
26556         (__ieee754_exp): For small results, force underflow exception and
26557         remove excess range and precision from return value.
26558         (__exp_finite): Likewise.
26559         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
26560         (MO): New macro.
26561         (__ieee754_expf): For small results, force underflow exception and
26562         remove excess range and precision from return value.
26563         (__expf_finite): Likewise.
26564         * math/auto-libm-test-in: Add more tests of exp.
26565         * math/auto-libm-test-out: Regenerated.
26567         [BZ #16521]
26568         [BZ #18875]
26569         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
26570         small results.
26571         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
26572         (MO): New macro.
26573         (__ieee754_exp2): For small results, force underflow exception and
26574         remove excess range and precision from return value.
26575         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
26576         (MO): New macro.
26577         (__ieee754_exp2f): For small results, force underflow exception
26578         and remove excess range and precision from return value.
26579         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
26580         (MO): New macro.
26581         (__ieee754_exp2l): Force underflow exception for small results.
26582         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26583         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26584         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
26585         (MO): New macro.
26586         (__ieee754_exp2l): Force underflow exception for small results.
26587         * math/auto-libm-test-in: Add more tests or exp2.
26588         * math/auto-libm-test-out: Regenerated.
26590 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
26592         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
26594         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
26595         /dev/null.
26597 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26599         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26600         io fs process)): Drop spurious backslash.
26602 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26604         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
26605         Use sysinfo system call instead of parsing /proc/meminfo.
26606         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
26607         Likewise.
26609 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
26611         [BZ #16985]
26612         * programs/localedef.c (main): Display argv[remaining] when
26613         output_path is NULL.
26615 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
26617         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26618         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
26619         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
26620         tanh.
26621         * math/auto-libm-test-out: Regenerated.
26622         * sysdeps/i386/fpu/libm-test-ulps: Update.
26623         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26624         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26627 2015-09-11  Roland McGrath  <roland@hack.frob.com>
26629         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
26630         Use 'override' keyword to freeze the value here, preventing
26631         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
26633 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
26635         [BZ #14912]
26636         * sysdeps/aarch64/bits/atomic.h: Move to ...
26637         * sysdeps/aarch64/atomic-machine.h: ...here.
26638         (_AARCH64_BITS_ATOMIC_H): Rename macro to
26639         _AARCH64_ATOMIC_MACHINE_H.
26640         * sysdeps/alpha/bits/atomic.h: Move to ...
26641         * sysdeps/alpha/atomic-machine.h: ...here.
26642         * sysdeps/arm/bits/atomic.h: Move to ...
26643         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
26644         * bits/atomic.h: Move to ...
26645         * sysdeps/generic/atomic-machine.h: ...here.
26646         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26647         * sysdeps/i386/bits/atomic.h: Move to ...
26648         * sysdeps/i386/atomic-machine.h: ...here.
26649         * sysdeps/ia64/bits/atomic.h: Move to ...
26650         * sysdeps/ia64/atomic-machine.h: ...here.
26651         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
26652         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
26653         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26654         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
26655         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
26656         * sysdeps/microblaze/bits/atomic.h: Move to ...
26657         * sysdeps/microblaze/atomic-machine.h: ...here.
26658         * sysdeps/mips/bits/atomic.h: Move to ...
26659         * sysdeps/mips/atomic-machine.h: ...here.
26660         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
26661         * sysdeps/powerpc/bits/atomic.h: Move to ...
26662         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
26663         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
26664         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
26665         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
26666         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
26667         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
26668         <atomic-machine.h> instead of <bits/atomic.h>.
26669         * sysdeps/s390/bits/atomic.h: Move to ...
26670         * sysdeps/s390/atomic-machine.h: ...here.
26671         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
26672         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
26673         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26674         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
26675         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
26676         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
26677         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
26678         * sysdeps/tile/bits/atomic.h: Move to ...
26679         * sysdeps/tile/atomic-machine.h: ...here.
26680         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
26681         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
26682         <sysdeps/tile/atomic-machine.h> instead of
26683         <sysdeps/tile/bits/atomic.h>.
26684         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26685         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
26686         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
26687         <sysdeps/tile/atomic-machine.h> instead of
26688         <sysdeps/tile/bits/atomic.h>.
26689         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26690         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
26691         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
26692         <sysdeps/arm/atomic-machine.h> instead of
26693         <sysdeps/arm/bits/atomic.h>.
26694         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
26695         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
26696         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26697         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
26698         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
26699         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26700         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
26701         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
26702         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
26703         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
26704         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
26705         * sysdeps/x86_64/bits/atomic.h: Move to ...
26706         * sysdeps/x86_64/atomic-machine.h: ...here.
26707         * include/atomic.h: Include <atomic-machine.h> instead of
26708         <bits/atomic.h>.
26710         * sysdeps/mips/mips32/libm-test-ulps: Update.
26711         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26713         [BZ #18952]
26714         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
26715         not convert non-integer negative arguments to int to determine the
26716         value of signgam.
26717         * math/auto-libm-test-in: Add more tests of lgamma.
26718         * math/auto-libm-test-out: Regenerated.
26720         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
26721         cosh, csqrt, erfc, expm1 and lgamma.
26722         * math/auto-libm-test-out: Regenerated.
26723         * sysdeps/i386/fpu/libm-test-ulps: Update.
26724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26726 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
26728         [BZ #2542]
26729         [BZ #2543]
26730         [BZ #2558]
26731         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
26732         __lgamma_neg for arguments from -28.0 to -2.0.
26733         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
26734         __lgamma_negf for arguments from -15.0 to -2.0.
26735         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26736         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
26737         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
26738         Call __lgamma_negl for arguments from -33.0 to -2.0.
26739         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
26740         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
26741         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
26742         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
26743         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
26744         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
26745         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
26746         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
26747         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
26748         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
26749         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
26750         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
26751         (__lgamma_neg): Likewise.
26752         (__lgamma_negl): Likewise.
26753         (__lgamma_product): Likewise.
26754         (__lgamma_productl): Likewise.
26755         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
26756         * math/auto-libm-test-in: Add more tests of lgamma.
26757         * math/auto-libm-test-out: Regenerated.
26758         * sysdeps/i386/fpu/libm-test-ulps: Update.
26759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26761 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
26763         [BZ #18675]
26764         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
26766 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
26768         [BZ #14912]
26769         * bits/libc-lock.h: Move to ...
26770         * sysdeps/generic/libc-lock.h: ...here.
26771         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26772         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
26773         * sysdeps/mach/hurd/libc-lock.h: ...here.
26774         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26775         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
26776         * sysdeps/mach/bits/libc-lock.h: Move to ...
26777         * sysdeps/mach/libc-lock.h: ...here.
26778         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26779         * sysdeps/nptl/bits/libc-lock.h: Move to ...
26780         * sysdeps/nptl/libc-lock.h: ...here.
26781         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26782         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
26783         * sysdeps/nptl/libc-lockP.h: ...here.
26784         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
26785         * crypt/crypt_util.c: Include <libc-lock.h> instead of
26786         <bits/libc-lock.h>.
26787         * dirent/scandir-tail.c: Likewise.
26788         * dlfcn/dlerror.c: Likewise.
26789         * elf/dl-close.c: Likewise.
26790         * elf/dl-iteratephdr.c: Likewise.
26791         * elf/dl-lookup.c: Likewise.
26792         * elf/dl-open.c: Likewise.
26793         * elf/dl-support.c: Likewise.
26794         * elf/dl-writev.h: Likewise.
26795         * elf/rtld.c: Likewise.
26796         * grp/fgetgrent.c: Likewise.
26797         * gshadow/fgetsgent.c: Likewise.
26798         * gshadow/sgetsgent.c: Likewise.
26799         * iconv/gconv_conf.c: Likewise.
26800         * iconv/gconv_db.c: Likewise.
26801         * iconv/gconv_dl.c: Likewise.
26802         * iconv/gconv_int.h: Likewise.
26803         * iconv/gconv_trans.c: Likewise.
26804         * include/link.h: Likewise.
26805         * inet/getnameinfo.c: Likewise.
26806         * inet/getnetgrent.c: Likewise.
26807         * inet/getnetgrent_r.c: Likewise.
26808         * intl/bindtextdom.c: Likewise.
26809         * intl/dcigettext.c: Likewise.
26810         * intl/finddomain.c: Likewise.
26811         * intl/gettextP.h: Likewise.
26812         * intl/loadmsgcat.c: Likewise.
26813         * intl/localealias.c: Likewise.
26814         * intl/textdomain.c: Likewise.
26815         * libidn/idn-stub.c: Likewise.
26816         * libio/libioP.h: Likewise.
26817         * locale/duplocale.c: Likewise.
26818         * locale/freelocale.c: Likewise.
26819         * locale/newlocale.c: Likewise.
26820         * locale/setlocale.c: Likewise.
26821         * login/getutent_r.c: Likewise.
26822         * login/getutid_r.c: Likewise.
26823         * login/getutline_r.c: Likewise.
26824         * login/utmp-private.h: Likewise.
26825         * login/utmpname.c: Likewise.
26826         * malloc/mtrace.c: Likewise.
26827         * misc/efgcvt.c: Likewise.
26828         * misc/error.c: Likewise.
26829         * misc/fstab.c: Likewise.
26830         * misc/getpass.c: Likewise.
26831         * misc/mntent.c: Likewise.
26832         * misc/syslog.c: Likewise.
26833         * nis/nis_call.c: Likewise.
26834         * nis/nis_callback.c: Likewise.
26835         * nis/nss-default.c: Likewise.
26836         * nis/nss_compat/compat-grp.c: Likewise.
26837         * nis/nss_compat/compat-initgroups.c: Likewise.
26838         * nis/nss_compat/compat-pwd.c: Likewise.
26839         * nis/nss_compat/compat-spwd.c: Likewise.
26840         * nis/nss_nis/nis-alias.c: Likewise.
26841         * nis/nss_nis/nis-ethers.c: Likewise.
26842         * nis/nss_nis/nis-grp.c: Likewise.
26843         * nis/nss_nis/nis-hosts.c: Likewise.
26844         * nis/nss_nis/nis-network.c: Likewise.
26845         * nis/nss_nis/nis-proto.c: Likewise.
26846         * nis/nss_nis/nis-pwd.c: Likewise.
26847         * nis/nss_nis/nis-rpc.c: Likewise.
26848         * nis/nss_nis/nis-service.c: Likewise.
26849         * nis/nss_nis/nis-spwd.c: Likewise.
26850         * nis/nss_nisplus/nisplus-alias.c: Likewise.
26851         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
26852         * nis/nss_nisplus/nisplus-grp.c: Likewise.
26853         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
26854         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
26855         * nis/nss_nisplus/nisplus-network.c: Likewise.
26856         * nis/nss_nisplus/nisplus-proto.c: Likewise.
26857         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
26858         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
26859         * nis/nss_nisplus/nisplus-service.c: Likewise.
26860         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
26861         * nis/ypclnt.c: Likewise.
26862         * nptl/libc_pthread_init.c: Likewise.
26863         * nss/getXXbyYY.c: Likewise.
26864         * nss/getXXent.c: Likewise.
26865         * nss/getXXent_r.c: Likewise.
26866         * nss/nss_db/db-XXX.c: Likewise.
26867         * nss/nss_db/db-netgrp.c: Likewise.
26868         * nss/nss_db/nss_db.h: Likewise.
26869         * nss/nss_files/files-XXX.c: Likewise.
26870         * nss/nss_files/files-alias.c: Likewise.
26871         * nss/nsswitch.c: Likewise.
26872         * posix/regex_internal.h: Likewise.
26873         * posix/wordexp.c: Likewise.
26874         * pwd/fgetpwent.c: Likewise.
26875         * resolv/res_hconf.c: Likewise.
26876         * resolv/res_libc.c: Likewise.
26877         * shadow/fgetspent.c: Likewise.
26878         * shadow/lckpwdf.c: Likewise.
26879         * shadow/sgetspent.c: Likewise.
26880         * socket/opensock.c: Likewise.
26881         * stdio-common/reg-modifier.c: Likewise.
26882         * stdio-common/reg-printf.c: Likewise.
26883         * stdio-common/reg-type.c: Likewise.
26884         * stdio-common/vfprintf.c: Likewise.
26885         * stdio-common/vfscanf.c: Likewise.
26886         * stdlib/abort.c: Likewise.
26887         * stdlib/cxa_atexit.c: Likewise.
26888         * stdlib/fmtmsg.c: Likewise.
26889         * stdlib/random.c: Likewise.
26890         * stdlib/setenv.c: Likewise.
26891         * string/strsignal.c: Likewise.
26892         * sunrpc/auth_none.c: Likewise.
26893         * sunrpc/bindrsvprt.c: Likewise.
26894         * sunrpc/create_xid.c: Likewise.
26895         * sunrpc/key_call.c: Likewise.
26896         * sunrpc/rpc_thread.c: Likewise.
26897         * sysdeps/arm/backtrace.c: Likewise.
26898         * sysdeps/generic/ldsodefs.h: Likewise.
26899         * sysdeps/generic/stdio-lock.h: Likewise.
26900         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
26901         * sysdeps/i386/backtrace.c: Likewise.
26902         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26903         * sysdeps/m68k/backtrace.c: Likewise.
26904         * sysdeps/mach/hurd/cthreads.c: Likewise.
26905         * sysdeps/mach/hurd/dirstream.h: Likewise.
26906         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26907         * sysdeps/nptl/malloc-machine.h: Likewise.
26908         * sysdeps/nptl/stdio-lock.h: Likewise.
26909         * sysdeps/posix/dirstream.h: Likewise.
26910         * sysdeps/posix/getaddrinfo.c: Likewise.
26911         * sysdeps/posix/system.c: Likewise.
26912         * sysdeps/pthread/aio_suspend.c: Likewise.
26913         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26914         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26915         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26916         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26917         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
26918         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
26919         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
26920         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26921         * sysdeps/unix/sysv/linux/system.c: Likewise.
26922         * sysdeps/x86_64/backtrace.c: Likewise.
26923         * time/alt_digit.c: Likewise.
26924         * time/era.c: Likewise.
26925         * time/tzset.c: Likewise.
26926         * wcsmbs/wcsmbsload.c: Likewise.
26927         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
26928         instead of <bits/libc-lock.h> in comment.
26930 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
26932         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
26933         Only use .set mips2 if the current ISA is below mips2.
26934         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
26935         Likewise.
26936         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
26937         mips32r2 if the current ISA is below mips32r2.
26938         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
26939         (TLS_IE): Updated to use the TLD_RDHWR macro.
26940         (TLS_LE): Likewise.
26941         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
26942         __ASSEMBLER__ condition.
26944 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26946         Fix parallel build of before-compile targets.
26948         * sysdeps/mach/Makefile ($(patsubst
26949         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
26950         mach-before-compile target.
26951         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26952         io fs process)): Move rule to dedicated hurd-before-compile target.
26954 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26956         Fix rules generating headers in hurd/ and mach/ when initial make call
26957         has subdir= explicitly set.
26959         * sysdeps/mach/Makefile ($(patsubst
26960         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
26961         calling $(MAKE).
26962         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26963         io fs process)): Force subdir to hurd when calling $(MAKE).
26964         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
26965         subdir to mach when calling $(MAKE).
26967 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
26969         Check sysheaders when looking for Mach and Hurd headers
26971         * sysdeps/mach/configure.ac: Add sysheaders check.
26972         * sysdeps/mach/configure: Regenerate.
26973         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
26974         * sysdeps/mach/hurd/configure: Regenerate.
26976 2015-09-04  Roland McGrath  <roland@hack.frob.com>
26978         [BZ #18921]
26979         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
26980         Fix inverted sense of test of 'o_directory_works' value.
26981         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
26982         Bernhard Voelker <mail@bernhard-voelker.de>.
26984 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26986         [BZ #14912]
26987         * bits/linkmap.h: Move to ...
26988         * sysdeps/generic/linkmap.h: ...here.
26989         * sysdeps/aarch64/bits/linkmap.h: Move to ...
26990         * sysdeps/aarch64/linkmap.h: ...here.
26991         * sysdeps/arm/bits/linkmap.h: Move to ...
26992         * sysdeps/arm/linkmap.h: ...here.
26993         * sysdeps/hppa/bits/linkmap.h: Move to ...
26994         * sysdeps/hppa/linkmap.h: ...here.
26995         * sysdeps/ia64/bits/linkmap.h: Move to ...
26996         * sysdeps/ia64/linkmap.h: ...here.
26997         * sysdeps/mips/bits/linkmap.h: Move to ...
26998         * sysdeps/mips/linkmap.h: ...here.
26999         * sysdeps/s390/bits/linkmap.h: Move to ...
27000         * sysdeps/s390/linkmap.h: ...here.
27001         * sysdeps/sh/bits/linkmap.h: Move to ...
27002         * sysdeps/sh/linkmap.h: ...here.
27003         * sysdeps/x86/bits/linkmap.h: Move to ...
27004         * sysdeps/x86/linkmap.h: ...here.
27005         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
27007 2015-09-04  Andreas Schwab  <schwab@suse.de>
27009         [BZ #18635]
27010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
27011         (__makecontext): Terminate FDE before return label.
27012         (__novec_makecontext): Likewise.
27014 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27016         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
27017         first member of struct sv in syscall macro.
27019 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27021         [BZ #14912]
27022         * bits/stdio-lock.h: Move to ...
27023         * sysdeps/generic/stdio-lock.h: ...here.
27024         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27025         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
27026         * sysdeps/nptl/stdio-lock.h: ...here.
27027         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27028         * include/libio.h: Include <stdio-lock.h> instead of
27029         <bits/stdio-lock.h>.
27030         * sysdeps/nptl/fork.c: Likewise.
27031         * sysdeps/pthread/flockfile.c: Likewise.
27032         * sysdeps/pthread/ftrylockfile.c: Likewise.
27033         * sysdeps/pthread/funlockfile.c: Likewise.
27035         [BZ #14912]
27036         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
27037         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
27038         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
27039         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
27040         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
27041         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27042         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
27044 2015-09-03  Roland McGrath  <roland@hack.frob.com>
27046         * elf/Makefile (test-xfail-tst-protected1a): New variable.
27047         (test-xfail-tst-protected1b): New variable.
27049 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
27051         [BZ #14912]
27052         * bits/libc-tsd.h: Move to ...
27053         * sysdeps/generic/libc-tsd.h: ...here.
27054         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
27055         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
27056         * sysdeps/mach/hurd/libc-tsd.h: ...here.
27057         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
27058         * include/ctype.h: Include <libc-tsd.h> instead of
27059         <bits/libc-tsd.h>.
27060         * include/rpc/rpc.h: Likewise.
27061         * locale/localeinfo.h: Likewise.
27062         * sunrpc/rpc_thread.c: Likewise.
27063         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27064         * sysdeps/nptl/malloc-machine.h: Likewise.
27066         * Makefile (headers): Remove bits/libc-lock.h.
27067         * libio/Makefile (headers): Remove bits/stdio-lock.h.
27069         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
27070         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
27071         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
27072         <bits/stdio-lock.h>.
27073         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
27074         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
27076 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27078         [BZ #18757]
27079         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
27080         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
27081         BZ #18757.
27083 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27085         * malloc/mtrace.pl: Filter out NULL entries.
27087 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
27089         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
27090         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
27091         macro.
27093         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
27094         (TCP_CC_INFO): Likewise.
27095         (TCP_SAVE_SYN): Likewise.
27096         (TCP_SAVED_SYN): Likewise.
27098 2015-08-31  Brett Neumeier <brett@neumeier.us>
27100         [BZ #18870]
27101         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
27103 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
27105         [BZ #18873]
27106         Fix broken overflow check in posix_fallocate
27107         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
27108         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27109         Fix parenthesization typo.
27111 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
27113         [BZ #18887]
27114         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
27115         tst-mntent-blank-passno.
27116         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
27117         * misc/tst-mntent-blank-corrupt.c: New test.
27118         * misc/tst-mntent-blank-passno.c: New test ripped from ...
27119         * misc/tst-mntent.c (do_test): ... here.
27121 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
27123         [BZ #4404]
27124         * po/de.po: Fix SIGALRM typo.
27126 2015-08-28  James Perkins  <james@loowit.net>
27128         * time/tst-strptime2.c (tests): Replace short list of test
27129         strings for strptime %z specifier with code which exhaustively
27130         tests every combination of sign and 0 to 5 digits. Tests for
27131         rejection of invalid strings.
27133 2015-08-28  James Perkins  <james@loowit.net>
27135         [BZ #16141]
27136         * time/strptime_l.c (__strptime_internal): Fix %z minutes
27137         calculation, removing incorrect decimal time rounding, so that
27138         all minute values result in a valid seconds value.
27139         * time/strptime_l.c (__strptime_internal): Extend %z time zone
27140         offset range limits to UTC-99:59 through UTC+99:59 to parse
27141         current and historical use cases.
27142         * time/tst-strptime2.c (tests): Modify and add tests for the
27143         strptime %z input field descriptor, specifically conversion of
27144         minutes to seconds and validating an offset range of -9959 to
27145         +9959.
27147 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27148             Dmitry V. Levin  <ldv@altlinux.org>
27150         [BZ #18877]
27151         * posix/Makefile (tests): Add tst-mmap-offset.
27152         * posix/tst-mmap.c: New file.
27153         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
27154         offset calculation for negative values.
27156 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27158         * sysdeps/i386/init-arch.h: New file.
27159         * sysdeps/i386/i586/init-arch.h: Likewise.
27160         * sysdeps/i386/i686/init-arch.h: Likewise.
27161         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
27162         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
27163         * sysdeps/x86/cpu-features.h (bit_I586): New.
27164         (bit_I686): Likewise.
27165         (bit_CX8): Likewise.
27166         (bit_CMOV): Likewise.
27167         (index_CX8): Likewise.
27168         (index_CMOV): Likewise.
27169         (index_I586): Likewise.
27170         (index_I686): Likewise.
27171         (reg_CX8): Likewise.
27172         (reg_CMOV): Likewise.
27173         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
27174         available at compile-time.
27175         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
27176         available at compile-time.
27177         * sysdeps/x86/init-arch.h (USE_I586): New macro.
27178         (USE_I686): Likewise.
27180 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27182         * sysdeps/i386/bcopy.S: New file.
27183         * sysdeps/i386/bzero.S: Likewise.
27184         * sysdeps/i386/memcpy.S: Likewise.
27185         * sysdeps/i386/memmove.S: Likewise.
27186         * sysdeps/i386/mempcpy.S: Likewise.
27187         * sysdeps/i386/memset.S: Likewise.
27188         * sysdeps/i386/bzero.c: Removed.
27189         * sysdeps/i386/memset.c: Likewise.
27190         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
27191         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
27192         * sysdeps/i386/i586/memset_chk.S: Likewise.
27193         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
27194         * sysdeps/i386/memcpy_chk.S: Here.
27195         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
27196         * sysdeps/i386/memmove_chk.S: Here.
27197         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
27198         * sysdeps/i386/mempcpy_chk.S: Likewise.
27199         * sysdeps/i386/i686/memset_chk.S: Moved to ...
27200         * sysdeps/i386/memset_chk.S: Likewise.
27202 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
27204         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
27205         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
27206         file, move DIAG_POP_NEEDS_COMMENT to end of file.
27207         * soft-fp/fmadf4.c: Ditto.
27208         * soft-fp/fmatf4.c: Ditto.
27210 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27212         * sysdeps/i386/i586/Implies: Removed.
27213         * sysdeps/i386/i686/Implies: Likewise.
27215 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27217         * sysdeps/i386/i486/strlen.S: Moved to ...
27218         * sysdeps/i386/strlen.S: Here.
27220 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27222         * sysdeps/i386/i486/strcat.S: Moved to ...
27223         * sysdeps/i386/strcat.S: Here.
27225 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27227         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
27228         * sysdeps/i386/pthread_spin_trylock.S: Here.
27229         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
27230         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
27232 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27234         * sysdeps/i386/i486/string-inlines.c: Moved to ...
27235         * sysdeps/i386/string-inlines.c: Here.
27237 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27239         * sysdeps/i386/i486/htonl.S: Moved ...
27240         * sysdeps/i386/htonl.S: here.
27242 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27244         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
27245         * sysdeps/i386/bits/atomic.h: Here.
27247 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27249         * sysdeps/i386/i486/Versions: Removed.
27251 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27253         [BZ #2898]
27254         * misc/mktemp.c: Add mkdtemp to the link_warning message.
27255         Based on patch by Aurelien Jarno.
27257 2015-08-26  Stan Shebs  <stanshebs@google.com>
27259         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
27260         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27262 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27264         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
27265         * sysdeps/powerpc/dl-procinfo.c:
27266         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
27267         feature so it shows when LD_SHOW_AUXV=1.
27269 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27271         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27272         (__arch_compare_and_exchange_val_32_acq): Remove and use common
27273         definition.  ISA 2.07B no longer requires full sync.
27275 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
27277         [BZ #18863]
27278         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
27279         (si_call_addr): Define.
27280         (si_syscall): Define.
27281         (si_arch): Define.
27283 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27285         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
27286         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
27287         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
27288         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27289         (__memset_zero_constant_len_parameter): New.
27290         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
27291         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27292         (__memset_zero_constant_len_parameter): Don't define if
27293         __memset_chk or USE_AS_BZERO are defined.
27295         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
27296         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
27297         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
27299         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
27300         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
27301         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
27302         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
27303         comments.
27304         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
27305         -mno-mmx for $(all-rtld-routines).
27306         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
27307         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
27308         i386.
27310 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27312         * sysdeps/generic/unwind.h
27313         (_Unwind_Word): Use __mode__(__unwind_word__)
27314         instead of __mode__(__word__).
27315         (_Unwind_Sword): Likewise.
27317         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27318         (MAX_NEEDED_INPUT): New define.
27319         (MAX_NEEDED_OUTPUT): New define.
27321         * NEWS: New item for IBM z13 string optimizations.
27323         * sysdeps/s390/multiarch/memrchr-c.c: New File.
27324         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
27325         * sysdeps/s390/multiarch/memrchr.c: Likewise.
27326         * sysdeps/s390/multiarch/Makefile
27327         (sysdep_routines): Add memrchr functions.
27328         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27329         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
27331         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
27332         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
27333         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
27334         * sysdeps/s390/multiarch/Makefile
27335         (sysdep_routines): Add wmemcmp functions.
27336         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27337         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
27338         * benchtests/bench-wmemcmp.c: New File.
27339         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
27341         * sysdeps/s390/multiarch/wmemset-c.c: New File.
27342         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
27343         * sysdeps/s390/multiarch/wmemset.c: Likewise.
27344         * sysdeps/s390/multiarch/Makefile
27345         (sysdep_routines): Add wmemset functions.
27346         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27347         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
27348         * wcsmbs/wmemset.c: Use WMEMSET if defined.
27349         * string/test-memset.c: Add wmemset support.
27350         * wcsmbs/test-wmemset.c: New File.
27351         * wcsmbs/Makefile (strop-tests): Add wmemset.
27352         * benchtests/bench-memset.c: Add wmemset support.
27353         * benchtests/bench-wmemset.c: New File.
27354         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
27356         * sysdeps/s390/multiarch/memccpy-c.c: New File.
27357         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
27358         * sysdeps/s390/multiarch/memccpy.c: Likewise.
27359         * sysdeps/s390/multiarch/Makefile
27360         (sysdep_routines): Add memccpy functions.
27361         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27362         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
27363         * string/memccpy.c: Use MEMCCPY if defined.
27365         * sysdeps/s390/multiarch/memchr-vx.S: New File.
27366         * sysdeps/s390/multiarch/memchr.c: Likewise.
27367         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
27368         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
27369         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
27370         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
27371         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
27372         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
27373         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
27374         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
27375         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
27376         and rawmemchr functions.
27377         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27378         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
27379         and wmemchr.
27380         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
27381         * string/test-memchr.c: Add wmemchr support.
27382         * wcsmbs/test-wmemchr.c: New File.
27383         * wcsmbs/Makefile (strop-tests): Add wmemchr.
27384         * benchtests/bench-memchr.c: Add wmemchr support.
27385         * benchtests/bench-wmemchr.c: New File.
27386         * benchtests/Makefile (wcsmbs-bench): wmemchr.
27388         * sysdeps/s390/multiarch/strcspn-c.c: New File.
27389         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
27390         * sysdeps/s390/multiarch/strcspn.c: Likewise.
27391         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
27392         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
27393         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
27394         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
27395         wcscspn functions.
27396         * sysdeps/s390/multiarch/ifunc-impl-list.c
27397         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
27398         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
27399         * string/test-strcspn.c: Add wcscspn support.
27400         * wcsmbs/test-wcscspn.c: New File.
27401         * wcsmbs/Makefile (strop-tests): Add wcscspn.
27402         * benchtests/bench-strcspn.c: Add wcscspn support.
27403         * benchtests/bench-wcscspn.c: New File.
27404         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
27406         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
27407         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
27408         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
27409         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
27410         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
27411         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
27412         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
27413         wcspbrk functions.
27414         * sysdeps/s390/multiarch/ifunc-impl-list.c
27415         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
27416         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
27417         * string/test-strpbrk.c: Add wcspbrk support.
27418         * wcsmbs/test-wcspbrk.c: New File.
27419         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
27420         * benchtests/bench-strpbrk.c: Add wcspbrk support.
27421         * benchtests/bench-wcspbrk.c: New File.
27422         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
27424         * sysdeps/s390/multiarch/strspn-c.c: New File.
27425         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
27426         * sysdeps/s390/multiarch/strspn.c: Likewise.
27427         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
27428         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
27429         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
27430         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
27431         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
27432         wcsspn functions.
27433         * sysdeps/s390/multiarch/ifunc-impl-list.c
27434         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
27435         * string/test-strspn.c: Add wcsspn support.
27436         * wcsmbs/test-wcsspn.c: New File.
27437         * wcsmbs/Makefile (strop-tests): Add wcsspn.
27438         * benchtests/bench-strspn.c: Add wcsspn support.
27439         * benchtests/bench-wcsspn.c: New File.
27440         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
27442         * sysdeps/s390/multiarch/strrchr-c.c: New File.
27443         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
27444         * sysdeps/s390/multiarch/strrchr.c: Likewise.
27445         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
27446         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
27447         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
27448         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
27449         wcsrchr functions.
27450         * sysdeps/s390/multiarch/ifunc-impl-list.c
27451         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
27452         * benchtests/bench-wcsrchr.c: New File.
27453         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
27455         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
27456         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
27457         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
27458         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
27459         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
27460         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
27461         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
27462         wcschrnul functions.
27463         * sysdeps/s390/multiarch/ifunc-impl-list.c
27464         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
27465         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
27466         * string/test-strchr.c: Add wcschrnul support.
27467         * wcsmbs/test-wcschrnul.c: New File.
27468         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
27469         * benchtests/bench-strchr.c: Add wcschrnul support.
27470         * benchtests/bench-wcschrnul.c: New File.
27471         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
27473         * sysdeps/s390/multiarch/strchr-c.c: New File.
27474         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
27475         * sysdeps/s390/multiarch/strchr.c: Likewise.
27476         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
27477         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
27478         * sysdeps/s390/multiarch/wcschr.c: Likewise.
27479         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
27480         wcschr functions.
27481         * sysdeps/s390/multiarch/ifunc-impl-list.c
27482         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
27483         * string/strchr.c (STRCHR): Define and use macro.
27484         * benchtests/bench-wcschr.c: New File.
27485         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
27487         * sysdeps/s390/multiarch/strncmp-c.c: New File.
27488         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
27489         * sysdeps/s390/multiarch/strncmp.c: Likewise.
27490         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
27491         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
27492         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
27493         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
27494         wcsncmp functions.
27495         * sysdeps/s390/multiarch/ifunc-impl-list.c
27496         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
27497         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
27498         * benchtests/bench-strncmp.c: Add wcsncmp support.
27499         * benchtests/bench-wcsncmp.c: New File.
27500         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
27502         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
27503         * sysdeps/s390/multiarch/strcmp.c: Likewise.
27504         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
27505         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
27506         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
27507         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
27508         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
27509         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
27510         wcscmp functions.
27511         * sysdeps/s390/multiarch/ifunc-impl-list.c
27512         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
27513         * string/strcmp.c (STRCMP): Define and use macro.
27514         * benchtests/bench-wcscmp.c: New File.
27515         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
27516         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
27517         instead of _HAVE_STRING_ARCH_memchr.
27519         * sysdeps/s390/multiarch/strncat-c.c: New File.
27520         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
27521         * sysdeps/s390/multiarch/strncat.c: Likewise.
27522         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
27523         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
27524         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
27525         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
27526         wcsncat functions.
27527         * sysdeps/s390/multiarch/ifunc-impl-list.c
27528         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
27529         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
27530         * string/test-strncat.c: Add wcsncat support.
27531         * wcsmbs/test-wcsncat.c: New File.
27532         * wcsmbs/Makefile (strop-tests): Add wcsncat.
27533         * benchtests/bench-strncat.c: Add wcsncat support.
27534         * benchtests/bench-wcsncat.c: New File.
27535         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
27537         * sysdeps/s390/multiarch/strcat-c.c: New File.
27538         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
27539         * sysdeps/s390/multiarch/strcat.c: Likewise.
27540         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
27541         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
27542         * sysdeps/s390/multiarch/wcscat.c: Likewise.
27543         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
27544         wcscat functions.
27545         * sysdeps/s390/multiarch/ifunc-impl-list.c
27546         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
27547         * string/strcat.c (STRCAT): Define and use macro.
27548         * wcsmbs/wcscat.c: Use WCSCAT if defined.
27549         * string/test-strcat.c: Add wcscat support.
27550         * wcsmbs/test-wcscat.c: New File.
27551         * wcsmbs/Makefile (strop-tests): Add wcscat.
27552         * benchtests/bench-strcat.c: Add wcscat support.
27553         * benchtests/bench-wcscat.c: New File.
27554         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
27556         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
27557         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
27558         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
27559         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
27560         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
27561         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
27562         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
27563         wcpncpy functions.
27564         * sysdeps/s390/multiarch/ifunc-impl-list.c
27565         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
27566         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
27567         * string/test-stpncpy.c: Add wcpncpy support.
27568         * wcsmbs/test-wcpncpy.c: New File.
27569         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
27570         * benchtests/bench-stpncpy.c: Add wcpncpy support.
27571         * benchtests/bench-wcpncpy.c: New File.
27572         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
27574         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
27575         * sysdeps/s390/multiarch/strncpy.c: Likewise.
27576         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
27577         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
27578         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
27579         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
27580         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
27581         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
27582         wcsncpy functions.
27583         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
27584         * sysdeps/s390/multiarch/ifunc-impl-list.c
27585         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
27586         * string/test-strncpy.c: Add wcsncpy support.
27587         * wcsmbs/test-wcsncpy.c: New File.
27588         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
27589         * benchtests/bench-strncpy.c: Add wcsncpy support.
27590         * benchtests/bench-wcsncpy.c: New File.
27591         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
27593         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
27594         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
27595         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
27596         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
27597         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
27598         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
27599         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
27600         wcpcpy functions.
27601         * string/stpcpy.c: Use STPCPY if defined.
27602         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
27603         * sysdeps/s390/multiarch/ifunc-impl-list.c
27604         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
27605         * string/test-stpcpy.c: Add wcpcpy support.
27606         * wcsmbs/test-wcpcpy.c: New File.
27607         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
27608         * benchtests/bench-stpcpy.c: Add wcpcpy support.
27609         * benchtests/bench-wcpcpy.c: New File.
27610         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
27612         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
27613         * sysdeps/s390/multiarch/strcpy.c: Likewise.
27614         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
27615         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
27616         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
27617         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
27618         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
27619         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
27620         wcscpy functions.
27621         * sysdeps/s390/multiarch/ifunc-impl-list.c
27622         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
27623         * benchtests/bench-wcscpy.c: New File.
27624         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
27626         * sysdeps/s390/multiarch/strnlen-c.c: New File.
27627         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
27628         * sysdeps/s390/multiarch/strnlen.c: Likewise.
27629         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
27630         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
27631         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
27632         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
27633         wcsnlen functions.
27634         * sysdeps/s390/multiarch/ifunc-impl-list.c
27635         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
27636         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
27637         * string/test-strnlen.c: Add wcsnlen support.
27638         * wcsmbs/test-wcsnlen.c: New File.
27639         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
27640         * benchtests/bench-strnlen.c: Add wcsnlen support.
27641         * benchtests/bench-wcsnlen.c: New File.
27642         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
27644         * sysdeps/s390/multiarch/Makefile: New File.
27645         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
27646         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
27647         * sysdeps/s390/multiarch/strlen.c: Likewise.
27648         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
27649         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
27650         * sysdeps/s390/multiarch/wcslen.c: Likewise.
27651         * string/strlen.c (STRLEN): Define and use macro.
27652         * sysdeps/s390/multiarch/ifunc-impl-list.c
27653         (IFUNC_VX_IMPL): New macro function.
27654         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
27655         * benchtests/Makefile (wcsmbs-bench): New variable.
27656         (string-bench-all): Added wcsmbs-bench.
27657         * benchtests/bench-wcslen.c: New File.
27659         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
27660         s390_vx_libc_ifunc2): New macro function.
27662         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
27663         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
27664         assembler support.
27665         * sysdeps/s390/configure: Regenerated.
27667         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
27668         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
27670         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
27671         * sysdeps/s390/dl-procinfo.h: Add vector capability.
27672         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
27674         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
27675         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
27676         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
27677         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
27678         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
27679         (memcmp, bcmp): Use __memcmp_default as alias source.
27680         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
27681         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
27682         Rename to __memcmp_default.
27683         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
27684         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
27685         (memcpy): Use __memcpy_default as alias source.
27686         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
27687         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
27688         Rename to __memcpy_default.
27689         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
27690         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
27691         (memset): Use __memset_default as alias source.
27692         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
27693         * sysdeps/s390/s390-32/memset.S (__memset_g5):
27694         Rename to __memset_default.
27695         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
27696         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
27697         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
27698         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
27699         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
27700         (memcmp, bcmp): Use __memcmp_default as alias source.
27701         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
27702         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
27703         Rename to __memcmp_default.
27704         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
27705         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
27706         (memcpy): Use __memcpy_default as alias source.
27707         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
27708         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
27709         Rename to __memcpy_default.
27710         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
27711         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
27712         (memset): Use __memset_default as alias source.
27713         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
27714         * sysdeps/s390/s390-64/memset.S (__memset_z900):
27715         Rename to __memset_default.
27716         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
27717         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
27719         [BZ #18610]
27720         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
27721         __ieee_instruction_pointer to __unused.
27722         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
27723         __ieee_instruction_pointer.
27724         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
27725         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
27726         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27727         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27728         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
27729         Mark dxc-field as reserved.
27731 2015-08-25  Roland McGrath  <roland@hack.frob.com>
27733         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
27734         if the weak reference is not null.
27736 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27738         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
27740         [BZ #11214]
27741         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
27743 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27745         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
27746         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
27747         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
27748         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
27749         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
27750         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
27751         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
27752         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
27753         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
27754         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
27755         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
27756         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
27757         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
27758         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
27759         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
27760         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
27761         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
27762         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
27764 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27766         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
27767         register other than r0 for tabort, it has special meaning.
27768         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
27769         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
27770         transaction before starting syscall.
27772 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27774         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
27776 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27778         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
27780         * sysdeps/x86_64/rtld-memcmp.c: Removed.
27781         * sysdeps/x86_64/rtld-memset.S: Likewise.
27782         * sysdeps/x86_64/rtld-strchr.S: Likewise.
27783         * sysdeps/x86_64/rtld-strlen.S: Likewise.
27784         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
27785         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27787         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
27789 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
27791         * debug/strcpy_chk.c: Improve performance.
27792         * debug/stpcpy_chk.c: Likewise.
27793         * sysdeps/x86_64/strcpy_chk.S: Remove.
27794         * sysdeps/x86_64/stpcpy_chk.S: Remove.
27796         [BZ #18240]
27797         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
27799 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27801         [BZ #15128]
27802         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
27803         ifuncmain8.
27804         (modules-names): Add ifuncmod8.
27805         ($(objpfx)ifuncmain8): New rule.
27806         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
27807         <cpuid.h>.
27808         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
27809         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
27810         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
27811         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
27812         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
27813         * sysdeps/x86_64/dl-trampoline.h: Likewise.
27814         * sysdeps/x86_64/ifuncmain8.c: New file.
27815         * sysdeps/x86_64/ifuncmod8.c: Likewise.
27816         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
27817         Removed.
27818         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
27819         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
27820         Change rtld_savespace_sse to __glibc_unused2.
27821         (RTLD_CHECK_FOREIGN_CALL): Removed.
27822         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
27823         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
27824         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
27826 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27828         * sysdeps/aarch64/bzero.S (__bzero): Remove.
27830 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27832         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
27833         Unconditionally set __fpcr to avoid uninialized warning.
27834         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
27836 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27838         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
27839         is corrupt.
27841         * malloc/arena.c (arena_get2): Drop unused argument.
27842         (arena_lock): Adjust.
27843         (arena_get_retry): Likewise.
27845 2015-08-24  Andreas Schwab  <schwab@suse.de>
27847         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
27848         Don't define.
27849         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
27850         (__ASSUME_IPC64): Don't undef.
27851         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
27852         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27853         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27854         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
27855         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
27856         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
27857         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
27858         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
27859         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
27860         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
27861         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
27862         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
27863         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
27864         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
27865         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
27866         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
27867         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
27868         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
27869         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
27870         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
27871         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
27873 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
27875         * manual/Makefile (install): Only build manual when perl is available.
27877 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27879         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
27880         '#undef memcpy' by '#undef memchr'.
27882 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27884         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
27885         memchr not point to the internal __GI_memchr implementation.
27887 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27889         * timezone/Makefile (CFLAGS-zdump.c): Remove
27890         -Wno-strict-prototypes.
27891         (CFLAGS-zic.c): Likewise.
27892         (CFLAGS-ialloc.c): Likewise.
27893         (CFLAGS-scheck.c): Likewise.
27895         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
27896         -Wno-error=undef.
27898 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27900         * i386/i686/multiarch/strcasestr-c.c: Removed.
27901         * x86_64/multiarch/strcasestr.c: Likewise.
27902         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27903         Remove strcasestr.
27905 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27907         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
27909         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
27910         variables for high and low parts before possibly modifying them.
27912 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27914         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
27915         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
27916         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
27917         of "multiarch/init-arch.h".
27918         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
27919         * sysdeps/x86/init-arch.h: This.
27921 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27923         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
27924         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
27926 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
27928         [BZ #17787]
27929         * manual/macros.texi: Add twoexp macro.
27930         * manual/filesys.texi: Fix exponents.
27931         * manual/llio.texi: Likewise.
27932         * manual/stdio.texi: Likewise.
27934 2015-08-20  Florian Weimer  <fweimer@redhat.com>
27936         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
27937         incorrect use.
27939 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27941         [BZ #18370]
27942         * math/s_csqrt.c (__csqrt): Force underflow exception for results
27943         whose real or imaginary part has small absolute value.
27944         * math/s_csqrtf.c (__csqrtf): Likewise.
27945         * math/s_csqrtl.c (__csqrtl): Likewise.
27946         * math/auto-libm-test-in: Add more tests of csqrt.
27947         * math/auto-libm-test-out: Regenerated.
27948         * sysdeps/i386/fpu/libm-test-ulps: Update.
27950 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27952         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
27953         __ppc_set_ppr_very_low): New functions.
27954         * manual/platform.texi: Add documentation about
27955         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
27957 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
27959         * string/stpncpy.c (stpncpy): Improve performance using
27960         __strnlen/memcpy/memset.
27962 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27964         [BZ #18796]
27965         * scripts/test-installation.pl: Don't add -lmvec to build options if
27966         libmvec wasn't built.
27968 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27970         [BZ #14341]
27971         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
27972         case when there is a gap between DT_REL and DT_JMPREL sections.
27973         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
27974         (LDFLAGS-tst-split-dynreloc): New.
27975         (tst-split-dynreloc-ENV): Likewise.
27976         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
27977         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
27979 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27981         [BZ #18822]
27982         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
27983         attribute_hidden.
27984         (__xstat64_conv): Likewise.
27985         (__xstat32_conv): Likewise.
27987 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27989         [BZ #18822]
27990         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
27991         Don't load %ebx when calling __setcontext.  Call __setcontext
27992         with HIDDEN_JUMPTARGET.
27993         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
27994         libc_hidden_def.
27996 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27998         * sysdeps/i386/i686/Makefile
27999         [$(subdir) == string] (sysdep_routines): Moved to ...
28000         * sysdeps/i386/Makefile: Here.
28001         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
28002         * sysdeps/i386/cacheinfo.c: Here.
28003         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
28004         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
28005         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
28006         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
28008 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28010         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
28011         __i586__ is defined.
28012         (HAS_I686): Defined to 1 if __i686__ is defined.
28014 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28016         * elf/Makefile [$(have-z-execstack) = yes]
28017         (CPPFLAGS-tst-execstack.c): New variable.
28019         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
28020         conditional to [defined UTMPX || _HAVE_UT_TYPE].
28021         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
28022         UTMPX || _HAVE_UT_TV].
28023         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
28024         UTMPX || _HAVE_UT_TV - 0].
28026 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
28028         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
28029         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
28030         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
28032 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28034         * sysdeps/powerpc/dl-procinfo.c:
28035         (_dl_powerpc_cap_flags): Added missing strings for some
28036         hwcap features.
28037         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
28039 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
28041         Port the 0x7efe...feff pattern to GCC 6.
28042         See Steve Ellcey's bug report in:
28043         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
28044         * string/memrchr.c (MEMRCHR):
28045         * string/rawmemchr.c (RAWMEMCHR):
28046         * string/strchr.c (strchr):
28047         * string/strchrnul.c (STRCHRNUL):
28048         Rewrite code to avoid issues with signed shift overflow.
28050 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
28052         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
28053         whether cpuid is available only if HAS_CPUID is 0.
28054         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
28055         (HAS_I586): Likewise.
28056         (HAS_I686): Likewise.
28058 2015-08-18  Zack Weinberg  <zackw@panix.com>
28060         * misc/Versions (libc): Add GLIBC_2.23.
28062 2015-08-18  Alan Modra  <amodra@gmail.com>
28064         [BZ #18421]
28065         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
28066         .Lp__global.
28067         (_start): Load %dp via .Lp__global.
28068         [!SHARED]: Use .section .rodata.
28070 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28072         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
28073         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
28075 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28077         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
28078         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
28080 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28082         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
28083         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
28085 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28087         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
28088         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
28090 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28092         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
28093         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
28095 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28097         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
28098         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
28100 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28102         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
28104 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28106         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
28107         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
28108         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28109         (__ASSUME_LWS_CAS): Delete.
28111 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28113         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
28114         * sysdeps/hppa/configure: Regenerated.
28115         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
28116         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
28117         * sysdeps/hppa/nptl/tls.h: Likewise.
28119 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
28121         [BZ #18823]
28122         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
28123         for scaling up small arguments.
28124         * math/s_csqrtf.c (__csqrtf): Likewise.
28125         * math/s_csqrtl.c (__csqrtl): Likewise.
28126         * math/auto-libm-test-in: Add more tests of csqrt.
28127         * math/auto-libm-test-out: Regenerated.
28129 2015-08-17  Andreas Schwab  <schwab@suse.de>
28131         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
28132         version set GLIBC_2.19.
28134 2015-08-16  Zack Weinberg  <zackw@panix.com>
28136         [BZ #18681]
28137         * misc/regexp.h: This interface is no longer supported.
28138         Remove all contents, leaving only an #error directive.
28139         * misc/regexp.c (loc1, loc2, locs, step, advance):
28140         Demote to compatibility symbols.
28142 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
28144         [BZ #18084]
28145         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
28146         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
28147         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28148         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
28149         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
28150         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
28151         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
28152         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
28153         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28155 2015-08-15  Zack Weinberg  <zackw@panix.com>
28157         [BZ #18795]
28158         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
28159         buffer length is known to be too large, not if it's known to be
28160         small enough.
28161         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
28162         overflow at runtime, involving a length parameter, twice: once
28163         with a compile-time constant length parameter, once without.
28165 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
28167         [BZ #18824]
28168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
28169         scaling x * y up instead of down.
28170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28171         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28172         * math/auto-libm-test-in: Add more tests of fma.
28173         * math/auto-libm-test-out: Regenerated.
28175 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28177         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28179 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28181         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
28182         unnecessary movq.
28183         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
28184         Likewise.
28186 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
28188         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28189         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
28190         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
28191         and tgamma.
28192         * math/auto-libm-test-out: Regenerated.
28193         * sysdeps/i386/fpu/libm-test-ulps: Update.
28194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28196         [BZ #16520]
28197         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
28198         (__tanh): Force underflow exception for arguments with small
28199         absolute value.
28200         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
28201         (__tanhf): Force underflow exception for arguments with small
28202         absolute value.
28203         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
28204         (__tanhl): Force underflow exception for arguments with small
28205         absolute value.
28206         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
28207         (__tanhl): Force underflow exception for arguments with small
28208         absolute value.
28209         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
28210         (__tanhl): Force underflow exception for arguments with small
28211         absolute value.
28212         * math/auto-libm-test-in: Add more tests of tanh.
28213         * math/auto-libm-test-out: Regenerated.
28214         * sysdeps/i386/fpu/libm-test-ulps: Update.
28216 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28218         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
28219         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
28221 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28223         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
28224         <cpuid.h>.
28226 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28228         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
28229         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
28231 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28233         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
28234         Remove $(objpfx)init-arch.o.
28235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
28236         init-arch.
28237         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
28238         (INIT_ARCH_EXT): Defined as empty.
28239         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
28240         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
28241         __init_cpu_features call.  Replace HAS_XXX with
28242         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28243         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
28244         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
28245         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
28246         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
28247         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28248         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
28249         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
28250         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28251         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
28252         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
28253         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28254         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
28255         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
28256         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28257         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
28258         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
28259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28260         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28261         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
28262         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
28263         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28264         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
28265         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
28266         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28267         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
28268         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
28269         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28270         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
28271         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
28272         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28273         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
28274         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
28275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28276         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
28277         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
28279 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28281         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
28282         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28283         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28284         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28285         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
28286         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
28287         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
28288         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
28289         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
28290         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
28291         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
28292         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
28293         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28294         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28295         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28296         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28297         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28298         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28299         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28300         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28301         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28302         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28303         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28304         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28305         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28306         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28307         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28308         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28309         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28310         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28311         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28312         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28313         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28314         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28315         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28316         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28317         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28318         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28319         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28320         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28321         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28322         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28323         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28325 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28327         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
28328         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28329         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28330         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28331         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28332         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28333         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28334         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
28335         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28336         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28337         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28338         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
28339         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
28340         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
28341         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
28342         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
28343         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
28344         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
28345         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
28346         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
28347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
28348         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
28349         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
28350         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28351         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28352         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
28353         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
28354         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
28355         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28356         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28357         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28358         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28359         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28360         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28361         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28362         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28363         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28364         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28365         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28366         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28367         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28368         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28369         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28371 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28373         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
28374         (dl_platform_init): Call init_cpu_features.
28375         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
28376         * sysdeps/i386/i686/cacheinfo.c
28377         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
28378         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
28379         * sysdeps/i386/i686/multiarch/Versions: Removed.
28380         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
28381         Removed.
28382         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
28383         * sysdeps/unix/sysv/linux/x86/Makefile
28384         (libpthread-sysdep_routines): Remove init-arch.
28385         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
28386         <sysdeps/x86_64/dl-procinfo.c> instead of
28387         sysdeps/generic/dl-procinfo.c>.
28388         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
28389         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
28390         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
28391         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
28392         [$(subdir) == elf] (tests-static): Add
28393         tst-get-cpu-features-static.
28394         * sysdeps/x86/Versions: New file.
28395         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
28396         * sysdeps/x86/cpu-features.c: Likewise.
28397         * sysdeps/x86/cpu-features.h: Likewise.
28398         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
28399         * sysdeps/x86/libc-start.c: Likewise.
28400         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
28401         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
28402         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
28403         * sysdeps/x86_64/dl-procinfo.c: Likewise.
28404         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
28405         Assume USE_MULTIARCH is defined and don't check it.
28406         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
28407         (is_amd): Likewise.
28408         (max_cpuid): Likewise.
28409         (intel_check_word): Likewise.
28410         (__cache_sysconf): Don't call __init_cpu_features.
28411         (__x86_preferred_memory_instruction): Removed.
28412         (init_cacheinfo): Don't call __init_cpu_features. Replace
28413         __cpu_features with GLRO(dl_x86_cpu_features).
28414         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
28415         (dl_platform_init): Call init_cpu_features.
28416         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
28417         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
28418         * sysdeps/x86_64/multiarch/Versions: Removed.
28419         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
28420         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
28421         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
28422         Removed.
28423         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
28425 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28427         [BZ #18820]
28428         * libio/Makefile (test-fmemopen-mem): New test.
28429         * libio/test-fmemopen.c (do_bz18820): New test.
28430         * libio/fmemopen.c (__fmemopen): Fix memory leak.
28431         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
28433 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28435         [BZ #16734]
28436         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
28437         (FREE_BUF): Delete.
28438         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
28439         * libio/genops.c (_IO_setb): Use malloc and free directly.
28440         (_IO_default_doallocate, _IO_default_finish): Likewise.
28441         ( _IO_unbuffer_all): Likewise.
28442         ( libc_freeres_fn): Likewise.
28443         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28444         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28445         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
28446         (_IO_wdefault_doallocate): Likewise.
28448 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28450         [BZ #18086]
28451         * sysdeps/posix/nice.c (nice): Restore old errno.
28452         * posix/tst-nice.c (do_test): Add test for BZ #18086.
28454 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
28456         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
28458 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28460         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
28461         __bcopy and add a weak_alias to bcopy.
28462         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
28463         for static build.
28465         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
28466         cleanup macro usage.
28467         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
28468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
28469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28470         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
28471         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28472         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
28473         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
28474         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
28475         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28476         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
28477         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28478         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
28479         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28480         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
28481         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28482         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
28483         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
28484         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
28485         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
28487         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
28488         libc_hidden_def.
28489         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
28491         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
28492         (sysdep_routines): Add strstr-ppc64.
28493         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
28495 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
28497         [BZ #18778]
28498         * elf/Makefile (tests): Add Add tst-nodelete2.
28499         (modules-names): Add tst-nodelete2mod.
28500         (tst-nodelete2mod.so-no-z-defs): New.
28501         ($(objpfx)tst-nodelete2): Likewise.
28502         ($(objpfx)tst-nodelete2.out): Likewise.
28503         (LDFLAGS-tst-nodelete2): Likewise.
28504         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
28505         out of loop through all loaded libraries.
28506         * elf/tst-nodelete2.c: New file.
28507         * elf/tst-nodelete2mod.c: Likewise.
28508         * elf/tst-znodelete-zlib.cc: Delete.
28510 2015-08-11  Andreas Schwab  <schwab@suse.de>
28512         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
28513         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
28514         (__openat64_nocancel): Likewise.
28516 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
28518         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
28519         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
28520         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
28521         * math/auto-libm-test-out: Regenerated.
28522         * sysdeps/i386/fpu/libm-test-ulps: Update.
28523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28525 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
28527         [BZ #18790]
28528         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
28529         threshold for returning +/- 1.
28530         * math/auto-libm-test-in: Add more tests of tanh.
28531         * math/auto-libm-test-out: Regenerated.
28532         * sysdeps/i386/fpu/libm-test-ulps: Update.
28534 2015-08-10  Andreas Schwab  <schwab@suse.de>
28536         [BZ #18781]
28537         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
28538         MORE_OFLAGS to oflag.
28539         * io/test-lfs.c (do_test): Test openat64.
28541 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
28543         [BZ #18789]
28544         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
28545         smaller threshold for returning the argument.
28546         * math/auto-libm-test-in: Add more tests of sinh.
28547         * math/auto-libm-test-out: Regenerated.
28548         * sysdeps/i386/fpu/libm-test-ulps: Update.
28550 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28552         [BZ #18674]
28553         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
28554         break.
28556 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
28558         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
28559         (generated): Don't add $(addprefix z.,$(tzfiles)).
28561 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
28563         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
28564         * scripts/sysd-rules.awk: Likewise.
28566 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
28568         * iconvdata/tst-tables.sh: Change echo -n to printf.
28569         * nss/db-Makefile: Likewise.
28570         * posix/tst-getconf.sh: Likewise.
28571         * stdio-common/tst-unbputc.sh: Likewise.
28573 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
28575         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
28576         MADV_*_PAGES defines behind this feature check.
28578 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
28580         [BZ #18480]
28581         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
28582         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
28583         Define.
28584         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
28585         LOAD_REGS_5, LOAD_REGS_6): Update.
28586         (INTERNAL_SYSCALL): Update using new LOAD defines.
28587         (INTERNAL_SYSCALL_NCS): Likewise.
28588         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
28590 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28592         [BZ #16734]
28593         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
28595 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28597         [BZ #17905]
28598         * catgets/Makefile (tst-catgets-mem): New test.
28599         * catgets/catgets.c (catopen): Don't use unbounded alloca.
28600         * catgets/open_catalog.c (__open_catalog): Likewise.
28601         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
28603 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
28605         [BZ #18787]
28606         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
28607         clobber registers.
28608         (atomic_compare_and_exchange_val_acq): Use register asms to assign
28609         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
28610         Cast return to __typeof (oldval).
28612 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
28614         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
28615         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
28616         and delete sys/syscall.h include.
28618 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
28620         [BZ #16517]
28621         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
28622         (tan): Force underflow exception for arguments with small absolute
28623         value.
28624         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
28625         (__kernel_tanf): Force underflow exception for arguments with
28626         small absolute value.
28627         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
28628         (__kernel_tanl): Force underflow exception for arguments with
28629         small absolute value.
28630         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
28631         (__kernel_tanl): Force underflow exception for arguments with
28632         small absolute value.
28633         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
28634         (__kernel_tanl): Force underflow exception for arguments with
28635         small absolute value.
28636         * math/auto-libm-test-in: Add more tests of tan.
28637         * math/auto-libm-test-out: Regenerated.
28639 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28641         Fix sysdeps/i386/fpu/s_scalbn.S build
28643         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
28645 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
28647         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28649 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28651         Fix gcrt0.o compilation
28653         When static-start-installed-name is different from
28654         start-installed-name, we must not use the shared objects.
28656         * csu/Makefile
28657         (extra-objs): Add gmon-start.o when building shared library and
28658         $(static-start-installed-name) is different from
28659         $(start-installed-name).
28660         $(objpfx)g$(static-start-installed-name): When building shared
28661         library and $(static-start-installed-name) is different from
28662         $(static-start-installed-name), revert to non-shared rule,
28663         i.e. using $(objpfx)% and gmon-start.o.
28665 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
28667         [BZ #16519]
28668         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
28669         (__ieee754_sinh): Force underflow exception for arguments with
28670         small absolute value.
28671         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
28672         (__ieee754_sinhf): Force underflow exception for arguments with
28673         small absolute value.
28674         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
28675         (__ieee754_sinhl): Force underflow exception for arguments with
28676         small absolute value.
28677         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
28678         (__ieee754_sinhl): Force underflow exception for arguments with
28679         small absolute value.
28680         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
28681         (__ieee754_sinhl): Force underflow exception for arguments with
28682         small absolute value.
28683         * math/auto-libm-test-in: Add more tests of sinh.
28684         * math/auto-libm-test-out: Regenerated.
28685         * sysdeps/i386/fpu/libm-test-ulps: Update.
28687 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28689         * libio/oldfileops.c: Include unistd.h.
28691 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
28693         * stdlib/isomac.c: Include ctype.h.
28695 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
28697         * dirent/tst-seekdir.c (main): Converted to ...
28698         (do_test): ... this.
28699         (TEST_FUNCTION): New macro.
28700         Include test-skeleton.c.
28701         * elf/tst-dlmodcount.c (main): Converted to ...
28702         (do_test): ... this.
28703         (TEST_FUNCTION): New macro.
28704         Include test-skeleton.c.
28705         * elf/tst-order-main.c (main): Converted to ...
28706         (do_test): ... this.
28707         (TEST_FUNCTION): New macro.
28708         Include test-skeleton.c.
28709         * elf/tst-pie2.c (main): Converted to ...
28710         (do_test): ... this.
28711         (TEST_FUNCTION): New macro.
28712         Include test-skeleton.c.
28713         * inet/tst-ether_aton.c (main): Converted to ...
28714         (do_test): ... this.
28715         (TEST_FUNCTION): New macro.
28716         Include test-skeleton.c.
28717         * misc/tst-mntent.c (main): Converted to ...
28718         (do_test): ... this.
28719         (TEST_FUNCTION): New macro.
28720         Include test-skeleton.c.
28721         * misc/tst-tsearch.c (main): Converted to ...
28722         (do_test): ... this.
28723         (TEST_FUNCTION): New macro.
28724         Include test-skeleton.c.
28725         * posix/tst-regexloc.c (main): Converted to ...
28726         (do_test): ... this.
28727         (TEST_FUNCTION): New macro.
28728         Include test-skeleton.c.
28729         * resolv/tst-aton.c (main): Converted to ...
28730         (do_test): ... this.
28731         (TEST_FUNCTION): New macro.
28732         Include test-skeleton.c.
28733         * stdio-common/test-fwrite.c (main): Converted to ...
28734         (do_test): ... this.
28735         (TEST_FUNCTION): New macro.
28736         Include test-skeleton.c.
28737         * stdio-common/tst-ferror.c (main): Converted to ...
28738         (do_test): ... this.
28739         (TEST_FUNCTION): New macro.
28740         Include test-skeleton.c.
28741         * stdio-common/tst-printf.c (main): Converted to ...
28742         (do_test): ... this.
28743         (TEST_FUNCTION): New macro.
28744         Include test-skeleton.c.
28745         * stdio-common/tst-printfsz.c (main): Converted to ...
28746         (do_test): ... this.
28747         (TEST_FUNCTION): New macro.
28748         Include test-skeleton.c.
28749         * stdlib/tst-strtod.c (main): Converted to ...
28750         (do_test): ... this.
28751         (TEST_FUNCTION): New macro.
28752         Include test-skeleton.c.
28753         * string/tst-strlen.c (main): Converted to ...
28754         (do_test): ... this.
28755         (TEST_FUNCTION): New macro.
28756         Include test-skeleton.c.
28757         * string/tst-svc.c (main): Converted to ...
28758         (do_test): ... this.
28759         (TEST_FUNCTION): New macro.
28760         Include test-skeleton.c.
28761         * time/tst-strptime.c (main): Converted to ...
28762         (do_test): ... this.
28763         (TEST_FUNCTION): New macro.
28764         Include test-skeleton.c.
28765         * timezone/tst-timezone.c (main): Converted to ...
28766         (do_test): ... this.
28767         (TEST_FUNCTION): New macro.
28768         Include test-skeleton.c.
28770 2015-08-05  Zack Weinberg  <zackw@panix.com>
28772         * misc/regexp.h: Update comments.
28774 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
28776         [BZ #18635]
28777         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
28778         before return label.
28780 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28782         [BZ #18661]
28783         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
28784         when calling __errno_location.
28785         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
28786         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
28788 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28790         [BZ #18661]
28791         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
28792         (__lll_timedwait_tid): Align stack to 16 bytes when calling
28793         __gettimeofday.
28795 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28797         [BZ #18661]
28798         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28799         (__start_context): Don't use pop to restore %rdi so that stack
28800         is aligned to 16 bytes when calling __setcontext.
28802 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28804         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
28805         only for libc.
28806         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28808 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28810         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
28811         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
28812         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
28814 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28816         * string/memccpy.c (memccpy):
28817         Improve performance by using memchr/memcpy/__mempcpy.
28819 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28821         * string/strncpy.c (strncpy):
28822         Improve performance by using __strnlen/memcpy.
28824 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28826         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28827         Optimize to avoid an unnecessary FPCR read.
28829 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28831         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28832         Optimize to reduce FPCR/FPSR accesses.
28834 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28836         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
28837         dead->data[category] != NULL.
28839 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
28841         [BZ #18647]
28842         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
28843         and |x| close to 1, use absolute value of x when computing log.
28844         * math/auto-libm-test-in: Add more tests of pow.
28845         * math/auto-libm-test-out: Regenerated.
28847 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28849         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
28850         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
28851         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
28853 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
28855         [BZ #18525]
28856         * locales/km_KH: Remove timezone definition.
28857         * locales/lo_LA: Likewise.
28858         * locales/my_MM: Likewise.
28859         * locales/nan_TW@latin: Likewise.
28860         * locales/th_TH: Likewise.
28861         * locales/uk_UA: Likewise.
28863 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28865         [BZ #18265]
28866         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
28867         (wcsncat): Likewise.
28868         (wcscmp): Likewise.
28869         (wcsncmp): Likewise.
28871 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28873         * test-skeleton.c (usage): New function.
28874         (main): Call usage when opt is '?'.
28876 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28878         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
28879         before first use.
28881 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28883         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
28884         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
28885         in there too.
28887 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
28889         * version.h (RELEASE): Set to "development".
28890         (VERSION): Set to "2.22.90"
28892         * version.h (RELEASE): Set to "stable".
28893         (VERSION): Set to "2.22"
28894         * include/features.h (__GLIBC_MINOR__): Set to 22.
28896 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
28898         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
28899         Restructure macro to avoid "value computed is not used" warning.
28900         (atomic_compare_and_exchange_val_acq): Likewise.
28902 2015-08-04  Andreas Schwab  <schwab@suse.de>
28904         [BZ #18635]
28905         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
28906         ret.
28907         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
28909 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
28911         * po/pl.po: Updated translation.
28912         * po/uk.po: Likewise.
28913         * po/fi.po: Likewise.
28914         * po/ko.po: Likewise.
28915         * po/ru.po: Likewise.
28916         * po/vi.po: Likewise.
28918 2015-07-31  Zack Weinberg  <zackw@panix.com>
28920         [BZ #18681]
28921         * regexp.h: Add unconditional #warning stating that this header
28922         will be removed soon.  Revise banner comment to match.
28923         (compile): Consistently use ERROR instead of RETURN to report
28924         errors (partial fix for BZ #18681).
28925         * regexp.c: Don't include regexp.h. Remove some unnecessary
28926         declarations.
28928 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
28930         * po/libc.pot: Regenerated.
28932 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28934         [BZ #18740]
28935         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
28936         float-vlen4-arch-ext-cflags): Removed.
28937         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
28938         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
28940 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28942         [BZ #14113]
28943         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
28944         aligned to __aligned__.
28945         (pthread_cond_t, pthread_rwlock_t): Likewise.
28947 2015-07-30  Torvald Riegel  <triegel@redhat.com>
28949         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
28951 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28953         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
28954         (struct sigaction): Change sa_flags from a long to an int, and add
28955         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
28957 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28959         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
28960         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
28961         sysdeps/generic/sysdep.h include.
28962         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
28963         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
28964         sysdeps/hppa/sysdep.h.
28965         (ENTRY, PSEUDO): Undefine before defining.
28967 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28969         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
28970         from scratch to use INTERNAL_SYSCALL.
28972 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
28974         [BZ #18078]
28975         * scripts/check-localplt.awk: Support alternate relocations.
28976         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
28977         sections.
28978         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
28979         malloc entries with + REL R_386_GLOB_DAT.
28980         * sysdeps/x86_64/localplt.data: New file.
28982 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
28984         [BZ #18731]
28985         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
28986         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28987         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28989 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28991         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
28993 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28995         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
28996         directly in terms of __sync_fetch_and_add and delete (int) cast.
28998 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29000         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
29001         the -D_ASM_IA64_CURRENT_H flag.
29003 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29005         [BZ #18641]
29006         * pwd/pwd.h (putpwent): Delete __nonnull markings.
29008 2015-07-27  Andreas Schwab  <schwab@suse.de>
29010         * conform/conformtest.pl (checknamespace): Filter out string
29011         literals while tokenizing.
29013 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29015         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29016         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
29017         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29019 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29021         * nptl/tst-join7mod.c: Add #include <string.h>.
29023 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29025         * sysdeps/nios2/libm-test-ulps: Update.
29027 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29029         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
29030         Fix order of arguments to the rt_sigprocmask syscall.
29031         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
29032         Likewise.
29034 2015-07-24  Roland McGrath  <roland@hack.frob.com>
29036         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
29038 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29040         [BZ #18457]
29041         * nptl/Makefile (tests): New test case tst-join7.
29042         (modules-names): New test case module tst-join7mod.
29043         * nptl/tst-join7.c: New file.
29044         * nptl/tst-join7mod.c: New file.
29045         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
29046         all translation units in libc.so, libpthread.so and rtld.
29048 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29052 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29054         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
29055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29056         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29057         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29058         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29059         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29060         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29061         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29062         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29063         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29064         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29065         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29066         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
29067         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29068         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
29069         implementation.
29071 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29073         [BZ #17711]
29074         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29075         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
29076         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29077         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29078         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
29079         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29081 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29083         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
29084         instead of just saying load lock in the comments.
29086 2015-07-23  Roland McGrath  <roland@hack.frob.com>
29088         * sysdeps/unix/Subdirs: Moved ...
29089         * sysdeps/posix/Subdirs: ... here.
29090         * login/pty.h (struct termios, struct winsize): Add forward decls.
29091         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
29092         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
29093         * sysdeps/arm/nacl/libc.abilist: Updated.
29094         * sysdeps/nacl/libutil.abilist: New file.
29096         * bits/signum.h: Update comments to mention 1003.1-2013 too.
29097         (SIGWINCH): New macro.
29099         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
29100         * sysdeps/arm/nacl/libc.abilist: Add it.
29102 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29104         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
29106 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29108         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29109         Swap __glibc_reserved0 and sa_flags order.
29111 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29113         [BZ #18657]
29114         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
29115         are pending TLS destructor calls.
29116         * include/link.h (struct link_map): Add concurrency note for
29117         L_TLS_DTOR_COUNT.
29118         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29119         Don't touch the link map flag.  Atomically increment
29120         l_tls_dtor_count.
29121         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
29122         Avoid taking the load lock and don't touch the link map flag.
29123         * stdlib/tst-tls-atexit-nodelete.c: New test case.
29124         * stdlib/Makefile (tests): Use it.
29125         * stdlib/tst-tls-atexit.c (do_test): dlopen
29126         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
29127         to allow tst-tls-atexit-nodelete test case to use it.
29129 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29131         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
29132         to bits/types.h.
29133         (msgqnum_t): New typedef.
29134         (msglen_t): Likewise.
29135         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
29136         and msg_qbytes type to msglen_t.
29138 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29140         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
29141         pad0 to __glibc_reserved0.
29142         (struct stat64): Likewise.
29144 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29146         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29147         Change sa_flags from a long to an int and add __glibc_reserved0 before
29148         it for padding.
29150 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29152         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
29153         anonymous by deleting "siginfo" name.
29155 2015-07-21  Roland McGrath  <roland@hack.frob.com>
29157         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
29158         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
29159         rather than __nacl_irt_filename.
29160         * sysdeps/nacl/xstat.c (__xstat): Likewise.
29162         * NEWS: New item for arm-nacl port.
29163         * sysdeps/arm/nacl/libc.abilist: New file.
29164         * sysdeps/nacl/ld.abilist: New file.
29165         * sysdeps/nacl/libBrokenLocale.abilist: New file.
29166         * sysdeps/nacl/libanl.abilist: New file.
29167         * sysdeps/nacl/libcrypt.abilist: New file.
29168         * sysdeps/nacl/libdl.abilist: New file.
29169         * sysdeps/nacl/libm.abilist: New file.
29170         * sysdeps/nacl/libpthread.abilist: New file.
29171         * sysdeps/nacl/libresolv.abilist: New file.
29172         * sysdeps/nacl/librt.abilist: New file.
29174 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
29176         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
29177         __startcontext to initialize the new context.
29178         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
29179         up CFI directive to forbid further backtracing.
29181 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
29183         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
29184         reference.
29185         * charmaps/ANSI_X3.4-1968: Likewise.
29186         * charmaps/BS_4730: Likewise.
29187         * charmaps/BS_VIEWDATA: Likewise.
29188         * charmaps/CP1250: Likewise.
29189         * charmaps/CP1251: Likewise.
29190         * charmaps/CP1252: Likewise.
29191         * charmaps/CP1253: Likewise.
29192         * charmaps/CP1254: Likewise.
29193         * charmaps/CP1255: Likewise.
29194         * charmaps/CP1256: Likewise.
29195         * charmaps/CSN_369103: Likewise.
29196         * charmaps/EBCDIC-DK-NO: Likewise.
29197         * charmaps/GB_1988-80: Likewise.
29198         * charmaps/GREEK-CCITT: Likewise.
29199         * charmaps/GREEK7: Likewise.
29200         * charmaps/INIS-8: Likewise.
29201         * charmaps/ISIRI-3342: Likewise.
29202         * charmaps/ISO_2033-1983: Likewise.
29203         * charmaps/ISO_5427-EXT: Likewise.
29204         * locales/POSIX: Likewise.
29205         * locales/ar_SA: Likewise.
29206         * locales/be_BY: Likewise.
29207         * locales/be_BY@latin: Likewise.
29208         * locales/ca_ES: Likewise.
29209         * locales/cs_CZ: Likewise.
29210         * locales/da_DK: Likewise.
29211         * locales/de_BE: Likewise.
29212         * locales/de_CH: Likewise.
29213         * locales/de_LU: Likewise.
29214         * locales/en_AU: Likewise.
29215         * locales/en_BW: Likewise.
29216         * locales/en_CA: Likewise.
29217         * locales/en_DK: Likewise.
29218         * locales/en_GB: Likewise.
29219         * locales/en_IE: Likewise.
29220         * locales/en_NZ: Likewise.
29221         * locales/en_ZA: Likewise.
29222         * locales/en_ZW: Likewise.
29223         * locales/es_AR: Likewise.
29224         * locales/es_BO: Likewise.
29225         * locales/es_CL: Likewise.
29226         * locales/es_CO: Likewise.
29227         * locales/es_DO: Likewise.
29228         * locales/es_EC: Likewise.
29229         * locales/es_ES: Likewise.
29230         * locales/es_HN: Likewise.
29231         * locales/es_MX: Likewise.
29232         * locales/es_PA: Likewise.
29233         * locales/es_PE: Likewise.
29234         * locales/es_PY: Likewise.
29235         * locales/es_SV: Likewise.
29236         * locales/es_US: Likewise.
29237         * locales/es_UY: Likewise.
29238         * locales/es_VE: Likewise.
29239         * locales/et_EE: Likewise.
29240         * locales/fa_IR: Likewise.
29241         * locales/fo_FO: Likewise.
29242         * locales/fr_CA: Likewise.
29243         * locales/fr_CH: Likewise.
29244         * locales/gv_GB: Likewise.
29245         * locales/he_IL: Likewise.
29246         * locales/hr_HR: Likewise.
29247         * locales/id_ID: Likewise.
29248         * locales/is_IS: Likewise.
29249         * locales/it_CH: Likewise.
29250         * locales/iw_IL: Likewise.
29251         * locales/kl_GL: Likewise.
29252         * locales/ko_KR: Likewise.
29253         * locales/kw_GB: Likewise.
29254         * locales/lg_UG: Likewise.
29255         * locales/lt_LT: Likewise.
29256         * locales/lv_LV: Likewise.
29257         * locales/mi_NZ: Likewise.
29258         * locales/nhn_MX: Likewise.
29259         * locales/nl_BE: Likewise.
29260         * locales/pl_PL: Likewise.
29261         * locales/sk_SK: Likewise.
29262         * locales/sl_SI: Likewise.
29263         * locales/sv_FI: Likewise.
29264         * locales/tl_PH: Likewise.
29265         * locales/tr_TR: Likewise.
29266         * locales/vi_VN: Likewise.
29268 2015-07-21  Khem Raj  <raj.khem@gmail.com>
29270         [BZ #17475]
29271         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
29272         of tu_IN and bh_IN.
29274 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
29276         [BZ #18694]
29277         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
29278         bits/wordsize.h.
29279         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
29281 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29283         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
29284         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
29285         (spawn_thread): New function.
29286         (load): Rename to reg_dtor_and_close.  Move dlopen to...
29287         (do_test): ... here.  Use IS_LOADED to test for its
29288         availability.
29290 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
29292         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29294 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
29296         [BZ #18696]
29297         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
29298         si_addr_bnd.
29299         (si_lower): New.
29300         (si_upper): Likewise.
29302 2015-07-16  David S. Miller  <davem@davemloft.net>
29304         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
29306 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29308         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
29309         buffer.
29310         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
29311         fail output information.
29313 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
29316         and strstr-ppc64..
29317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29318         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
29319         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
29320         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
29321         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
29323 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29325         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29326         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29327         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29328         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29330 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29332         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29333         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
29334         rtld_hidden_proto.
29335         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
29337 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29339         * tst-nodelete-opened.c (do_test): Add comment to clarify how
29340         the test can fail.
29342         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
29344         [BZ #18676]
29345         * elf/tst-nodelete-opened.c: New test case.
29346         * elf/tst-nodelete-opened-lib.c: New test case module.
29347         * elf/Makefile (tests, modules-names): Use them.
29348         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
29349         early.
29351 2015-07-15  David S. Miller  <davem@davemloft.net>
29353         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
29354         futex-intenal.h
29355         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
29356         * sysdeps/sparc/sparc64/Makefile: Likewise.
29357         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29358         Remove space from macro define.
29359         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
29361 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
29363         [BZ #17475]
29364         * locale/iso-639.def: Update Bhili and Tulu language codes as
29365         per iso639-3.
29367 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
29369         * elf/tst-leaks1.c (main): Converted to ...
29370         (do_test): ... this.
29371         (TEST_FUNCTION): New macro.
29372         Include test-skeleton.c.
29373         * localedata/tst-langinfo.c (main): Converted to ...
29374         (do_test): ... this.
29375         (TEST_FUNCTION): New macro.
29376         Include test-skeleton.c.
29377         * math/test-fpucw.c (main): Converted to ...
29378         (do_test): ... this.
29379         (TEST_FUNCTION): New macro.
29380         Include test-skeleton.c.
29381         * math/test-tgmath.c (main): Converted to ...
29382         (do_test): ... this.
29383         (TEST_FUNCTION): New macro.
29384         Include test-skeleton.c.
29385         * math/test-tgmath2.c (main): Converted to ...
29386         (do_test): ... this.
29387         (TEST_FUNCTION): New macro.
29388         Include test-skeleton.c.
29389         * setjmp/tst-setjmp.c (main): Converted to ...
29390         (do_test): ... this.
29391         (TEST_FUNCTION): New macro.
29392         Include test-skeleton.c.
29393         * stdio-common/tst-sscanf.c (main): Converted to ...
29394         (do_test): ... this.
29395         (TEST_FUNCTION): New macro.
29396         Include test-skeleton.c.
29397         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
29398         (do_test): ... this.
29399         (TEST_FUNCTION): New macro.
29400         Include test-skeleton.c.
29402         * elf/tst-audit9.c (main): Converted to ...
29403         (do_test): ... this.
29404         (TEST_FUNCTION): New macro.
29405         Include test-skeleton.c.
29407 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
29409         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
29411 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29413         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
29414         New variable.
29416 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29418         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29420 2015-07-14  Roland McGrath  <roland@hack.frob.com>
29422         * sysdeps/generic/dl-fileid.h: New file.
29423         * sysdeps/posix/dl-fileid.h: New file.
29424         * sysdeps/nacl/dl-fileid.h: New file.
29425         * include/link.h: Include <dl-fileid.h>.
29426         (struct link_map): Replace l_dev and l_ino with l_file_id.
29427         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
29428         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
29429         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
29431 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29433         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
29435 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29437         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
29438         Add iff $CXX is set.
29439         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
29440         Likewise.
29441         (tst-nodelete-zmodiff): Likewise.
29442         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
29444 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29446         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
29448 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
29450         * sysdeps/aarch64/fpu/math_private.h
29451         (define math_opt_barrier): Add AArch64 version.
29452         (math_force_eval): Likewise.
29454 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
29456         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
29458 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
29460         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
29461         %ld with %jd and cast to intmax_t.
29462         (do_test_length_zero): Likewise.
29464 2015-07-10  Roland McGrath  <roland@hack.frob.com>
29466         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
29468 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
29470         * sysdeps/tile/libm-test-ulps: Regenerated.
29472         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
29473         Comment out the whole function, not just its body.
29475 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29477         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
29478         locks.
29480         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
29482 2015-07-10  Torvald Riegel  <triegel@redhat.com>
29484         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
29485         (sem_assume_only_signals_cause_futex_EINTR): Remove.
29487 2015-07-10  Torvald Riegel  <triegel@redhat.com>
29489         * sysdeps/nptl/futex-internal.h: New file.
29490         * sysdeps/nacl/futex-internal.h: New file.
29491         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
29492         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
29493         error checking.
29494         (setxid_unmark_thread): Likewise.
29495         (__nptl_setxid): Likewise.
29496         (__wait_lookup_done): Likewise.
29497         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29498         * nptl/nptl-init.c (sighandler_setxid): Likewise.
29499         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
29500         * nptl/pthread_once.c (clear_once_control): Likewise.
29501         (__pthread_once_slow): Likewise.
29502         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
29503         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
29504         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
29505         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
29506         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
29507         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
29508         Likewise.
29509         (__pthread_rwlock_rdlock): Likewise.
29510         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29511         Likewise.
29512         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29513         Likewise.
29514         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29515         Likewise.
29516         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
29517         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
29518         Likewise.
29519         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
29520         __ASSUME_PRIVATE_FUTEX check.
29521         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
29522         Check that shared futexes are supported.
29523         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
29524         wrappers with error checking.
29525         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
29526         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
29527         * nptl/pthread_barrierattr_setpshared.c
29528         (pthread_barrierattr_setpshared): Check that shared futexes are
29529         supported.
29530         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
29531         Likewise.
29532         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
29533         Likewise.
29534         * nptl/sem_init.c (futex_private_if_supported): Remove.
29535         (__new_sem_init): Adapt and check that shared futexes are supported.
29536         * nptl/sem_open.c (sem_open): Likewise.
29537         * nptl/sem_post.c (futex_wake): Remove.
29538         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
29539         (do_futex_wait): Use futex wrappers with error checking.
29540         * nptl/sem_wait.c: Include lowlevellock.h.
29541         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
29542         Use futex_supports_pshared.
29543         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
29544         Use futex wrappers with error checking.
29545         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
29546         Likewise.
29547         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
29548         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
29549         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
29550         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
29551         (futex_wake): Likewise.
29552         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
29553         (do_futex_wait): Use futex wrappers with error checking.
29554         (__new_sem_wait_slow): Update EINTR handling.
29555         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
29557 2015-07-09  Martin Sebor  <msebor@redhat.com>
29559         [BZ #18435]
29560         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29561         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
29562         * nptl/Makefile (test-xfail-tst-once5): Define.
29564 2015-07-09  Roland McGrath  <roland@hack.frob.com>
29566         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
29567         * elf/dl-minimal.c: For readability, reorder some definitions and
29568         introduce more page breaks.  Include <stdio.h>.
29569         (__libc_fatal): New function.
29571         * include/unistd.h: Add rtld_hidden_proto for _exit.
29572         * posix/_exit.c: Add rtld_hidden_def.
29573         * sysdeps/mach/hurd/_exit.c: Likewise.
29574         * sysdeps/nacl/_exit.c: Likewise.
29575         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
29576         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
29578 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
29580         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
29581         bndmov encoding with zero displacement.
29583 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29584             H.J. Lu  <hongjiu.lu@intel.com>
29586         [BZ #18134]
29587         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
29588         * sysdeps/i386/configure: Regenerated.
29589         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29590         (_dl_runtime_profile): Save and restore Intel MPX return bound
29591         registers when calling _dl_call_pltexit.  Add
29592         PRESERVE_BND_REGS_PREFIX before return.
29593         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
29594         (LRV_BND1_OFFSET): Likewise.
29595         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
29596         lrv_bnd1.
29597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
29598         typo in bndmov encoding.
29599         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
29600         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
29601         branch instructions to preserve bounds.
29603 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
29606         [GLIBC_2.22]: Add fmemopen.
29608 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29610         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
29611         returns an error, also try to use host port from __mach_host_self for
29612         the __vm_wire call.
29613         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
29615 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29617         [BZ #18400]
29618         [BZ #18648]
29619         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
29620         Fix pr_uid and pr_gid members.
29621         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
29622         definition to elf_greg_t.
29624 2015-07-08  Roland McGrath  <roland@hack.frob.com>
29626         [BZ #18383]
29627         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
29628         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
29629         * sysdeps/arm/configure: Regenerated.
29630         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
29631         (test-xfail-tst-tlsalign-static): Variable removed.
29633         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
29634         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
29635         rather than explicit 'ln -s'.
29637         * resolv/rpc/netdb.h: New file.
29638         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
29640 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29642         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
29643         length buffers.
29644         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29645         test-skeleton.c.
29647         [BZ #6544]
29648         [BZ #11216]
29649         [BZ #12836]
29650         [BZ #13151]
29651         [BZ #13152]
29652         [BZ #14292]
29653         * include/stdio.h (fmemopen): Remove hidden prototype.
29654         (__fmemopen): Add new hidden prototype.
29655         * libio/Makefile: Add oldfmemopen object.
29656         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
29657         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
29658         compliance.
29659         * libio/oldfmemopen.c: New file: old fmemopen implementation for
29660         symbol compatibility.
29661         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
29662         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
29663         fmemopen.
29664         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
29665         on append and read mode.
29666         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
29667         fmemopen.
29668         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
29669         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
29670         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
29671         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
29672         Likewise.
29673         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
29674         [GLIBC_2.22]: Likewise.
29675         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
29676         Likewise.
29677         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
29678         Likewise.
29679         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
29680         [GLIBC_2.22]: Likewise.
29681         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
29682         [GLIBC_2.22]: Likewise.
29683         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
29684         [GLIBC_2.22]: Likewise.
29685         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
29686         [GLIBC_2.22]: Likewise.
29687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
29688         [GLIBC_2.22]: Likewise.
29689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
29690         [GLIBC_2.22]: Likewise.
29691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
29692         [GLIBC_2.22]: Likewise.
29693         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
29694         Likewise.
29695         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
29696         Likewise.
29697         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
29698         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
29699         [GLIBC_2.22]: Likewise.
29700         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
29701         [GLIBC_2.22]: Likewise.
29702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
29703         [GLIBC_2.22]: Likewise.
29704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
29705         [GLIBC_2.22]: Likewise.
29706         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
29707         Likewise.
29708         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
29709         Likewise.
29710         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
29711         Likewise.
29712         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
29713         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
29715 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29717         [BZ #18643]
29718         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
29719         IPV6_PATHMTU, and IPV6_DONTFRAG.
29721 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
29723         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
29724         and _IO_UNBUFFERED.
29725         * libio/oldfileops.c: Likewise.
29726         * libio/wfileops.c: Likewise.
29728 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29730         * nscd/selinux.c: Delete selinux/flask.h include.
29732 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29734         [BZ #18641]
29735         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
29736         (putpwent): Likewise.
29737         (getpwnam): Likewise.
29738         (getpwent_r): Likewise.
29739         (getpwuid_r): Likewise.
29740         (getpwnam_r): Likewise.
29741         (fgetpwent_r): Likewise.
29743 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29745         [BZ #18557]
29746         * inet/rcmd.c (__validuser2_sa): Check user first to
29747         short-circuit host check.
29749 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
29750             Mikhail Ilin  <m.ilin@samsung.com>
29752         [BZ #17833]
29753         * elf/Makefile (tests): Add tst-nodelete.
29754         (modules-names): Add tst-nodelete-uniquemod.
29755         (tst-nodelete-uniquemod.so-no-z-defs): New.
29756         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
29757         (tst-nodelete-zmod.so-no-z-defs): Likewise.
29758         ($(objpfx)tst-nodelete): Likewise.
29759         ($(objpfx)tst-nodelete.out): Likewise.
29760         (LDFLAGS-tst-nodelete): Likewise.
29761         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
29762         * elf/dl-close.c (_dl_close_worker): Add a parameter to
29763         implement forced object deletion.
29764         (_dl_close): Pass false to _dl_close_worker.
29765         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
29766         * elf/tst-nodelete.cc: New file.
29767         * elf/tst-nodeletelib.cc: Likewise.
29768         * elf/tst-znodeletelib.cc: Likewise.
29769         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
29771 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29773         [BZ #18508]
29774         * stdlib/Makefile ($(objpfx)tst-makecontext3):
29775         Depend on $(libdl).
29776         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
29777         is not called infinitely times.
29778         (backtrace_helper): New function.
29779         (trace_arg): New struct.
29780         (st1): Enlarge stack size.
29781         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29782         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
29783         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29784         Likewise.
29786 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29788         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29790 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29792         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
29793         Include sys/types.h instead of bits/types.h.
29794         Remove inclusion of bits/wordsize.h.
29796 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29798         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
29799         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
29800         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
29801         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
29802         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
29803         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
29805 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29807         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
29808         link-defines.sym.
29809         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
29810         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
29811         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
29812         and LR_SIZE.
29813         * sysdeps/i386/link-defines.sym: New file.
29815 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29817         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
29818         (modules-names): Add tst-auditmod3a tst-auditmod3b.
29819         ($(objpfx)tst-audit3): New rule.
29820         ($(objpfx)tst-audit3.out): Likewise.
29821         * sysdeps/i386/tst-audit3.c: New file.
29822         * sysdeps/i386/tst-audit3.h: Likewise.
29823         * sysdeps/i386/tst-auditmod3a.c: Likewise.
29824         * sysdeps/i386/tst-auditmod3b.c: Likewise.
29826 2015-07-07  Torvald Riegel  <triegel@redhat.com>
29828         [BZ #18633]
29829         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
29830         pointer in C code.
29831         (__strcat_c): Likewise.
29832         (__strcat_g): Likewise.
29834 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
29836         [BZ #18592]
29837         * misc/sbrk.c: Set errno to ENOMEM on overflow.
29839 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29841         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
29842         New function.  (__ieee754_sqrtf): New function.
29843         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
29844         New function.
29845         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
29846         New function.
29848 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29850         * sysdeps/ieee754/support.c: Remove unused file.
29852 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29854         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
29855         registers instead of d ones so the layout is kernel abi compatible.
29856         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
29857         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
29858         Likewise.
29860 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29862         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29864 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29866         [BZ #18619]
29867         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
29868         and return argument in case of subnormal argument.
29870 2015-07-01  Martin Sebor  <msebor@redhat.com>
29872         [BZ #18435]
29873         * nptl/Makefile: Add tst-once5.cc.
29874         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29875         Remove macro redefinitions.
29876         * nptl/tst-once5.cc: New test.
29878 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29880         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29882         * sysdeps/arm/libm-test-ulps: Regenerated.
29884         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29885         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29887 2015-06-30  Torvald Riegel  <triegel@redhat.com>
29889         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
29890         lll_lock_wait_private and lll_futex_wake probes.
29892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29893         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
29894         Likewise.
29895         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
29896         atomic_spin_nop.
29897         * sysdeps/x86_64/bits/atomic.h: Likewise.
29898         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
29899         to atomic_spin_nop and move ...
29900         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29901         ... here and ...
29902         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
29903         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
29904         atomic_spin_nop instead of BUSY_WAIT_NOP.
29905         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
29906         Likewise.
29907         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
29908         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29909         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
29910         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
29911         instead of atomic_delay.
29913 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
29915         [BZ #18613]
29916         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
29917         X_ADJ not X when adjusting exponent.
29918         (__ieee754_gamma_r): Do intermediate computations in
29919         round-to-nearest then adjust overflowing and underflowing results
29920         as needed.
29921         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
29922         of X_ADJ not X when adjusting exponent.
29923         (__ieee754_gammaf_r): Do intermediate computations in
29924         round-to-nearest then adjust overflowing and underflowing results
29925         as needed.
29926         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
29927         log of X_ADJ not X when adjusting exponent.
29928         (__ieee754_gammal_r): Do intermediate computations in
29929         round-to-nearest then adjust overflowing and underflowing results
29930         as needed.  Use 1.0L not 1.0f as numerator of division.
29931         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
29932         log of X_ADJ not X when adjusting exponent.
29933         (__ieee754_gammal_r): Do intermediate computations in
29934         round-to-nearest then adjust overflowing and underflowing results
29935         as needed.  Use 1.0L not 1.0f as numerator of division.
29936         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
29937         of X_ADJ not X when adjusting exponent.
29938         (__ieee754_gammal_r): Do intermediate computations in
29939         round-to-nearest then adjust overflowing and underflowing results
29940         as needed.  Use 1.0L not 1.0f as numerator of division.
29941         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
29942         to auto-libm-test-in.
29943         (tgamma_test): Use ALL_RM_TEST.
29944         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
29945         tests of tgamma with spurious-overflow.
29946         * math/auto-libm-test-out: Regenerated.
29947         * math/gen-libm-have-vector-test.sh: Do not check for START.
29948         * sysdeps/i386/fpu/libm-test-ulps: Update.
29949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29951         [BZ #18612]
29952         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
29953         arguments, just return 0.5 times the argument, with underflow
29954         forced as needed.
29955         * math/auto-libm-test-in: Add more tests of j1.
29956         * math/auto-libm-test-out: Regenerated.
29958         [BZ #16559]
29959         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
29960         (__ieee754_j1): Force underflow exception for small results.
29961         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29962         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
29963         (__ieee754_j1f): Force underflow exception for small results.
29964         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29965         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29966         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29967         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
29968         (__ieee754_j1l): Force underflow exception for small results.
29969         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29970         * math/auto-libm-test-in: Add more tests of j1 and jn.
29971         * math/auto-libm-test-out: Regenerated.
29973         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
29974         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
29975         (PF_MPLS): Likewise.
29976         (AF_IB): Likewise.
29977         (AF_MPLS): Likewise.
29978         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
29979         value and macro.
29980         (MS_RMT_MASK): Include MS_LAZYTIME.
29982 2015-06-26  Mel Gorman  <mgorman@suse.de>
29984         [BZ #18502]
29985         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
29986         already minimal.
29988 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
29990         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
29991         (DT_MIPS_NUM): Update.
29992         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
29993         DT_MIPS_RLD_MAP_REL.
29995 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
29997         [BZ #16559]
29998         [BZ #18602]
29999         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
30000         round-to-nearest internally then recompute results that
30001         underflowed to zero in the original rounding mode.
30002         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30003         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30004         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30005         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30006         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
30007         * sysdeps/i386/fpu/libm-test-ulps: Update.
30008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30010 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30012         * NEWS: Fixed description of link with vector math library.
30014 2015-06-25  Andreas Schwab  <schwab@suse.de>
30016         [BZ #18549]
30017         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
30018         * libio/test-fmemopen.c (do_test): Add test for it.
30020 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
30022         [BZ #17841]
30023         * Makeconfig (no-pie-ldflag): New.
30024         (+link): Set to $(+link-pie) if default to PIE.
30025         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
30026         * config.make.in (build-pie-default): New.
30027         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
30028         is default.  AC_SUBST.
30029         * configure: Regenerated.
30030         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
30032 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30034         * nptl/descr.h (struct pthread): Change type of field setxid_futex
30035         to 'unsigned int'.
30037         * resolv/gai_misc.h (struct waitlist): Change type of field
30038         counterp to 'volatile unsigned int *'.
30039         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
30040         FUTEXADDR and OLDVAL.
30041         * resolv/getaddrinfo_a.c (getaddrinfo_a):
30042         Give local variable TOTAL type 'volatile unsigned int'.
30043         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30044         * resolv/gai_suspend.c (gai_suspend):
30045         Give local variable CNTR type 'unsigned int'.
30047         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
30048         counterp to 'volatile unsigned int *'.
30049         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
30050         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
30051         (aio_suspend): Give local variable CNTR type 'unsigned int'.
30052         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
30053         Give local variable TOTAL type 'volatile unsigned int'.
30054         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30056 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30058         [BZ #18383]
30059         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
30060         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
30061         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
30062         comment for i386/x86-64.
30063         (test-xfail-tst-tlsalign-extern-static): Removed.
30065 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30067         * math/test-double.h: New file.
30068         * math/test-float.h: Likewise.
30069         * math/test-ldouble.h: Likewise.
30070         * math/test-math-inline.h: Likewise.
30071         * math/test-math-no-inline.h: Likewise.
30072         * math/test-math-scalar.h: Likewise.
30073         * math/test-math-vector.h: Likewise.
30074         * math/test-vec-loop.h: Remove file.  Contents moved into
30075         test-math-vector.h.
30076         * math/libm-test.inc (MATHCONST): Do not document macro.
30077         * math/test-double.c: Include test-double.h, test-math-no-inline.h
30078         and test-math-scalar.h.
30079         (FUNC): Remove macro.
30080         (FUNC_TEST): Likewise.
30081         (FLOAT): Likewise.
30082         (MATHCONST): Likewise.
30083         (PRINTF_EXPR): Likewise.
30084         (PRINTF_XEXPR): Likewise.
30085         (PRINTF_NEXPR): Likewise.
30086         (TEST_DOUBLE): Likewise.
30087         (TEST_MATHVEC): Likewise.
30088         (__NO_MATH_INLINES): Likewise.
30089         * math/test-float.c: Include test-float.h, test-math-no-inline.h
30090         and test-math-scalar.h.
30091         (FUNC): Remove macro.
30092         (FUNC_TEST): Likewise.
30093         (FLOAT): Likewise.
30094         (MATHCONST): Likewise.
30095         (PRINTF_EXPR): Likewise.
30096         (PRINTF_XEXPR): Likewise.
30097         (PRINTF_NEXPR): Likewise.
30098         (TEST_FLOAT): Likewise.
30099         (TEST_MATHVEC): Likewise.
30100         (__NO_MATH_INLINES): Likewise.
30101         * math/test-idouble.c: Include test-double.h, test-math-inline.h
30102         and test-math-scalar.h.
30103         (FUNC): Remove macro.
30104         (FUNC_TEST): Likewise.
30105         (FLOAT): Likewise.
30106         (MATHCONST): Likewise.
30107         (PRINTF_EXPR): Likewise.
30108         (PRINTF_XEXPR): Likewise.
30109         (PRINTF_NEXPR): Likewise.
30110         (TEST_DOUBLE): Likewise.
30111         (TEST_MATHVEC): Likewise.
30112         (TEST_INLINE): Likewise.
30113         (__NO_MATH_INLINES): Likewise.
30114         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
30115         test-math-scalar.h.
30116         (FUNC): Remove macro.
30117         (FUNC_TEST): Likewise.
30118         (FLOAT): Likewise.
30119         (MATHCONST): Likewise.
30120         (PRINTF_EXPR): Likewise.
30121         (PRINTF_XEXPR): Likewise.
30122         (PRINTF_NEXPR): Likewise.
30123         (TEST_FLOAT): Likewise.
30124         (TEST_MATHVEC): Likewise.
30125         (TEST_INLINE): Likewise.
30126         (__NO_MATH_INLINES): Likewise.
30127         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
30128         and test-math-scalar.h.
30129         (FUNC): Remove macro.
30130         (FUNC_TEST): Likewise.
30131         (FLOAT): Likewise.
30132         (MATHCONST): Likewise.
30133         (PRINTF_EXPR): Likewise.
30134         (PRINTF_XEXPR): Likewise.
30135         (PRINTF_NEXPR): Likewise.
30136         (TEST_LDOUBLE): Likewise.
30137         (TEST_MATHVEC): Likewise.
30138         (TEST_INLINE): Likewise.
30139         (__NO_MATH_INLINES): Likewise.
30140         * math/test-ldouble.c: Include test-ldouble.h,
30141         test-math-no-inline.h and test-math-scalar.h.
30142         (FUNC): Remove macro.
30143         (FUNC_TEST): Likewise.
30144         (FLOAT): Likewise.
30145         (MATHCONST): Likewise.
30146         (PRINTF_EXPR): Likewise.
30147         (PRINTF_XEXPR): Likewise.
30148         (PRINTF_NEXPR): Likewise.
30149         (TEST_LDOUBLE): Likewise.
30150         (TEST_MATHVEC): Likewise.
30151         (__NO_MATH_INLINES): Likewise.
30152         * math/test-double-vlen2.h: Include test-double.h,
30153         test-math-no-inline.h and test-math-vector.h.
30154         (FLOAT): Remove macro.
30155         (FUNC): Likewise.
30156         (MATHCONST): Likewise.
30157         (PRINTF_EXPR): Likewise.
30158         (PRINTF_XEXPR): Likewise.
30159         (PRINTF_NEXPR): Likewise.
30160         (TEST_DOUBLE): Likewise.
30161         (TEST_MATHVEC): Likewise.
30162         (__NO_MATH_INLINES): Likewise.
30163         (CNCT): Likewise.
30164         (CONCAT): Likewise.
30165         (WRAPPER_NAME): Likewise.
30166         (WRAPPER_DECL): Likewise.
30167         (WRAPPER_DECL_ff): Likewise.
30168         (WRAPPER_DECL_fFF): Likewise.
30169         (VECTOR_WRAPPER): Likewise.
30170         (VECTOR_WRAPPER_ff): Likewise.
30171         (VECTOR_WRAPPER_fFF): Likewise.
30172         (VEC_LEN): New macro.
30173         * math/test-double-vlen4.h: Include test-double.h,
30174         test-math-no-inline.h and test-math-vector.h.
30175         (FLOAT): Remove macro.
30176         (FUNC): Likewise.
30177         (MATHCONST): Likewise.
30178         (PRINTF_EXPR): Likewise.
30179         (PRINTF_XEXPR): Likewise.
30180         (PRINTF_NEXPR): Likewise.
30181         (TEST_DOUBLE): Likewise.
30182         (TEST_MATHVEC): Likewise.
30183         (__NO_MATH_INLINES): Likewise.
30184         (CNCT): Likewise.
30185         (CONCAT): Likewise.
30186         (WRAPPER_NAME): Likewise.
30187         (WRAPPER_DECL): Likewise.
30188         (WRAPPER_DECL_ff): Likewise.
30189         (WRAPPER_DECL_fFF): Likewise.
30190         (VECTOR_WRAPPER): Likewise.
30191         (VECTOR_WRAPPER_ff): Likewise.
30192         (VECTOR_WRAPPER_fFF): Likewise.
30193         (VEC_LEN): New macro.
30194         * math/test-double-vlen8.h: Include test-double.h,
30195         test-math-no-inline.h and test-math-vector.h.
30196         (FLOAT): Remove macro.
30197         (FUNC): Likewise.
30198         (MATHCONST): Likewise.
30199         (PRINTF_EXPR): Likewise.
30200         (PRINTF_XEXPR): Likewise.
30201         (PRINTF_NEXPR): Likewise.
30202         (TEST_DOUBLE): Likewise.
30203         (TEST_MATHVEC): Likewise.
30204         (__NO_MATH_INLINES): Likewise.
30205         (CNCT): Likewise.
30206         (CONCAT): Likewise.
30207         (WRAPPER_NAME): Likewise.
30208         (WRAPPER_DECL): Likewise.
30209         (WRAPPER_DECL_ff): Likewise.
30210         (WRAPPER_DECL_fFF): Likewise.
30211         (VECTOR_WRAPPER): Likewise.
30212         (VECTOR_WRAPPER_ff): Likewise.
30213         (VECTOR_WRAPPER_fFF): Likewise.
30214         (VEC_LEN): New macro.
30215         * math/test-float-vlen4.h: Include test-float.h,
30216         test-math-no-inline.h and test-math-vector.h.
30217         (FLOAT): Remove macro.
30218         (FUNC): Likewise.
30219         (MATHCONST): Likewise.
30220         (PRINTF_EXPR): Likewise.
30221         (PRINTF_XEXPR): Likewise.
30222         (PRINTF_NEXPR): Likewise.
30223         (TEST_FLOAT): Likewise.
30224         (TEST_MATHVEC): Likewise.
30225         (__NO_MATH_INLINES): Likewise.
30226         (CNCT): Likewise.
30227         (CONCAT): Likewise.
30228         (WRAPPER_NAME): Likewise.
30229         (WRAPPER_DECL): Likewise.
30230         (WRAPPER_DECL_ff): Likewise.
30231         (WRAPPER_DECL_fFF): Likewise.
30232         (VECTOR_WRAPPER): Likewise.
30233         (VECTOR_WRAPPER_ff): Likewise.
30234         (VECTOR_WRAPPER_fFF): Likewise.
30235         (VEC_LEN): New macro.
30236         * math/test-float-vlen8.h: Include test-float.h,
30237         test-math-no-inline.h and test-math-vector.h.
30238         (FLOAT): Remove macro.
30239         (FUNC): Likewise.
30240         (MATHCONST): Likewise.
30241         (PRINTF_EXPR): Likewise.
30242         (PRINTF_XEXPR): Likewise.
30243         (PRINTF_NEXPR): Likewise.
30244         (TEST_FLOAT): Likewise.
30245         (TEST_MATHVEC): Likewise.
30246         (__NO_MATH_INLINES): Likewise.
30247         (CNCT): Likewise.
30248         (CONCAT): Likewise.
30249         (WRAPPER_NAME): Likewise.
30250         (WRAPPER_DECL): Likewise.
30251         (WRAPPER_DECL_ff): Likewise.
30252         (WRAPPER_DECL_fFF): Likewise.
30253         (VECTOR_WRAPPER): Likewise.
30254         (VECTOR_WRAPPER_ff): Likewise.
30255         (VECTOR_WRAPPER_fFF): Likewise.
30256         (VEC_LEN): New macro.
30257         * math/test-float-vlen16.h: Include test-float.h,
30258         test-math-no-inline.h and test-math-vector.h.
30259         (FLOAT): Remove macro.
30260         (FUNC): Likewise.
30261         (MATHCONST): Likewise.
30262         (PRINTF_EXPR): Likewise.
30263         (PRINTF_XEXPR): Likewise.
30264         (PRINTF_NEXPR): Likewise.
30265         (TEST_FLOAT): Likewise.
30266         (TEST_MATHVEC): Likewise.
30267         (__NO_MATH_INLINES): Likewise.
30268         (CNCT): Likewise.
30269         (CONCAT): Likewise.
30270         (WRAPPER_NAME): Likewise.
30271         (WRAPPER_DECL): Likewise.
30272         (WRAPPER_DECL_ff): Likewise.
30273         (WRAPPER_DECL_fFF): Likewise.
30274         (VECTOR_WRAPPER): Likewise.
30275         (VECTOR_WRAPPER_ff): Likewise.
30276         (VECTOR_WRAPPER_fFF): Likewise.
30277         (VEC_LEN): New macro.
30278         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
30279         test-vec-loop.h.
30280         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30281         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30282         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30283         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30284         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30286         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30288 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30290         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
30291         (__getlogin_r): ... this.
30293 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30295         [BZ #18594]
30296         * math/s_ccosh.c (__ccosh): Compare with least normal value
30297         instead of comparing class with FP_SUBNORMAL.
30298         * math/s_ccoshf.c (__ccoshf): Likewise.
30299         * math/s_ccoshl.c (__ccoshl): Likewise.
30300         * math/s_cexp.c (__cexp): Likewise.
30301         * math/s_cexpf.c (__cexpf): Likewise.
30302         * math/s_cexpl.c (__cexpl): Likewise.
30303         * math/s_csin.c (__csin): Likewise.
30304         * math/s_csinf.c (__csinf): Likewise.
30305         * math/s_csinh.c (__csinh): Likewise.
30306         * math/s_csinhf.c (__csinhf): Likewise.
30307         * math/s_csinhl.c (__csinhl): Likewise.
30308         * math/s_csinl.c (__csinl): Likewise.
30309         * math/s_ctan.c (__ctan): Likewise.
30310         * math/s_ctanf.c (__ctanf): Likewise.
30311         * math/s_ctanh.c (__ctanh): Likewise.
30312         * math/s_ctanhf.c (__ctanhf): Likewise.
30313         * math/s_ctanhl.c (__ctanhl): Likewise.
30314         * math/s_ctanl.c (__ctanl): Likewise.
30315         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
30316         csin, csinh, ctan and ctanh.
30317         * math/auto-libm-test-out: Regenerated.
30318         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
30319         * sysdeps/i386/fpu/libm-test-ulps: Update.
30320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30322 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30324         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
30325         return value is wrong, print the expected value too.
30327 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30329         [BZ #18585]
30330         * elf/readlib.c (is_gdb_python_file): New.
30331         (process_file): Don't issue errors on filenames with -gdb.py
30332         suffix.
30334 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30336         * math/auto-libm-test-in: Add more tests of csin and csinh.
30337         * math/auto-libm-test-out: Regenerated.
30338         * math/libm-test.inc (csin_test_data): Remove tests moved to
30339         auto-libm-test-in.
30340         (csinh_test_data): Likewise.
30342         [BZ #18593]
30343         * math/s_csin.c (__csin): Negate before rather than after possibly
30344         overflowing multiplication.
30345         * math/s_csinf.c (__csinf): Likewise.
30346         * math/s_csinh.c (__csinh): Likewise.
30347         * math/s_csinhf.c (__csinhf): Likewise.
30348         * math/s_csinhl.c (__csinhl): Likewise.
30349         * math/s_csinl.c (__csinl): Likewise.
30350         * math/auto-libm-test-in: Add some tests of csin and csinh.
30351         * math/auto-libm-test-out: Regenerated.
30352         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
30353         (csinh_test_data): Likewise.
30354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30356         [BZ #18586]
30357         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
30358         underflow exception for small results.
30360 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30362         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
30364         variable and included header.
30365         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
30366         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
30367         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
30368         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
30369         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
30370         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
30371         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
30372         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
30373         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
30374         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
30375         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
30376         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
30377         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
30378         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
30379         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
30380         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
30382 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30384         [BZ #16526]
30385         [BZ #16538]
30386         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
30387         (__sin): Force underflow exception for arguments with small
30388         absolute value.
30389         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
30390         (__kernel_sinf): Force underflow exception for arguments with
30391         small absolute value.
30392         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
30393         (__kernel_sincosl): Force underflow exception for arguments with
30394         small absolute value.
30395         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
30396         (__kernel_sinl): Force underflow exception for arguments with
30397         small absolute value.
30398         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
30399         (__kernel_sincosl): Force underflow exception for arguments with
30400         small absolute value.
30401         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
30402         (__kernel_sinl): Force underflow exception for arguments with
30403         small absolute value.
30404         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
30405         (__kernel_sinl): Force underflow exception for arguments with
30406         small absolute value.
30407         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
30408         (__kernel_sinf): Force underflow exception for arguments with
30409         small absolute value.
30410         * math/auto-libm-test-in: Add more tests of sin and sincos.
30411         * math/auto-libm-test-out: Regenerated.
30413         [BZ #18245]
30414         [BZ #18583]
30415         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
30416         (__kernel_standard_l): Use feholdexcept and fesetenv around
30417         conversion to double instead of special-casing overflow and
30418         underflow.
30419         * math/libm-test.inc (fmod_test_data): Add more tests.
30420         (remainder_test_data): Likewise.
30421         (sqrt_test_data): Likewise.
30423 2015-06-23  Torvald Riegel  <triegel@redhat.com>
30425         [BZ #17403]
30426         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
30427         atomic_read_barrier, atomic_write_barrier): Define.
30428         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
30429         atomic_read_barrier, atomic_write_barrier): Define.
30431 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30433         * math/Makefile [$(PERL) != no]
30434         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
30435         dependency on libm-test.stmp below the inclusion of Rules.
30437 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
30439         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30440         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
30441         and included header.
30442         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
30443         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
30444         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
30445         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
30446         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
30447         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
30448         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
30449         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
30450         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
30451         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
30452         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
30453         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
30454         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
30455         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
30456         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
30457         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
30458         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
30459         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
30460         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
30462 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30464         [BZ #18371]
30465         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
30466         intermediate but not final result might underflow.
30467         * math/s_csqrtf.c (__csqrtf): Likewise.
30468         * math/s_csqrtl.c (__csqrtl): Likewise.
30469         * math/auto-libm-test-in: Add more tests of csqrt.
30470         * math/auto-libm-test-out: Regenerated.
30471         * sysdeps/i386/fpu/libm-test-ulps: Update.
30473         [BZ #18219]
30474         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
30475         threshold on absolute value of exponent for which scaling is used.
30476         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30477         * math/auto-libm-test-in: Add more tests of exp2.
30478         * math/auto-libm-test-out: Regenerated.
30480 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
30482         [BZ #17977]
30483         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
30484         when initializing interface list, based on the bug analysis
30485         and the patch proposed by Eric Newton.
30486         * resolv/tst-res_hconf_reorder.c: New test.
30487         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
30488         tst-res_hconf_reorder.
30489         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
30490         and $(shared-thread-library).
30491         (tst-res_hconf_reorder-ENV): New variable.
30493         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
30494         in comment.
30496 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
30498         [BZ #16353]
30499         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
30500         (__expm1): Force underflow exception for arguments with small
30501         absolute value.
30502         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
30503         (__expm1f): Force underflow exception for arguments with small
30504         absolute value.
30505         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
30506         (__expm1): Force underflow exception for arguments with small
30507         absolute value.
30508         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
30509         (__expm1f): Force underflow exception for arguments with small
30510         absolute value.
30511         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30512         Check for small arguments before calling __expm1.
30513         * math/auto-libm-test-in: Do not mark underflow exceptions as
30514         possibly missing for bug 16353.
30515         * math/auto-libm-test-out: Regenerated.
30517 2015-06-22  Andreas Schwab  <schwab@suse.de>
30519         [BZ #18513]
30520         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
30521         PTR queries.
30523 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
30525         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
30527         * string/strcoll_l.c: Remove unused struct element idxnow.
30529 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
30531         [BZ #18569]
30532         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
30533         underflow and return argument in case of subnormal argument.
30534         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30535         Likewise.
30536         * math/auto-libm-test-in: Add more tests of expm1.
30537         * math/auto-libm-test-out: Regenerated.
30539         [BZ #16361]
30540         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
30541         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
30542         tiny results.
30543         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
30544         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
30545         tiny results.
30546         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
30547         mark underflow exceptions as possibly missing for bug 16361.
30548         * math/auto-libm-test-out: Regenerated.
30550 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
30552         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
30553         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
30554         Remove variable.
30555         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30556         (test-xfail-XOPEN2K8/utmpx.h/conform).
30558         * conform/conformtest.pl ($xerrors): New variable.
30559         (note_error): New function.
30560         (compiletest): New argument $xfail.  Use not_error.
30561         (runtest): Likewise.
30562         (top level): Handle xfail- lines.  Update calls to compiletest and
30563         runtest.  Handle xfail- and optional- in headers listed with
30564         allow-header.
30565         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
30566         (O_EXEC): Likewise.
30567         (O_SEARCH): Likewise.
30568         * conform/data/stropts.h-data (ioctl): Likewise.
30569         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
30570         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
30571         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
30572         (msghdr.msg_controllen): Likewise.
30573         (cmsghdr.cmsg_len): Likewise.
30574         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
30575         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
30576         variable.
30577         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30578         (test-xfail-XPG4/stropts.h/conform): Likewise.
30579         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30580         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30581         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30582         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30583         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30584         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30585         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30586         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30587         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30588         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30589         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30590         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30591         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30592         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30593         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30594         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30595         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30596         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30597         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30599 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
30601         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
30602         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
30603         definitions for proper unfolding of __MATHDECL_VEC.
30605 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30607         * benchtests/bench-strcoll.c:
30608         Include string.h.
30609         (main): Remove unused variable res.
30611 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30613         * timezone/Makefile (%/UTC %/Universal):
30614         Generate test-result files for UTC and Universal.
30616 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30618         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30620 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
30622         [BZ #16350]
30623         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
30624         for arguments with small absolute value.
30625         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
30626         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
30627         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
30628         (__asinh): Force underflow exception for arguments with small
30629         absolute value.
30630         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
30631         (__asinhf): Force underflow exception for arguments with small
30632         absolute value.
30633         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
30634         (__asinhl): Force underflow exception for arguments with small
30635         absolute value.
30636         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
30637         (__asinhl): Force underflow exception for arguments with small
30638         absolute value.
30639         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
30640         (__asinhl): Force underflow exception for arguments with small
30641         absolute value.
30642         * math/auto-libm-test-in: Do not mark underflow exceptions as
30643         possibly missing for bug 16350.
30644         * math/auto-libm-test-out: Regenerated.
30646         * include/bits/ipc.h: Remove file.
30647         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
30648         variable.
30649         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30650         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30651         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30652         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30653         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30654         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30655         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30656         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30657         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30659         * math/auto-libm-test-in: Remove spurious underflow allowance for
30660         tests of cexp.
30661         * math/auto-libm-test-out: Regenerated.
30663         [BZ #18558]
30664         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
30665         unconditional definition.
30666         (MCAST_BLOCK_SOURCE): Likewise.
30667         (MCAST_UNBLOCK_SOURCE): Likewise.
30668         (MCAST_LEAVE_GROUP): Likewise.
30669         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30670         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30671         (MCAST_MSFILTER): Likewise.
30672         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
30673         Remove variable.
30674         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30675         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30676         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30677         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30678         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30680 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
30682         * NEWS: Mention addition of x86_64 vector sincosf.
30683         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
30684         * math/test-float-vlen4.h: Likewise.
30685         * math/test-float-vlen8.h: Likewise.
30686         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30687         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
30688         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30689         * sysdeps/x86_64/fpu/Versions: New versions added.
30690         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30691         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30692         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30693         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
30694         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
30695         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
30696         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
30697         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
30698         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
30699         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
30700         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
30701         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
30702         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
30703         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
30704         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
30705         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
30706         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
30707         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30708         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30709         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30710         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30711         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30712         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30713         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30715         * NEWS: Mention addition of x86_64 vector sincos.
30716         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
30717         * math/math.h (__MATHDECL_VEC): New macro.
30718         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
30719         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
30720         declaration under condition.
30721         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
30722         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
30723         TEST_VEC_LOOP change.
30724         * math/test-double-vlen4.h: Likewise.
30725         * math/test-double-vlen8.h: Likewise.
30726         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
30727         * math/test-float-vlen4.h: Likewise.
30728         * math/test-float-vlen8.h: Likewise.
30729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30730         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
30731         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30732         * sysdeps/x86_64/fpu/Versions: New versions added.
30733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30734         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30735         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30736         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
30737         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
30738         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
30739         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
30740         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
30741         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
30742         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
30743         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
30744         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
30745         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
30746         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
30747         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
30748         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
30749         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
30750         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30752         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30753         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30754         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30755         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30756         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30758         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30759         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30760         redirections for powf.
30761         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30762         * sysdeps/x86_64/fpu/Versions: New versions added.
30763         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30764         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30765         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30766         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
30767         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
30768         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
30769         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
30770         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
30771         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
30772         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
30773         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
30774         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
30775         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
30776         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
30777         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
30778         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
30779         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
30780         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30781         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30782         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30783         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30784         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30785         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30786         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30787         * math/test-float-vlen16.h: Fixed 2 argument macro.
30788         * math/test-float-vlen4.h: Likewise.
30789         * math/test-float-vlen8.h: Likewise.
30790         * NEWS: Mention addition of x86_64 vector powf.
30792 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
30794         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30795         and redefine.
30796         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30797         and redefine.
30798         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
30799         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30800         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30802         [BZ #18553]
30803         * resource/getpriority.c (getpriority): Rename to __getpriority
30804         and define as weak alias of __getpriority.
30805         * resource/setpriority.c (setpriority): Rename to __setpriority
30806         and define as weak alias of __setpriority.
30807         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
30808         __getpriority and define as weak alias of __getpriority.
30809         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
30810         __setpriority and define as weak alias of __setpriority.
30811         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
30812         strong name.
30813         (setpriority): Use __setpriority as strong name.
30814         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
30815         __getpriority and define as weak alias of __getpriority.
30816         * include/sys/resource.h (__getpriority): Declare.  Use
30817         libc_hidden_proto.
30818         (__setpriority): Likewise.
30819         (getpriority): Don't use libc_hidden_proto.
30820         (setpriority): Likewise.
30821         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
30822         getpriority.  Call __setpriority instead of setpriority.
30823         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
30824         Remove variable.
30826         [BZ #18547]
30827         * misc/getttyent.c (getttynam): Rename to __getttynam and define
30828         as weak alias of __getttynam.  Use prototype function definition.
30829         Call __setttyent, __getttyent and __endttyent instead of
30830         setttyent, getttyent and endttyent.
30831         (getttyent): Rename to __getttyent and define as weak alias of
30832         __getttyent.  Call __setttyent instead of setttyent.  Call
30833         __fgets_unlocked instead of fgets_unlocked.
30834         (setttyent): Rename to __setttyent and define as weak alias of
30835         __setttyent.
30836         (endttyent): Rename to __endttyent and define as weak alias of
30837         __endttyent.
30838         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
30839         (__setttyent): Likewise.
30840         (__endttyent): Likewise.
30841         (getttyent): Don't use libc_hidden_proto.
30842         (setttyent): Likewise.
30843         (endttyent): Likewise.
30844         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
30845         __endttyent instead of setttyent, getttyent and endttyent.
30846         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
30847         Remove variable.
30849         [BZ #18546]
30850         * socket/recv.c (__recv): Use libc_hidden_def.
30851         * socket/socket.c (__socket): Likewise.
30852         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
30853         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
30854         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
30855         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
30856         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
30857         libc_hidden_def.
30858         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
30859         libc_hidden_weak.
30860         * include/sys/socket.h (__socket): Do not use attribute_hidden.
30861         Use libc_hidden_proto.
30862         (__recv): Likewise.
30863         * socket/Versions (libc): Export __recv and __socket at version
30864         GLIBC_PRIVATE.
30865         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
30866         instead of recv.
30867         (init_mq_netlink): Call __socket instead of socket.
30868         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
30869         Remove variable.
30871         [BZ #18545]
30872         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
30873         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
30874         hidden_weak.
30875         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
30876         define as alias of __mq_timedsend.  Use hidden_weak.
30877         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
30878         __mq_timedsend as strong name.
30879         (mq_timedreceive): Use __mq_timedreceive as strong name.
30880         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
30881         (__mq_timedreceive): Likewise.
30882         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
30883         __mq_timedreceive instead of mq_timedreceive.
30884         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
30885         instead of mq_timedsend.
30886         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
30887         Remove variable.
30889         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
30890         hidden_def and hidden_weak instead of libc_hidden_def and
30891         libc_hidden_weak.
30892         (top level): Refer to hidden_def in comment.
30893         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
30894         macro.  Use it instead of libc_hidden_def.
30895         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
30896         specify __GI_* name explicitly.
30897         (mq_timedreceive): Likewise.
30898         (mq_setattr): Likewise.
30900         [BZ #18544]
30901         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
30902         __pthread_barrier_init and define as weak alias of
30903         __pthread_barrier_init.
30904         * sysdeps/sparc/nptl/pthread_barrier_init.c
30905         (pthread_barrier_init): Likewise.
30906         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
30907         __pthread_barrier_wait and define as weak alias of
30908         __pthread_barrier_wait.
30909         * sysdeps/sparc/nptl/pthread_barrier_wait.c
30910         (pthread_barrier_wait): Likewise.
30911         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
30912         (pthread_barrier_wait): Likewise.
30913         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
30914         (pthread_barrier_wait): Likewise.
30915         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
30916         (pthread_barrier_wait): Likewise.
30917         * nptl/Versions (libpthread): Export __pthread_barrier_init and
30918         __pthread_barrier_wait at version GLIBC_PRIVATE.
30919         * include/pthread.h (__pthread_barrier_init): Declare.
30920         (__pthread_barrier_wait): Likewise.
30921         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
30922         Call __pthread_barrier_wait instead of pthread_barrier_wait.
30923         (helper_thread): Likewise.
30924         (init_mq_netlink): Call __pthread_barrier_init instead of
30925         pthread_barrier_init.
30927         [BZ #18542]
30928         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
30929         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
30930         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
30931         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
30932         vswscanf.
30933         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
30934         Remove variable.
30936         [BZ #18540]
30937         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
30938         strong alias of _IO_fflush.  Use libc_hidden_def.
30939         * libio/iofflush_u.c (fflush_unlocked): Rename to
30940         __fflush_unlocked and define as weak alias of __fflush_unlocked.
30941         Use libc_hidden_weak.
30942         * include/stdio.h (__fflush_unlocked): Declare.  Use
30943         libc_hidden_proto.
30944         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
30945         fflush_unlocked.
30946         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
30947         Remove variable.
30949         [BZ #18539]
30950         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
30951         define as weak alias of __addseverity.
30952         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
30953         Remove variable.
30954         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30955         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30956         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30958         [BZ #18536]
30959         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
30960         (__tfind): Likewise.
30961         (__tdelete): Likewise.
30962         (__twalk): Likewise.
30963         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
30964         __twalk to GLIBC_PRIVATE.
30965         * include/search.h (__tsearch): Use libc_hidden_proto.
30966         (__tfind): Likewise.
30967         (__tdelete): Likewise.
30968         (__twalk): Likewise.
30969         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
30970         Call __tdelete instead of tdelete.
30971         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
30972         tfind.  Call __tsearch instead of tsearch.
30973         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
30974         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
30975         Remove variable.
30976         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30978         [BZ #18534]
30979         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
30980         (dprintf): Define as a weak alias of __dprintf, not a strong
30981         alias.
30982         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
30983         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
30984         dprintf.
30985         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
30986         Remove variable.
30987         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30988         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30990         [BZ #18533]
30991         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
30992         not a strong alias.
30993         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
30994         Remove variable.
30996         [BZ #18532]
30997         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
30998         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
30999         (in6addr_loopback): Rename to __in6addr_loopback and define as
31000         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
31001         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
31002         libc_hidden_proto.
31003         (__in6addr_any): Likewise.
31004         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
31005         in6addr_any.
31006         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
31007         variable.
31008         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31010 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
31012         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
31013         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
31014         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31015         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31016         redirections for pow.
31017         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31018         * sysdeps/x86_64/fpu/Versions: New versions added.
31019         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31020         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31021         build of SSE, AVX2 and AVX512 IFUNC versions.
31022         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
31023         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
31024         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
31025         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
31026         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
31027         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
31028         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
31029         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
31030         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
31031         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
31032         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
31033         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
31034         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
31035         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
31036         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31037         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31038         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31039         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31040         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31041         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31042         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31043         * NEWS: Mention addition of x86_64 vector pow.
31045         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31046         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31047         redirections for expf.
31048         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31049         * sysdeps/x86_64/fpu/Versions: New versions added.
31050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31051         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31052         build of SSE, AVX2 and AVX512 IFUNC versions.
31053         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
31054         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
31055         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
31056         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
31057         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
31058         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
31059         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
31060         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
31061         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
31062         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
31063         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
31064         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
31065         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
31066         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31067         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31068         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31069         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31070         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31071         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31072         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31073         * NEWS: Mention addition of x86_64 vector expf.
31075         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
31076         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
31077         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31078         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31079         redirections for exp.
31080         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31081         * sysdeps/x86_64/fpu/Versions: New versions added.
31082         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31083         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31084         build of SSE, AVX2 and AVX512 IFUNC versions.
31085         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
31086         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
31087         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
31088         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
31089         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
31090         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
31091         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
31092         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
31093         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
31094         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
31095         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
31096         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
31097         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
31098         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31099         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31100         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31101         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31102         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31103         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31104         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31105         * NEWS: Mention addition of x86_64 vector exp.
31107         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31108         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31109         redirections for logf.
31110         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31111         * sysdeps/x86_64/fpu/Versions: New versions added.
31112         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31113         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31114         build of SSE, AVX2 and AVX512 IFUNC versions.
31115         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
31116         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
31117         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
31118         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
31119         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
31120         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
31121         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
31122         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
31123         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
31124         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
31125         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
31126         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
31127         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
31128         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31129         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31130         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31131         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31132         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31133         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31134         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31135         * NEWS: Mention addition of x86_64 vector logf.
31137         * bits/libm-simd-decl-stubs.h: Added stubs for log.
31138         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
31139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31140         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31141         redirections for log.
31142         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31143         * sysdeps/x86_64/fpu/Versions: New versions added.
31144         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31145         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31146         build of SSE, AVX2 and AVX512 IFUNC versions.
31147         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
31148         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
31149         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
31150         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
31151         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
31152         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
31153         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
31154         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
31155         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
31156         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
31157         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
31158         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
31159         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
31160         test.
31161         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31162         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31163         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31164         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31165         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31166         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31167         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31168         * NEWS: Mention addition of x86_64 vector log.
31170 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31172         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
31173         cfi_adjust_cfa_offset argument.
31174         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
31175         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
31177         [BZ #18034]
31178         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
31179         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
31180         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
31181         ordering using ldar.
31182         (_dl_tlsdesc_dynamic): Likewise.
31183         (_dl_tlsdesc_return_lazy): Likewise.
31184         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
31185         relaxed atomics instead of volatile and synchronize with release store.
31186         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
31187         volatile.
31188         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31190 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
31192         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31193         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
31194         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31195         * sysdeps/x86_64/fpu/Versions: New versions added.
31196         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31197         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31198         build of SSE, AVX2 and AVX512 IFUNC versions.
31199         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
31200         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
31201         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
31202         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
31203         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
31204         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
31205         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
31206         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
31207         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
31208         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
31209         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
31210         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
31211         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
31212         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31213         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31214         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31215         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31216         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31217         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31218         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31219         * NEWS: Mention addition of x86_64 vector sinf.
31221 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
31223         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
31224         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
31225         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
31226         Remove variable.
31227         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31228         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31230 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31232         [BZ #18530]
31233         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
31234         strong alias of _IO_fputs.  Use libc_hidden_def.
31235         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
31236         and define as weak alias of __fputs_unlocked.  Use
31237         libc_hidden_weak.
31238         * include/stdio.h (__fputs_unlocked): Declare.  Use
31239         libc_hidden_proto.
31240         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
31241         fputs_unlocked.
31243         [BZ #18529]
31244         * resolv/netdb.h [__USE_POSIX]: Change condition to
31245         [__USE_XOPEN2K].
31246         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
31247         not expect.
31248         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
31249         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
31250         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
31251         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
31252         [XPG4 || UNIX98] (AI_ALL): Likewise.
31253         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
31254         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
31255         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
31256         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
31257         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
31258         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
31259         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
31260         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
31261         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
31262         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
31263         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
31264         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
31265         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
31266         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
31267         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
31268         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31269         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31270         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
31271         [XPG4 || UNIX98] (gai_strerror): Likewise.
31272         [XPG4 || UNIX98] (getaddrinfo): Likewise.
31273         [XPG4 || UNIX98] (getnameinfo): Likewise.
31275         [BZ #18528]
31276         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
31277         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
31278         __USE_XOPEN2K8].
31279         (getgrent): Likewise.
31280         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
31281         expect.
31282         [XPG3 || POSIX2008] (endgrent): Likewise.
31283         [XPG3] (setgrent): Likewise.
31284         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
31285         variable.
31286         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31288         [BZ #18527]
31289         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
31290         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
31291         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
31292         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
31293         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
31294         * include/unistd.h (__getlogin_r): Declare.  Use
31295         libc_hidden_proto.
31296         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
31297         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
31298         variable.
31299         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31300         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31301         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31303 2015-06-12  Martin Sebor  <msebor@redhat.com>
31305         [BZ #18512]
31306         * Makerules (check-install-supported): New target.
31307         (install): Add check-install-supported as a dependency.
31308         * manual/install.texi (Installing the C Library): Document
31309         that overriding prefix and exec_prefix is not supported.
31310         Mention DESTDIR.
31311         * INSTALL: Regenerate from the above.
31313 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31315         [BZ #18519]
31316         * posix/Versions (libc): Export __libc_pread at version
31317         GLIBC_PRIVATE.
31318         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
31319         instead of pread.
31320         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
31321         variable.
31323         [BZ #18522]
31324         * misc/efgcvt_r.c
31325         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
31326         (cvt_symbol): Use weak_alias instead of strong_alias.
31327         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
31328         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
31329         Remove variable.
31330         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31331         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31333         [BZ #18520]
31334         * inet/herrno.c (h_errno): Rename to __h_errno.
31335         (__libc_h_errno): Define as alias of __h_errno not h_errno.
31336         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
31337         to __h_errno instead of h_errno.
31338         * nptl/herrno.c (h_errno): Rename to __h_errno.
31339         (__h_errno_location): Refer to __h_errno not h_errno.
31340         * resolv/Versions (h_errno): Rename to __h_errno.
31341         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
31342         Remove variable.
31343         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31345 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
31347         * configure.ac: More strict check for AVX512 assembler support.
31348         * configure: Regenerated.
31350         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
31351         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
31352         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31353         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
31354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31355         * sysdeps/x86_64/fpu/Versions: New versions added.
31356         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31357         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31358         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31359         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
31360         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
31361         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
31362         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
31363         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
31364         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
31365         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
31366         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
31367         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
31368         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
31369         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
31370         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
31371         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
31372         test.
31373         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31374         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31375         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31376         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31377         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31378         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31379         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31380         * NEWS: Mention addition of x86_64 vector sin.
31382 2015-06-11  Florian Weimer  <fweimer@redhat.com>
31384         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
31385         comment.
31387 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31389         [BZ #18479]
31390         * nptl/pt-interp.c: New file.
31391         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
31392         Add pt-interp.
31393         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
31394         $(common-objpfx)runtime-linker.h.
31396 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
31398         * Makeconfig (+interp): Remove unused variable.
31399         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
31400         only.  Depend on $(common-objpfx)runtime-linker.h instead of
31401         $(elf-objpfx)runtime-linker.h.
31402         ($(elf-objpfx)runtime-linker.h): Rename to
31403         $(common-objpfx)runtime-linker.h and move ...
31404         * Makerules [$(build-shared) = yes]: ... here.
31405         * elf/interp.c: Include <runtime-linker.h> instead of
31406         <elf/runtime-linker.h>.
31408 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31410         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
31411         (__gettimeofday_syscall): Remove vsyscall fallback.
31412         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
31413         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
31414         Add syscall fallback function.
31415         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
31416         if vDSO is not present.
31417         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
31418         fallback function.
31419         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
31420         present.
31421         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
31422         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31424 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
31426         [BZ #18497]
31427         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
31428         of wcscmp.
31429         (wcscmp): Define as weak alias of WCSCMP.
31430         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
31431         wcscoll.
31432         (USE_HIDDEN_DEF): Define.
31433         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
31434         __wcscoll.  Don't use libc_hidden_weak.
31435         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
31436         wcscmp.
31437         * sysdeps/i386/i686/multiarch/wcscmp-c.c
31438         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
31439         __GI_wcscmp.
31440         (weak_alias): Undefine and redefine.
31441         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
31442         __wcscmp and define as weak alias of __wcscmp.
31443         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
31444         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
31445         (__wcscoll): Likewise.
31446         (wcscmp): Don't use libc_hidden_proto.
31447         (wcscoll): Likewise.
31448         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
31449         wcscoll.
31450         * posix/regexec.c (check_node_accept_bytes): Likewise.
31451         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
31452         variable.
31453         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31454         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31456         [BZ #18507]
31457         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
31458         __fstatvfs and define as weak alias of __fstatvfs.  Use
31459         libc_hidden_weak.
31460         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
31461         and define as weak alias of __statvfs.  Use libc_hidden_weak.
31462         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
31463         Define as alias of __fstatvfs, not fstatvfs.
31464         (fstatvfs64): Likewise.
31465         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
31466         Define as alias of __statvfs, not statvfs.
31467         (statvfs64): Likewise.
31468         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
31469         Remove variable.
31471 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31474         (HAVE_GETCPU_VSYSCALL): Define.
31475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31476         (HAVE_GETCPU_VSYSCALL): Likewise.
31477         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
31478         * sysdeps/unix/sysv/linux/sched_getcpu.c
31479         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
31480         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
31481         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
31482         prototype.
31483         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31484         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
31485         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
31486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
31487         Define.
31488         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
31489         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31490         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
31491         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31493 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
31495         * sysdeps/x86_64/fpu/Makefile: New file.
31496         * sysdeps/x86_64/fpu/Versions: New file.
31497         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
31498         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
31499         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
31500         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
31501         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
31502         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
31503         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
31504         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
31505         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
31506         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
31507         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
31508         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
31509         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
31510         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31511         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31512         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
31513         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
31514         * sysdeps/x86_64/configure.ac: Options for libmvec build.
31515         * sysdeps/x86_64/configure: Regenerated.
31516         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
31517         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
31518         * manual/install.texi (Configuring and compiling): Document
31519         --disable-mathvec.
31520         * INSTALL: Regenerated.
31521         * NEWS: Mention addition of libmvec and x86_64 vector cos.
31523         * math/Makefile: Added rules for vector tests.
31524         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
31525         declaration under condition.
31526         * math/test-double-vlen2.h: New file.
31527         * math/test-double-vlen4.h: New file.
31528         * math/test-double-vlen8.h: New file.
31529         * math/test-vec-loop.h: Added initialization macro.
31530         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
31531         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
31532         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
31533         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
31534         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
31535         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
31536         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
31537         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
31538         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
31539         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
31540         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
31542         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31543         * sysdeps/x86_64/fpu/Versions: New versions added.
31544         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
31545         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
31546         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
31547         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
31548         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
31549         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
31550         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
31551         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
31552         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
31553         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
31554         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
31555         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
31556         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
31557         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31558         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31559         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31560         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
31561         * NEWS: Mention addition of x86_64 vector cosf.
31563         * math/Makefile: Added CFLAGS for new tests.
31564         * math/test-float-vlen16.h: New file.
31565         * math/test-float-vlen4.h: New file.
31566         * math/test-float-vlen8.h: New file.
31567         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
31568         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
31569         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31570         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
31571         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
31572         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
31573         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
31574         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
31575         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
31576         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
31577         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
31579 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
31581         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
31582         * locale/programs/ld-ctype.c: Likewise.
31584 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
31586         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
31587         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
31588         bit_ZMM16_31_state): New macro.
31589         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31590         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
31592 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
31594         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
31596 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
31598         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
31600 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
31602         [BZ #18498]
31603         * libio/memstream.c (open_memstream): Rename to __open_memstream
31604         and define as weak alias of __open_memstream.
31605         * include/stdio.h (__open_memstream): Declare.  Use
31606         libc_hidden_proto.
31607         (open_memstream): Don't use libc_hidden_proto.
31608         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
31609         open_memstream.
31610         * posix/getopt.c (_getopt_internal_r): Likewise.
31611         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
31612         variable.
31613         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31614         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31615         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31617         [BZ #18496]
31618         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
31619         instead of wcrtomb.
31621         [BZ #18483]
31622         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
31623         [__USE_XOPEN2K8].  Remove redundant #endif.
31624         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
31625         Remove redundant #if.
31626         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
31627         Remove variable.
31628         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31629         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31631         [BZ #18495]
31632         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
31633         (__iswlower): Likewise.
31634         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
31635         (__iswlower): Likewise.
31636         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
31637         instead of towlower.
31638         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
31639         instead of iswlower.  Call __towupper instead of towupper.
31640         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
31641         instead of iswalnum.
31643 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31645         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
31646         errors to stderr.
31648 2015-06-05  Florian Weimer  <fweimer@redhat.com>
31650         [BZ #15661]
31651         [BZ #17322]
31652         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31653         Check for overflow properly.  Check for O_APPEND.  Ignore large
31654         file system block sizes.  Add comments about problems.
31655         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
31656         * manual/filesys.texi (Storage Allocation): New node.
31658 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31660         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
31661         cancellable syscalls.
31662         (SYS_ify): Add guard to no redefine it.
31663         (INLINE_SYSCALL): Likewise.
31664         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
31665         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
31666         SYSCALL_CANCEL instead.
31667         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
31668         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31669         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31670         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31671         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31672         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
31673         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
31674         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
31675         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31676         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31677         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
31678         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
31679         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
31680         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
31681         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
31682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31683         Likewise.
31684         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31685         (__libc_pread64): Likewise.
31686         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
31687         (__libc_preadv): Likewise.
31688         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
31689         (__libc_readv64): Likewise.
31690         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31691         (__libc_pwrite): Likewise.
31692         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31693         (__libc_pwrite64): Likewise.
31694         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
31695         (__libc_pwritev): Likewise.
31696         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
31697         (__libc_pwritev64): Likewise.
31698         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
31699         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
31700         (sync_file_range): Likewise.
31701         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
31702         Likewise.
31703         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
31704         Likewise.
31705         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31706         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31707         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31708         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31709         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31710         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31711         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31712         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
31713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31714         Likewise.
31715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31716         (__libc_read64): Likewise.
31717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
31718         Likewise.
31719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
31720         Likewise.
31721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
31722         Likewise.
31723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
31724         Likewise.
31725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31726         (__libc_pread64): Likewise.
31727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
31728         Likewise.
31729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31730         (__libc_pwrite64): Likewise.
31731         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
31732         (sync_file_range): Likewise.
31733         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
31734         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31735         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31736         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
31737         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
31738         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31739         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31740         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
31741         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
31742         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31743         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31744         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31745         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31746         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31747         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
31748         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31749         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31750         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31751         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31752         Likewise.
31753         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
31754         Likewise.
31755         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
31756         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
31757         Likewise.
31758         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
31759         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
31760         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
31761         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
31762         Likewise.
31763         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
31764         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
31765         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
31766         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
31767         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
31769 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
31771         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
31772         Include dl-vdso.
31773         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
31774         Use VDSO routines for gettimeofday, clock_gettime if
31775         available.
31776         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
31777         Declare VDSO symbols.
31778         * sysdeps/unix/sysv/linux/arm/sysdep.h:
31779         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
31780         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31781         * sysdeps/unix/sysv/linux/arm/Versions: Add
31782         __vdso_clock_gettime.
31784 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31786         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
31787         be an inline implementation regardless of library is built within.
31788         (open_not_cancel_2): Likewise.
31789         (__read_nocancel): Likewise.
31790         (__write_nocancel): Likewise.
31791         (openat_not_cancel): Likewise.
31792         (openat_not_cancel_3): Likewise.
31793         (openat64_not_cancel): Likewise.
31794         (openat64_not_cancel_3): Likewise.
31795         (__close_nocancel): Likewise.
31796         (pause_not_cancel): Likewise.
31797         (nanosleep_not_cancel): Likewise.
31798         (sigsuspend_not_cancel): Likewise.
31800 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31802         [BZ #14958]
31803         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
31804         wake-up.
31805         (__pthread_rwlock_rdlock_slow): Likewise.
31806         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31807         Likewise.
31808         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31809         Likewise.
31810         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
31811         * nptl/tst-rwlock16.c: New file.
31812         * nptl/Makefile (tests): Add new test.
31814 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31816         [BZ #18324]
31817         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
31818         missing wake-up of readers.
31819         * nptl/tst-rwlock15.c: New file.
31820         * nptl/Makefile (tests): Add new test.
31822 2015-06-03  Roland McGrath  <roland@hack.frob.com>
31824         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
31825         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
31826         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
31827         and __nacl_supply_interface_rtld.
31828         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
31829         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
31830         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
31831         Add __nacl_supply_interface_rtld.
31832         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
31834 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31836         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
31837         isfinite.
31838         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31839         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
31841 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31843         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
31844         __signbit* with standard C99 macros.
31845         * math/e_exp10l.c: Likewise.
31846         * math/e_exp2l.c: Likewise.
31847         * math/e_scalb.c: Likewise.
31848         * math/e_scalbf.c: Likewise.
31849         * math/e_scalbl.c: Likewise.
31850         * math/s_ldexp.c: Likewise.
31851         * math/s_ldexpf.c: Likewise.
31852         * math/s_ldexpl.c: Likewise.
31853         * math/w_atan2.c: Likewise.
31854         * math/w_atan2f.c: Likewise.
31855         * math/w_atan2l.c: Likewise.
31856         * math/w_cosh.c: Likewise.
31857         * math/w_coshf.c: Likewise.
31858         * math/w_coshl.c: Likewise.
31859         * math/w_exp10.c: Likewise.
31860         * math/w_exp10f.c: Likewise.
31861         * math/w_exp10l.c: Likewise.
31862         * math/w_exp2.c: Likewise.
31863         * math/w_exp2f.c: Likewise.
31864         * math/w_exp2l.c: Likewise.
31865         * math/w_fmod.c: Likewise.
31866         * math/w_fmodf.c: Likewise.
31867         * math/w_fmodl.c: Likewise.
31868         * math/w_hypot.c: Likewise.
31869         * math/w_hypotf.c: Likewise.
31870         * math/w_hypotl.c: Likewise.
31871         * math/w_jnl.c: Likewise.
31872         * math/w_lgamma.c: Likewise.
31873         * math/w_lgamma_r.c: Likewise.
31874         * math/w_lgammaf.c: Likewise.
31875         * math/w_lgammaf_r.c: Likewise.
31876         * math/w_lgammal.c: Likewise.
31877         * math/w_lgammal_r.c: Likewise.
31878         * math/w_pow.c: Likewise.
31879         * math/w_powf.c: Likewise.
31880         * math/w_powl.c: Likewise.
31881         * math/w_remainder.c: Likewise.
31882         * math/w_remainderf.c: Likewise.
31883         * math/w_remainderl.c: Likewise.
31884         * math/w_scalb.c: Likewise.
31885         * math/w_scalbf.c: Likewise.
31886         * math/w_scalbl.c: Likewise.
31887         * math/w_scalbln.c: Likewise.
31888         * math/w_scalblnf.c: Likewise.
31889         * math/w_scalblnl.c: Likewise.
31890         * math/w_sinh.c: Likewise.
31891         * math/w_sinhf.c: Likewise.
31892         * math/w_sinhl.c: Likewise.
31893         * math/w_tgamma.c: Likewise.
31894         * math/w_tgammaf.c: Likewise.
31895         * math/w_tgammal.c: Likewise.
31896         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31897         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
31898         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31899         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31900         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31901         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31902         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31903         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31904         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31905         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31906         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31907         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31908         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31909         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31910         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31911         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31912         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31913         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31914         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31915         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31916         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31917         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31918         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31920         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31921         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31922         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
31923         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31924         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31925         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31926         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
31927         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
31928         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
31929         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
31930         * stdio-common/printf_fp.c: Likewise.
31931         * stdio-common/printf_fphex.c: Likewise.
31932         * stdio-common/printf_size.c: Likewise.
31934 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
31936         [BZ #18470]
31937         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
31938         strnlen.
31939         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
31940         Remove variable.
31941         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31942         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31943         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31944         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31945         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31946         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31947         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31948         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31949         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31950         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31952         [BZ #18468]
31953         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
31954         weak alias of __wmemchr.  Use libc_hidden_weak.
31955         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
31956         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
31957         instead of wmemchr.
31959 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31961         [BZ #18383]
31962         * elf/tst-tlsalign-extern.c: New file.
31963         * elf/tst-tlsalign-extern-static.c: New file.
31964         * elf/tst-tlsalign-vars.c: New file.
31965         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
31966         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
31967         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
31968         ($(objpfx)tst-tlsalign-extern-static): Likewise.
31969         (test-xfail-tst-tlsalign-extern-static): New variable.
31971 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
31973         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
31974         Use variable name _sc_err instead of err.
31975         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
31976         instead of ret.
31977         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
31978         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
31979         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
31980         (INLINE_SYSCALL): Likewise.
31982         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
31983         * include/string.h (__strnlen): Use libc_hidden_proto.
31984         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
31985         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
31986         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
31987         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
31988         (libc_hidden_def): Undefine and redefine.
31989         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
31990         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
31991         __GI_strnlen.
31992         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
31993         libc_hidden_def.
31994         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
31996         [BZ #18469]
31997         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
31998         weak alias of __towlower.  Use libc_hidden_weak.
31999         (towupper): Rename to __towupper and define as weak alias of
32000         __towupper.  Use libc_hidden_weak.
32001         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
32002         (__towupper): Likewise.
32003         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
32004         __towlower instead of towlower.
32006 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32008         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
32009         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
32011 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32013         * sysdeps/aarch64/libm-test-ulps: Update.
32015 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32017         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
32018         Define.
32019         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32021         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32022         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32023         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
32024         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
32025         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
32027 2015-06-01  Martin Sebor  <msebor@redhat.com>
32029         [BZ #18116]
32030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32031         (__setcontext): Use extended four-operand version of mtsf whenever
32032         possible.
32033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32034         (__novec_swapcontext): Likewise.
32036 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32038         * benchtests/scripts/compare_bench.py: New file.
32039         * benchtests/scripts/import_bench.py (mean): New function.
32040         (split_list): Likewise.
32041         (do_for_all_timings): Likewise.
32042         (compress_timings): Likewise.
32044         * benchtests/scripts/import_bench.py: New file.
32045         * benchtests/scripts/validate_benchout.py: Import import_bench
32046         instead of jsonschema.
32047         (validate_bench): Remove function.
32048         (main): Use import_bench.
32050 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
32052         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
32053         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
32055 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32059 2015-05-28  Roland McGrath  <roland@hack.frob.com>
32061         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
32062         set THREAD_SELF->tid to a magic value and futex-wake it.
32063         Pass its address to the thread_exit system call.
32064         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
32065         bit is clear.
32066         * sysdeps/nacl/lowlevellock.h: New file.
32067         * sysdeps/nacl/lll_timedwait_tid.c: New file.
32069         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
32070         Add TIMEOUT to current time, don't subtract it.
32072 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
32074         [BZ #2981]
32075         [BZ #18422]
32076         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
32077         ($(objpfx)tst-audit2.out): Also depend on
32078         $(objpfx)tst-auditmod9b.so.
32079         * elf/tst-audit2.c: Include <dlfcn.h>.
32080         (calloc_called): New.
32081         (calloc): Allow to be called more than once.
32082         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
32084 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
32086         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
32087         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
32089 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
32091         * stdlib/monetary.h: Fix comment.
32093 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
32095         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
32096         Avoid using variables in #defines that might cause shadowing.
32097         (INTERNAL_VSYSCALL_CALL): Likewise.
32099 2015-05-26  Roland McGrath  <roland@hack.frob.com>
32101         * sysdeps/nacl/lll_timedlock_wait.c: New file.
32103         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
32104         * nptl/lll_timedlock_wait.c: ... to this new file.
32105         * nptl/Makefile (libpthread-routines): Add it.
32106         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
32107         * nptl/lll_timedwait_tid.c: ... to this new file.
32108         * nptl/Makefile (libpthread-routines): Add it.
32109         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
32110         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
32111         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
32112         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
32113         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
32114         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
32115         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
32116         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
32117         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
32118         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
32120 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32122         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
32123         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32124         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32125         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
32126         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
32127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32128         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32129         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32130         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32131         * sysdeps/unix/sysv/linux/tile/sysdep.h
32132         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32133         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
32134         using vDSO syscall macro.
32136 2015-05-26  Andriy Rysin  <arysin@gmail.com>
32138         [BZ #17293]
32139         * uk_UA: Fix sorting order for Ukrainian locale
32141 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
32143         * stdlib/monetary.h: Fix comment.
32145 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32147         [BZ #18234]
32148         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
32149         st_mtim and st_ctim members.
32150         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
32151         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
32152         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
32153         (struct stat64): Likewise.
32154         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
32155         (struct stat64): Likewise.
32156         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
32157         (struct stat64): Likewise.
32159 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32161         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
32162         Define and include sysdep-vdso.h.
32163         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
32164         Likewise.
32165         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
32166         Likewise.
32167         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
32168         Define with VDSO_SYMBOL and use PTR_MANGLE.
32169         (__vdso_clock_gettime): Likewise.
32170         (__vdso_clock_getres): Likewise.
32171         (_libc_vdso_platform_setup): Likewise.
32172         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32173         Likewise.
32174         (_libc_vdso_platform_setup): Likewise.
32175         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
32176         Likewise.
32177         (__vdso_clock_gettime): Likewise.
32178         (__vdso_clock_getres): Likewise.
32179         (__vdso_get_tbfreq): Likewise.
32180         (__vdso_getcpu): Likewise.
32181         (__vdso_time): Likewise.
32182         (__vdso_sigtramp_rt64): Likewise.
32183         (__vdso_signtramp32): Likewise.
32184         (__vdso_sigtramp_rt32): Likewise.
32185         (_libc_vdso_platform_setup): Likewise.
32186         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
32187         Likewise.
32188         (__vdso_clock_gettime): Likewise.
32189         (__vdso_clock_getres): Likewise.
32190         (_libc_vdso_platform_setup): Likewise.
32191         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
32192         Likewise.
32193         (__vdso_clock_gettime): Likewise.
32194         (_libc_vdso_platform_setup): Likewise.
32195         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32196         Likewise.
32197         (__vdso_getcpu): Likewise.
32198         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
32199         Use VDSO_SYMBOL macro to define.
32200         (__vdso_clock_gettime): Likewise.
32201         (__vdso_clock_getres): Likewise.
32202         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
32203         Likewise.
32204         (__vdso_clock_gettime): Likewise.
32205         (__vdso_clock_getres): Likewise.
32206         (__vdso_get_tbfreq): Likewise.
32207         (__vdso_getcpu): Likewise.
32208         (__vdso_time): Likewise.
32209         (__vdso_sigtramp_rt64): Likewise.
32210         (__vdso_signtramp32): Likewise.
32211         (__vdso_sigtramp_rt32): Likewise.
32212         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
32213         Likewise.
32214         (__vdso_clock_gettime): Likewise.
32215         (__vdso_clock_getres): Likewise.
32216         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
32217         Likewise.
32218         (__vdso_clock_gettime): Likewise.
32219         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32220         Likewise.
32221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
32222         macro.
32223         (INTERNAL_VSYSCALL): Likewise.
32224         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
32225         Remove macro.
32226         (INTERNAL_VSYSCALL): Likewise.
32227         (INTERNAL_VSYSCALL_NCS): Likewise.
32228         (INTERNAL_VSYSCALL_CALL): New macro.
32229         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32230         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
32231         Likewise.
32232         (INTERNAL_VSYSCALL): Likewise.
32233         (INTERNAL_VSYSCALL_NCS): Likewise.
32234         (INTERNAL_VSYSCALL_CALL): New macro.
32235         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32237         (INLINE_VSYSCALL): Remove macro.
32238         (INTERNAL_VSYSCALL): Remove macro.
32239         (INTERNAL_VSYSCALL_NCS): Remove macro.
32240         (INTERNAL_VSYSCALL_CALL): New macro.
32241         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
32242         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
32243         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32244         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
32245         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32247         (INLINE_VSYSCALL): Remove macro.
32248         (INTERNAL_VSYSCALL): Likewise.
32249         (INTERNAL_VSYSCALL_NCS): Likewise.
32250         (INTERNAL_VSYSCALL_CALL): New macro.
32251         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
32252         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
32253         PTR_DEMANGLE on vDSO pointer.
32254         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32255         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
32256         macro.
32257         (INTERNAL_SYSCALL): Likewise.
32258         (INTERNAL_VSYSCALL_NCS): Remove macro.
32259         (INTERNAL_VSYSCALL_CALL): New macro.
32260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
32261         Remove macro.
32262         (INTERNAL_VSYSCALL): Likewise.
32263         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
32264         sysdep-vdso.h instead of libc-vdso.h.
32265         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
32266         definition.
32267         (INLINE_VSYSCALL): Likewise.
32268         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
32269         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
32270         definition.
32271         (INLINE_VSYSCALL): Likewise.
32272         (INTERNAL_VSYSCALL): Likewise.
32273         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32274         * sysdeps/unix/sysv/linux/timespec_get.c
32275         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32276         (timespec_get): Use ANSI prototype.
32277         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
32278         and definition for Linux.
32280 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32282         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
32283         * include/libc-symbols.h: libmvec_hidden_* macro series added.
32285 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32287         [BZ #2981]
32288         [BZ #18410]
32289         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
32290         for missing DT_PLTRELSZ.
32292 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32294         Remove obsolete aliases that broke 'locale -a'
32295         [BZ #18412]
32296         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
32297         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
32298         breaking some applications that use 'locale -a' output.
32299         Change the encoding of this file from Latin-1 to ASCII to avoid
32300         other potential problems with people grepping this file.
32302 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32304         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
32305         -fasynchronous-unwind-tables.
32306         (CFLAGS-sendto.c): Likewise.
32307         (CFLAGS-sendmsg.c): Likewise.
32308         (CFLAGS-connect.c): Likewise.
32309         (CFLAGS-recvmsg.c): Likewise.
32310         (CFLAGS-recvfrom.c): Likewise.
32311         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
32312         (SOCKETCALL): New macro: non-cancellable socketcall.
32313         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
32314         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
32315         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
32316         * sysdeps/unix/sysv/linux/accept.c: New file.
32317         * sysdeps/unix/sysv/linux/bind.c: Likewise.
32318         * sysdeps/unix/sysv/linux/connect.c: Likewise.
32319         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
32320         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
32321         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
32322         * sysdeps/unix/sysv/linux/listen.c: Likewise.
32323         * sysdeps/unix/sysv/linux/recv.c: Likewise.
32324         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
32325         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
32326         * sysdeps/unix/sysv/linux/send.c: Likewise.
32327         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
32328         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
32329         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
32330         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
32331         * sysdeps/unix/sysv/linux/socket.c: Likewise.
32332         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
32333         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
32334         prototype.
32335         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
32336         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32337         instead of __internal_xxx function.
32338         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
32339         prototype.
32340         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
32341         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32342         instead of __internal_xxx function.
32343         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
32344         prototype.
32345         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
32346         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32347         instead of __internal_xxx function.
32348         * sysdeps/unix/sysv/linux/accept.S: Remove file.
32349         * sysdeps/unix/sysv/linux/bind.S: Likewise.
32350         * sysdeps/unix/sysv/linux/connect.S: Likewise.
32351         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
32352         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
32353         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
32354         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
32355         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
32356         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
32357         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
32358         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
32359         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32360         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
32361         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
32362         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
32363         * sysdeps/unix/sysv/linux/listen.S: Likewise.
32364         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
32365         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
32366         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
32367         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
32368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
32369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
32370         * sysdeps/unix/sysv/linux/recv.S: Likewise.
32371         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
32372         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
32373         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
32374         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32375         * sysdeps/unix/sysv/linux/send.S: Likewise.
32376         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
32377         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
32378         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
32379         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
32380         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
32381         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
32382         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
32383         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
32384         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
32385         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
32386         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
32387         socketcall is implemented in GLIBC.
32389 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32391         * soft-fp/fmadf4.c: Include <libc-internal.h>.
32392         (__fma): Ignore uninitialized warnings around packing.
32393         * soft-fp/fmasf4.c: Include <libc-internal.h>.
32394         (__fmaf): Ignore uninitialized warnings around packing.
32395         * soft-fp/fmatf4.c: Include <libc-internal.h>.
32396         (__fmal): Ignore uninitialized warnings around packing.
32398         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
32399         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32400         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
32401         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32403         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
32404         switch statement into default case.
32405         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
32407         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
32408         a conditional in forcing "inexact".
32409         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32410         Likewise.
32412 2015-05-22  Roland McGrath  <roland@hack.frob.com>
32414         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32415         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
32416         for each INTERNAL_SYSCALL use.
32418 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32420         [BZ #438]
32421         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
32422         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
32423         variable.
32425         [BZ #18444]
32426         * string/basename.c (basename): Rename to __basename and define as
32427         weak alias of __basename.  Use libc_hidden_weak.
32428         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
32429         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
32430         __basename instead of basename.
32431         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
32432         Remove variable.
32433         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
32435 2015-05-18  Florian Weimer  <fweimer@redhat.com>
32437         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
32438         (_IO_JUMPS_FILE_plus): New.
32439         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
32440         _IO_CAST_FIELD_ACCESS.
32441         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
32442         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
32443         * libio/freopen.c (freopen): Likewise.
32444         * libio/freopen64.c (freopen64): Likewise.
32445         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
32446         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
32447         * libio/iofwide.c (_IO_fwide): Likewise.
32448         * libio/memstream.c (open_memstream): Likewise.
32449         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32450         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
32451         * libio/oldiopopen.c (_IO_old_popen): Likewise.
32453 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
32455         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
32456         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
32457         NADJ.
32458         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
32459         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
32460         NADJ.
32461         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
32462         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
32463         NADJ.
32465         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
32466         (p == 4) case.
32468         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
32469         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
32470         Remove variable.
32471         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
32472         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
32473         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
32475 2015-05-21  Florian Weimer  <fweimer@redhat.com>
32477         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
32478         Adjust jump table label generation macros.
32480 2015-05-21  Florian Weimer  <fweimer@redhat.com>
32482         * stdio-common/vfprintf.c (vfprintf): Move local variables
32483         args_malloced, specs, specs_malloced, and the code after
32484         do_positional to the printf_positional function.
32485         (printf_positional): New function.
32487 2015-05-21  Florian Weimer  <fweimer@redhat.com>
32489         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
32490         function.
32491         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
32492         STEP4_TABLE, process_arg): Move macro definitions
32493         out of the vfprintf function.  (Cosmetic change only.)
32495 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
32497         * benchtests/Makefile (stdio-common-bench): Define.
32498         (benchset): Add stdio-common-bench.
32499         * sprintf-inputs: New file.
32500         * sprintf-source.c: New file.
32502 2015-05-21  Andreas Schwab  <schwab@suse.de>
32504         [BZ #13028]
32505         [BZ #17053]
32506         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
32507         of struct __res_state.
32508         * resolv/res_send.c (__libc_res_nsend): Likewise.
32509         (get_nsaddr): New function.
32510         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
32511         statp directly.
32513 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
32515         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
32516         -D_POSIX_C_SOURCE=199506L.
32518         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
32520         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
32521         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
32522         Do not mention otherwise.
32523         [POSIX] (_XOPEN_VERSION): Do not expect.
32524         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
32525         [POSIX] (_POSIX2_C_BIND): Likewise.
32526         [POSIX] (_POSIX2_VERSION): Likewise.
32527         [POSIX] (_XOPEN_XPG2): Likewise.
32528         [POSIX] (_XOPEN_XPG3): Likewise.
32529         [POSIX] (_XOPEN_XPG4): Likewise.
32530         [POSIX] (_XOPEN_UNIX): Likewise.
32531         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
32532         [POSIX] (_POSIX_BARRIERS): Likewise.
32533         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
32534         [POSIX] (_POSIX_CPUTIME): Likewise.
32535         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
32536         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
32537         [POSIX] (_POSIX_SHELL): Likewise.
32538         [POSIX] (_POSIX_SPAWN): Likewise.
32539         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
32540         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
32541         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
32542         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
32543         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
32544         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
32545         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
32546         [POSIX] (_XBS5_LP64_OFF64): Likewise.
32547         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
32548         [POSIX] (_POSIX_TIMEOUTS): Likewise.
32549         [POSIX] (_POSIX2_PBS): Likewise.
32550         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
32551         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
32552         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
32553         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
32554         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
32555         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
32556         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
32557         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
32558         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
32559         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
32560         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
32561         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
32562         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
32563         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
32564         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
32565         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
32566         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
32567         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
32568         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
32569         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
32570         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
32571         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
32572         [POSIX] (_SC_2_C_BIND): Likewise.
32573         [POSIX] (_SC_2_C_VERSION): Likewise.
32574         [POSIX] (_SC_2_PBS): Likewise.
32575         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
32576         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
32577         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
32578         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
32579         [POSIX] (_SC_2_PBS_TRACK): Likewise.
32580         [POSIX] (_SC_ATEXIT_MAX): Likewise.
32581         [POSIX] (_SC_BARRIERS): Likewise.
32582         [POSIX] (_SC_BASE): Likewise.
32583         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
32584         [POSIX] (_SC_DEVICE_IO): Likewise.
32585         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
32586         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
32587         [POSIX] (_SC_FD_MGMT): Likewise.
32588         [POSIX] (_SC_FIFO): Likewise.
32589         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
32590         [POSIX] (_SC_FILE_LOCKING): Likewise.
32591         [POSIX] (_SC_FILE_SYSTEM): Likewise.
32592         [POSIX] (_SC_IOV_MAX): Likewise.
32593         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
32594         [POSIX] (_SC_NETWORKING): Likewise.
32595         [POSIX] (_SC_PAGE_SIZE): Likewise.
32596         [POSIX] (_SC_PASS_MAX): Likewise.
32597         [POSIX] (_SC_PIPE): Likewise.
32598         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
32599         [POSIX] (_SC_REGEXP): Likewise.
32600         [POSIX] (_SC_SHELL): Likewise.
32601         [POSIX] (_SC_SIGNALS): Likewise.
32602         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
32603         [POSIX] (_SC_SPIN_LOCKS): Likewise.
32604         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
32605         [POSIX] (_SC_USER_GROUPS): Likewise.
32606         [POSIX] (_SC_USER_GROUPS_R): Likewise.
32607         [POSIX] (_SC_STREAMS): Likewise.
32608         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
32609         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
32610         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
32611         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
32612         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
32613         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
32614         [POSIX] (_PC_FILESIZEBITS): Likewise.
32615         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
32616         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
32617         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
32618         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
32619         [POSIX] (uid_t): Likewise.
32620         [POSIX] (gid_t): Likewise.
32621         [POSIX] (off_t): Likewise.
32622         [POSIX] (pid_t): Likewise.
32623         [POSIX] (cuserid): Allow.
32624         (_SC_2_CHAR_TERM): Require constant.
32625         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
32626         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
32627         variable.
32629 2015-05-20  Roland McGrath  <roland@hack.frob.com>
32631         * sysdeps/nacl/pthread-pids.h: New file.
32632         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
32633         (create_thread): Use __nacl_get_tid to initialize PD->tid.
32635         * nptl/pthread-pids.h: New file.
32636         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
32637         * nptl/nptl-init.c: Include <pthread-pids.h>.
32638         (__pthread_initialize_minimal_internal):
32639         Call __pthread_initialize_pids instead of set_tid_address syscall.
32641         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
32642         * sysdeps/posix/usleep.c: ... here.
32644 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32646         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
32647         call_pselect6 object.
32648         [$(subdir) = io]: Remove call_sync_file_range object.
32649         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
32650         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
32651         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
32652         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
32654 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
32656         * math/s_cproj.c: Add include "math_private.h".
32657         * math/s_cprojf.c: Likewise.
32658         * math/s_cprojl.c: Likewise.
32660 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
32662         [BZ #18244]
32663         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
32664         high mantissa bit when testing whether P is a NaN.
32665         * math/libm-test.inc (remainder_test_data): Add more tests.
32666         (remquo_test_data): Likewise.
32668         [BZ #18049]
32669         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
32670         below -32, return the argument, with underflow if subnormal.
32671         * math/auto-libm-test-in: Add more tests of atanh.
32672         * math/auto-libm-test-out: Regenerated.
32674 2015-05-19  Roland McGrath  <roland@hack.frob.com>
32676         [BZ #18434]
32677         * nptl/tst-sem15.c: New file.
32678         * nptl/Makefile (tests): Add it.
32679         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
32680         s/<</>>/ to fix typo in EOVERFLOW check.
32681         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
32683 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32685         * manual/strings.texi (envz_remove): Fix typo in safety
32686         annotations.
32688 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
32689             Steve Ellcey  <sellcey@imgtec.com>
32691         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
32692         in order to avoid strict alias warnings.
32693         (iruserok_af): Ditto for ra.
32695 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
32697         [BZ #17581]
32698         * malloc/hooks.c
32699         (magicbyte): Convert to a function and avoid returning 0x01.
32700         (mem2mem_check): Avoid using a length byte equal to the magic byte.
32701         (mem2chunk_check): Fix unsigned comparisons to zero.
32702         Hoist defs of sz and magic.
32704 2015-05-19  Richard Henderson  <rth@redhat.com>
32706         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
32708         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32710 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32712         [BZ #16159]
32713         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
32714         * malloc/arena.c (arena_lock): Check if arena is corrupt.
32715         (reused_arena): Find a non-corrupt arena.
32716         (heap_trim): Pass arena to unlink.
32717         * malloc/hooks.c (malloc_check_get_size): Pass arena to
32718         malloc_printerr.
32719         (top_check): Likewise.
32720         (free_check): Likewise.
32721         (realloc_check): Likewise.
32722         * malloc/malloc.c (malloc_printerr): Add arena argument.
32723         (unlink): Likewise.
32724         (munmap_chunk): Adjust.
32725         (ARENA_CORRUPTION_BIT): New macro.
32726         (arena_is_corrupt): Likewise.
32727         (set_arena_corrupt): Likewise.
32728         (sysmalloc): Use mmap if there are no usable arenas.
32729         (_int_malloc): Likewise.
32730         (__libc_malloc): Don't fail if arena_get returns NULL.
32731         (_mid_memalign): Likewise.
32732         (__libc_calloc): Likewise.
32733         (__libc_realloc): Adjust for additional argument to
32734         malloc_printerr.
32735         (_int_free): Likewise.
32736         (malloc_consolidate): Likewise.
32737         (_int_realloc): Likewise.
32738         (_int_memalign): Don't touch corrupt arenas.
32739         * malloc/tst-malloc-backtrace.c: New test case.
32741         * Makefile (summarize-tests): Fix return value on success.
32743         * manual/string.texi (Envz Functions): Add envz_remove.
32745 2015-05-18  Roland McGrath  <roland@hack.frob.com>
32747         * sysdeps/posix/opendir.c: Include <stdbool.h>.
32748         (invalid_name): New function, broken out of ...
32749         (__opendirat): ... here.  Call it.
32750         (need_isdir_precheck): New function, broken out of ...
32751         (__opendirat): ... here.  Call it.
32752         Use __fxstatat64, not __xstatat64.
32753         (opendir_oflags): New function, broken out of ...
32754         (__opendirat): ... here.  Call it.
32755         (opendir_tail): New function, broken out of ...
32756         (__opendirat): ... here.  Call it.
32757         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
32758         opendir_tail, rather than punting to __opendirat.
32759         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
32761 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32763         * .gitignore: Ignore generated *.pyc.
32765 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
32767         * include/stdio.h: Define __need_wint_t.
32768         * test-skeleton.c: Avoid `for' loop initial declaration.
32769         * nptl/tst-initializers1.c: Use test-skeleton.c.
32771 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32773         [BZ #18418]
32774         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
32776 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32778         [BZ #16352]
32779         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
32780         (__ieee754_atanh): Force underflow exception for results with
32781         small absolute value.
32782         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
32783         (__ieee754_atanhf): Force underflow exception for results with
32784         small absolute value.
32785         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
32786         (__ieee754_atanh): Force underflow exception for results with
32787         small absolute value.
32788         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
32789         (__ieee754_atanhf): Force underflow exception for results with
32790         small absolute value.
32791         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
32792         (__ieee754_atanhl): Force underflow exception for results with
32793         small absolute value.
32794         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
32795         (__ieee754_atanhl): Force underflow exception for results with
32796         small absolute value.
32797         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
32798         (__ieee754_atanhl): Force underflow exception for results with
32799         small absolute value.
32800         * math/auto-libm-test-in: Do not allow missing underflow
32801         exceptions from atanh.
32802         * math/auto-libm-test-out: Regenerated.
32804         [BZ #18221]
32805         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
32806         2**-28 as threshold for returning x or +/- 1/x.
32807         * math/auto-libm-test-in: Add more tests of tan.
32808         * math/auto-libm-test-out: Regenerated.
32810         [BZ #18220]
32811         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32812         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
32813         * math/auto-libm-test-in: Add another test of lgamma.
32814         * math/auto-libm-test-out: Regenerated.
32816 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
32818         * stdio-common/printf_fp.c (___printf_fp): Use abs.
32819         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
32820         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
32821         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
32822         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
32823         (ADD2A): Use fabs.  (SUB2A): Use fabs.
32824         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
32825         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
32826         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
32827         (log1): Use fabs.  (my_log2): Use fabs.
32828         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
32829         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
32830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
32831         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
32832         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
32833         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
32834         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
32835         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
32836         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
32837         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
32838         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
32840 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32842         [BZ #18217]
32843         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
32844         as threshold for returning 1 - x.
32845         * math/auto-libm-test-in: Add more tests of erfc.
32846         * math/auto-libm-test-out: Regenerated.
32848 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
32850         [BZ #18196]
32851         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
32852         threshold for large arguments.
32853         * math/auto-libm-test-in: Add another test of atan.
32854         * math/auto-libm-test-out: Regenerated.
32856         [BZ #16339]
32857         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
32858         (__log1p): Force underflow exception for results with small
32859         absolute value.
32860         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
32861         (__log1pf): Force underflow exception for results with small
32862         absolute value.
32863         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
32864         (__log1p): Force underflow exception for results with small
32865         absolute value.
32866         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
32867         (__log1pf): Force underflow exception for results with small
32868         absolute value.
32869         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
32870         (__log1pl): Force underflow exception for results with small
32871         absolute value.
32872         * math/auto-libm-test-in: Do not allow missing underflow
32873         exceptions from log1p.
32874         * math/auto-libm-test-out: Regenerated.
32876 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
32877             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32879         [BZ #16704]
32880         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
32882 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
32884         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
32885         (libmvec): New variable.
32886         * configure.ac: Added option for mathvec build.
32887         * configure: Regenerated.
32888         * mathvec/Depend: New file.
32889         * mathvec/Makefile: New file.
32890         * shlib-versions: Added libmvec.
32891         * math/Makefile: Added rule for libm.so installation.
32893         * bits/math-vector.h: New file.
32894         * bits/libm-simd-decl-stubs.h: New header.
32895         * math/Makefile (headers): Added new header
32896         libm-simd-decl-stubs.h.
32897         * math/math.h (__MATHCALL_VEC): New macro.
32899         * math/gen-libm-have-vector-test.sh: Script generates series of macros
32900         for conditions in testing functions.
32901         * math/Makefile: Added call of libm-have-vector-test.sh.
32902         * math/libm-test.inc (HAVE_VECTOR): New macros.
32904         * math/libm-test.inc: START refactored.
32905         * math/test-double.c (TEST_MATHVEC): Add define.
32906         * math/test-float.c: Likewise.
32907         * math/test-idouble.c: Likewise.
32908         * math/test-ifloat.c: Likewise.
32909         * math/test-ildoubl.c: Likewise.
32910         * math/test-ldouble.c: Likewise.
32911         * sysdeps/generic/math-tests-arch.h
32912         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
32913         architecture check.
32915         * math/test-double.c (FUNC_TEST): New macro.
32916         * math/test-float.c: Likewise.
32917         * math/test-idouble.c: Likewise.
32918         * math/test-ifloat.c: Likewise.
32919         * math/test-ildoubl.c: Likewise.
32920         * math/test-ldouble.c: Likewise.
32921         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
32923 2015-05-13  Roland McGrath  <roland@hack.frob.com>
32925         * sysdeps/nacl/fdopendir.c: New file.
32927         * dirent/scandir-tail.c: New file.
32928         * dirent/scandir64-tail.c: New file.
32929         * dirent/Makefile (routines): Add them.
32930         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
32931         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
32932         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
32933         [!SCANDIR] (SCANDIR_TAIL): New macro.
32934         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
32935         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
32936         (SCANDIRAT): Macro removed.
32937         (SCANDIR_TAIL): New macro.
32938         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
32939         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
32940         (SCANDIRAT): Just call __opendirat and __scandir_tail.
32941         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
32942         (READDIR): Macro removed.
32943         (SCANDIR_TAIL): New macro.
32944         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
32945         (SCANDIR_TAIL): New macro.
32947         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
32948         * dirent/scandir-cancel.c: ... to this new file.
32949         * dirent/Makefile (routines): Add it.
32950         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
32951         * sysdeps/unix/sysv/linux/i386/scandir64.c
32952         (SKIP_SCANDIR_CANCEL): Macro removed.
32953         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
32955         * dirent/tst-scandir.c: New file.
32956         * dirent/tst-scandir64.c: New file.
32957         * dirent/Makefile (tests): Add them.
32959 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
32961         [BZ #18409]
32962         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
32964 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32966         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
32967         list.
32969 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
32971         * benchtests/bench-strcoll.c: New benchmark.
32972         * benchtests/Makefile: Generate locales and run benchmark.
32973         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
32974         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
32975         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
32976         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
32977         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
32978         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
32979         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
32980         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
32981         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
32982         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
32983         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
32984         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
32985         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
32986         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
32987         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
32988         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
32989         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
32990         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
32991         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
32992         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
32993         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
32994         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
32995         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
32996         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
32998 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
33000         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
33001         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33003 2015-05-12  Roland McGrath  <roland@hack.frob.com>
33005         * posix/uname-values.h: New file.
33006         * posix/uname.c: Include that instead of <config-name.h>.
33007         * sysdeps/nacl/uname-values.h: New file.
33008         * sysdeps/arm/nacl/uname-values.h: New file.
33010 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
33012         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
33013         splitting into fields.
33015 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
33017         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
33018         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
33019         * locale/localeinfo.h: Add enum collation_encoding_type.
33020         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
33021         * programs/ld-collate.c (collate_output): Add encoding type info.
33022         * string/strcoll_l.c (STRDIFF): New function.
33023         * (STRCOLL): Use STRDIFF to skip over equal prefix.
33024         * wcsmbs/wcscoll_l.c: Define STRDIFF.
33026 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
33028         [BZ #18397]
33029         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
33030         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
33031         <fpu_control.h> instead of <math/fpu_control.c>.
33032         * sysdeps/mips/mips32/fpu/Makefile: New file.
33034 2015-05-11  Andreas Schwab  <schwab@suse.de>
33036         [BZ #18007]
33037         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
33038         nss_endgrent.
33039         (_nss_compat_endgrent): Call nss_endgrent.
33040         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
33041         nss_endpwent.
33042         (_nss_compat_endpwent): Call nss_endpwent.
33043         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
33044         needent, call nss_setspent only if non-zero.
33045         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
33046         (internal_endspent): Don't call nss_endspent.
33047         (_nss_compat_endspent): Call nss_endspent.
33048         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
33049         Remove.  All uses removed.
33050         (internal_setent): Remove parameter stayopen, add parameter
33051         stream.  Use it instead of global variable.
33052         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
33053         (internal_endent, internal_getent): Add parameter stream.  Use it
33054         instead of global variable.
33055         (CONCAT(_nss_files_end,ENTNAME))
33056         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
33057         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
33058         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
33059         uses removed.
33060         (internal_setent, internal_endent): Add parameter stream.  Use it
33061         instead of global variable.
33062         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
33063         stream.
33064         (get_next_alias): Add parameter stream.
33065         (_nss_files_getaliasent_r): Pass global stream.
33066         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
33067         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
33068         (_nss_files_gethostbyname4_r): Pass local stream to
33069         internal_setent, internal_getent and internal_endent.  Remove
33070         locking.
33072 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33074         * tst-strfmon1.c (tests): Update expected currency symbol.
33076 2015-05-08  Roland McGrath  <roland@hack.frob.com>
33078         * sysdeps/nacl/gethostname.c: New file.
33080 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
33082         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
33083         and sinh.
33084         * math/auto-libm-test-out: Regenerated.
33085         * sysdeps/i386/fpu/libm-test-ulps: Update.
33086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33088 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
33090         [BZ #18125]
33091         * stdlib/tst-setcontext3.c: New file.
33092         * stdlib/tst-setcontext3.sh: New file.
33093         * stdlib/Makefile (tests): Add tst-setcontext3.
33094         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
33095         to verify test program created output file.
33096         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
33097         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
33098         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
33099         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
33101 2015-05-06  Roland McGrath  <roland@hack.frob.com>
33103         [BZ #18383]
33104         * elf/tst-tlsalign.c: New file.
33105         * elf/tst-tlsalign-static.c: New file.
33106         * elf/tst-tlsalign-lib.c: New file.
33107         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
33108         (tests-static): Add tst-tlsalign-static.
33109         (modules-names): Add tst-tlsalign-lib.
33110         (test-xfail-tst-tlsalign): New variable.
33111         (test-xfail-tst-tlsalign-static): New variable.
33113         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
33114         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
33116 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
33118         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
33119         csqrt, erfc, sin and sincos.
33120         * math/auto-libm-test-out: Regenerated.
33121         * sysdeps/i386/fpu/libm-test-ulps: Update.
33122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33124 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33126         * sysdeps/aarch64/libm-test-ulps: Update.
33128 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
33130         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
33131         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
33132         * math/auto-libm-test-out: Regenerated.
33133         * sysdeps/i386/fpu/libm-test-ulps: Update.
33134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33136 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33138         [BZ #18265]
33139         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
33140         (wcsncpy): Likewise.
33142 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33144         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33145         Assume __ASSUME_FALLOCATE is always true.
33146         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33147         (__posix_fallocate64_l64): Likewise.
33148         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
33149         (posix_fallocate): Likewise.
33150         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
33151         (__posix_fallocate64_l64): Likewise.
33152         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33153         [!__ASSUME_FALLOCATE]: Add comment.
33155 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33157         * sysdeps/unix/sysv/linux/i386/Makefile
33158         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
33159         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
33160         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
33161         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33162         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33163         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
33164         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
33166 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
33168         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
33169         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
33170         tgamma.
33171         * math/auto-libm-test-out: Regenerated.
33172         * sysdeps/i386/fpu/libm-test-ulps: Update.
33173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33175 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33177         * math/auto-libm-test-in: Add more tests of tgamma.
33178         * math/auto-libm-test-out: Regenerated.
33179         * sysdeps/i386/fpu/libm-test-ulps: Update.
33180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33182         * math/auto-libm-test-in: Add more tests of tanh.
33183         * math/auto-libm-test-out: Regenerated.
33184         * sysdeps/i386/fpu/libm-test-ulps: Update.
33185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33187         * math/auto-libm-test-in: Add more tests of tan.
33188         * math/auto-libm-test-out: Regenerated.
33189         * sysdeps/i386/fpu/libm-test-ulps: Update.
33190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33192         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
33193         * math/auto-libm-test-out: Regenerated.
33194         * sysdeps/i386/fpu/libm-test-ulps: Update.
33195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33197         * math/auto-libm-test-in: Add another test of pow.
33198         * math/auto-libm-test-out: Regenerated.
33199         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33201         * math/auto-libm-test-in: Add more tests of lgamma.
33202         * math/auto-libm-test-out: Regenerated.
33203         * sysdeps/i386/fpu/libm-test-ulps: Update.
33204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33206         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
33207         log1p.
33208         * math/auto-libm-test-out: Regenerated.
33209         * sysdeps/i386/fpu/libm-test-ulps: Update.
33210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33212 2015-05-01  Mark Wielaard  <mjw@redhat.com>
33214         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
33215         Elf64_Chdr structs and ELFCOMPRESS constants.
33217 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33219         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
33220         expm1.
33221         * math/auto-libm-test-out: Regenerated.
33222         * sysdeps/i386/fpu/libm-test-ulps: Update.
33223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33225         * math/auto-libm-test-in: Add more tests of erf and erfc.
33226         * math/auto-libm-test-out: Regenerated.
33227         * sysdeps/i386/fpu/libm-test-ulps: Update.
33228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33230 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33232         * config.h.in (HAVE_AARCH64_BE): Add.
33234 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
33236         * math/auto-libm-test-in: Add more tests of csqrt.
33237         * math/auto-libm-test-out: Regenerated.
33238         * sysdeps/i386/fpu/libm-test-ulps: Update.
33239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33241         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33242         * math/auto-libm-test-out: Regenerated.
33243         * sysdeps/i386/fpu/libm-test-ulps: Update.
33244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33246         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
33248 2015-04-29  Roland McGrath  <roland@hack.frob.com>
33250         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
33251         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
33253         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
33254         (euidaccess, eaccess): Define as weak aliases.
33256         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
33257         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
33258         but __suseconds_t is often 'long int' so some sources assume that
33259         type is being used (e.g. they use %ld to print tv_usec).
33261 2015-04-29  Florian Weimer  <fweimer@redhat.com>
33263         [BZ #18007]
33264         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
33265         (CVE-2014-8121)
33266         * nss/tst-nss-getpwent.c: New file.
33267         * nss/Makefile (tests): Add new test.
33269 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
33271         [BZ #18346]
33272         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
33273         exponents less than 48 as cases where high part of mantissa needs
33274         examining to determine whether argument is integral.
33275         * math/libm-test.inc (round_test_data): Add more tests.
33277 2015-04-28  Mark Wielaard  <mjw@redhat.com>
33279         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
33281 2015-04-27  David S. Miller  <davem@davemloft.net>
33283         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
33284         __tls_get_addr.
33285         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33287 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
33289         [BZ #18333]
33290         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
33292 2015-04-27  Florian Weimer  <fweimer@redhat.com>
33294         [BZ #18333]
33295         * time/tzset.c (parse_tzname): Return error on memory allocation
33296         failure.
33297         * test-skeleton.c (struct temp_name_list): Change type of name
33298         member to non-const.
33299         (add_temp_file): Create a copy of the file name.
33300         (delete_temp_files): Deallocate memory.
33301         (create_temp_file): Add comment.
33303 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33305         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
33306         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
33308 2015-04-24  Roland McGrath  <roland@hack.frob.com>
33310         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
33311         * sysdeps/arm/configure: Regenerated.
33313 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33315         [BZ #17715]
33316         * time/tzfile.c (__tzfile_read): Check for large values of
33317         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
33318         * time/tzset.c (__tzstring_len): New function, based on the old
33319         __tzstring function.
33320         (__tzstring): Call __tzstring_len.
33321         (parse_tzname): New helper function extracted from
33322         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
33323         the input string.
33324         (parse_offset): New helper function extracted from
33325         __tzset_parse_tz.  Replace switch with fallthrough with
33326         initialization before sscanf.
33327         (parse_rule): Likewise.
33328         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
33329         new-style function definition.
33330         * timezone/Makefile (tests): Add tst-tzset.
33331         (tst-tzset.out): Dependencies on time zone files.
33332         (tst-tzset-ENV): Set TZDIR.
33333         (testdata/XT%): Copy crafted time zone files.
33334         * timezone/README: Mention crafted time zone files.
33335         * timezone/testdata/XT1, timezone/testdata/XT2,
33336         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
33337         files.
33338         * timezone/tst-tzset.c: New test.
33340 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33342         * Makeconfig (+gccwarn): Remove -Winline.
33344 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33346         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
33348 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33350         * NEWS: Mention sysconf() cache information support for s390.
33351         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
33353 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
33355         * math/k_casinh.c (__kernel_casinh): Use __copysign.
33356         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
33357         (__nearbyint): Likewise.
33358         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
33359         (copysignl): Likewise.
33361 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
33363         [BZ #18287]
33364         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
33365         based on padding.  (CVE-2015-1781)
33367 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33369         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
33370         libc-vdso.h.
33371         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
33372         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
33373         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
33374         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33375         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33376         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
33377         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
33378         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33379         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33380         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
33381         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33382         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33383         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33384         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
33385         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33386         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
33387         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
33388         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
33389         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
33390         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
33391         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
33392         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
33393         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
33395 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
33397         * stdlib/setenv.c (__add_to_environ):
33398         Dump core quickly if setenv (..., NULL, ...) is called.
33399         This time, do it the right way, and pacify GCC with a pragma.
33401 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33403         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
33404         IMAP->l_prev cannot be null, and #if out the code for the contrary
33405         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
33406         believe that NS (&_dl_ns[NSID]) could point outside the array.
33408         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
33409         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
33410         before using NSID as an index.
33412 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
33414         [BZ #17825]
33415         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
33416         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
33417         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33419 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33421         Add preliminary port to Google Native Client on ARM.
33422         * abi-tags (.*-.*-nacl.*): New entry.
33423         * sysdeps/arm/nacl: New directory.
33424         * sysdeps/nacl: New directory.
33426 2015-04-16  David S. Miller  <davem@davemloft.net>
33428         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
33429         lowlevellock-futex.h
33431 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
33433         * sysdeps/tile/configure.ac: New file.
33434         * sysdeps/tile/configure: Regenerated.
33436 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33438         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
33439         conditionals for weak_alias and libc_hidden_weak.
33440         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
33441         libc_hidden_weak and weak_alias.
33442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
33443         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
33444         and weak_alias for static one.
33446 2015-04-15  David S. Miller  <davem@davemloft.net>
33448         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33450 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33452         [BZ #18206]
33453         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
33454           Use signed comparision instead of substraction to avoid
33455           overflow bug.
33456         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
33457           Take the sign of ret.
33458         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
33459           Do not expect precise return values. Only the sign matters.
33460         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
33461         * wcsmbs/test-wcsncmp.c: New File.
33462         * string/test-strncmp.c: Add wcsncmp support.
33464 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33466         [BZ #6792]
33467         * math/w_log1p.c: New file.
33468         * math/w_log1pf.c: Likewise.
33469         * math/w_log1pl.c: Likewise.
33470         * math/Makefile (libm-calls): Add w_log1p.
33471         * math/s_log1pl.c (log1pl): Remove weak_alias.
33472         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
33473         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
33474         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
33475         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
33476         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
33477         [NO_LONG_DOUBLE] (log1pl): Likewise.
33478         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
33479         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
33480         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
33481         (log1p): Remove long_double_symbol.
33482         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
33483         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
33484         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
33485         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
33486         remove weak_alias for corresponding log1p function.
33487         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
33488         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
33489         * sysdeps/ia64/fpu/w_log1p.c: New file.
33490         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
33491         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
33492         * math/libm-test.inc (log1p_test_data): Add errno expectations.
33494 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
33496         [BZ #18247]
33497         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
33498         decimal exponent by 1.
33499         * stdlib/tst-strtod-round-data: Add more tests.
33500         * stdlib/tst-strtod-round.c (tests): Regenerated.
33502 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
33504         * math/auto-libm-test-in: Add more tests of clog and clog10.
33505         * math/auto-libm-test-out: Regenerated.
33506         * sysdeps/i386/fpu/libm-test-ulps: Update.
33507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33509 2015-04-09  Roland McGrath  <roland@hack.frob.com>
33511         * Makeconfig (module-cppflags): Exclude all .v.i files.
33512         (skip-module-cppflags): Variable removed.
33514         * configure.ac (libc_config_ok): Initialize before reading
33515         preconfigure scripts, not after.
33516         * configure: Regenerated.
33518         * test-skeleton.c (TIMEOUT): Move #define to top level.
33519         (main): Grok environment variable TEST_DIRECT.  If set, print
33520         test expectation details into that file and then behave as if
33521         given --direct.
33523 2015-04-09  Florian Weimer  <fweimer@redhat.com>
33525         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
33526         warning on 32-bit.
33528 2015-04-08  David S. Miller  <davem@davemloft.net>
33530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33532 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
33534         * math/auto-libm-test-in: Add more tests of atanh.
33535         * math/auto-libm-test-out: Regenerated.
33536         * sysdeps/i386/fpu/libm-test-ulps: Update.
33537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33539         * math/auto-libm-test-in: Add more tests of atan.
33540         * math/auto-libm-test-out: Regenerated.
33541         * sysdeps/i386/fpu/libm-test-ulps: Update.
33542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33544 2015-04-08  Florian Weimer  <fweimer@redhat.com>
33546         * elf/pldd.c (main): Rewrite to use struct
33547         scratch_buffer instead of extend_alloca.
33548         * elf/pldd-xx.c (find_maps): Likewise.
33549         * grp/initgroups.c: Include <scratch_buffer.h> instead of
33550         <alloca.h>.
33551         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
33552         scratch_buffer instead of extend_alloca.
33553         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
33554         grp/compat-initgroups.c.
33555         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
33556         Rewrite to use struct scratch_buffer instead of extend_alloca.
33557         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
33558         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33560 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
33562         * math/auto-libm-test-in: Add more tests of cbrt.
33563         * math/auto-libm-test-out: Regenerated.
33564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33566         * math/auto-libm-test-in: Add more tests of cabs.
33567         * math/auto-libm-test-out: Regenerated.
33568         * sysdeps/i386/fpu/libm-test-ulps: Update.
33569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33571         [BZ #18210]
33572         [BZ #18211]
33573         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
33574         (__ieee754_atan2): Set FE_TONEAREST mode for internal
33575         computations.
33576         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
33577         clog10.
33578         * math/auto-libm-test-out: Regenerated.
33579         * sysdeps/i386/fpu/libm-test-ulps: Update.
33580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33582         [BZ #18197]
33583         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
33584         (atan): Set FE_TONEAREST mode for internal computations.
33585         * math/auto-libm-test-in: Add more tests of atan.
33586         * math/auto-libm-test-out: Regenerated.
33588 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
33590         [BZ #17930]
33591         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
33593 2015-04-07  Florian Weimer  <fweimer@redhat.com>
33595         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
33597 2015-04-07  Florian Weimer  <fweimer@redhat.com>
33599         * include/scratch_buffer.h: New file.
33600         * malloc/scratch_buffer_grow.c: Likewise.
33601         * malloc/scratch_buffer_grow_preserve.c: Likewise.
33602         * malloc/scratch_buffer_set_array_size.c: Likewise.
33603         * malloc/tst-scratch_buffer.c: Likewise.
33604         * malloc/Makefile (routines): Add scratch_buffer_grow.
33605         (tests): Add test case.
33606         * malloc/Versions (GLIBC_PRIVATE): Export
33607         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
33608         __libc_scratch_buffer_set_array_size.
33610 2015-04-06  Richard Henderson  <rth@redhat.com>
33612         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
33613         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33615         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
33616         unsigned int before printing.
33618 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33620         [BZ #17596]
33621         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
33622         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33624 2015-04-02  Florian Weimer  <fweimer@redhat.com>
33626         * include/libc-internal.h (libc_max_align_t): Define.
33628 2015-04-02  Andreas Schwab  <schwab@suse.de>
33630         [BZ #16850]
33631         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
33633 2015-04-02  Mel Gorman  <mgorman@suse.de>
33635         [BZ #17195]
33636         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
33637         as well as the main arena.
33639 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33641         [BZ #18185]
33642         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
33643         sharing L2 cache to 2 for Silvermont/Knights Landing.
33645 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33647         [BZ #17711]
33648         * config.make.in (have-protected-data): New.
33649         * configure.ac: Check linker support for protected data symbol.
33650         * configure: Regenerated.
33651         * elf/Makefile (modules-names): Add tst-protected1moda and
33652         tst-protected1modb if $(have-protected-data) is yes.
33653         (tests): Add tst-protected1a and tst-protected1b if
33654         $(have-protected-data) is yes.
33655         ($(objpfx)tst-protected1a): New.
33656         ($(objpfx)tst-protected1b): Likewise.
33657         (tst-protected1modb.so-no-z-defs): Likewise.
33658         * elf/tst-protected1a.c: New file.
33659         * elf/tst-protected1b.c: Likewise.
33660         * elf/tst-protected1mod.h: Likewise.
33661         * elf/tst-protected1moda.c: Likewise.
33662         * elf/tst-protected1modb.c: Likewise.
33664 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33666         [BZ #17711]
33667         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
33668         indicates it is called from do_lookup_x on relocation against
33669         protected data, skip the data definion in the executable from
33670         copy reloc.
33671         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
33672         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
33673         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
33674         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
33675         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
33676         otherwise to 0.
33677         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33678         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
33679         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
33680         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33681         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
33682         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
33684 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
33686         * sysdeps/nptl/pthread.h: Remove duplicate definition of
33687         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
33689 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
33691         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
33692         THREAD_SETMEM_NC.
33693         * sysdeps/x86_64/nptl/tls.h: Ditto.
33695 2015-03-27  Roland McGrath  <roland@hack.frob.com>
33697         * dlfcn/tststatic.c (main): Converted to ...
33698         (do_test): ... this.
33699         (TEST_FUNCTION): New macro.
33700         Include test-skeleton.c.
33702 2015-03-26  Alan Modra  <amodra@gmail.com>
33704         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
33705         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
33706         zero for undefined weak.
33707         (elf_machine_plt_conflict): Similarly.
33709 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33711         * math/auto-libm-test-in: Add more tests of acosh, asinh and
33712         atanh.
33713         * math/auto-libm-test-out: Regenerated.
33714         * sysdeps/i386/fpu/libm-test-ulps: Update.
33715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33717         * math/auto-libm-test-in: Add another test of asin.
33718         * math/auto-libm-test-out: Regenerated.
33719         * sysdeps/i386/fpu/libm-test-ulps: Update.
33720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33722         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
33723         Remove macro.
33724         (LLL_EBX_REG): Likewise.
33725         (LLL_ENTER_KERNEL): Likewise.
33727         * math/auto-libm-test-in: Add more tests of asin.
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         [BZ #18138]
33733         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
33734         libc_do_syscall_args): New structure.
33735         (INTERNAL_SYSCALL_MAIN_0): New macro.
33736         (INTERNAL_SYSCALL_MAIN_1): Likewise.
33737         (INTERNAL_SYSCALL_MAIN_2): Likewise.
33738         (INTERNAL_SYSCALL_MAIN_3): Likewise.
33739         (INTERNAL_SYSCALL_MAIN_4): Likewise.
33740         (INTERNAL_SYSCALL_MAIN_5): Likewise.
33741         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
33742         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
33743         Replace conditional definitions by conditional definitions of ....
33744         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
33745         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
33746         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
33747         (libpthread-sysdep_routines): Add libc-do-syscall.
33748         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
33749         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
33750         to __NR_futex not 240.
33752 2015-03-25  Alan Modra  <amodra@gmail.com>
33754         * NEWS: Advertise TLS optimization.
33755         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
33756         (DT_PPC_NUM): Increment.
33757         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
33758         (CHECK_STATIC_TLS): Use here.
33759         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
33760         TLS descriptors.
33761         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33762         * sysdeps/powerpc/dl-tls.c: New file.
33763         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
33764         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
33765         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
33766         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
33767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
33768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
33769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
33771 2015-03-25  Alan Modra  <amodra@gmail.com>
33773         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
33774         for overlapping .opd entries" to "support...".
33775         * sysdeps/powerpc/powerpc64/configure: Regenerate
33777 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33779         * math/auto-libm-test-in: Add more tests of acos.
33780         * math/auto-libm-test-out: Regenerated.
33781         * sysdeps/i386/fpu/libm-test-ulps: Update.
33782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33784         * math/auto-libm-test-in: Add more tests of expm1.
33785         * math/auto-libm-test-out: Regenerated.
33786         * sysdeps/i386/fpu/libm-test-ulps: Update.
33787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33789 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
33791         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33792         * math/auto-libm-test-out: Regenerated.
33793         * sysdeps/i386/fpu/libm-test-ulps: Update.
33794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33796         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33799         * math/auto-libm-test-in: Add more tests of log2.
33800         * math/auto-libm-test-out: Regenerated.
33801         * sysdeps/i386/fpu/libm-test-ulps: Update.
33802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33804 2015-03-23  Roland McGrath  <roland@hack.frob.com>
33806         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
33807         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
33808         _IO_IS_APPENDING bit in READ_WRITE instead.
33810 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33812         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
33813         (__determine_cpumask_size): Replace extend_alloca with a
33814         variable-length array.  Do not treat res == 0 as an error.
33816 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33818         [BZ #18100]
33819         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
33820         and integer overflow.
33821         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
33822         (main): Add integer overflow tests.
33823         * manual/pattern.texi (Calling Wordexp): Document additional use
33824         for WRDE_SYNTAX.
33826 2015-03-23  Alan Modra  <amodra@gmail.com>
33828         * config.h.in: Remove HAVE_ASM_PPC_REL16.
33829         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
33830         and false branch of conditional.
33831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33832         Likewise.
33834 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
33836         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
33837         libc-modules.h
33838         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
33839         unused declaration of _hurd_intr_rpc_msg_in_trap.
33840         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
33841         defined instead of whether it is non-zero.
33842         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
33843         input constraint instead of both input and output constraint.  Use ecx
33844         clobber instead of %ecx.
33845         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
33846         mutex_unlock): Use a statement expression instead of an expression list.
33847         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
33848         type to vm_size_t instead of vm_address_t.
33849         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
33850         defined instead of whether it is non-zero.
33851         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
33852         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
33853         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
33854         comparisons with mapaddr.
33855         * nscd/nscd-client.h: Include <time.h>.
33856         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
33857         9th parameter to __vm_region instead of int.
33858         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
33859         * scripts/check-local-headers.sh (exclude): Add device/,
33860         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
33861         cthreads.h.
33863 2015-03-19  Roland McGrath  <roland@hack.frob.com>
33865         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
33866         to account for alignment padding.
33867         * sysdeps/arm/memmove.S: Likewise.
33869 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
33871         * sysdeps/unix/sysv/linux/generic/README: New file.
33873 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
33875         [BZ #18138]
33876         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
33877         (futex_abstimed_wait)
33878         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
33879         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
33880         of lll_futex_timed_wait.
33882 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
33884         [BZ #17542]
33885         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
33887 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
33889         [BZ #17090]
33890         [BZ #17620]
33891         [BZ #17621]
33892         [BZ #17628]
33893         * NEWS: Update.
33894         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
33895         entries with Static TLS too.  Skip entries past the end of the
33896         allocated DTV, from Alan Modra.
33897         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
33898         Static TLS DTV entry set up from...
33899         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
33900         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
33901         * nptl/allocatestack.c (init_one_static_tls): ... and here...
33902         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
33903         for Static TLS.
33904         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
33905         that the slot we find is associated with the given map before
33906         using its generation count.
33907         * nptl_db/db_info.c: Include ldsodefs.h.
33908         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
33909         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
33910         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
33911         (link_map::l_tls_offset): New struct field.
33912         (dtv_t::counter): Likewise.
33913         (rtld_global): New struct.
33914         (_rtld_global): New rtld variable.
33915         (dl_tls_dtv_slotinfo_list): New rtld global field.
33916         (dtv_slotinfo_list): New struct.
33917         (dtv_slotinfo): Likewise.
33918         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
33919         (td_lookup): Rename to...
33920         (td_mod_lookup): ... this.  Use new mod parameter instead of
33921         LIBPTHREAD_SO.
33922         * nptl_db/td_thr_tlsbase.c: Include link.h.
33923         (dtv_slotinfo_list, dtv_slotinfo): New functions.
33924         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
33925         addresses even if the DTV is out of date or missing them.
33926         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
33927         index zero-length arrays.
33928         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
33929         (td_lookup): Make it a macro implemented in terms of...
33930         (td_mod_lookup): ... this declaration.
33931         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
33932         (DB_MAIN_VARIABLE): Likewise.
33934 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33936         [BZ #18134]
33937         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33939 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
33941         * stdlib/setenv.c (__add_to_environ): Revert previous change.
33943 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
33945         [BZ #18128]
33946         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
33947         (atomic_add, atomic_increment_and_test)
33948         (atomic_decrement_and_test): Fix 64-bit arithmetic.
33950 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
33952         * stdlib/setenv.c (__add_to_environ):
33953         Dump core quickly if setenv (..., NULL, ...) is called.
33955 2015-03-13  Roland McGrath  <roland@hack.frob.com>
33957         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
33958         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
33959         all the necessary asm magic in one place.
33960         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
33961         using those.
33963 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
33965         [BZ #14906]
33966         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
33967         traced file mtime. Use consistent log message.
33968         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
33969         (register_traced_file): Call install_watches. Always set mtime.
33970         (invalidate_cache): Iterate over all trace files. Call install_watches.
33971         (inotify_check_files): Don't inline. Handle watching parent
33972         directories and configuration file movement in and out.
33973         (handle_inotify_events): New function.
33974         (main_loop_poll): Call handle_inotify_events.
33975         (main_loop_epoll): Likewise.
33976         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
33977         (struct traced_file): Use array of inotify fds. Add parent directory,
33978         and basename.
33979         (struct database_dyn): Remove unused file_mtime.
33980         (init_traced_file): New inline function.
33981         (define_traced_file): New macro.
33982         * nss/nss_db/db-init.c: Use define_traced_file.
33983         (_nss_db_init): Use init_traced_file.
33984         * nss/nss_files/files-init.c: Use define_traced_file.
33985         (_nss_files_init): Use init_traced_file.
33987 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
33989         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
33990         [_LIBC]: Do not include <stdlib.h>.
33991         [!_LIBC] (abort): Remove declaration.
33992         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
33993         _FP_STATIC_ASSERT instead of conditionally calling abort.
33994         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
33995         (_FP_EXTEND_CNAN): Likewise.
33996         (FP_TRUNC): Likewise.
33997         (__FP_CLZ): Likewise.
33998         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
34000 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
34002         * manual/string.texi (XPG basename): Fix prototype.
34004 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34006         [BZ #18080]
34007         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
34008         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34009         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
34010         (__setcontext): Likewise.
34011         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
34012         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34013         Call rt_sigprocmask syscall one time to set new signal mask
34014         and retrieve the current signal mask instead of two calls.
34015         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
34016         (__swapcontext): Likewise.
34017         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
34018         * stdlib/tst-setcontext2.c: New file.
34020 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34022         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34024 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
34026         [BZ #18093]
34027         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
34028         the wrong size.
34030 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34032         [BZ #18043]
34033         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
34035 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34037         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
34038         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
34039         Remove define.
34040         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
34041         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
34042         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
34043         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
34044         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
34045         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
34046         define.
34047         * nptl_db/td_symbol_list.c (td_lookup): Remove
34048         HAVE_ASM_GLOBAL_DOT_NAME code.
34049         * sysdeps/powerpc/powerpc64/configure.ac: Remove
34050         HAVE_ASM_GLOBAL_DOT_NAME check.
34051         * sysdeps/powerpc/powerpc64/configure: Regenerate.
34052         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
34053         (DOT_LABEL): Remove define.
34054         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
34055         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
34056         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
34057         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
34058         (__TLS_GET_ADDR): Likewise.
34059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
34060         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
34062 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
34064         [BZ #18111]
34065         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
34066         (_FPU_SETCW): Initialize cw from fpsr before storing.
34067         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
34068         (fesetexceptflag): Rewrite using fpu_control.h.
34069         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
34071 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
34073         [BZ #18110]
34074         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
34075         asms.
34076         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34078 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
34080         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
34081         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
34082         abort.
34083         (_FP_FMA): Likewise.
34084         (_FP_DIV): Likewise.
34086 2015-03-10  Roland McGrath  <roland@hack.frob.com>
34088         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
34089         with 0 in that case.
34090         * Makefile (summarize-tests): New canned sequence, factored out of
34091         commands for targets tests and xtests.  Display summary lines that
34092         don't start with PASS: or XFAIL: rather than ones that do start with
34093         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
34094         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
34095         do start with ERROR: or FAIL:.
34096         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
34097         (except for [$(build-shared) = yes]).
34098         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
34099         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
34100         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
34101         * nptl/Makefile: Revert 2015-03-04 changes.
34102         [$(CXX) empty] (tests-unsupported): New variable.
34103         * debug/Makefile: Likewise.
34105         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
34106         gnulib file.  Replace __attribute with __attribute__ throughout.
34108 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
34110         * sysdeps/hppa/fpu/libm-test-ulps: Update.
34112 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34114         [BZ #18104]
34115         * math/auto-libm-test-in: Add another test of pow.
34116         * math/auto-libm-test-out: Regenerated.
34118 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34120         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
34121         $(config-cflags-nofma).
34123 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34125         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
34126         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
34127         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
34128         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
34129         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
34130         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
34131         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
34132         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
34133         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
34134         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
34135         Add comment on closing #endif.
34137 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34139         * posix/wordexp.c (CHAR_IN_SET): New macro.
34140         (parse_param): Use it.
34142 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34144         * sysdeps/powerpc/fpu/libm-test-ulps: update.
34146 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34148         [BZ #18043]
34149         * posix/wordexp.c (parse_param): Fix buffer overflow.
34150         * posix/wordexp-test.c (test_case): Add test case.
34152 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34154         [BZ #18042]
34155         * posix/wordexp.c (parse_backtick): Fix off-by-one.
34156         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
34158 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34160         [BZ #18043]
34161         * posix/wordexp-test.c (test_case): Add test for BZ #18043
34162         (do_bz18043): Delete.
34163         (at_page_end): New.
34164         (testit): Refactor to have words at the edge of unreadable page.
34166 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34168         [BZ #16734]
34169         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
34170         Cleanup read-only streams as well.
34171         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
34173 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34175         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
34176         <bits/libc-lockP.h>
34178 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
34180         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
34181         on [__KERNEL__].
34182         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
34183         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
34184         * soft-fp/op-common.h (_FP_DECL): Likewise.
34186 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
34188         * elf/ifuncdep2.c (global): Replace
34189         __attribute__((visibility("protected"))) with
34190         asm (".protected global").
34191         * elf/ifuncmod1.c (global): Likewise.
34192         * elf/ifuncmod5.c (global): Likewise.
34194 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
34196         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
34197         <asm/sfp-machine.h> instead of <sfp-machine.h>.
34199 2015-03-06  Roland McGrath  <roland@hack.frob.com>
34201         * manual/install.texi (Configuring and compiling):
34202         Document test-wrapper-env-only.
34203         * INSTALL: Regenerated.
34205 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34207         [BZ #18043]
34208         * posix/wordexp.c (parse_param): Fix buffer overflow.
34209         * posix/wordexp-test.c (do_bz18043): Add test case.
34211 2015-03-06  Vincent Bernat  <vincent@bernat.im>
34213         * time/tst-strptime2.c (do_test): Ensure failing tests are
34214         reported correctly.
34215         * time/tst-strptime3.c (do_test): Likewise.
34217 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
34219         Fix aio_error thread-safety.
34220         * sysdeps/pthread/aio_error.c: New file
34221         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
34222         synchronization.
34224 2015-03-06  Florian Weimer  <fweimer@redhat.com>
34226         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
34227         (group_number, vfprintf): Use it.
34228         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
34229         (JUMP, REF): Use it.
34230         (WORK_BUFFER_SIZE): New enum constant.
34231         (process_arg, vfprintf): Use it.
34233 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
34235         * manual/errno.texi (Error Messages): Complete example function
34236         by adding missing #define.
34237         (program_invocation_name): Add statement indicating GNU
34238         extension and reference which header file declares the variable.
34239         (program_invocation_short_name): Likewise.
34241 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
34243         * manual/errno.texi (Error Messages): Delete strerror ISO C89
34244         compatibility note.
34246 2015-03-05  Roland McGrath  <roland@hack.frob.com>
34248         * Makeconfig (test-wrapper-env-only): New variable.
34249         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
34250         then use that with $(test-wrapper-env-only) rather than using
34251         $(test-wrapper-env) $(run-program-env) $($*-ENV).
34253 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34255         [BZ #18082]
34256         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
34257         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
34258         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
34259         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
34260         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
34261         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
34262         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
34263         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
34264         Likewise.
34265         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
34266         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
34267         Likewise.
34268         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
34269         Likewise.
34270         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
34271         Likewise.
34272         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
34273         Likewise.
34274         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
34275         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
34276         Likewise.
34277         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
34278         Likewise.
34279         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
34280         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
34282 2015-03-04  Roland McGrath  <roland@hack.frob.com>
34284         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
34285         (ETH_ALEN): New macro.
34286         (struct ether_addr): Use it for length of ether_addr_octet.
34288         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
34289         (setdb): Don't call __nss_configure_lookup for "rpc".
34290         (do_test): Don't call test_rpc.
34291         (output_rpcent, test_rpc): Functions moved ...
34292         * sunrpc/test-rpcent.c: ... to this new file.
34293         * sunrpc/Makefile (tests): Add it.
34295         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
34296         __xpg_sigpause.
34297         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
34298         * nptl/tst-signal6.c: Likewise.
34299         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
34300         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
34302         * configure.ac (libc_cv_cxx_link_ok): New check.
34303         Reset CXX to empty if it fails to link.
34304         * configure: Regenerated.
34305         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
34306         bug-atexit3-lib only if $(CXX) is nonempty.
34307         * nptl/Makefile (tests): Likewise for tst-cancel24.
34308         (tests, tests-static): Likewise for tst-cancel24-static.
34309         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
34310         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
34311         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
34312         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
34314 2015-03-04  Andreas Schwab  <schwab@suse.de>
34316         [BZ #17631]
34317         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
34318         for non-GCC compilers.
34319         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34320         Likewise.
34322 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34324         [BZ #17776]
34325         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
34326         integer before bitwise and assembly operations.
34327         (feclearexcept): Likewise.
34328         * math/test-fenvinline.c: New file.
34329         * math/Makefile: Add test-fenvinline test.
34331 2015-03-03  Alan Modra  <amodra@gmail.com>
34333         [BZ #16512]
34334         * scripts/localplt.awk: Strip off symbol version.
34335         * NEWS: Mention bug fix.
34337 2015-03-02  Roland McGrath  <roland@hack.frob.com>
34339         * sysdeps/pthread/timer_routines.c
34340         (timer_free_list, thread_free_list, thread_active_list): Make static.
34342 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
34344         [BZ #17779]
34345         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34346         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34347         Undefine.
34348         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34349         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34350         Likewise.
34351         * sysdeps/unix/sysv/linux/sh/kernel-features.h
34352         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34353         Likewise.
34355 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34357         [BZ #18036]
34358         * posix/fnmatch_loop.c (END): Detect invalid pattern.
34359         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
34361 2015-03-02  Andreas Schwab  <schwab@suse.de>
34363         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
34364         variable name.
34366 2015-03-02  Florian Weimer  <fweimer@redhat.com>
34368         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
34369         Return error status.
34371 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
34373         [BZ #15969]
34374         * locale/findlocale.c (_nl_find_locale): Introduce const
34375         version of loc_name and drop unsafe type casts.
34377 2015-02-27  Roland McGrath  <roland@hack.frob.com>
34379         * dlfcn/tststatic2.c (main): Converted to ...
34380         (do_test): ... this.
34381         (TEST_FUNCTION): New macro.
34382         Include test-skeleton.c.
34384 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
34386         [BZ #17711]
34387         * elf/Makefile (tests): Add vismain only if PIE is enabled.
34388         (tests-pie): Add vismain.
34389         (CFLAGS-vismain.c): New.
34390         * elf/vismain.c: Add comments for PIE requirement.
34392 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34394         [BZ #18046]
34395         [BZ #18047]
34396         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
34397         0x1p-56L as threshold for just returning the argument.
34398         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
34399         0x1p-32L as threshold for just returning the argument.
34400         * math/auto-libm-test-in: Add more tests of atanh.
34401         * math/auto-libm-test-out: Regenerated.
34402         * sysdeps/i386/fpu/libm-test-ulps: Update.
34403         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
34405 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34407         * string/bcopy.c (bcopy): Call memmove for performance.
34409 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34411         * string/bzero.c (__bzero): Call memset for performance.
34413 2015-02-27  John David Anglin  <dave.anglin@bell.net>
34415         [BZ #18068]
34416         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
34417         to 00100000.
34419 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34421         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
34423 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
34425         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
34426         (__kernel_standard): Use CSTR macro when setting exc.name.
34427         * sysdeps/ieee754/Makefile [$(subdir) = math]
34428         (CFLAGS-k_standard.c): Remove variable.
34430         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
34431         setting p and q from "else if" to "else".
34432         (qzero): Likewise.
34433         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
34434         (qone): Likewise.
34435         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
34436         (qzerof): Likewise.
34437         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
34438         (qonef): Likewise.
34439         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
34440         (qzero): Likewise.
34441         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
34442         (qone): Likewise.
34444         [BZ #18038]
34445         [BZ #18039]
34446         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
34447         return pi/2 for arguments below 0x1p-113L.
34448         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
34449         return pi/2 for arguments below 0x1p-106L.
34450         * math/auto-libm-test-in: Add more tests of acos.
34451         * math/auto-libm-test-out: Regenerated.
34453         [BZ #16351]
34454         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
34455         (MO): New macro.
34456         (__ieee754_asin): Force underflow exception for results with small
34457         absolute value.
34458         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
34459         (MO): New macro.
34460         (__ieee754_asinf): Force underflow exception for results with
34461         small absolute value.
34462         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
34463         (__ieee754_asin): Force underflow exception for results with small
34464         absolute value.
34465         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
34466         (__ieee754_asinf): Force underflow exception for results with
34467         small absolute value.
34468         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
34469         (__ieee754_asinl): Force underflow exception for results with
34470         small absolute value.
34471         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
34472         (__ieee754_asinl): Force underflow exception for results with
34473         small absolute value.
34474         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
34475         (__ieee754_asinl): Force underflow exception for results with
34476         small absolute value.
34477         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
34478         Include <math.h>.
34479         * math/auto-libm-test-in: Do not mark underflow exceptions as
34480         possibly missing for bug 16351.
34481         * math/auto-libm-test-out: Regenerated.
34483         [BZ #18030]
34484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
34485         of power of 2 down when low part has opposite sign.
34486         * math/libm-test.inc (logb_test_data): Add more tests.
34488 2015-02-26  Andreas Schwab  <schwab@suse.de>
34490         [BZ #18032]
34491         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
34492         over collating symbol inside a bracket expression.  Minor cleanup.
34493         * posix/tst-fnmatch3.c (do_test): Add test case.
34495 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
34497         [BZ #18029]
34498         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
34499         Adjust exponent of power of 2 down when low part has opposite
34500         sign.
34501         * math/libm-test.inc (ilogb_test_data): Add more tests.
34503 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
34505         [BZ #15969]
34506         * locale/findlocale.c (_nl_find_locale): Fix constness error in
34507         the previous change.
34509         [BZ #15969]
34510         * locale/findlocale.c (_nl_find_locale): Retry archive search
34511         after alias expansion.
34513 2015-02-25  Roland McGrath  <roland@hack.frob.com>
34515         * iconv/tst-iconv3.c (main): Converted to ...
34516         (do_test): ... this.
34517         (TEST_FUNCTION): New macro.
34518         Include test-skeleton.c.
34520         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
34521         (convert): Make function static.
34522         (test_unalign): Likewise.  Add const to argument pointee types.
34523         (main): Replace with static function do_test.
34524         Print "Succeeded." only if RET is zero.
34525         (TEST_FUNCTION): New macro.
34526         Include test-skeleton.c.
34528         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
34529         returns a null pointer.
34531 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34533         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
34534         to __memcpy_ppc only for static builds.
34536 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
34538         [BZ #18020]
34539         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
34540         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
34541         * math/auto-libm-test-in: Add more tests of asinh.
34542         * math/auto-libm-test-out: Regenerated.
34543         * sysdeps/i386/fpu/libm-test-ulps: Update.
34544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34546 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
34548         [BZ #15850]
34549         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
34550         and ip6_mtuinfo definitions here.
34551         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
34552         in this define too.  Update comment.
34554 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
34556         * elf/sprof.c (load_shobj): Tweak error message to match others.
34558 2015-02-24  Kevin Easton  <kevin@guarana.org>
34560         [BZ #16145] (partial fix)
34561         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
34562         to reduce lock contention.
34564 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
34566         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
34567         (struct timex): Update time comment.
34568         (ADJ_SETOFFSET): Define.
34570 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
34572         [BZ #18019]
34573         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34574         2**56 not 2**28 as threshold for log (2x) formula.
34575         * math/auto-libm-test-in: Add more tests of acosh.
34576         * math/auto-libm-test-out: Regenerated.
34577         * sysdeps/i386/fpu/libm-test-ulps: Update.
34578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34580 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
34582         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
34583         parenthesis around the buf assignment.
34584         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
34586 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
34588         [BZ #16783]
34589         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
34590         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
34591         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
34592         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
34593         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
34594         * math/libm-test.inc (scalb_test_data): Add more tests.
34596 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34598         [BZ #17916]
34599         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
34600         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
34602 2015-02-24  Eric Rannaud  <e@nanocritical.com>
34604         [BZ #17523]
34605         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
34606         * io/bits/fcntl2.h (open): Use it.
34607         (openat): Likewise.
34608         * io/open.c (__libc_open): Likewise.
34609         * io/open64.c (__libc_open64): Likewise.
34610         * io/open64_2.c (__open64_2): Likewise.
34611         * io/open_2.c (__open_2): Likewise.
34612         * io/openat.c (__openat): Likewise.
34613         * io/openat64.c (__openat64): Likewise.
34614         * io/openat64_2.c (__openat64_2): Likewise.
34615         * io/openat_2.c (__openat_2): Likewise.
34616         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
34617         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
34618         * sysdeps/posix/open64.c (__libc_open64): Likewise.
34619         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
34620         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34621         (__open_nocancel): Likewise.
34622         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34623         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34624         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
34626 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34628         [BZ #14841]
34629         * resolv/gethnamaddr.c (getanswer): Skip logging if
34630         RES_USE_DNSSEC is set.
34631         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34633 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
34635         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
34637 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
34639         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
34640         201304L, for Unicode 7.
34642 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
34644         [BZ #17836]
34645         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
34646         shared library.  Add gmon-start.os otherwise.
34647         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
34648         $(objpfx)gmon-start.os if builing shared library.
34649         ($(objpfx)g$(static-start-installed-name)): Likewise.
34651 2015-02-23  Andreas Schwab  <schwab@suse.de>
34653         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
34655 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34657         [BZ #17269]
34658         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
34659         (enlarge_userbuf): Likewise.
34661 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
34663         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
34664         * math/atest-exp.c (TIMEOUT): Adjust to 200.
34665         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
34666         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
34668 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
34670         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
34671         expression inside statement expression.
34673 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34675         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
34676         <sysdeps/nptl/lowlevellock.h> and remove macros and
34677         functions that are now defined there.
34678         (SYS_futex): Remove.
34679         (lll_compare_and_swap): Remove.
34680         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
34682 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
34684         [BZ #17999]
34685         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
34686         instead of scandirat.
34687         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
34688         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
34689         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
34690         __scandirat.
34691         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
34692         (__scandirat): Declare.  Use libc_hidden_proto.
34693         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
34694         Remove variable.
34695         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34697 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34699         [BZ #15319]
34700         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
34701         (MO): New macro.
34702         (__ieee754_atan2): For results with small absolute value, force
34703         underflow exception and remove excess range and precision from
34704         return value.
34705         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
34706         (MO): New macro.
34707         (__ieee754_atan2f): For results with small absolute value, force
34708         underflow exception and remove excess range and precision from
34709         return value.
34710         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
34711         (MO): New macro.
34712         (__atan): For results with small absolute value, force underflow
34713         exception and remove excess range and precision from return value.
34714         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
34715         (MO): New macro.
34716         (__atanf): For results with small absolute value, force underflow
34717         exception and remove excess range and precision from return value.
34718         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
34719         <math.h>.
34720         (__ieee754_atan2): Force underflow exception for results with
34721         small absolute value.
34722         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
34723         <math_private.h>.
34724         (atan): Force underflow exception for results with small absolute
34725         value.
34726         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
34727         (__atanf): Force underflow exception for results with small
34728         absolute value.
34729         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
34730         <math.h>.
34731         (__atanl): Force underflow exception for results with small
34732         absolute value.
34733         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
34734         (__atanl): Force underflow exception for results with small
34735         absolute value.
34736         * sysdeps/x86/fpu/bits/mathinline.h
34737         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
34738         (__ieee754_atan2): Only define inline for long double.
34739         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
34740         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
34741         * math/auto-libm-test-in: Do not mark underflow exceptions as
34742         possibly missing for bug 15319.  Add more tests of atan2.
34743         * math/auto-libm-test-out: Regenerated.
34744         * math/libm-test.inc (casin_test_data): Do not mark underflow
34745         exceptions as possibly missing for bug 15319.
34746         (casinh_test_data): Likewise.
34747         * sysdeps/i386/fpu/libm-test-ulps: Update.
34749 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
34751         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
34752         * sysdeps/mips/bits/endian.h: Fix comments.
34754 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34756         [BZ #17996]
34757         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
34758         (hdestroy_r): Likewise.
34759         (hsearch_r): Likewise.
34760         (__hcreate_r): Declare and use libc_hidden_proto.
34761         (__hdestroy_r): Likewise.
34762         (__hsearch_r): Likewise.
34763         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
34764         (hcreate): Call __hcreate_r instead of hcreate_r.
34765         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
34766         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
34767         as weak alias of __hcreate_r.
34768         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
34769         __hdestroy_r.
34770         (hsearch_r): Rename to __hsearch_r and define as weak alias of
34771         __hsearch_r.
34772         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
34773         Remove variable.
34774         (test-xfail-XPG4/search.h/linknamespace): Likewise.
34775         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
34776         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
34777         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34779 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34781         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
34782         arena_lock into a single arena_get.
34784 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
34786         * dl-reloc.c: Inlucde libc-internal.h.
34787         (_dl_try_allocate_static_tls): Call ALIGN_UP.
34788         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
34789         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
34790         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
34791         (grow_heap): Likewise.
34792         * malloc/malloc.c: Include libc-internal.h.
34793         (do_check_malloc): Call powerof2.
34794         (sysmalloc): Use pagesize. Call ALIGN_UP.
34795         (systrim): Use pagesize.
34796         (mremap_chunk): Use pagesize. Call ALIGN_UP.
34797         (__libc_valloc): Use pagesize.
34798         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
34800 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34802         [BZ #17991]
34803         * include/sys/resource.h (__getrlimit64): Declare.  Use
34804         libc_hidden_proto.
34805         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
34806         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
34807         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
34808         getrlimit64.
34809         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
34810         __getrlimit64.
34811         [!getrlimit64] (getrlimit64): Define as weak alias of
34812         __getrlimit64.  Use libc_hidden_weak.
34813         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
34814         using __getrlimit64 not __new_getrlimit64.
34815         (__GI_getrlimit64): Likewise.
34816         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
34817         Likewise.
34818         (__GI_getrlimit64): Likewise.
34819         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
34820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
34821         (getrlimit): Add __getrlimit64 alias.
34822         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
34823         Likewise.
34824         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
34825         Remove variable.
34826         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34827         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34829 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
34831         * libio/fileops.c: Add missing sys/mman.h
34832         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
34834 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34836         * manual/math.texi (Errors in Math Functions): Clarify goals
34837         regarding inexact and underflow exceptions.
34839 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34841         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
34842         * sysdeps/mips/memset.S: Ditto.
34844 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34846         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
34848 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34850         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
34851         (__v1longjmp): Remove versioned symbol.
34852         (__v1siglongjmp): Remove alias and versioned symbol.
34853         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
34854         (__v2siglongjmp): Likewise.
34856 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34858         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
34860 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
34862         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
34864 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34866         [BZ #17987]
34867         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
34868         zero result does not depend on the sign resulting from
34869         subtraction.
34870         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34871         Likewise.
34872         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34873         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34874         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34875         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34876         * math/libm-test.inc (remquo_test_data): Add more tests.
34878 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
34880         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
34881         Problem reported by J William Piggott.
34883 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34885         [BZ #17978]
34886         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
34887         products 4 * y and 2 * y where those would overflow.
34888         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34889         Likewise.
34890         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34891         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34892         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34893         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34894         * math/libm-test.inc (remquo_test_data): Add more tests.
34896         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
34898         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
34899         [defined _COMPILING_NEWLIB].
34900         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
34901         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
34903         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
34904         [!defined __mips_isa_rev || __mips_isa_rev < 6].
34906 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34908         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
34909         acquired.
34911 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
34913         [BZ #17792]
34914         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
34915         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
34916         HOST_STACK_END_ADDR): Likewise.
34918 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
34920         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
34921         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
34922         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
34924 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34926         * sysdeps/generic/c++-types.data: New file.
34927         * sysdeps/generic/ld.abilist: New file.
34928         * sysdeps/generic/libBrokenLocale.abilist: New file.
34929         * sysdeps/generic/libanl.abilist: New file.
34930         * sysdeps/generic/libc.abilist: New file.
34931         * sysdeps/generic/libcrypt.abilist: New file.
34932         * sysdeps/generic/libdl.abilist: New file.
34933         * sysdeps/generic/libm.abilist: New file.
34934         * sysdeps/generic/libpthread.abilist: New file.
34935         * sysdeps/generic/libresolv.abilist: New file.
34936         * sysdeps/generic/librt.abilist: New file.
34938 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34940         [BZ #17569]
34941         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34942         Compute absolute value of x as modified by fmod, not original
34943         value of x.
34944         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
34945         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
34946         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
34947         RUN_TEST_ffI_f1_mod8.
34948         (remquo_test_data): Add more tests.
34950 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34952         * sysdeps/init_array/pt-crti.S: New file.
34954 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34956         [BZ #17967]
34957         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
34958         __builtin_fmaf instead of relying on contraction of a * b + c.
34960 2015-02-12  J William Piggott  <elseifthen@gmx.com>
34962         [BZ #17969]
34963         * manual/time.texi: correct the zoneinfo path in the TZ Variable
34964         node.
34966 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34968         [BZ #17964]
34969         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
34970         __builtin_fma instead of relying on contraction of a * b + c.
34972 2015-02-12  Roland McGrath  <roland@hack.frob.com>
34974         * Makeconfig (ASFLAGS): Add -Werror=undef.
34975         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
34976         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
34977         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
34979         * Makeconfig (after-link): New variable.
34980         (+link-pie, +link-pie-tests): Use it.
34981         (+link-static, +link-static-tests): Likewise.
34982         (+link, +link-tests): Likewise.
34983         * Makerules (build-module, build-module-asneeded): Likewise.
34984         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
34985         Likewise.
34986         * elf/Makefile ($(objpfx)ld.so): Likewise.
34988 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
34990         [BZ #17965]
34991         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
34992         both struct timeval and struct timespec.
34994 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34996         [BZ #16560]
34997         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34998         and redefine.
34999         (__ieee754_exp2l): Do not multiply small fractional parts by
35000         M_LN2l.
35001         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
35002         small argument.
35003         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35004         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35005         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
35006         * math/auto-libm-test-in: Add more tests of exp2.
35007         * math/auto-libm-test-out: Regenerated.
35009 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35011         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
35012         unaligned path.
35014 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35016         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
35017         little endian.
35019 2015-02-12  Andreas Schwab  <schwab@suse.de>
35021         [BZ #15790]
35022         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
35023         Filter out elision flags from value returned in kind.
35024         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
35025         * nptl/tst-pthread-mutexattr.c: New file.
35027 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35029         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
35030         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
35031         into gnu-gnu, and update comment to refer to abi-tags.
35033 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
35035         [BZ #15467]
35036         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
35037         (__sincos): Set errno to EDOM for infinite argument.
35038         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
35039         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
35040         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
35041         (__sincosl): Set errno to EDOM for infinite argument.
35042         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
35043         (__sincosl): Set errno to EDOM for infinite argument.
35044         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
35045         (__sincosl): Set errno to EDOM for infinite argument.
35046         * math/libm-test.inc (sincos_test_data): Test errno setting.
35048 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
35050         * string/strxfrm_l.c: Remove #define STRCMP.
35051         * string/strcoll_l.c: Remove #define STRLEN.
35052         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
35053         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
35055 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
35057         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
35058         * sysdeps/mips/mips32/sfp-machine.h: ... here.
35059         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
35060         * sysdeps/mips/mips64/Makefile: ... here.
35061         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
35062         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
35063         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
35064         * sysdeps/mips/mips64/sfp-machine.h: ... here.
35065         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
35066         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
35067         * sysdeps/mips/mips64/n64/Implies: Likewise.
35069 2015-02-10  Roland McGrath  <roland@hack.frob.com>
35071         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
35072         <sys/time.h>, <string.h>, and <errno.h>.
35073         (dest_offset, dest_address, value, zero): Remove unused variables.
35074         (ldouble): Remove typedef.
35075         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
35076         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
35077         1).  Fix code style.
35078         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
35079         (check): Function removed.
35080         (CHECK): New macro.
35081         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
35082         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
35083         Don't call set_sigaction_FP and remove_sigaction_FP here.
35084         (ldouble_test): Just use 'long double' as macro argument, no need for
35085         the 'ldouble' typedef.
35086         (do_test): Set up SIGFPE handler at start, using plain signal rather
35087         than sigaction.  Fix code style.
35089 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
35091         [BZ #17949]
35092         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
35093         jump label.
35095 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35097         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
35098         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35100         * sysdeps/powerpc/configure.ac: Remove file.
35101         * sysdeps/powerpc/configure: Likewise.
35103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35104         [sysdep_routines]: Remove wordcopy-power6 object.
35105         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35106         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
35107         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
35108         (__memmove_ppc32): Likewise.
35109         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
35110         file.
35111         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
35112         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
35113         Remove preprocessor.
35115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35116         [sysdep_routines]: Remove wide chars objects.
35117         [wcsmbs]: New rule for wide char objects.
35119         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35120         Remove wordcopy-power6 obejct.
35121         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
35122         Use local call for wordcopy and memcpy symbols.
35123         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
35124         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
35125         implementation for loader.
35126         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
35128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35129         Remove wordcopy-power7 object.
35130         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
35131         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
35132         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
35133         (_wordcopy_fwd_dest_aligned): Likewise.
35134         (_wordcopy_bwd_aligned): Likewise.
35135         (_wordcopy_bwd_dest_aligned): Likewise.
35137         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
35138         Rewrite to call __memmove_ppc instead of include default
35139         implementation.
35141         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35142         Remove wide chars objects.
35143         [wcsmbs]: New rule for wide char objects.
35145 2015-02-09  Andreas Schwab  <schwab@suse.de>
35147         [BZ #17912]
35148         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35149         in terms of __O_DIRECTORY.
35151 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35153         * time/getdate.c: Include <stdbool.h>.
35154         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
35155         call PTR_MANGLE.
35156         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
35157         PTR_DEMANGLE.
35159 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
35161         Add ersatz _Static_assert on older C hosts
35162         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
35163         pre-C11 C platform that is not known to support _Static_assert.
35165 2015-02-07  Richard Braun  <rbraun@sceen.net>
35167         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
35168         sigstate.
35169         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
35171 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35173         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
35174         priority against unexistent AIO_PRIO_DELTA_MAX.
35175         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
35176         instead of int.
35177         * misc/fchflags.c (fchflags): Likewise.
35178         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
35179         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
35180         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
35181         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
35182         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
35183         Declare macros.
35184         [__USE_MISC] (chflags, fchflags): Declare functions.
35185         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
35186         EINVAL when nfds is greater than FD_SETSIZE.
35187         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
35188         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
35189         45.
35190         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
35191         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
35192         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
35193         MACH_RCV_TIMED_OUT.
35194         * hurd/hurd/signal.h (_hurd_self_sigstate,
35195         _hurd_critical_section_lock, _hurd_critical_section_unlock):
35196         Explicit casts from void *.
35197         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
35198         * abi-tags: Rename gnu-gnu os into gnu.
35200         [BZ #4719]
35201         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
35202         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
35203         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
35204         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
35205         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
35206         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
35208         [BZ #17944]
35209         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
35210         duplicates ADDR->sun_path with sockaddr LEN limitation.
35211         * sysdeps/mach/hurd/connect.c: Include <string.h>
35212         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
35213         * sysdeps/mach/hurd/sendmsg.c: Likewise.
35214         * sysdeps/mach/hurd/sendto.c: Likewise.
35215         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
35216         implementing it by hand.
35218 2015-02-06  Roland McGrath  <roland@hack.frob.com>
35220         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
35221         Use sfi_breg on ldr.
35222         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
35223         Likewise.
35225         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
35226         it's defined.
35227         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
35228         Test SIGSETXID only if it's defined.
35230         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
35232         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
35233         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
35235         * nptl/tst-align2.c: Moved ...
35236         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
35237         * nptl/Makefile (tests): Remove tst-align2.
35238         * sysdeps/unix/sysv/linux/Makefile
35239         [$(subdir) = nptl] (tests): Add tst-align-clone.
35240         * nptl/tst-getpid1.c: Moved ...
35241         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
35242         * nptl/tst-getpid2.c: Moved ...
35243         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
35244         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
35245         * sysdeps/unix/sysv/linux/Makefile
35246         [$(subdir) = nptl] (tests): ... here.
35247         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
35248         * sysdeps/unix/sysv/linux/Makefile
35249         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
35251         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
35252         Drop trailing \n from perror argument.  Use return rather than exit.
35254         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
35255         on [SA_SIGINFO].
35256         * nptl/tst-cancel21.c (do_test): Likewise.
35257         * debug/tst-backtrace6.c: Include <signal.h> first thing.
35258         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
35259         [!SA_SIGINFO]: Make it a stub test.
35261         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
35262         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
35264         * posix/tst-getlogin.c: Move to ...
35265         * login/tst-getlogin.c: ... here.
35266         * posix/Makefile (tests): Move tst-getlogin to ...
35267         * login/Makefile (tests): ... here.
35269         * libio/tst-atime.c (do_test): Move local variables SV and E
35270         inside [ST_NOATIME] conditional.
35272         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
35274         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
35276         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
35277         (wait_code): New function replaces macro.
35278         Call nanosleep rather than syscall.
35280         * nptl/pt-system.c: Rewritten.  Put everything under
35281         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35282         Use IFUNC to redirect when possible.
35284         * nptl/pt-longjmp.c: Rewritten.  Put everything under
35285         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35286         Use IFUNC to redirect when possible.
35288         * nptl/pt-fork.c: Rewritten.  Put everything under
35289         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35290         Use IFUNC to redirect when possible.
35291         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
35293         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
35294         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
35295         unconditionally nowadays.  This included the only reference to
35296         __vdso_clock_gettime that appears outside libc proper.
35297         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
35298         Remove version set (containing only __vdso_clock_gettime).
35299         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35300         Add attribute_hidden.
35301         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35302         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
35303         libc_hidden_data_def.
35304         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35305         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35307         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
35308         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
35309         setrpcent, and getrpcport to ...
35310         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
35311         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
35312         getrpcbynumber_r, and getrpcent_r to ...
35313         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
35314         * inet/getrpcbyname.c: Moved ...
35315         * sunrpc/getrpcbyname.c: ... here.
35316         * inet/getrpcbyname_r.c: Moved ...
35317         * sunrpc/getrpcbyname_r.c: ... here.
35318         * inet/getrpcbynumber.c: Moved ...
35319         * sunrpc/getrpcbynumber.c: ... here.
35320         * inet/getrpcbynumber_r.c: Moved ...
35321         * sunrpc/getrpcbynumber_r.c: ... here.
35322         * inet/getrpcent.c: Moved ...
35323         * sunrpc/getrpcent.c: ... here.
35324         * inet/getrpcent_r.c: Moved ...
35325         * sunrpc/getrpcent_r.c: ... here.
35326         * inet/Makefile (routines): Move those to ...
35327         * sunrpc/Makefile (routines): ... here.
35328         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
35329         the $(subdirs) list.
35330         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
35331         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
35332         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
35333         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
35335         * elf/Makefile (routines): Include $(all-dl-routines), not just
35336         $(dl-routines).
35337         (rtld-routines): Likewise.  Use = rather than :=.
35338         * sysdeps/aarch64/Makefile [$(subdir) = elf]
35339         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
35340         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
35341         * sysdeps/arm/Makefile: Likewise.
35342         * sysdeps/i386/Makefile: Likewise.
35343         * sysdeps/x86_64/Makefile: Likewise.
35344         * sysdeps/hppa/Makefile [$(subdir) = elf]
35345         (sysdep_routines, sysdep-rtld-routines): Don't add
35346         $(sysdep-dl-routines) to these.
35347         * sysdeps/ia64/Makefile: Likewise.
35348         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
35349         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
35350         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
35351         Don't add dl-static to these; sysdep-dl-routines alone is enough.
35352         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
35353         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
35354         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
35355         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
35356         * sysdeps/powerpc/Makefile [$(subdir) = elf]
35357         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
35358         these; sysdep-dl-routines alone is enough.
35360 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
35362         [BZ #17932]
35363         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
35364         where multiplication results in zero and third argument is finite
35365         and nonzero.
35366         * math/auto-libm-test-in: Add more tests of fma.
35367         * math/auto-libm-test-out: Regenerated.
35369         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
35370         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
35371         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
35372         (_FP_CMP_EQ): Likewise.
35373         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
35375         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
35376         extra argument CHECK_NAN.  Redefine as wrapper around
35377         _FP_EXTEND_CNAN.
35379 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
35381         * version.h (RELEASE): Set to "stable".
35382         (VERSION): Set to "2.21"
35383         * include/features.h (__GLIBC_MINOR__): Set to 21.
35385         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
35387 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35388             Paul Eggert  <eggert@cs.ucla.edu>
35390         [BZ #16618]
35391         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
35392         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
35393         size in bytes. Store needed elements in wpmax. Use needed size
35394         in bytes for extend_alloca.
35396 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
35398         * manual/install.texi: Latest tested versions are GCC 4.9.2,
35399         binutls 2.25, and texinfo 5.2.
35400         * INSTALL: Regenerate.
35401         * sysdeps/nios2/configure: Regenerate.
35402         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
35403         * manual/contrib.texi: Update.
35404         * po/be.po: Update.
35405         * po/bg.po: Update.
35406         * po/ca.po: Update.
35407         * po/cs.po: Update.
35408         * po/da.po: Update.
35409         * po/de.po: Update.
35410         * po/el.po: Update.
35411         * po/eo.po: Update.
35412         * po/es.po: Update.
35413         * po/fi.po: Update.
35414         * po/fr.po: Update.
35415         * po/gl.po: Update.
35416         * po/hr.po: Update.
35417         * po/hu.po: Update.
35418         * po/ia.po: Update.
35419         * po/id.po: Update.
35420         * po/it.po: Update.
35421         * po/ja.po: Update.
35422         * po/ko.po: Update.
35423         * po/lt.po: Update.
35424         * po/nb.po: Update.
35425         * po/nl.po: Update.
35426         * po/pl.po: Update.
35427         * po/pt_BR.po: Update.
35428         * po/ru.po: Update.
35429         * po/rw.po: Update.
35430         * po/sk.po: Update.
35431         * po/sl.po: Update.
35432         * po/sv.po: Update.
35433         * po/tr.po: Update.
35434         * po/uk.po: Update.
35435         * po/vi.po: Update.
35436         * po/zh_CN.po: Update.
35437         * po/zh_TW.po: Update.
35439         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
35440         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
35441         * sysdeps/hppa/dl-irel.h: Remove #warning.
35442         * sysdeps/hppa/entry.h: Provide prototype for
35443         __canonicalize_funcptr_for_compare and cast argument.
35444         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
35445         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
35446         * sysdeps/hppa/sotruss-lib.c: New file.
35447         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
35448         (atomic_compare_and_exchange_val_acq): Use __typeof__.
35449         (atomic_compare_and_exchange_bool_acq): Likewise.
35450         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
35451         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
35453         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
35454         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
35455         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
35457 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
35459         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
35460         called function in non-PIC case.
35462 2015-01-31  David S. Miller  <davem@davemloft.net>
35464         * sysdeps/sparc/sparc32/bits/atomic.h
35465         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
35466         unlock not after it.
35467         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
35468         volatile register usage warnings from the compiler.
35470         * sysdeps/sparc/nptl/sem_init.c: Delete.
35471         * sysdeps/sparc/nptl/sem_post.c: Delete.
35472         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
35473         * sysdeps/sparc/nptl/sem_wait.c: Delete.
35474         * sysdeps/sparc/sparc32/sem_init.c: New file.
35475         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
35476         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
35477         padding explicitly initialized.
35478         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
35479         padding for in-semaphore spinlock.
35480         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
35481         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
35482         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
35483         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
35484         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
35485         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
35486         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
35487         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
35488         version.
35489         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
35490         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
35492 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
35494         [BZ #17801]
35495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35496         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
35497         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
35498         New.
35499         (index_AVX_Fast_Unaligned_Load): Likewise.
35500         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
35501         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
35502         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
35503         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
35504         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
35505         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
35506         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
35507         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
35508         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
35510 2015-01-29  Andreas Schwab  <schwab@suse.de>
35512         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
35514 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
35516         [BZ #17892]
35517         * nscd/nscd_stat.c (send_stats): Initialize DATA.
35519 2015-01-28  Martin Sebor  <msebor@redhat.com>
35521         * math/README.libm-test: Clarify. Add "How to read the test output."
35523 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
35525         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
35526         Define to 0.
35528 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
35530         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
35531         (__HAVE_64B_ATOMICS): Define to 0.
35533 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35535         [BZ #17885]
35536         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
35537         value to set as new flag.
35539         [BZ #16576]
35540         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
35541         and use _ARCH_PPCSQ instead.
35542         (__ieee754_sqrt): Likewise.
35543         (__ieee754_sqrtf): Likewise.
35544         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
35545         _ARCH_PPCSQ is defined.
35546         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
35547         fsqrt instruction.
35548         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
35549         _ARCH_PPCSQ is defined.
35550         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
35551         fsqrts instruction.
35552         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
35554 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35556         * iconv/loop.c: Suppress array out of bound warning caused by GCC
35557         bug (GCC BZ #64739).
35559 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
35561         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
35562         Mark _retval as used.
35563         (lll_futex_wake_unlock): Likewise.
35564         (lll_futex_timed_wait_requeue_pi): Likewise.
35566         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35567         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
35568         register variables.
35570         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
35571         libm_hidden_def.
35573         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
35574         (__bswap_64): Mark as __always_inline.
35576 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
35578         [BZ #15378]
35579         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
35580         when none of the search directories exist.
35582 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35584         [BZ #17869]
35585         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
35586         power8 in .machine directive.
35588         [BZ #17868]
35589         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
35590         set dependency from opd value.
35592 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
35594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35595         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
35596         architecture.
35598 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
35600         [BZ #17870]
35601         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
35602         with uint64_t.
35603         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
35604         (uint64_t) 1.
35605         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
35606         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
35607         Replace 1UL with (uint64_t) 1.
35608         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
35609         int with uint64_t.
35611 2015-01-23  Roland McGrath  <roland@hack.frob.com>
35613         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
35614         (if_freenameindex): Likewise.
35616         * resource/getrlimit64.c: Add missing libc_hidden_def.
35618 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
35620         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
35621         __label__.
35622         (_FP_FMA): Likewise.
35623         (_FP_TO_INT_ROUND): Likewise.
35624         (_FP_FROM_INT): Likewise.
35626 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35628         [BZ #16418]
35629         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35630         Make code racy and cancel safe.
35632 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
35634         * sysdeps/arm/unwind-resume.h: Fix copyright year.
35635         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
35636         attribution.
35638         * pwd/tst-getpw.c: Rewrite.
35640         [BZ #17702]
35641         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
35642         (modules-names): Add moddummy1 and moddummy2.
35643         ($(objpfx)tst-rec-dlopen): Define.
35644         * dlfcn/moddummy1.c: New file.
35645         * dlfcn/moddummy2.c: New file.
35646         * dlfcn/tst-rec-dlopen.c: New file.
35647         * elf/dl-cache.c (_dl_load_cache_lookup):
35648         Return char*. Copy result with alloca/strcpy/strdup.
35649         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
35650         returns char*. Free cached. If not saving realname
35651         free cached.
35652         * elf/dl-open.c (dl_open_worker): Do not assert that
35653         _r_debug->r_state is RT_CONSISTENT.
35654         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
35655         returns char*.
35657 2015-01-21  Torvald Riegel  <triegel@redhat.com>
35658             Carlos O'Donell  <carlos@redhat.com>
35660         [BZ #12674]
35661         * nptl/sem_waitcommon.c: New file.
35662         * nptl/sem_wait.c: Include sem_waitcommon.c.
35663         (__sem_wait_cleanup, do_futex_wait): Remove.
35664         (__new_sem_wait): Adapt.
35665         (__new_sem_trywait): New function.
35666         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
35667         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
35668         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
35669         (sem_timedwait): Adapt.
35670         * nptl/sem_post.c (__new_sem_post): Adapt.
35671         (futex_wake): New function.
35672         (__old_sem_post): Add release MO fence.
35673         * nptl/sem_open.c (sem_open): Adapt.
35674         * nptl/sem_init.c (__new_sem_init): Adapt.
35675         (futex_private_if_supported): New function.
35676         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
35677         (__old_sem_getvalue): Add using previous code.
35678         * sysdeps/nptl/internaltypes.h: Adapt.
35679         * nptl/tst-sem13.c (do_test): Adapt.
35680         * nptl/tst-sem11.c (main): Adapt.
35681         * nptl/sem_trywait.c: Remove.
35682         * nptl/DESIGN-sem.txt: Remove.
35683         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
35684         (gen-as-const-headers): Remove structsem.sym.
35685         * nptl/structsem.sym: Remove.
35686         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
35687         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
35688         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
35689         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
35690         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
35691         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
35692         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
35693         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
35694         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
35695         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
35696         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
35697         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
35698         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
35699         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
35700         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
35701         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
35702         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
35703         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
35704         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
35705         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
35706         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
35707         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
35709 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
35711         * INSTALL: Regenerated.
35713         * po/libc.pot: Regenerated.
35715 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
35716             Sandra Loosemore  <sandra@codesourcery.com>
35717             Andrew Jenner  <andrew@codesourcery.com>
35718             Joseph Myers  <joseph@codesourcery.com>
35719             Nathan Sidwell  <nathan@codesourcery.com>
35721         * NEWS: Mention new Nios II port.
35722         * sysdeps/nios2/Implies: New file.
35723         * sysdeps/nios2/Makefile: New file.
35724         * sysdeps/nios2/Subdirs: New file.
35725         * sysdeps/nios2/Versions: New file.
35726         * sysdeps/nios2/__longjmp.S: New file.
35727         * sysdeps/nios2/abort-instr.h: New file.
35728         * sysdeps/nios2/backtrace.c: New file.
35729         * sysdeps/nios2/bits/endian.h: New file.
35730         * sysdeps/nios2/bits/fenv.h: New file.
35731         * sysdeps/nios2/bits/link.h: New file.
35732         * sysdeps/nios2/bits/setjmp.h: New file.
35733         * sysdeps/nios2/bsd-_setjmp.S: New file.
35734         * sysdeps/nios2/bsd-setjmp.S: New file.
35735         * sysdeps/nios2/configure: New generated file.
35736         * sysdeps/nios2/configure.ac: New file.
35737         * sysdeps/nios2/crti.S: New file.
35738         * sysdeps/nios2/crtn.S: New file.
35739         * sysdeps/nios2/dl-init.c: New file.
35740         * sysdeps/nios2/dl-machine.h: New file.
35741         * sysdeps/nios2/dl-sysdep.h: New file.
35742         * sysdeps/nios2/dl-tls.h: New file.
35743         * sysdeps/nios2/dl-trampoline.S: New file.
35744         * sysdeps/nios2/gccframe.h: New file.
35745         * sysdeps/nios2/gmp-mparam.h: New file.
35746         * sysdeps/nios2/jmpbuf-offsets.h: New file.
35747         * sysdeps/nios2/jmpbuf-unwind.h: New file.
35748         * sysdeps/nios2/ldsodefs.h: New file.
35749         * sysdeps/nios2/libc-tls.c: New file.
35750         * sysdeps/nios2/libm-test-ulps: New file.
35751         * sysdeps/nios2/machine-gmon.h: New file.
35752         * sysdeps/nios2/math-tests.h: New file.
35753         * sysdeps/nios2/math_private.h: New file.
35754         * sysdeps/nios2/memusage.h: New file.
35755         * sysdeps/nios2/nptl/Makefile: New file.
35756         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
35757         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
35758         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
35759         * sysdeps/nios2/nptl/pthreaddef.h: New file.
35760         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
35761         * sysdeps/nios2/nptl/tls.h: New file.
35762         * sysdeps/nios2/preconfigure: New file.
35763         * sysdeps/nios2/s_fma.c: New file.
35764         * sysdeps/nios2/s_fmaf.c: New file.
35765         * sysdeps/nios2/setjmp.S: New file.
35766         * sysdeps/nios2/sfp-machine.h: New file.
35767         * sysdeps/nios2/sotruss-lib.c: New file.
35768         * sysdeps/nios2/stackguard-macros.h: New file.
35769         * sysdeps/nios2/stackinfo.h: New file.
35770         * sysdeps/nios2/start.S: New file.
35771         * sysdeps/nios2/sysdep.h: New file.
35772         * sysdeps/nios2/tls-macros.h: New file.
35773         * sysdeps/nios2/tst-audit.h: New file.
35774         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
35775         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
35776         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
35777         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
35778         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
35779         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
35780         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
35781         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
35782         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
35783         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
35784         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
35785         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
35786         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
35787         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
35788         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
35789         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
35790         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
35791         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
35792         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
35793         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
35794         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
35795         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
35796         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
35797         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
35798         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
35799         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
35800         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
35801         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
35802         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
35803         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
35804         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
35805         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
35806         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
35807         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
35808         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
35809         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
35810         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
35811         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
35812         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
35813         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
35814         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
35815         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
35816         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
35817         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
35819 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35821         [BZ #17844]
35822         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
35823         (getutent): Use weak_alias in non SHARED case
35824         and default_symbol_version in SHARED case.
35825         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
35826         (getutent_r, pututline): Likewise.
35827         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
35828         (getutid): Likewise.
35829         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
35830         (getutid_r): Likewise.
35831         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
35832         (getutline): Likewise.
35833         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
35834         (getutline_r): Likewise.
35835         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
35836         (updwtmp): Likewise.
35838 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35840         [BZ #17848]
35841         * sysdeps/s390/s390-32/memcmp.S
35842         (memcmp_g5): Rename to __memcmp_g5.
35843         * sysdeps/s390/s390-32/memcpy.S
35844         (memcpy_g5): Rename to __memcpy_g5.
35845         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35846         (memcpy_mvcle) Rename to __memcpy_mvcle.
35847         * sysdeps/s390/s390-32/memset.S
35848         (memset_g5): Rename to __memset_g5.
35849         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35850         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35851         and use prefixed functions.
35852         * sysdeps/s390/s390-32/multiarch/memcmp.S
35853         (memcmp_z196): Rename to __memcmp_z196.
35854         (memcmp_z10): Rename to __memcmp_z10.
35855         (memcmp): Set alias to __memcmp_g5.
35856         (bcmp): Set alias to __memcmp_g5.
35857         * sysdeps/s390/s390-32/multiarch/memcpy.S
35858         (memcpy_z196): Rename to __memcpy_z196.
35859         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35860         (memcpy_z10): Rename to __memcpy_z10.
35861         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35862         (memcpy): Set alias to __memcpy_g5.
35863         * sysdeps/s390/s390-32/multiarch/memset.S
35864         (memset_z196): Rename to __memset_z196.
35865         Jump to __memset_mvcle instead of memset_mvcle.
35866         (memset_z10): Rename to __memset_z10.
35867         Jump to __memset_mvcle instead of memset_mvcle.
35868         (memset_mvcle) Rename to __memset_mvcle.
35869         (memset): Set alias to __memset_g5.
35870         * sysdeps/s390/s390-64/memcmp.S
35871         (memcmp_z900): Rename to __memcmp_z900.
35872         * sysdeps/s390/s390-64/memcpy.S
35873         (memcpy_z900): Rename to __memcpy_z900.
35874         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35875         (memcpy_mvcle) Rename to __memcpy_mvcle.
35876         * sysdeps/s390/s390-64/memset.S
35877         (memset_z900): Rename to __memset_z900.
35878         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
35879         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35880         and use prefixed functions.
35881         * sysdeps/s390/s390-64/multiarch/memcmp.S
35882         (memcmp_z196): Rename to __memcmp_z196.
35883         (memcmp_z10): Rename to __memcmp_z10.
35884         (memcmp): Set alias to __memcmp_z900.
35885         (bcmp): Set alias to __memcmp_z900.
35886         * sysdeps/s390/s390-64/multiarch/memcpy.S
35887         (memcpy_z196): Rename to __memcpy_z196.
35888         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35889         (memcpy_z10): Rename to __memcpy_z10.
35890         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35891         (memcpy): Set alias to __memcpy_z900.
35892         * sysdeps/s390/s390-64/multiarch/memset.S
35893         (memset_z196): Rename to __memset_z196.
35894         Jump to __memset_mvcle instead of memset_mvcle.
35895         (memset_z10): Rename to __memset_z10.
35896         Jump to __memset_mvcle instead of memset_mvcle.
35897         (memset_mvcle) Rename to __memset_mvcle.
35898         (memset): Set alias to __memset_z900.
35900 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
35902         [BZ #17748]
35903         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
35904         __fesetenv instead of fesetenv.
35906 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35908         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
35909         macro.
35911 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35913         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
35914         regression on LE.
35916         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
35917         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
35918         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35919         strncmp-power8 object.
35920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35921         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
35922         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
35923         * NEWS: Update.
35925 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35926             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35928         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
35929         trailing byte check.
35931 2015-01-13  David S. Miller  <davem@davemloft.net>
35933         * include/signal.h (__sigreturn): Guard with __USE_MISC.
35935 2015-01-13  Roland McGrath  <roland@hack.frob.com>
35937         * login/logout.c (logout): Use memset rather than bzero.
35938         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
35939         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
35940         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
35941         (_gethtbyaddr): Likewise.
35942         * locale/programs/simple-hash.c (bcopy): Macro removed.
35944 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35947         Add strcmp-power8 object.
35948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35949         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
35950         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
35951         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
35952         __strcmp_power8 implementation.
35953         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
35954         * NEWS: Update.
35956         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35957         Add strncpy-power8 and stpncpy-power8 objects.
35958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35959         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
35960         implementations.
35961         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
35962         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
35963         __stpncpy_power8 implementation.
35964         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
35965         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
35966         __strncpy_power8 implementation.
35967         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
35968         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
35969         * NEWS: Update.
35971         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
35972         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
35973         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
35975         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35976         strncat-power8 object.
35977         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
35978         __strcat_power8 implementation.
35979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35980         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
35981         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
35982         optimized strcat for power8.
35984         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35985         strcpy-power8 and stpcpy-power8 objects.
35986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35987         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
35988         implementations.
35989         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
35990         multiarch stpcpy implementation for POWER8.
35991         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
35992         multiarch strcpy implementation for POWER8.
35993         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
35994         __strcpy_power8 function.
35995         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
35996         stpcpy for POWER8.
35997         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
35998         strcpy for POWER8.
35999         * NEWS: Update.
36001 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
36003         [BZ #16009]
36004         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
36005         weights and rules. Use do_xfrm_cached if data fits in cache,
36006         do_xfrm otherwise.  Moved former main loop to...
36007         * (do_xfrm_cached): New function.
36008         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
36009         find_idx, find_position and stack_push.
36010         * (find_idx): New function.
36011         * (find_position): Likewise.
36012         * localedata/sort-test.sh: Added test run for do_xfrm.
36013         * localedata/xfrm-test.c (main): Added command line option
36014         -nocache to run the test with strings that are too large for
36015         the STRXFRM cache.
36017 2015-01-13  Torvald Riegel  <triegel@redhat.com>
36019         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
36020         variable to lll_futex_wake call, not the value itself.
36022 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
36024         [BZ #17803]
36025         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
36026         twom64.  Adjust value to 0x1p-64L.
36027         (__scalblnl): Only return standard underflowing result for K <=
36028         -64 not K <= -63; adjust exponent for underflowing result by 64
36029         not 63.
36030         * math/libm-test.inc (scalbn_test_data): Add more tests.
36031         (scalbln_test_data): Likewise.
36033         [BZ #17834]
36034         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
36035         0x1p63L.
36036         (__scalblnl): Get new exponent of adjusted subnormal value from ES
36037         not HX.
36038         * math/libm-test.inc (scalbn_test_data): Add more tests.
36039         (scalbln_test_data): Likewise.
36041 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36042             Stefani Seibold  <stefani@seibold.net>
36044         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
36045         (sysdep_routines): Add dl-vdso here, ...
36046         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
36047         (sysdep_routines): ... not here.
36048         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
36049         fallback when vDSO is not presented.
36050         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36051         Define with libc_hidden_proto/libc_hidden_data_def definitions.
36052         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
36053         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
36054         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
36055         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
36056         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
36057         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
36058         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
36059         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
36060         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
36061         fallback configurable symbol when vDSO is not available.
36062         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
36063         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
36064         be able to redefine fallback symbol when vDSO is not available.
36065         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
36066         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
36068 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36070         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
36071         (TLS_INIT_TP): Add tm_capable initialization.
36072         (TLS_DEFINE_INIT_TP): Likewise.
36073         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
36074         TCB.
36075         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
36076         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
36077         calculation.
36078         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
36079         transactoion is lock elision is built and TCB tm_capable is set.
36080         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
36081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36082         (INTERNAL_SYSCALL_NCS): Likewise.
36083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36084         (INTERNAL_SYSCALL_NCS): Likewise.
36085         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
36087         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
36088         for powerpc.
36089         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36090         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
36091         and remove it for 32 bits case.
36092         [pthread_rwlock_t] (__rwelision): New field for lock elision.
36093         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
36094         initialization.
36095         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
36096         Disable lock elision with rdlocks if elision is not available.
36098         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
36099         (sysdep_routines): Add lock elision objects.
36100         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36101         [pthread_mutex_t] (__spins): Rework to add lock elision field.
36102         [pthread_mutex_t] (__elision): Add field.
36103         [__PTHREAD_SPINS]: Adjust to init lock elision field.
36104         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
36105         elision definitions for powerpc.
36106         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
36107         implementation of lock elision for powerpc.
36108         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
36109         implementation of timed lock elision for powerpc.
36110         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
36111         implementation of trylock with lock elision for powerpc.
36112         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
36113         implementaion of unlock for lock elision for powerpc.
36114         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
36115         automatic enable lock elision for mutexes.
36116         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
36117         transaction execution definitions for powerpc.
36118         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
36119         definitions.
36120         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
36121         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
36122         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
36123         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
36124         * NEWS: Update.
36126 2015-01-09  Roland McGrath  <roland@hack.frob.com>
36128         * sysdeps/posix/shm-directory.c: Use <> rather than ""
36129         for #include of <shm-directory.h>.
36131 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
36133         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
36134         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
36136 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
36138         [BZ #17791]
36139         * NEWS: Mention bug fix.
36140         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
36141         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
36142         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
36144 2015-01-09  Torvald Riegel <triegel@redhat.com>
36146         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
36148 2015-01-09  Torvald Riegel <triegel@redhat.com>
36150         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
36152 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36154         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
36155         pointer and cast to uintptr_t.
36157 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36159         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
36160         removed.
36161         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
36163 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36165         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
36166         of 0.
36168 2015-01-08  Roland McGrath  <roland@hack.frob.com>
36170         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
36171         <nptl/pthreadP.h> instead.
36172         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
36174         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
36175         already defined.
36176         [__SIGRTMIN] (init): Function removed.
36177         [__SIGRTMIN] (initialized): Variable removed.
36178         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
36179         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
36180         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
36181         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
36182         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
36183         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
36184         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
36185         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
36186         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
36187         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
36188         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
36189         * sysdeps/nptl/allocrtsig.c: New file.
36190         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
36191         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
36192         * sysdeps/generic/testrtsig.h: File removed.
36194         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
36195         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
36197         * nptl/nptl-init.c (pthread_functions): Conditionalize
36198         .ptr__nptl_setxid initialization on [SIGSETXID].
36200         * sysdeps/nptl/sys/procfs.h: New file.
36201         * nptl_db/Makefile (headers): Add it.
36202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
36204         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
36205         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
36206         * nptl/pthread_attr_setaffinity.c: Include it.
36207         * nptl/pthread_setattr_default_np.c: Likewise.
36208         * nptl/check-cpuset.h: New file.
36210 2015-01-08  Richard Henderson  <rth@redhat.com>
36212         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
36213         (CFLAGS-tst-execstack-prog.c): Likewise.
36214         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
36216 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
36217             Sandra Loosemore  <sandra@codesourcery.com>
36218             Andrew Jenner  <andrew@codesourcery.com>
36219             Joseph Myers  <joseph@codesourcery.com>
36220             Nathan Sidwell  <nathan@codesourcery.com>
36222         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
36223         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
36224         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
36225         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
36226         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
36227         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
36228         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
36229         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
36230         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
36231         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
36232         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
36233         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
36234         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
36235         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
36236         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
36237         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
36238         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
36240 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36242         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
36243         timespec struct member in syscall macro.
36244         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
36245         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
36246         first timeval struct member in syscall macro.
36247         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
36249 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
36251         [BZ #17748]
36252         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
36253         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
36254         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
36255         __feupdateenv and define as weak alias of __feupdateenv.  Use
36256         libm_hidden_weak.
36257         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
36258         libm_hidden_def.
36259         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
36260         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
36261         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36262         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
36263         libm_hidden_def.
36264         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
36265         __feupdateenv and define as weak alias of __feupdateenv.  Use
36266         libm_hidden_weak.
36267         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
36268         libm_hidden_def.
36269         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
36270         __feupdateenv and define as weak alias of __feupdateenv.  Use
36271         libm_hidden_weak.
36272         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
36273         libm_hidden_def.
36274         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36275         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36276         (__feupdateenv): Likewise.
36277         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
36278         __feupdateenv and define as weak alias of __feupdateenv.  Use
36279         libm_hidden_weak.
36280         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36281         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
36282         libm_hidden_def.
36283         * sysdeps/tile/math_private.h (__feupdateenv): New inline
36284         function.
36285         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
36286         libm_hidden_def.
36287         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
36288         __feupdateenv instead of feupdateenv.
36289         (default_libc_feupdateenv_test): Likewise.
36290         (libc_feresetround_ctx): Likewise.
36292 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36294         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
36295         prototype.
36297 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
36299         * posix/regcomp.c (parse_bracket_exp): Initialize type to
36300         COLL_SYM in a couple of places to avoid uninitialized variable
36301         wanings on tilegx gcc 4.8.2.
36303 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36305         * sysdeps/aarch64/strcpy.S: New file.
36306         * sysdeps/aarch64/stpcpy.S: New file.
36307         * NEWS: Updated.
36309 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36311         * sysdeps/aarch64/strrchr.S: New file.
36312         * NEWS: Updated.
36314 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
36316         [BZ #17658]
36317         * stdlib/setenv.c: Fix memory leak when setting large,
36318         duplicate string.
36320 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
36322         [BZ #17273]
36323         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
36324         and tabs from buffer before parsing fstab entry.
36325         * misc/tst-mntent.c (main): Add test for mount entry with
36326         trailing spaces and tabs.
36328 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
36330         [BZ #17748]
36331         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
36332         * math/fesetround.c (fesetround): Rename to __fesetround and
36333         define as weak alias of __fesetround.  Use libm_hidden_weak.
36334         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
36335         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
36336         * sysdeps/arm/fesetround.c (fesetround): Likewise.
36337         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
36338         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
36339         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
36340         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
36341         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
36342         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
36343         __fesetround_inline.
36344         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
36345         __fesetround_inline instead of __fesetround.
36346         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
36347         __fesetround and define as weak alias of __fesetround.  Use
36348         libm_hidden_weak.  Call __fesetround_inline instead of
36349         __fesetround.
36350         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
36351         __fesetround and define as weak alias of __fesetround.  Use
36352         libm_hidden_weak.
36353         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
36354         Likewise.
36355         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
36356         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36357         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
36358         * sysdeps/tile/math_private.h (__fesetround): New inline function.
36359         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
36360         __fesetround and define as weak alias of __fesetround.  Use
36361         libm_hidden_weak.
36362         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
36363         __fesetround instead of fesetround.
36364         (default_libc_feholdexcept_setround): Likewise.
36365         (libc_feholdsetround_ctx): Likewise.
36366         (libc_feholdsetround_noex_ctx): Likewise.
36368         [BZ #17748]
36369         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
36370         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
36371         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36372         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36373         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36374         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
36375         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36376         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36377         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36378         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36379         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36380         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36381         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36382         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36383         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
36384         libm_hidden_def.
36385         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
36386         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
36387         Likewise.
36388         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36389         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36390         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36391         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36392         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
36393         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36394         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36395         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
36396         __fesetenv instead of fesetenv.
36397         (libc_feresetround_noex_ctx): Likewise.
36398         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36399         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36400         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
36401         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36402         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36403         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36404         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36405         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36406         (__feupdateenv): Likewise.
36407         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36408         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36409         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36410         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
36412 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36414         [BZ #17806]
36415         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
36416         addresses have been freed.
36418 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36420         * resolv/res_init.c (__res_vinit): Improve comments about nserv
36421         and nservall.
36423 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
36425         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
36426         Clean up check_pf allocation pattern. addresses
36428 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36430         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
36431         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
36432         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
36433         * nptl/pthread_exit.c (__pthread_exit): Likewise.
36434         * nptl/pthread_join.c (pthread_join): Likewise.
36435         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
36436         * sysdeps/posix/waitid.c (__waitid): Likewise.
36437         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36438         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36439         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36440         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36441         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36442         Likewise.
36443         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36444         (__libc_pread64): Likewise.
36445         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36446         (__libc_pwrite): Likewise.
36447         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36448         (__libc_pwrite64): Likewsie.
36449         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36450         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36451         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36452         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36453         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36454         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36455         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36457         Likewise.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36459         (__libc_pread64): Likewise.
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
36461         Likewise.
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36463         (__libc_pwrite64): Likewise.
36464         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36465         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36466         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
36467         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
36468         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36469         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36470         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
36471         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36472         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36473         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36474         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
36475         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36476         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36477         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
36478         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36479         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36480         Likewise.
36482 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
36484         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
36485         (CFLAGS-test-double.c): Likewise.
36486         (CFLAGS-test-ldouble.c): Likewise.
36487         (CPPFLAGS-test-ifloat.c): Likewise.
36488         (CPPFLAGS-test-idouble.c): Likewise.
36489         (CPPFLAGS-test-ildoubl.c): Likewise.
36490         (CFLAGS-test-test-fenv.c): Remove variable.
36491         (CFLAGS-test-misc.c): Likewise.
36493 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
36495         [BZ #17797]
36496         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
36497         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
36498         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
36499         CLOCKS_PER_SEC == 1000000.
36500         * time/clocktest.c (main): Replace %ld with %jd and cast to
36501         intmax_t.
36503 2015-01-05  Roland McGrath  <roland@hack.frob.com>
36505         * sysdeps/generic/unwind-resume.h: New file.
36506         * sysdeps/gnu/unwind-resume.c: Include it.
36507         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
36508         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
36509         argument list.
36510         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
36511         global rather than static.
36512         (_Unwind_Resume): Update user.
36513         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
36514         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
36515         rather than static.  Add __attribute__ ((cold)).
36516         (_Unwind_Resume, __gcc_personality_v0): Update callers.
36517         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
36518         * sysdeps/arm/arm-unwind-resume.S: New file.
36519         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
36520         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
36521         * sysdeps/arm/Makefile [$(subdir) = csu]
36522         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
36523         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36524         Add rt-arm-unwind-resume.
36525         [$(subdir) = nptl]
36526         (libpthread-sysdep_routines, libpthread-shared-only-routines):
36527         Add pt-arm-unwind-resume.
36528         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
36529         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
36531 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36533         [BZ #17748]
36534         * include/fenv.h (__feholdexcept): Declare.  Use
36535         libm_hidden_proto.
36536         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
36537         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
36538         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36539         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
36540         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
36541         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
36542         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
36543         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36544         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
36545         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
36546         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36547         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
36548         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
36549         (feholdexcept): Likewise.
36550         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36551         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36552         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36553         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36554         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
36555         __feholdexcept instead of feholdexcept.
36556         (default_libc_feholdexcept_setround): Likewise.
36558 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
36560         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
36561         to avoid using stl/str to align destination.
36563 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
36565         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
36567 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36569         [BZ #17796]
36570         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
36571         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
36572         Define as weak alias not strong alias.
36574 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
36576         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
36577         bltzal with addiupc.
36578         (RTLD_START): Ditto.
36580 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
36582         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
36583         for __vdso_* functions in declarations.
36584         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
36585         definitions.
36586         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
36587         INTERNAL_VSYSCALL): Use struct return types to check for error.
36589         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
36590         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
36591         function with cast from llround().
36592         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
36593         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
36594         Define.
36596 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36598         [BZ #17793]
36599         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
36600         Define as weak alias not strong alias.
36602         [BZ #17635]
36603         * ctype/ctype-c99.c: New file.  isblank implementation moved from
36604         ...
36605         * ctype/ctype-extn.c: ... here.
36606         (__isblank_l): Move to ...
36607         * ctype/ctype-c99_l.c: ... here.  New file.
36608         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
36609         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
36610         Remove variable.
36611         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36612         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36613         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36614         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36615         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36617         [BZ #17777]
36618         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
36619         (posix_fadvise64): Define as weak alias not strong alias.
36620         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36621         (posix_fallocate64): Likewise.
36622         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
36623         Remove variable.
36624         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36625         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36626         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36627         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36628         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36630 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
36632         [BZ #16191]
36633         * NEWS: Mention bug fix.
36634         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
36635         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
36636         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
36637         (HOST_STACK_END_ADDR): Likewise.
36639 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36641         [BZ #17748]
36642         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
36643         * math/fegetround.c (fegetround): Rename to __fegetround and
36644         define as weak alias of __fegetround.  Use libm_hidden_weak.
36645         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
36646         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
36647         * sysdeps/arm/fegetround.c (fegetround): Likewise.
36648         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
36649         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36650         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
36651         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
36652         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
36653         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36654         Undefine after rather than before function definition; use
36655         parentheses around function name in definition.
36656         (__fegetround): Also undefine macro after function definition.
36657         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
36658         __fegetround and define as weak alias of __fegetround.  Use
36659         libm_hidden_weak.  Do not undefine as macro.
36660         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36661         Likewise.
36662         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
36663         __fegetround and define as weak alias of __fegetround.  Use
36664         libm_hidden_weak.
36665         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36666         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36667         * sysdeps/tile/math_private.h (__fegetround): New inline function.
36668         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
36669         __fegetround and define as weak alias of __fegetround.  Use
36670         libm_hidden_weak.
36671         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
36672         __fegetround instead of fegetround.
36674         [BZ #17782]
36675         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
36676         Condition macro definition on [__USE_MISC].
36678         [BZ #17781]
36679         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36680         (struct sigaction): Change type of sa_flags field to int.
36682         [BZ #17780]
36683         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
36684         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
36685         __glibc_reserved0.
36687         * nptl/version.c (banner): Use single year in copyright notice.
36689         * NEWS: Update copyright dates.
36690         * catgets/gencat.c (print_version): Likewise.
36691         * csu/version.c (banner): Likewise.
36692         * debug/catchsegv.sh: Likewise.
36693         * debug/pcprofiledump.c (print_version): Likewise.
36694         * debug/xtrace.sh (do_version): Likewise.
36695         * elf/ldconfig.c (print_version): Likewise.
36696         * elf/ldd.bash.in: Likewise.
36697         * elf/pldd.c (print_version): Likewise.
36698         * elf/sotruss.sh: Likewise.
36699         * elf/sprof.c (print_version): Likewise.
36700         * iconv/iconv_prog.c (print_version): Likewise.
36701         * iconv/iconvconfig.c (print_version): Likewise.
36702         * locale/programs/locale.c (print_version): Likewise.
36703         * locale/programs/localedef.c (print_version): Likewise.
36704         * login/programs/pt_chown.c (print_version): Likewise.
36705         * malloc/memusage.sh (do_version): Likewise.
36706         * malloc/memusagestat.c (print_version): Likewise.
36707         * malloc/mtrace.pl: Likewise.
36708         * manual/libc.texinfo: Likewise.
36709         * nptl/version.c (banner): Likewise.
36710         * nscd/nscd.c (print_version): Likewise.
36711         * nss/getent.c (print_version): Likewise.
36712         * nss/makedb.c (print_version): Likewise.
36713         * posix/getconf.c (main): Likewise.
36714         * scripts/test-installation.pl: Likewise.
36715         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
36717 2015-01-02  Will Newton  <will.newton@linaro.org>
36719         * sysdeps/arm/armv7/configure: Removed.
36720         * sysdeps/arm/armv7/configure.ac: Likewise.
36722 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36724         * All files with FSF copyright notices: Update copyright dates
36725         using scripts/update-copyrights.
36726         * intl/plural.c: Regenerated.
36727         * locale/programs/charmap-kw.h: Likewise.
36728         * locale/programs/locfile-kw.h: Likewise.
36730 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36732         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
36734 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36736         [BZ #17748]
36737         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
36738         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
36739         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36740         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36741         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36742         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
36743         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36744         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
36745         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36746         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36747         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36748         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36749         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36750         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36751         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
36752         libm_hidden_def.
36753         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
36754         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
36755         Likewise.
36756         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36757         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36758         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36759         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36760         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
36761         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36762         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36763         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
36764         __fegetenv instead of fegetenv.
36765         (libc_feholdsetround_noex_ctx): Likewise.
36767 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36769         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
36770         (Elf_MIPS_ABIFlags_v0): New structure.
36771         (EF_MIPS_FP64): Define.
36772         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
36773         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
36774         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
36775         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
36776         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
36777         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
36778         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
36779         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
36780         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
36781         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
36782         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
36783         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
36784         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
36785         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
36786         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
36787         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
36788         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
36789         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
36790         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
36791         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
36792         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
36793         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
36794         field.
36795         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
36796         EF_MIPS_FP64.
36797         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
36798         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
36799         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
36800         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
36801         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
36802         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
36803         * sysdeps/mips/tst-abi-interlink.c: Likewise.
36804         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
36805         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
36806         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
36807         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
36808         record the current FP ABI extension.
36809         (mips-mode-switch): Define to show if kernel headers support mode
36810         switching.
36811         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
36812         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
36813         supported SYSV ABI version to 3.
36814         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
36815         feature.
36817 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36818             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36820         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
36821         path.
36822         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
36824 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36826         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
36827         __fegetround and redefine to call __fegetround.  Remove condition
36828         on [!__NO_MATH_INLINES].
36829         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
36830         function.
36831         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
36832         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36833         Remove macro.
36834         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
36835         instead of <fenv_libc.h>.
36836         (__llrintl): Call fegetround instead of __fegetround.
36837         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
36838         instead of <fenv_libc.h>.
36839         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36840         (__lrintl): Call fegetround instead of __fegetround.
36841         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
36842         instead of <fenv_libc.h>.
36843         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36844         (__rintl): Call fegetround instead of __fegetround.
36846 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36848         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
36849         arrays.
36851 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36853         [BZ #17775]
36854         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
36855         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
36856         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
36858 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36860         * sysdeps/i386/tls-macros.h: Include <features.h>.
36861         (TLS_LE): Use non-PIC version for GCC >= 5.0.
36862         (TLS_IE): Likewise.
36863         (TLS_LD): Likewise.
36864         (TLS_GD): Likewise.
36865         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
36866         define for GCC >= 5.0.
36868 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
36870         * math/test-fenv.c (test_single_exception, set_single_exc,
36871         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
36872         feexcp_mask_test, feenable_test, fe_single_test): Add
36873         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
36874         case where they are not used.
36875         * math/libm-test.inc: Likewise.
36876         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
36877         unused in the absence of FP rounding/exception support.
36878         * stdio-common/tst-printf-round.c: Likewise.
36879         * stdlib/tst-strtod-round.c: Likewise.
36880         * stdlib/tst-strtod-underflow.c: Likewise.
36882 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
36884         [BZ #17723]
36885         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
36886         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
36887         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36888         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36889         libm_hidden_weak.
36890         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
36891         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36892         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
36893         libm_hidden_def.
36894         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36895         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36896         libm_hidden_weak.
36897         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
36898         Likewise.
36899         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
36900         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36901         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36902         libm_hidden_weak.
36903         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36904         libm_hidden_def.
36905         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36906         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
36907         (__feraiseexcept): Likewise.
36908         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36909         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36910         libm_hidden_weak.
36911         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36912         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36913         libm_hidden_def.
36914         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
36915         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
36916         Use libm_hidden_def.
36917         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
36918         libm_hidden_def.
36919         (feraiseexcept): Define as weak not strong alias.  Use
36920         libm_hidden_weak.
36921         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
36922         New inline function.  Factored out of ...
36923         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
36924         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
36925         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
36926         feraiseexcept.
36927         * math/w_acos.c (__acos): Likewise.
36928         * math/w_asin.c (__asin): Likewise.
36929         * math/w_ilogb.c (__ilogb): Likewise.
36930         * math/w_j0.c (y0): Likewise.
36931         * math/w_j1.c (y1): Likewise.
36932         * math/w_jn.c (yn): Likewise.
36933         * math/w_log.c (__log): Likewise.
36934         * math/w_log10.c (__log10): Likewise.
36935         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
36936         * sysdeps/aarch64/fpu/math_private.h
36937         (libc_feupdateenv_test_aarch64): Likewise.
36938         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36939         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
36940         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
36941         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36942         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36943         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36944         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
36945         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36946         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36947         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36949 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36951         [BZ #17732]
36952         * io/test-utime.c (main): Replace %ld with %jd and cast to
36953         intmax_t.
36954         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
36955         * nptl/tst-mutex5.c: Include <stdint.h>.
36956         (do_test): Replace %ld with %jd and cast to intmax_t.
36957         * posix/tst-regex.c (run_test): Likewise.
36958         (run_test_backwards): Likewise.
36959         * rt/tst-clock.c: Include <stdint.h>.
36960         (clock_test): Replace %ld with %jd and cast to intmax_t.
36961         * rt/tst-cpuclock1.c: Include <stdint.h>.
36962         (do_test): Replace %lu with %ju and cast to uintmax_t.
36963         * rt/tst-cpuclock2.c: Include <stdint.h>.
36964         (do_test): Replace %lu with %ju and cast to uintmax_t.
36965         * rt/tst-mqueue1.c: Include <stdint.h>.
36966         (check_attrs): Replace %ld with %jd and cast to intmax_t.
36967         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
36968         intmax_t.
36969         * rt/tst-mqueue4.c (do_test): Likewise.
36970         * rt/tst-timer4.c: Include <stdint.h>.
36971         (check_ts): Replace %ld with %jd and cast to intmax_t.
36972         (do_test): Likewise.
36973         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
36974         and cast to intmax_t.
36975         * sysdeps/pthread/tst-timer.c (main): Likewise.
36976         * time/clocktest.c (main): Likewise.
36977         * time/tst-posixtz.c (do_test): Likewise.
36978         * timezone/tst-timezone.c (main): Likewise.
36980 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36981             H.J. Lu  <hongjiu.lu@intel.com>
36983         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
36984         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36985         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
36986         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
36987         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
36988         version if bit_Fast_Unaligned_Load is set.
36989         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36990         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36991         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36992         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36993         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36994         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36996         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
36997         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
36998         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
36999         to 4.
37000         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
37001         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
37002         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
37003         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
37005 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
37007         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
37008         instead of #if to avoid a Wundef warning.
37009         * stdlib/tst-limits.c (do_test): Likewise.
37011         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
37012         parallel other exception macros.
37013         (fegetenv): Convert from macro to extern inline so that it applies
37014         retroactively to inline functions already seen by the compiler.
37015         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
37017         * posix/Makefile (before-compile): Use $(objpfx) for
37018         posix-conf-vars-def.h.
37020 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37022         * posix/getconf.c (main): Use size_t for type of I.
37023         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
37024         NSPEC.
37026         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
37027         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
37028         * posix/posix-envs.def: Likewise.
37029         * sysdeps/posix/sysconf.c: Likewise.
37030         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
37031         (specs): Remove array.
37032         * scripts/gen-posix-conf-vars.awk: Support generation of specs
37033         array.
37035         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
37036         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
37037         (__sysconf): Use CONF_IS_* macros.
37039         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
37040         ($(objpfx)posix-conf-vars-def.h): New target.
37041         * posix/posix-conf-vars.list: New file.
37042         * posix/posix-conf-vars.h: New file.
37043         * posix/confstr.c: Include posix-conf-vars.h.
37044         (confstr): Use CONF_IS_* macros.
37045         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
37046         CONF_IS_* macros.
37047         * scripts/gen-posix-conf-vars.awk: New file.
37049 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
37051         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
37052         fegetround): Add no-op macros to avoid linknamespace issues.
37054         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
37055         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
37057         * sysdeps/unix/sysv/linux/tile/sysdep.h
37058         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
37059         assembly-specific section to avoid a redefinition warning.
37061         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
37062         long before casting to pointer to avoid a cast warning.
37064 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
37066         * sysdeps/tile/tilegx/Implies: New file.
37068 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
37070         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
37072 2014-12-23  Florian Weimer  <fweimer@redhat.com>
37074         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
37076 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37078         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
37079         not define.
37080         * sysdeps/unix/sysv/linux/utimes.c: Do not include
37081         <kernel-features.h>.
37082         (__utimes) [__NR_utimes]: Make code unconditional.
37083         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
37084         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37085         (__ASSUME_UTIMES): Do not undefine.
37086         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37087         (__ASSUME_UTIMES): Likewise.
37088         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37089         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
37090         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
37091         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
37093 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37095         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
37097 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
37099         [BZ #17747]
37100         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
37101         alias to weak alias for j0l, y0l.
37102         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
37103         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
37105         [BZ #17746]
37106         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
37107         conversion.
37109 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37111         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
37112         to zero if not already defined.
37114 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37116         [BZ #17724]
37117         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
37118         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
37119         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
37120         (char *) casts added.
37121         * sysdeps/ieee754/k_standardf.c: New file.
37122         * sysdeps/ieee754/k_standardl.c: Likewise.
37123         * math/Makefile (libm-support): Remove k_standard.
37124         (libm-calls): Add k_standard.
37126 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37128         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37129         Optimize to avoid an unnecessary FPCR read.
37131 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37133         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
37134         Optimize to reduce FPCR/FPSR accesses.
37136 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37138         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
37139         Call libc_fetestexcept_aarch64.
37141 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37143         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
37144         Call libc_fesetround_aarch64.
37146 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37148         [BZ #17733]
37149         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
37150         (__bind): Do not define as weak alias.
37151         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
37152         define.
37153         (__getsockname): Do not define as weak alias.
37155 2014-12-22  Will Newton  <will.newton@linaro.org>
37157         * manual/install.texi: Document that we require bison 2.7
37158         or above.
37159         * INSTALL: Regenerate.
37160         * configure.ac: Use AC_CHECK_PROG_VER instead of
37161         AC_PATH_PROG when checking for bison and check for
37162         version 2.7 or above.
37163         * configure: Regenerate.
37165 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
37167         [BZ #17745]
37168         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
37169         * sysdeps/tile/ffsll.c (ffsll): To here.
37171         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
37173 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37175         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
37176         if not defined.
37177         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
37178         definition.
37179         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37180         hidden ___tls_get_addr.
37181         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37182         hidden __tls_get_addr.
37183         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
37184         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
37185         Likewise.
37187 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37189         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
37190         _dl_init call.
37192 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37194         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
37195         from "call _dl_init@PLT".
37196         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
37198 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
37200         * manual/search.texi: (Array Sort Function): Clarify stable sorting
37201         guarantees.
37203 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
37205         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
37207 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37209         [BZ #17744]
37210         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
37211         strnlen.
37213 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37215         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
37216         of multu on MIPSr6.
37217         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
37218         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
37219         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
37220         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
37221         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
37223 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37225         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
37226         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
37227         (PTR_SUBU): Use subu for mips32r6/mips64r6.
37228         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
37229         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
37230         mips32r6/mips64r6.
37231         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
37233 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
37235         * string/strncat.c (STRNCAT): Simplify implementation.
37237 2014-12-19  David S. Miller  <davem@davemloft.net>
37239         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
37240         access the quad as both a long double and as a series of 4 words.
37242         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
37243         link_map->l_info array access.
37245 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37247         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
37249         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
37250         * math/atest-exp2.c (TIMEOUT): Likewise.
37251         * math/atest-sincos.c (TIMEOUT): Likewise.
37253 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37255         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
37256         -Wno-error with -fno-builtin-lround.
37258 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37260         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
37261         Contains futex constants and functions moved over from ...
37262         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
37263         <lowlevellock-futex.h>.
37264         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37265         (lll_timedwait_tid): Add comments and parentheses around macro
37266         arguments.
37268 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37270         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
37271         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
37272         (__lll_private_flag): Remove.
37273         (lll_futex_wait): Likewise.
37274         (lll_futex_timed_wait): Likewise.
37275         (lll_futex_wake): Likewise.
37276         (lll_futex_requeue): Likewise.
37277         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37278         (__lll_timedwait_tid): Spell out argument names.
37279         (lll_timedwait_tid): Add comments and parentheses around macro
37280         arguments.
37281         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
37282         LLL_SHARED and LLL_PRIVATE usable from assembly code.
37284 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37286         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
37287         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37288         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37289         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
37290         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
37291         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
37292         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
37293         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
37294         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
37295         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
37296         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
37297         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
37298         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
37299         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
37300         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
37301         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
37302         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
37303         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
37304         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
37306 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37308         * sysdeps/x86_64/x32/Makefile: New file.
37310 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37312         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
37313         1L with (mp_limb_t) 1.
37315 2014-12-17  Roland McGrath  <roland@hack.frob.com>
37317         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
37318         * nptl/libc_pthread_init.c: ... here.
37319         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
37320         * nptl/register-atfork.c: ... here.
37322         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
37323         Use pthread_sigmask rather than INTERNAL_SYSCALL.
37324         Use assert_perror to check its return value.
37325         (__gai_create_helper_thread): Likewise.
37327         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
37329         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
37331 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
37333         [BZ #17725]
37334         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
37335         __profil_counter.
37336         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
37337         Likewise.
37338         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
37339         Likewise.
37340         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
37341         Likewise.
37342         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
37343         (profil_counter): Likewise.
37344         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
37345         (profil_counter): Likewise.
37346         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
37347         Likewise.
37348         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
37349         Likewise.
37350         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
37351         (profil_counter): Likewise.
37352         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
37353         Likewise.
37354         [!__profil_counter] (profil_counter): Define as weak alias of
37355         __profil_counter.
37356         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
37357         (profil_counter): Rename to __profil_counter.
37358         [!__profil_counter] (profil_counter): Define as weak alias of
37359         __profil_counter.
37360         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
37361         (profil_counter): Rename to __profil_counter.
37362         [!__profil_counter] (profil_counter): Define as weak alias of
37363         __profil_counter.
37364         * sysdeps/posix/profil.c: Update comment referring to
37365         profil_counter.
37366         (__profil): Use __profil_counter instead of profil_counter.
37367         * sysdeps/posix/sprofil.c (profil_counter): Rename to
37368         __profil_counter.  Use __profil_counter_ushort and
37369         __profil_counter_uint in definitions.
37370         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
37371         instead of profil_counter_uint and profil_counter_ushort.
37373         [BZ #17722]
37374         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
37375         define as weak alias of __inet_makeaddr.
37376         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
37377         as weak alias of __inet_addr.
37378         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
37379         as weak alias of __inet_pton.  Use libc_hidden_weak.
37380         * include/arpa/inet.h (__inet_pton): Declare.  Use
37381         libc_hidden_proto.
37382         (inet_makeaddr): Don't use libc_hidden_proto.
37383         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
37384         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
37385         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
37386         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
37387         Remove variable.
37388         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37389         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37391 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
37393         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
37395 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37397         * stdio-common/bug-vfprintf-nargs.c (do_test):
37398         Cast value to intptr_t to avoid format warning
37399         for usage with PRIdPTR printing macro.
37401 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37403         * libio/tst-widetext.c (do_test):
37404         Use format type %td instead of %Zd for ptrdiff_t
37405         in order to avoid format warning.
37407 2014-12-17  Andreas Schwab  <schwab@suse.de>
37409         * nscd/mem.c (gc): Add size_t cast to match printf format.
37411 2014-12-16  Roland McGrath  <roland@hack.frob.com>
37413         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
37414         (init): Apply PTR_MANGLE to pointers before storing them.
37415         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
37416         before using them.
37418 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
37420         [BZ #17719]
37421         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
37422         define as weak alias of __memrchr.
37423         (__memrchr): Do not define as strong alias of memrchr.
37424         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
37425         Remove variable.
37426         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37427         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37428         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37430         [BZ #17717]
37431         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
37432         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
37433         (if_indextoname): Rename to __if_indextoname and define as weak
37434         alias of __if_indextoname.  Use libc_hidden_weak.
37435         (if_freenameindex): Rename to __if_freenameindex and define as
37436         weak alias of __if_freenameindex.
37437         (if_nameindex): Rename to __if_nameindex and define as weak alias
37438         of __if_nameindex.
37439         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
37440         __if_nametoindex and define as weak alias of __if_nametoindex.
37441         Use libc_hidden_weak.
37442         (if_freenameindex): Rename to __if_freenameindex and define as
37443         weak alias of __if_freenameindex.
37444         (if_nameindex): Rename to __if_nameindex and define as weak alias
37445         of __if_nameindex.
37446         (if_indextoname): Rename to __if_indextoname and define as weak
37447         alias of __if_indextoname.  Use libc_hidden_weak.
37448         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
37449         __if_nametoindex and define as weak alias of __if_nametoindex.
37450         Use libc_hidden_weak.
37451         (if_freenameindex): Rename to __if_freenameindex and define as
37452         weak alias of __if_freenameindex.  Use libc_hidden_weak.
37453         (if_nameindex_netlink): Use __if_freenameindex instead of
37454         if_freenameindex.
37455         (if_nameindex): Rename to __if_nameindex and define as weak alias
37456         of __if_nameindex.  Use libc_hidden_weak.
37457         (if_indextoname): Rename to __if_indextoname and define as weak
37458         alias of __if_indextoname.  Use libc_hidden_weak.
37459         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
37460         libc_hidden_proto.
37461         [!_ISOMAC] (__if_freenameindex): Likewise.
37462         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
37463         if_nametoindex.
37464         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
37465         variable.
37466         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37467         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37468         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37469         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37470         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37471         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37472         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37474         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
37475         Remove variable.
37476         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37477         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37479 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37481         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
37482         subscript above bounds'
37484         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
37485         bounds.
37487 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
37489         * libio/tst-fopenloc.c: Use test-skeleton.c.
37491         * stdlib/tst-bsearch.c: Use test-skeleton.c.
37492         (entry): Rename to ITEM.
37493         (do_test, comp): Adjust.
37495         * stdio-common/tst-fseek.c: Use test-skeleton.c.
37497 2014-12-16  Torvald Riegel  <triegel@redhat.com>
37499         * string/tester.c: Include <libc-internal.h>.
37500         (test_memset): Ignore -Wmemset-transposed-args.
37502 2014-12-16  Torvald Riegel  <triegel@redhat.com>
37504         * misc/tst-mntent2.c (do_test): Fix warning.
37506 2014-12-16  Torvald Riegel  <triegel@redhat.com>
37508         * elf/tst-unique4lib.cc(a): Mark as used.
37510 2014-12-16  Florian Weimer  <fweimer@redhat.com>
37512         [BZ #17630]
37513         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
37514         names.
37516 2014-12-16  Allan McRae  <allan@archlinux.org>
37518         * stdio-common/Makefile (tests): Re-add bug26.
37520 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
37522         [BZ #17657]
37523         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
37524         static array.
37526 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
37528         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
37529         (__lll_lock_wait): Likewise.
37530         (__lll_timedlock_wait): Likewise.
37531         (__lll_timedwait_tid): Likewise.
37532         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
37533         (__lll_robust_timedlock_wait): Likewise.
37534         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
37535         (lll_cond_trylock): Likewise.
37536         (__lll_lock): Likewise.
37537         (__lll_robust_lock): Likewise.
37538         (__lll_cond_lock): Likewise.
37539         (lll_robust_cond_lock): Likewise.
37540         (__lll_timedlock): Likewise.
37541         (__lll_robust_timedlock): Likewise.
37542         (__lll_unlock): Likewise.
37543         (__lll_robust_unlock): Likewise.
37544         (lll_wait_tid): Likewise.
37545         (lll_timedwait_tid): Likewise.
37547 2014-12-15  Torvald Riegel  <triegel@redhat.com>
37549         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
37551 2014-12-15  Torvald Riegel  <triegel@redhat.com>
37553         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
37555 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37557         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
37558         * stdio-common/tst-sprintf.c: Likewise.
37560 2014-12-15  Torvald Riegel  <triegel@redhat.com>
37562         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
37564 2014-12-15  Jeff Law  <law@redhat.com>
37566         [BZ #16617]
37567         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
37568         on the heap.  (CVE-2012-3406)
37569         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
37570         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
37571         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
37573 2014-12-15  Will Newton  <will.newton@linaro.org>
37575         * manual/install.texi: Bump required version of texinfo
37576         to 4.7 from 4.5.
37577         * INSTALL: Regenerated.
37578         * configure.ac: Check for makeinfo version 4.7 and above.
37579         * configure: Regenerated.
37581 2014-12-12  Roland McGrath  <roland@hack.frob.com>
37583         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
37584         PREFIX, string constant to insert between directory and name.
37585         * sysdeps/posix/shm_open.c: Update caller.
37586         * sysdeps/posix/shm_unlink.c: Likewise.
37587         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
37588         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
37589         (SEM_SHM_PREFIX): New macro.
37590         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
37591         [$(have-thread-library) = no].
37592         * nptl/Makefile (libpthread-routines): Add shm-directory.
37593         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
37594         * sysdeps/nptl/shm-directory.h: New file.
37595         * sysdeps/posix/shm-directory.c
37596         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
37597         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
37598         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
37599         INTERNAL_SYSCALL.
37600         (__where_is_shmfs): Function removed.
37601         (mountpoint, defaultmount, defaultdir, __namedsem_once):
37602         Variables removed.
37603         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
37604         Use SHM_GET_NAME.
37605         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
37607         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
37608         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
37609         unconditional for use inside libpthread.
37610         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
37612 2014-12-12  Roland McGrath  <roland@hack.frob.com>
37614         * nptl/pthread_getaffinity.c: New file.
37615         * nptl/pthread_setaffinity.c: New file.
37616         * nptl/pthread_getname.c: New file.
37617         * nptl/pthread_setname.c: New file.
37619         * nptl/pthread_create.c (START_THREAD_DEFN)
37620         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
37622 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37623             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37625         * resolv/res_send.c (send_vc): Disable warning resplen may
37626         be used uninitialized.
37628 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37630         * nptl/tst-mutex6.c
37631         (ATTR_NULL): New define checks ATTR against NULL.
37632         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
37633         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
37635 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
37637         [BZ #17581]
37638         * malloc/hooks.c
37639         (mem2mem_check): Revert my previous change.
37640         (malloc_check_get_size): Revert my previous change.
37641         (mem2chunk_check): Revert my previous change.
37643 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37645         * sysdeps/posix/shm-directory.c: New file.
37646         * sysdeps/posix/shm-directory.h: New file.
37647         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
37648         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
37649         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
37650         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
37651         Transmute EPERM to EACCES.
37652         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
37653         from ...
37654         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
37655         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
37657 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37659         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
37660         pointer and cast to uintptr_t.
37661         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
37662         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
37663         Add cast to avoid warning.
37664         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
37666 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37668         * nptl/semaphore.h: Move to ...
37669         * sysdeps/pthread/semaphore.h: ... here.
37670         * Makefile (installed-headers): Change nptl/semaphore.h to
37671         sysdeps/pthread/semaphore.h.
37673 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37675         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
37676         generated error format strings.
37678         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
37679         -Wformat-extra-args warnings for scanf formats.
37680         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
37681         test of zero-length format (duh).
37682         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
37683         corner-case scanf format test.
37684         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
37685         generated fprintf format string.
37686         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
37687         corner-case sprintf format tests.
37688         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
37689         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
37690         -Wformat-extra-args warnings throughout.
37691         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
37692         (CFLAGS-scanf4.c): Likewise.
37693         (CFLAGS-scanf7.c): Likewise.
37694         (CFLAGS-tst-sprintf.c): Likewise.
37695         (CFLAGS-tst-printf.c): Likewise.
37696         (CFLAGS-tst-printfsz.c): Likewise.
37698 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37700         * include/cpio.h: New file.
37701         * include/fmtmsg.h: Likewise.
37703         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
37704         corresponding format argument to size_t.
37705         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
37706         arguments.
37707         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
37708         corresponding format argument to size_t.
37709         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
37710         arguments.
37711         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
37712         corresponding format argument to size_t.
37713         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
37714         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
37715         (CFLAGS-tst-mbswcs2.c): Likewise.
37716         (CFLAGS-tst-mbswcs3.c): Likewise.
37717         (CFLAGS-tst-mbswcs4.c): Likewise.
37718         (CFLAGS-tst-mbswcs5.c): Likewise.
37719         (CFLAGS-tst-trans.c): Likewise.
37721 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37723         * posix/regexbug1.c (main): Use "%s" format with regerror results,
37724         rather than assuming they won't contain any '%'s.
37726 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
37728         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
37729         inhibit_loop_to_libcall to avoid recursive calls.
37730         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
37731         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
37733 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37735         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
37736         prototype.
37738 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37740         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
37741         integer value instead of boolean.
37743 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37745         * malloc/malloc.c: Fix powerof2 check.
37747 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37749         * locale/programs/locfile.h (maybe_swap_uint32):
37750         Remove inline and add unused attribute.
37752 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37754         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37755         Truncating assembler expression to a .long expression.
37757 2014-12-11  Andreas Schwab  <schwab@suse.de>
37759         * elf/rtld.c (struct map_args): Constify str member.
37760         (do_preload): Constify fname argument.
37762 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37764         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
37765         constants definition.
37767 2014-12-11  Andreas Schwab  <schwab@suse.de>
37769         [BZ #16657]
37770         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
37771         FORCE_ELISION instead of DO_ELISION.
37772         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
37773         Remove.
37774         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
37775         Likewise.
37777         * iconvdata/gconv-modules: Remove duplicate entry.
37779 2014-12-11  Will Newton  <will.newton@linaro.org>
37781         Merge gettext 0.19.3 into intl/.
37783         This involves a number of cosmetic changes to comments
37784         and ANSI function definitions and prototypes throughout
37785         all the files. The gettext copyright header is used but
37786         with the date ranges taken from the glibc copy.
37788         * NEWS: Add gettext merge to 2.21.
37789         * intl/bindtextdom.c: Switch to gettext copyright.
37790         Use ANSI definitions and prototypes.
37791         Use gl_* locking primitives rather than __libc_* ones.
37792         Use __builtin_expect rather than __glibc_likely/unlikely.
37793         * intl/dcgettext.c: Switch to gettext copyright.
37794         Use ANSI definitions and prototypes.
37795         * intl/dcigettext.c: Switch to gettext copyright.
37796         Use ANSI definitions and prototypes.
37797         (INTDIV0_RAISES_SIGFPE): New define.
37798         Use gl_* locking primitives rather than __libc_* ones.
37799         Include eval-plural.h instead of plural-eval.c.
37800         Use __builtin_expect rather than __glibc_likely/unlikely.
37801         * intl/dcngettext.c: Switch to gettext copyright.
37802         Use ANSI definitions and prototypes.
37803         * intl/dgettext.c: Likewise.
37804         * intl/dngettext.c: Likewise.
37805         * intl/plural-eval.c: Renamed to...
37806         * intl/eval-plural.h: ...this.
37807         * intl/explodename.c: Switch to gettext copyright.
37808         Use ANSI definitions and prototypes.
37809         (_nl_explode_name): Use strchr instead of __rawmemchr.
37810         * intl/finddomain.c: Switch to gettext copyright.
37811         Use ANSI definitions and prototypes.
37812         Use gl_* locking primitives rather than __libc_* ones.
37813         (_nl_find_domain): Use malloc rather than alloca for
37814         allocation of temporary locale name.
37815         * intl/gettext.c: Switch to gettext copyright.
37816         Use ANSI definitions and prototypes.
37817         * intl/gettextP.h: Switch to gettext copyright.
37818         Use ANSI definitions and prototypes.
37819         Use gl_* locking primitives rather than __libc_* ones.
37820         * intl/gmo.h: Switch to gettext copyright.
37821         (struct sysdep_string): Move struct segment_pair outside of
37822         struct definition.
37823         * intl/hash-string.c: Use ANSI definitions and prototypes.
37824         * intl/hash-string.h: Switch to gettext copyright.
37825         Use ANSI definitions and prototypes.
37826         * intl/l10nflist.c: Switch to gettext copyright.
37827         Use ANSI definitions and prototypes.
37828         (_nl_normalize_codeset): Avoid integer overflow.
37829         * intl/loadinfo.h: Switch to gettext copyright.
37830         Use ANSI definitions and prototypes.
37831         (LIBINTL_DLL_EXPORTED): New define.
37832         (PATH_SEPARATOR): New define.
37833         * intl/loadmsgcat.c: Switch to gettext copyright.
37834         * intl/localealias.c: Switch to gettext copyright.
37835         Use ANSI definitions and prototypes.
37836         (_nl_expand_alias): Use PATH_SEPARATOR.
37837         * intl/ngettext.c: Switch to gettext copyright.
37838         Use ANSI definitions and prototypes.
37839         * intl/plural-exp.c: Likewise.
37840         * intl/plural-exp.h: Switch to gettext copyright.
37841         Use ANSI definitions and prototypes.
37842         (struct expression): Move definition of enum operator outside
37843         of struct definition.
37844         * intl/plural.c: Regenerate.
37845         * intl/plural.y: Switch to gettext copyright.
37846         Use ANSI definitions and prototypes.
37847         Port to bison 3.0.
37848         * intl/textdomain.c: Switch to gettext copyright.
37849         Use ANSI definitions and prototypes.
37850         Use gl_* locking primitives rather than __libc_* ones.
37852 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
37854         * debug/warning-nop.c: Add used atrribute.
37856 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37858         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
37860         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
37861         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
37862         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
37864 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37865             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37867         [BZ #17634]
37868         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
37869         Undefine after defining function.  Define as weak alias of
37870         __wcschr.  Use libc_hidden_weak.
37871         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
37872         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
37873         (libc_hidden_def): Also define __GI___wcschr alias.
37874         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
37875         __wcschr and define as weak alias of __wcschr.
37876         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
37877         __wcschr.
37878         [!WCSCHR] (DEFAULT_WCSCHR): Define.
37879         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
37880         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
37881         libc_hidden_weak.  Do not use libc_hidden_def.
37882         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
37883         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
37884         __GI___wcschr alias.
37885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
37886         [IS_IN (libc)] (wcschr): Define as macro expanding to
37887         __redirect_wcschr.
37888         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
37889         [IS_IN (libc)] (__wcschr_power6): Likewise.
37890         [IS_IN (libc)] (__wcschr_power7): Likewise.
37891         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
37892         instead of wcschr.
37893         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
37894         __libc_wcschr.
37895         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
37896         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
37897         __wcschr and define as weak alias of __wcschr.  Use
37898         libc_hidden_builtin_def.
37899         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
37900         as weak alias of __wcschr.  Use libc_hidden_weak.
37901         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
37902         wcschr.
37903         * time/era.c (_nl_init_era_entries): Likewise.
37904         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
37905         variable.
37906         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37907         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37909 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37911         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
37912         format for long int variable.
37914 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
37916         [BZ #10672]
37917         * manual/search.texi: (Array Sort Function): Remove claim how to make
37918         qsort stable.
37920 2014-12-10  Andreas Schwab  <schwab@suse.de>
37922         [BZ #12847]
37923         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
37924         user-controlled locks.
37926 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
37928         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
37929         register.
37931 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37933         * configure.ac (--disable-werror): New configure option.
37934         (enable_werror): New AC_SUBST.
37935         * configure: Regenerated.
37936         * config.make.in (enable-werror): New variable.
37937         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
37938         -Wno-error=undef.
37939         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
37940         * manual/install.texi (Configuring and compiling): Document
37941         --disable-werror.
37942         * INSTALL: Regenerated.
37943         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
37944         (CFLAGS-tst-chk2.c): Likewise.
37945         (CFLAGS-tst-chk3.c): Likewise.
37946         (CFLAGS-tst-chk4.cc): Likewise.
37947         (CFLAGS-tst-chk5.cc): Likewise.
37948         (CFLAGS-tst-chk6.cc): Likewise.
37949         (CFLAGS-tst-lfschk1.c): Likewise.
37950         (CFLAGS-tst-lfschk2.c): Likewise.
37951         (CFLAGS-tst-lfschk3.c): Likewise.
37952         (CFLAGS-tst-lfschk4.cc): Likewise.
37953         (CFLAGS-tst-lfschk5.cc): Likewise.
37954         (CFLAGS-tst-lfschk6.cc): Likewise.
37956         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
37957         (main): Disable -Wdeprecated-declarations around calls to
37958         register_printf_function.
37960         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
37961         (do_test): Disable -Wdiv-by-zero around some calls to
37962         fwrite_unlocked and fread_unlocked.
37964         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
37965         (DIAG_POP_NEEDS_COMMENT): Likewise.
37966         (_DIAG_STR1): Likewise.
37967         (_DIAG_STR): Likewise.
37968         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
37969         * stdio-common/bug21.c: Include <libc-internal.h>.
37970         (do_test): Disable -Wformat around call to sscanf.
37971         * stdio-common/scanf14.c: Include <libc-internal.h>.
37972         (main): Disable -Wformat around some calls to scanf functions.
37974 2014-12-09  Torvald Riegel  <triegel@redhat.com>
37976         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
37978 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37980         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
37981         stack variable alignment.
37983 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
37985         [BZ #17682]
37986         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
37987         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
37988         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
37989         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
37990         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
37991         __getrlimit instead of getrlimit.
37992         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
37993         __gettimeofday instead of gettimeofday.
37994         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
37995         Likewise.
37996         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
37997         Likewise.
37998         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37999         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
38000         Remove variable.
38001         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38002         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38004 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38006         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
38007         for wide-character tests.
38009 2014-12-04  Roland McGrath  <roland@hack.frob.com>
38011         * io/openat64.c: #include <libc-internal.h>
38012         (__openat64): Prototypify.  Use ignore_value on MODE.
38013         * io/openat.c: Likewise.
38014         * misc/reboot.c: #include <libc-internal.h>
38015         (reboot): Prototypify.  Use ignore_value on HOWTO.
38016         * misc/ptrace.c: #include <libc-internal.h>
38017         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
38019 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
38021         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
38022         XPG4, UNIX98 and XOPEN2K.
38023         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
38024         Remove variable.
38025         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38027 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38029         * libio/fileops.c: Use ISO C style for function definitions.
38030         * libio/iofopen.c: Likewise.
38031         * libio/wfileops.c: Likewise.
38033         [BZ #17653]
38034         * libio/fileops.c (_IO_new_file_underflow): Unset cached
38035         offset on EOF.
38036         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
38037         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
38038         (fgets_func): Function pointer to fgets and fgetws.
38039         (do_ftell_test): Add test to verify ftell value after read
38040         EOF.
38041         (do_test): Set fgets_func.
38043         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
38044         O_TRUNC flag for w and w+ modes.
38045         (do_rewind_test): Likewise.
38046         (do_ftell_test): Likewise.
38047         (do_write_test): Likewise.
38049         [BZ #17647]
38050         * libio/fileops.c (do_ftell): Seek only when there are
38051         unflushed writes.
38052         * libio/wfileops.c (do_ftell_wide): Likewise.
38053         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
38054         test case.
38055         (do_one_test): Call it.
38057 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
38059         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
38060         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
38061         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
38062         Remove variable.
38063         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38064         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38065         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38067 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38069         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
38070         Remove variable.
38071         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38073         [BZ #17668]
38074         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
38075         as weak alias of __getifaddrs.  Use libc_hidden_weak.
38076         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38077         __freeifaddrs.  Use libc_hidden_weak.
38078         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
38079         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
38080         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38081         __freeifaddrs.  Use libc_hidden_weak.
38082         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
38083         __getifaddrs and define as weak alias of __getifaddrs.  Use
38084         libc_hidden_weak.
38085         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38086         __freeifaddrs.  Use libc_hidden_weak.
38087         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
38088         Remove variable.
38089         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38090         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38092 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
38094         [BZ #17601]
38095         * sysdeps/mips/start.S (__start): Use indirect jump to call
38096         __libc_start_main.
38098 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38100         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
38102         * nptl/tst-mutex1.c: Include <stdbool.h>.
38103         [!ATTR] (ATTR_NULL): New macro.
38104         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
38105         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
38106         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
38108         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
38109         to char *.
38111         [BZ #17665]
38112         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
38113         Change conditional to [__USE_MISC].
38115         [BZ #17664]
38116         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
38117         fgets_unlocked.
38118         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
38119         __fgets_unlocked.
38120         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
38121         fgets_unlocked.
38122         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
38123         Remove variable.
38124         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38125         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38126         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38127         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38128         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38129         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38130         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38131         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38132         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38134         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
38136 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38138         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38139         Remove strpbrk objects.
38140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38141         (__libc_ifunc_impl_list): Remove strpbrk implementation.
38142         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
38143         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
38144         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
38145         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
38147         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38148         Remove strcspn objects.
38149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38150         (__libc_ifunc_impl_list): Remove strcspn implementation.
38151         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
38152         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
38153         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
38154         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
38156         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38157         Remove strspn objetcs.
38158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38159         (__libc_ifunc_impl_list): Remove strspn implementation.
38160         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
38161         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38162         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
38163         * sysdeps/powerpc/powerpc64/strspn.S: New file.
38165 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
38167         [BZ #17581]
38168         * malloc/hooks.c
38169         (mem2mem_check): Add a terminator to the chain of checking blocks.
38170         (malloc_check_get_size): Use it here.
38171         (mem2chunk_check): Ditto.
38173 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38175         * sysdeps/powerpc/powerpc64/strtok.S: New file.
38176         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
38178 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
38180         * bits/ioctl-types.h: Indent preprocessor directives correctly.
38182         * nptl/nptl-init.c: Include libc-internal.h.
38183         (__pthread_initialize_minimal_internal): Use ROUND_UP.
38185         * elf/ldconfig.c (search_dir): Expand comment.
38187 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
38189         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
38190         variable.
38191         (linknamespace-symlist-stdlibs-tests): Likewise.
38192         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
38193         instead of $(objpfx)symlist-stdlibs.
38194         (linknamespace-libs-isoc): New variable.
38195         (linknamespace-libs): Use $(linknamespace-libs-isoc).
38196         (linknamespace-libs-ISO): New variable.
38197         (linknamespace-libs-ISO99): Likewise.
38198         (linknamespace-libs-ISO11): Likewise.
38199         (linknamespace-libs-XPG3): Likewise.
38200         (linknamespace-libs-XPG4): Likewise.
38201         (linknamespace-libs-POSIX): Likewise.
38202         (linknamespace-libs-UNIX98): Likewise.
38203         (linknamespace-libs-XOPEN2K): Likewise.
38204         (linknamespace-libs-POSIX2008): Likewise.
38205         (linknamespace-libs-XOPEN2K8): Likewise.
38206         ($(objpfx)symlist-stdlibs): Replace by
38207         $(linknamespace-symlist-stdlibs-tests).  Use
38208         $(linknamespace-libs-$*) as set of libraries.
38209         ($(linknamespace-header-tests)): Update dependencies.  Use
38210         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
38211         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
38212         * conform/linknamespace.pl: Remove comment about considering
38213         definitions of symbols from irrelevant libraries.
38215 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
38217         [BZ #13862]
38218         * elf/dl-tls.c: Include <atomic.h>.
38219         (oom): Remove #ifdef SHARED/#endif.
38220         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
38221         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
38222         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
38223         big enough.
38224         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
38225         * nptl/Makefile (tests): Add tst-stack4.
38226         (modules-names): Add tst-stack4mod.
38227         ($(objpfx)tst-stack4): New.
38228         (tst-stack4mod.sos): Likewise.
38229         ($(objpfx)tst-stack4.out): Likewise.
38230         ($(tst-stack4mod.sos)): Likewise.
38231         (clean): Likewise.
38232         * nptl/tst-stack4.c: New file.
38233         * nptl/tst-stack4mod.c: Likewise.
38235 2014-11-27  J. Brown  <jb999@gmx.de>
38237         * sysdeps/x86/bits/string.h: Add recent CPUs.
38239 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38241         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
38242         sigblock.
38244         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
38245         feof.
38247         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
38248         variable.
38250 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
38252         * nscd/connections.c: Include libc-internal.h because of macro
38253         usage ignore_value.
38255 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38257         * string/bits/string3.h (__warn_memset_zero_len): Don't
38258         declare for gcc newer than 5.0.
38259         (memset): Don't test for zero-length __LEN for gcc newer than
38260         5.0.
38262 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38264         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
38265         size_t for %zu format.
38267         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
38268         difference, not %ju.
38270 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38272         * include/libc-internal.h (ignore_value): New macro.
38273         * nscd/connections.c (restart): Wrap calls to setuid and setgid
38274         with ignore_value.
38276         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
38277         definition.
38279         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
38280         pthread_cleanup_push to void *.
38282         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
38283         Undefine.
38285         [BZ #16619]
38286         [BZ #16740]
38287         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
38288         instead of 1L << 52.
38290         * libio/bug-rewind.c (do_test): Check fwscanf return values.
38291         * libio/bug-rewind2.c (do_test): Likewise.
38293         * debug/test-stpcpy_chk-ifunc.c: Remove file.
38294         * debug/test-strcpy_chk-ifunc.c: Likewise.
38295         * wcsmbs/test-wcschr-ifunc.c: Likewise.
38296         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38297         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38298         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38299         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38300         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38301         * Rules [$(multi-arch) = no] (tests): Do not filter out
38302         $(tests-ifunc).
38303         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
38304         * debug/Makefile (tests-ifunc): Remove variable.
38305         (tests): Do not add $(tests-ifunc).
38306         * wcsmbs/Makefile (tests-ifunc): Remove variable.
38307         (tests): Do not add $(tests-ifunc).
38308         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
38309         [TEST_IFUNC]: Remove conditionals.
38310         * string/test-string.h (TEST_IFUNC): Remove macro.
38311         [TEST_IFUNC]: Remove conditionals.
38313         * string/test-strchr.c [!WIDE] (L): New macro.
38314         [WIDE] (L): Likewise.
38315         (check1): Use CHAR instead of char.  Use L on string and character
38316         constants.
38318 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
38320         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
38321         tests.
38322         * sysdeps/powerpc/bits/atomic.h
38323         (__arch_atomic_exchange_and_add_32_acq): Add definition.
38324         (__arch_atomic_exchange_and_add_32_rel): Likewise.
38325         (atomic_exchange_and_add_acq): Likewise.
38326         (atomic_exchange_and_add_rel): Likewise.
38327         * sysdeps/powerpc/powerpc32/bits/atomic.h
38328         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38329         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38330         * sysdeps/powerpc/powerpc64/bits/atomic.h
38331         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38332         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38334 2014-11-26  Torvald Riegel  <triegel@redhat.com>
38336         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
38337         Change synchronization of __sched_fifo_min_prio and
38338         __sched_fifo_max_prio.
38339         * nptl/pthread_mutexattr_getprioceiling.c
38340         (pthread_mutexattr_getprioceiling): Likewise.
38341         * nptl/pthread_mutexattr_setprioceiling.c
38342         (pthread_mutexattr_setprioceiling): Likewise.
38343         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
38344         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
38345         Likewise.
38347 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38349         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
38350         void.
38352 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38354         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
38355         third argument const.
38357 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
38359         fnmatch: work around GCC compiler warning bug with uninit var
38360         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
38361         This works around a bug with x86-64 GCC 4.9.2 and earlier
38362         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
38363         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
38364         used uninitialized in this function [-Wmaybe-uninitialized]".
38366 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38368         * posix/bug-regex31.c (main): Return RES not 0.
38370 2014-11-25  Anton Blanchard <anton@samba.org>
38372         * sysdeps/powerpc/bits/atomic.h
38373         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
38375 2014-11-24  Sterling Augustine  <saugustine@google.com>
38377         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
38379 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
38381         [BZ #17608]
38382         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
38384 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
38386         [BZ #17633]
38387         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
38388         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
38389         variable.
38390         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38391         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38393 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38395         * string/strncpy.c (strncpy): Improve performance by using memset.
38397 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38399         * string/strcpy.c (strcpy):
38400         Improve performance by using strlen and memcpy.
38402 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
38404         * string/strcoll_l.c (get_next_seq): __always_inline.
38405         * string/strcoll_l.c (do_compare): __always_inline.
38407 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38409         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
38410         defined.
38411         * include/mqueue.h: Likewise.
38412         * include/stdlib.h: Likewise.
38414         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
38415         (get_null_defines): Adjust.
38416         * sunrpc/Makefile: Adjust comment.
38417         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
38418         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
38419         (CFLAGS-interp.c): Likewise.
38420         (CFLAGS-ldconfig.c): Likewise.
38421         (CPPFLAGS-.os): Likewise.
38422         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38423         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38424         * extra-modules.mk (extra-modules.mk): Likewise.
38425         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
38426         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
38427         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
38428         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
38429         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
38430         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
38431         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
38432         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
38433         * iconvdata/Makefile (CPPFLAGS): Likewise.
38434         (cpp-srcs-left): Add libof for all iconvdata routines.
38435         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
38436         * include/assert.h: Likewise.
38437         * include/ctype.h: Likewise.
38438         * include/errno.h: Likewise.
38439         * include/libc-symbols.h: Likewise.
38440         * include/math.h: Likewise.
38441         * include/netdb.h: Likewise.
38442         * include/resolv.h: Likewise.
38443         * include/stdio.h: Likewise.
38444         * include/stdlib.h: Likewise.
38445         * include/string.h: Likewise.
38446         * include/sys/stat.h: Likewise.
38447         * include/wctype.h: Likewise.
38448         * intl/l10nflist.c: Likewise.
38449         * libidn/idn-stub.c: Likewise.
38450         * libio/libioP.h: Likewise.
38451         * nptl/libc_multiple_threads.c: Likewise.
38452         * nptl/pthreadP.h: Likewise.
38453         * posix/regex_internal.h: Likewise.
38454         * resolv/res_hconf.c: Likewise.
38455         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
38456         * sysdeps/arm/memmove.S: Likewise.
38457         * sysdeps/arm/sysdep.h: Likewise.
38458         * sysdeps/generic/_itoa.h: Likewise.
38459         * sysdeps/generic/symbol-hacks.h: Likewise.
38460         * sysdeps/gnu/errlist.awk: Likewise.
38461         * sysdeps/gnu/errlist.c: Likewise.
38462         * sysdeps/i386/i586/memcpy.S: Likewise.
38463         * sysdeps/i386/i586/memset.S: Likewise.
38464         * sysdeps/i386/i686/memcpy.S: Likewise.
38465         * sysdeps/i386/i686/memmove.S: Likewise.
38466         * sysdeps/i386/i686/mempcpy.S: Likewise.
38467         * sysdeps/i386/i686/memset.S: Likewise.
38468         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38469         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38470         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
38471         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
38472         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38473         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38474         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
38475         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38476         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38477         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38478         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38479         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38480         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38481         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38482         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38483         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38484         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
38485         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
38486         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
38487         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38488         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38489         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38490         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38491         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38492         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38493         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38494         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
38495         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38496         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
38497         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38498         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38499         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38500         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38501         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38502         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38503         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38504         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38505         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38506         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38507         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38508         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38509         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38510         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38511         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38512         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38513         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38514         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
38515         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
38516         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38517         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38518         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38519         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
38520         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
38521         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38522         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38523         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
38524         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38525         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
38526         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
38527         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38528         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38529         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38530         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
38531         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38532         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38533         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
38534         * sysdeps/posix/closedir.c: Likewise.
38535         * sysdeps/posix/opendir.c: Likewise.
38536         * sysdeps/posix/readdir.c: Likewise.
38537         * sysdeps/posix/rewinddir.c: Likewise.
38538         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
38539         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
38540         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38541         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38542         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38543         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
38544         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
38545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
38546         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
38547         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
38548         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
38549         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
38550         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
38551         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
38552         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
38553         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
38554         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
38555         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
38556         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
38557         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
38558         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
38559         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
38560         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
38561         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
38562         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
38563         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
38564         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
38565         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
38566         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
38567         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
38568         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
38569         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
38570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
38571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
38572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
38573         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
38574         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38575         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38576         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
38577         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
38578         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
38579         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
38580         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
38581         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
38582         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
38583         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
38584         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
38585         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
38586         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
38587         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
38588         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
38589         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
38590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
38591         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
38592         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
38593         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
38594         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
38595         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
38596         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
38597         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
38598         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
38599         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
38600         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
38601         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
38602         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
38603         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
38604         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
38605         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
38606         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
38607         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
38608         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
38609         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
38610         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
38611         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
38612         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
38613         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
38614         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
38615         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
38616         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38617         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
38618         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
38619         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38620         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
38621         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
38622         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38623         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
38624         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
38625         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38626         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38627         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38628         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
38629         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
38630         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
38631         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38632         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38633         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
38634         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38635         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38636         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
38637         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
38638         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38639         * sysdeps/unix/alpha/sysdep.S: Likewise.
38640         * sysdeps/unix/alpha/sysdep.h: Likewise.
38641         * sysdeps/unix/make-syscalls.sh: Likewise.
38642         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38643         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38644         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38645         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
38646         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38647         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
38648         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
38649         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38650         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38651         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
38652         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38653         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38654         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38655         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38656         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38657         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38658         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38659         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38660         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38661         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38662         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
38663         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38664         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38665         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38666         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38667         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38668         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38671         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
38672         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38674         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38676         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38678         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38679         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38680         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38681         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38682         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38683         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38684         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38685         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38686         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38687         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38688         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38689         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38690         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38691         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38692         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38693         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38694         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38695         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38696         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
38697         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38698         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38699         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38700         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
38701         * sysdeps/x86_64/memcpy.S: Likewise.
38702         * sysdeps/x86_64/memmove.c: Likewise.
38703         * sysdeps/x86_64/memset.S: Likewise.
38704         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
38705         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38706         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38707         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
38708         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
38709         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38710         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38711         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38712         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38713         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38714         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38715         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38716         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
38717         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38718         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38719         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
38720         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38721         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38722         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38723         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38724         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
38725         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38726         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38727         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38728         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38729         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38730         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38731         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
38732         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38733         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38734         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
38735         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38736         * sysdeps/x86_64/strcmp.S: Likewise.
38738         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
38740         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
38741         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
38742         * elf/rtld-Rules: Likewise.
38743         * elf/setup-vdso.h: Likewise.
38744         * include/assert.h: Likewise.
38745         * include/bits/stdlib-float.h: Likewise.
38746         * include/errno.h: Likewise.
38747         * include/sys/stat.h: Likewise.
38748         * include/unistd.h: Likewise.
38749         * sysdeps/aarch64/setjmp.S: Likewise.
38750         * sysdeps/alpha/setjmp.S: Likewise.
38751         * sysdeps/arm/__longjmp.S: Likewise.
38752         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
38753         * sysdeps/arm/setjmp.S: Likewise.
38754         * sysdeps/arm/sysdep.h: Likewise.
38755         * sysdeps/generic/_itoa.h: Likewise.
38756         * sysdeps/generic/dl-sysdep.h: Likewise.
38757         * sysdeps/generic/ldsodefs.h: Likewise.
38758         * sysdeps/i386/dl-tls.h: Likewise.
38759         * sysdeps/i386/setjmp.S: Likewise.
38760         * sysdeps/m68k/setjmp.c: Likewise.
38761         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
38762         * sysdeps/mach/hurd/opendir.c: Likewise.
38763         * sysdeps/posix/getcwd.c: Likewise.
38764         * sysdeps/posix/opendir.c: Likewise.
38765         * sysdeps/posix/profil.c: Likewise.
38766         * sysdeps/powerpc/dl-procinfo.h: Likewise.
38767         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38768         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38769         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38770         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38771         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
38772         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38773         * sysdeps/s390/dl-tls.h: Likewise.
38774         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38775         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38776         * sysdeps/sh/sh3/setjmp.S: Likewise.
38777         * sysdeps/sh/sh4/setjmp.S: Likewise.
38778         * sysdeps/unix/alpha/sysdep.h: Likewise.
38779         * sysdeps/unix/arm/sysdep.S: Likewise.
38780         * sysdeps/unix/i386/sysdep.S: Likewise.
38781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38782         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38783         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38784         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38785         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38786         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38787         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38788         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38789         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38790         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38791         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
38792         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38793         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38796         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38797         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38798         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38799         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38800         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38801         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38804         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38805         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38806         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38808         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38809         * sysdeps/x86_64/setjmp.S: Likewise.
38811         * include/math.h: Use IS_IN instead of IS_IN_libm.
38812         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
38813         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38814         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38815         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
38816         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38817         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38818         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38819         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38820         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38821         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38822         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
38823         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
38824         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
38825         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
38826         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
38827         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
38828         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
38829         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
38830         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
38831         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
38832         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
38833         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
38834         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
38835         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
38836         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
38837         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
38838         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
38839         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
38840         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
38841         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
38842         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
38843         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38844         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
38846         Likewise.
38847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
38848         Likewise.
38849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
38850         Likewise.
38851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
38852         Likewise.
38853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
38854         Likewise.
38855         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38856         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
38857         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38858         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38859         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38860         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
38862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
38863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
38864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
38865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
38866         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
38867         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
38868         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38869         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38870         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38871         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38872         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38873         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38874         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38875         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
38876         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
38877         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
38878         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
38879         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
38880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38881         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
38883         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
38884         * nptl/pthreadP.h: Likewise.
38885         * nptl_db/structs.def: Likewise.
38886         * sysdeps/arm/sysdep.h: Likewise.
38887         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38888         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38889         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
38890         * sysdeps/unix/alpha/sysdep.h: Likewise.
38891         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38892         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38893         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38894         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38895         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38896         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38897         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38898         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38899         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38900         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38901         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38902         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38903         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38904         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38907         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38909         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38912         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38913         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38914         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38915         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
38916         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38918         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
38919         * nptl/pthreadP.h: Likewise.
38920         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38921         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38922         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38923         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38924         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38925         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38926         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38927         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38928         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38929         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38930         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38931         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38933         Likewise.
38934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38935         Likewise.
38936         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38937         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38938         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38941         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38942         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38943         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38945         * dlfcn/dladdr.c: Use IS_IN.
38946         * dlfcn/dladdr1.c: Likewise.
38947         * dlfcn/dlclose.c: Likewise.
38948         * dlfcn/dlerror.c: Likewise.
38949         * dlfcn/dlinfo.c: Likewise.
38950         * dlfcn/dlmopen.c: Likewise.
38951         * dlfcn/dlopen.c: Likewise.
38952         * dlfcn/dlsym.c: Likewise.
38953         * dlfcn/dlvsym.c: Likewise.
38955         * include/ifaddrs.h: Use IS_IN.
38956         * inet/check_pf.c: Likewise.
38957         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38958         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
38960         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
38961         IS_IN_ldconfig.
38962         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
38963         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
38965         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
38966         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
38967         IS_IN (libc).
38969         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
38971         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
38972         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38973         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38974         * include/libc-symbols.h (IS_IN_LIB): New macro.
38975         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
38976         * include/netdb.h: Likewise.
38977         * include/stap-probe.h: Remove all uses of IN_LIB.
38979         * Makeconfig (module-cppflags-real): Define MODULE_NAME
38980         instead of IN_MODULE.
38981         * include/libc-symbols.h (IN_MODULE): Define using
38982         MODULE_NAME.
38983         (PASTE_NAME, PASTE_NAME1): New macros.
38984         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
38985         of IN_LIB.
38986         (STAP_PROBE_ASM): Likewise.
38988 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38990         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
38991         __mach_init in dlopened libc.
38993 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
38995         * sysdeps/arm/preconfigure.ac: Delete EABI check.
38996         * sysdeps/arm/preconfigure: Regenerate.
38998 2014-11-21  Roland McGrath  <roland@hack.frob.com>
39000         * nptl/pthread_create.c (__pthread_create_2_1): Set
39001         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
39002         when copying values from IATTR into PD.
39004 2014-11-21  Will Newton  <will.newton@linaro.org>
39005             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
39007         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
39008         Refactor inline-asm.  Also add comment.
39010         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
39011         ElfW macro instead of hardcoded Elf64 types.
39012         (la_aarch64_gnu_pltenter): Likewise.
39013         * sysdeps/aarch64/dl-machine.h
39014         (elf_machine_runtime_setup): Use ElfW(Addr).
39016         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
39017         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
39018         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
39019         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
39020         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
39021         (R_AARCH64_TLS_DTPMOD64): Rename to ..
39022         (R_AARCH64_TLS_DTPMOD): This.
39023         (R_AARCH64_TLS_DTPREL64): Rename to ...
39024         (R_AARCH64_TLS_DTPREL): This.
39025         (R_AARCH64_TLS_TPREL64): Rename to ...
39026         (R_AARCH64_TLS_TPREL): This.
39027         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
39028         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
39029         R_AARCH64_TLS_TPREL64.
39030         (elf_machine_rela): Likewise.
39032 2014-11-21  Torvald Riegel  <triegel@redhat.com>
39034         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
39035         by setting it to 0.  64b atomics are not supported currently.
39037 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39039         [BZ #16469]
39040         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
39041         search domain names.
39043 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39045         [BZ #16469]
39046         * NEWS: Update.
39047         * resolv/res_query.c (__libc_res_nquerydomain): Retain
39048         trailing dot.
39049         * posix/tst-getaddrinfo5.c: New.
39050         * posix/Makefile (tests): Add it.
39052 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39054         [BZ #14498]
39055         * NEWS: Fixed.
39056         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
39057         after parsing line but before break_if_match.
39058         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
39059         if there is a protocol mismatch.
39061 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
39063         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
39064         because the potential race is on the user-supplied stream.
39066 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39068         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
39069         string literal if not passed a buffer.
39070         * manual/job.texi (ctermid): Update reasoning, note deviation
39071         from posix, suggest mtasurace when not passed a buffer, for
39072         future non-preliminary safety notes.
39074 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39076         * manual/users.texi (cuserid): Fix MT-Safety note for the case
39077         of not passing it a buffer.
39078         Reported by Peng Haitao.
39080 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39082         * manual/Makefile ($(objpfx)stamp-summary): Require
39083         check-safety.sh to pass.
39084         * manual/check-safety.sh: Wish for verification that every
39085         @deftypefn and @deftypefun is followed by a @safety remark.
39087 2014-11-20  Roland McGrath  <roland@hack.frob.com>
39089         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
39091         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
39092         PTHREAD_CANCEL_ASYNCHRONOUS.
39093         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
39094         send SIGCANCEL.
39096         * nptl/default-sched.h: New file.
39097         * sysdeps/unix/sysv/linux/default-sched.h: New file.
39098         * nptl/pthread_create.c: Include it.
39099         (__pthread_create_2_1): Use collect_default_sched instead of making
39100         Linux syscalls here directly.
39102 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39104         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
39105         __pthread_once): Use C11 atomics.
39107 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39109         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
39111 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39113         * include/atomic.h (__atomic_link_error, __atomic_check_size,
39114         atomic_thread_fence_acquire, atomic_thread_fence_release,
39115         atomic_thread_fence_seq_cst, atomic_load_relaxed,
39116         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
39117         atomic_compare_exchange_weak_relaxed,
39118         atomic_compare_exchange_weak_acquire,
39119         atomic_compare_exchange_weak_release,
39120         atomic_exchange_acquire, atomic_exchange_release,
39121         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
39122         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
39123         atomic_fetch_and_acquire,
39124         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
39126 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39128         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
39129         USE_ATOMIC_COMPILER_BUILTINS): Define.
39130         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
39131         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39132         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
39133         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39134         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
39135         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39136         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
39137         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39138         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
39139         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39140         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
39141         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39142         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
39143         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39144         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
39145         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39146         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39147         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39148         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39149         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39150         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
39151         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39152         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39153         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39154         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
39155         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39156         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39157         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39158         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
39159         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39160         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
39161         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39162         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
39163         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39164         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39165         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39166         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
39167         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39168         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
39169         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39171 2014-11-19  Roland McGrath  <roland@hack.frob.com>
39173         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
39174         the sched_priority value here.  It was already checked when the user
39175         called pthread_attr_setschedparam.
39177         * nptl/tst-bad-schedattr.c: New file.
39178         * nptl/Makefile (tests): Add it.
39180 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
39181             Florian Weimer  <fweimer@redhat.com>
39182             Joseph Myers  <joseph@codesourcery.com>
39183             Adam Conrad  <adconrad@0c3.net>
39184             Andreas Schwab  <schwab@suse.de>
39185             Brooks  <bmoses@google.com>
39187         [BZ #17625]
39188         * wordexp-test.c (__dso_handle): Add prototype.
39189         (__register_atfork): Likewise.
39190         (__app_register_atfork): New function.
39191         (registered_forks): New global.
39192         (register_fork): New function.
39193         (test_case): Add 3 new tests for WRDE_CMDSUB.
39194         (main): Call __app_register_atfork.
39195         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
39196         fork count is non-zero fail the test.
39197         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
39198         is set.
39199         (parse_dollars): Remove check for WRDE_NOCMD.
39200         (parse_dquote): Likewise.
39202 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39204         * Makeconfig (built-modules): List non-library modules to be
39205         built.
39206         (module-cppflags): Include libc-modules.h for
39207         everything except shlib-versions.v.i.
39208         (CPPFLAGS): Use it.
39209         (before-compile): Add libc-modules.h.
39210         ($(common-objpfx)libc-modules.h,
39211         $(common-objpfx)libc-modules.stmp): New targets.
39212         (common-generated): Add libc-modules.h and libc-modules.stmp.
39213         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
39214         * include/libc-symbols.h: Don't include libc-modules.h.
39215         * include/libc-modules.h: Remove file.
39216         * scripts/gen-libc-modules.awk: New script to generate
39217         libc-modules.h.
39218         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
39219         Depend on libc-modules.stmp.
39221         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
39223         * Makeconfig (in-module): Get value of libof set for the
39224         translation unit.
39225         (CPPFLAGS): Use $(in-module).
39226         * Makerules: Don't suffix routine names for nonlib.
39227         * include/libc-modules.h: New file.
39228         * include/libc-symbols.h: Include libc-modules.h
39229         (IS_IN): New macro to replace IS_IN_* macros.
39230         * elf/Makefile: Set libof-* for each routine.
39231         * elf/rtld-Rules: Likewise.
39232         * extra-modules.mk: Likewise.
39233         * iconv/Makefile: Likewise.
39234         * iconvdata/Makefile: Likewise.
39235         * locale/Makefile: Likewise.
39236         * malloc/Makefile: Likewise.
39237         * nss/Makefile: Likewise.
39238         * sysdeps/gnu/Makefile: Likewise.
39239         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
39240         * sysdeps/unix/sysv/linux/Makefile: Likewise.
39241         * sysdeps/s390/s390-64/Makefile: Likewise.
39242         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
39243         CPPFLAGS for nscd instead of nonlib.
39245 2014-11-18  Roland McGrath  <roland@hack.frob.com>
39247         * nptl/createthread.c: New file.
39249         * nptl/createthread.c: Moved ...
39250         * sysdeps/unix/sysv/linux/createthread.c: ... here.
39252         * nptl/createthread.c: Add proper top-line comment.
39253         (do_clone): Folded into ...
39254         (create_thread): ... here.  Take new arguments STOPPED_START and
39255         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
39256         increment __nptl_threads, do event-reporting logic, do
39257         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
39258         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
39259         resource cleanup if sched_setaffinity or sched_setscheduler fails,
39260         just send SIGCANCEL.
39261         * nptl/pthread_create.c: Forward-declare create_thread before
39262         including createthread.c.
39263         (start_thread): Use new macro START_THREAD_DEFN to replace defining
39264         declaration, and new macro START_THREAD_SELF to replace argument.
39265         Remove return statement.
39266         (report_thread_creation): New function.
39267         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
39268         synchronization logic, and __nptl_nthreads increment here, around
39269         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
39270         PD->parent_cancelhandling here, before create_thread.  When
39271         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
39272         __deallocate_stack, and ENOMEM translation here.
39274 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
39276         [BZ #17616]
39277         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
39278         (mptwo): Rename to __mptwo.
39279         (__inv): Use __mptwo instead of mptwo.
39280         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
39281         (mptwo): Rename to __mptwo.
39282         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
39283         of mpone and __mptwo instead of mptwo.
39284         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
39285         instead of mpone.
39286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39287         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
39288         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
39289         of mpone and __mptwo instead of mptwo.
39290         (__mpranred): Use __mpone instead of mpone.
39291         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
39292         variable.
39293         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39294         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39295         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39296         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39297         (test-xfail-ISO11/math.h/linknamespace): Likewise.
39298         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39299         (test-xfail-XPG3/math.h/linknamespace): Likewise.
39300         (test-xfail-XPG4/math.h/linknamespace): Likewise.
39301         (test-xfail-POSIX/math.h/linknamespace): Likewise.
39302         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
39303         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
39304         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
39305         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39306         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39307         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39308         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39309         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39310         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39311         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39313 2014-11-18  Tom de Vries  <tom@codesoucery.com>
39315         * manual/signal.texi (Primitives Interrupted by Signals): In section,
39316         replace BSD Handler xref with BSD Signal Handling.
39318 2014-11-17  Richard Henderson  <rth@redhat.com>
39320         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
39321         (_FP_PACK_RAW_2): Remove.
39322         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
39323         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
39324         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
39325         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
39326         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
39327         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
39328         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
39329         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
39330         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
39331         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
39332         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
39333         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
39334         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
39335         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
39336         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
39337         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
39339 2014-11-14  Roland McGrath  <roland@hack.frob.com>
39341         * signal/signal.h [__USE_MISC]
39342         (struct sigvec): Remove type.
39343         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
39344         (sigvec): Remove declaration.
39345         * sysdeps/posix/sigvec.c: Moved ...
39346         * signal/sigvec.c: ... here, replacing old file.
39347         (struct sigvec): New type, copied from old signal.h definition.
39348         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
39349         (__sigvec): Convert definition to prototype.
39350         (sigvec): Replace weak_alias with compat_symbol.
39351         * signal/Versions (libc: GLIBC_2.21): New version set.
39352         * include/signal.h: Remove __sigvec declaration.
39353         * sysdeps/unix/bsd/sigvec.c: Remove file.
39354         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
39355         * manual/signal.texi (BSD Handler): Remove subsection.
39356         Move siginterrupt up to ...
39357         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
39358         (Blocking in BSD): Fold subsection into its parent.
39359         * NEWS: Mention sigvec removal.
39361 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39363         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
39364         (DLA_FMS): Make definition conditional only on [__FMA4__].
39365         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
39366         definition.
39368         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
39369         Make definition conditional only on [PROF].
39370         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
39371         definition.
39372         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
39373         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
39375         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
39376         !__GNUC__].
39377         * include/signal.h (__sigpause): Move declaration above call to
39378         libc_hidden_proto.
39379         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
39380         variable.
39381         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
39382         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
39384 2014-11-14  David S. Miller  <davem@davemloft.net>
39386         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
39387         Define before including <string/memcpy.c> and <string/mempcpy.c>.
39389 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39391         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
39392         * configure: Regenerated.
39393         * manual/install.texi (Tools for Compilation): Document a
39394         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
39395         compiler verified to work.
39396         * INSTALL: Regenerated.
39398         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
39399         redeclare with asm name.
39400         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
39401         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
39402         including <string.h>.
39403         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39404         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
39405         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39406         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
39407         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39408         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
39409         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39411 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
39413         * stdlib/strtol.c (__strtol): Use prototype definition.
39415         [BZ #17594]
39416         * stdlib/strtol.c (SYM__): New macro.
39417         (SYM__1): Likewise.
39418         (__strtol): Likewise.
39419         (strtol): Rename to __strtol and define as weak alias of
39420         __strtol.  Use libc_hidden_weak.
39422 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39424         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
39425         Use numbered labels in inline assembly.
39427 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39429         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
39430         Add setjmp LIBC_PROBE.
39431         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
39432         Likewise.
39433         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
39434         Add longjmp, longjmp_target LIBC_PROBE.
39435         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
39436         Likewise.
39438 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39440         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39441         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
39442         to get rid of unused variable warning.
39444 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39446         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
39447         Check for unwind_backtrace ==  NULL only in SHARED case.
39448         (__backchain_backtrace): Compile only in SHARED case.
39449         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
39450         Likewise.
39451         (__backchain_backtrace): Declare as static.
39453 2014-11-12  Roland McGrath  <roland@hack.frob.com>
39455         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
39456         (__libc_multiple_threads_ptr): Variable moved ...
39457         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
39459 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
39461         * conform/GlibcConform.pm: New file.
39462         * conform/conformtest.pl: Use GlibcConform module.
39463         * conform/linknamespace.pl: New file.
39464         * conform/list-header-symbols.pl: Likewise.
39465         * conform/Makefile (linknamespace-symlists-base): New variable.
39466         (linknamespace-symlists-tests): Likewise.
39467         (linknamespace-header-base): Likewise.
39468         (linknamespace-header-tests): Likewise.
39469         (tests-special): Add new tests.
39470         ($(linknamespace-symlists-tests)): New rule.
39471         (linknamespace-libs): New variable.
39472         ($(objpfx)symlist-stdlibs): New rule.
39473         ($(linknamespace-header-tests)): Likewise.
39474         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
39475         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
39476         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
39477         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
39478         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
39479         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
39480         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
39481         (test-xfail-ISO/math.h/linknamespace): Likewise.
39482         (test-xfail-ISO/signal.h/linknamespace): Likewise.
39483         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
39484         (test-xfail-ISO/time.h/linknamespace): Likewise.
39485         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39486         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
39487         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39488         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
39489         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39490         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39491         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39492         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39493         (test-xfail-ISO11/math.h/linknamespace): Likewise.
39494         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
39495         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39496         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39497         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39498         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
39499         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
39500         (test-xfail-XPG3/math.h/linknamespace): Likewise.
39501         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
39502         (test-xfail-XPG3/search.h/linknamespace): Likewise.
39503         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
39504         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39505         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
39506         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
39507         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39508         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
39509         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
39510         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
39511         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
39512         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
39513         (test-xfail-XPG4/math.h/linknamespace): Likewise.
39514         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
39515         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
39516         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
39517         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39518         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
39519         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
39520         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
39521         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
39522         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
39523         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39524         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
39525         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
39526         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
39527         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
39528         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
39529         (test-xfail-POSIX/math.h/linknamespace): Likewise.
39530         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
39531         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
39532         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
39533         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
39534         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
39535         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39536         (test-xfail-POSIX/time.h/linknamespace): Likewise.
39537         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
39538         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
39539         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
39540         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39541         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
39542         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
39543         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
39544         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
39545         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
39546         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
39547         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
39548         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
39549         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
39550         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
39551         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
39552         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
39553         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39554         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
39555         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
39556         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
39557         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39558         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39559         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
39560         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
39561         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
39562         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
39563         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
39564         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
39565         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
39566         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
39567         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
39568         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
39569         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
39570         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
39571         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
39572         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
39573         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39574         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
39575         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
39576         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
39577         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39578         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
39579         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39580         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39581         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
39582         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
39583         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
39584         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39585         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39586         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
39587         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
39588         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39589         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39590         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
39591         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
39592         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
39593         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
39594         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39595         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39596         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
39597         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39598         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
39599         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39600         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39601         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39602         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
39603         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39604         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
39605         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
39606         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39607         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39608         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39609         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39610         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39611         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
39612         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39613         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39614         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39615         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39616         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
39617         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
39618         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39619         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39620         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39621         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39622         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
39623         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39624         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
39625         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
39626         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39627         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39628         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39629         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39630         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39631         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
39632         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39633         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39634         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
39636         [BZ #17589]
39637         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
39638         of fgets_unlocked.
39640         [BZ #17585]
39641         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
39642         (memmem): Rename to __memmem and define as weak alias of
39643         __memmem.  Use libc_hidden_weak.
39644         (__memmem): Use libc_hidden_def.
39645         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
39646         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
39647         memmem.
39649         [BZ #17582]
39650         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
39651         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
39652         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
39653         and define as weak alias of __fgets_unlocked.  Use
39654         libc_hidden_weak.
39655         (__fgets_unlocked): Use libc_hidden_def.
39656         * include/stdio.h (__fgets_unlocked): Declare.  Use
39657         libc_hidden_proto.
39658         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
39659         __fgets_unlocked instead of fgets_unlocked.
39660         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
39661         (GET_NPROCS_CONF_PARSER): Likewise.
39662         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
39663         (GET_NPROCS_CONF_PARSER): Likewise.
39665         [BZ #17574]
39666         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
39667         weak alias of __wmemset.  Use libc_hidden_weak.
39668         (__wmemset): Use libc_hidden_def.
39669         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
39670         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
39671         of wmemset.
39673         [BZ #17573]
39674         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
39675         with asm name __mempcpy.
39676         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
39678         [BZ #17572]
39679         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
39680         and define as weak alias of __rawmemchr.
39681         (__rawmemchr): Do not define as strong alias of rawmemchr.
39683         [BZ #17571]
39684         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
39685         alias of __qsort_r.
39686         (qsort): Call __qsort_r instead of qsort_r.
39687         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
39688         (__qsort_r): Declare.  Call libc_hidden_proto.
39689         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
39690         instead of qsort_r.
39691         * nscd/gai.c (__qsort_r): Define to qsort_r.
39692         * posix/tst-rfc3484.c (__qsort_r): Likewise.
39693         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
39694         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
39696         [BZ #17570]
39697         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
39698         define as weak alias of __malloc_info.
39700         [BZ #17584]
39701         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
39702         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39703         (__rewinddir): Use libc_hidden_def.
39704         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
39705         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39706         (__rewinddir): Use libc_hidden_def.
39707         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
39708         weak alias of __rewinddir.  Don't use libc_hidden_def.
39709         (__rewinddir): Use libc_hidden_def.
39710         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
39711         (__rewinddir): Use libc_hidden_proto.
39712         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
39713         rewinddir.
39714         (__getcwd): Use __rewinddir instead of rewinddir.
39716         [BZ #17583]
39717         * libio/fileno.c (fileno): Rename to __fileno and define as weak
39718         alias of __fileno.  Use libc_hidden_weak.
39719         (__fileno): Use libc_hidden_def.
39720         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
39721         * libio/ftello.c (ftello): Rename to __ftello and define as weak
39722         alias of __ftello.
39723         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
39724         __ftello.
39725         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
39726         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
39727         libc_hidden_def.
39728         (fread_unlocked): Don't use libc_hidden_ver.
39729         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
39730         and define as weak alias of __fread_unlocked.  Don't use
39731         libc_hidden_def.
39732         (__fread_unlocked): Use libc_hidden_def.
39733         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
39734         (ftello): Don't use libc_hidden_proto.
39735         (__ftello): Declare.  Use libc_hidden_proto.
39736         (fread_unlocked): Don't use libc_hidden_proto.
39737         (__fread_unlocked): Declare.  Use libc_hidden_proto.
39738         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
39739         and __ftello instead of fileno, fread_unlocked and ftello.
39741 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39743         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
39744         GOT12.
39745         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39746         Likewise.
39747         (_dl_start_user): Likewise.
39748         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
39750 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
39751             Siddhesh Poyarekar  <siddhesh@redhat.com>
39753         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
39754         Move argv and envp down instead of moving argc up.
39755         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
39757 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
39759         [BZ #17506]
39760         * test-skeleton.c (main): Return successful if one of
39761         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
39762         * string/tst-strcoll-overflow.c: Define expected status.
39764 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
39766         [BZ #17475]
39767         * locale/iso-639.def: Define Bhili and Tulu language codes.
39769 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
39771         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
39773 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
39775         [BZ #17555]
39776         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
39778 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39780         * configure.ac: Updated check of minimal required version to
39781         2.22.
39782         * manual/install.texi (Tools for Compilation): Updated version
39783         number.
39784         * configure: Regenerated.
39785         * INSTALL: Likewise.
39787 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
39789         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
39790         __tls_get_addr.
39792 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
39794         * include/sys/wait.h (__libc_waitpid): Remove declaration.
39795         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
39796         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39797         libc_hidden_weak.
39798         (waitpid): Define as alias of __waitpid.
39799         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
39800         __waitpid.
39801         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39802         libc_hidden_weak.
39803         (waitpid): Define as alias of __waitpid.
39804         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
39805         __libc_waitpid alias.
39806         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
39807         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
39808         Likewise.
39809         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
39810         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
39811         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
39812         alias.
39813         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
39814         __waitpid.
39815         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39816         libc_hidden_weak.
39817         (waitpid): Define as alias of __waitpid.
39819 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
39821         * manual/llio.texi: Add comment that write safety has been
39822         fixed in Linux.
39824         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
39825         (localplt-build-dso): Add elf/ld.so.
39826         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
39827         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
39828         and free for ld.so.
39829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
39830         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
39831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
39832         Likewise.
39833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39834         Likewise.
39835         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
39836         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
39837         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
39838         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
39839         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
39840         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
39841         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
39842         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
39843         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
39844         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
39845         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
39847 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
39849         [BZ #14132]
39850         * include/libc-symbols.h (INTUSE): Remove macro.
39851         (INTDEF): Likewise.
39852         (INTVARDEF): Likewise.
39853         (_INTVARDEF): Likewise.
39854         (INTDEF2): Likewise.
39855         (INTVARDEF2): Likewise.
39856         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
39857         rtld_hidden_def instead of INTVARDEF.
39858         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
39859         (_dl_starting_up_internal): Remove declaration.
39860         (_dl_starting_up): Use rtld_hidden_proto.
39861         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
39862         declaration.
39863         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
39864         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
39865         _dl_starting_up.
39866         * elf/dl-writev.h (_dl_writev): Likewise.
39867         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
39868         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
39869         _dl_starting_up_internal.
39871 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39873         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
39874         test-skeleton.c.
39876 2014-11-05  Will Newton  <will.newton@linaro.org>
39878         * benchtests/Makefile: (bench-malloc): Add malloc thread
39879         scalability benchmark.
39880         * benchtests/bench-malloc-threads.c: New file.
39882 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
39884         * sysdeps/aarch64/strchrnul.S: New file.
39886 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39888         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
39889         definition.
39890         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39891         Likewise.
39892         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39893         Likewise.
39894         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39895         Likewise.
39896         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39897         Likewise.
39898         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39899         Likewise.
39901 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
39903         * catgets/test-gencat.c: Use test-skeleton.c.
39904         * catgets/tst-catgets.c: Likewise.
39905         * csu/tst-empty.c: Likewise.
39906         * elf/tst-audit2.c: Likewise.
39907         * elf/tst-global1.c: Likewise.
39908         * elf/tst-pathopt.c: Likewise.
39909         * elf/tst-piemod1.c: Likewise.
39910         * elf/tst-tls10.c: Likewise.
39911         * elf/tst-tls11.c: Likewise.
39912         * elf/tst-tls12.c: Likewise.
39913         * gnulib/tst-gcc.c: Likewise.
39914         * iconvdata/tst-e2big.c: Likewise.
39915         * iconvdata/tst-loading.c: Likewise.
39916         * iconv/tst-iconv1.c: Likewise.
39917         * iconv/tst-iconv2.c: Likewise.
39918         * inet/test-inet6_opt.c: Likewise.
39919         * inet/tst-gethnm.c: Likewise.
39920         * inet/tst-network.c: Likewise.
39921         * inet/tst-ntoa.c: Likewise.
39922         * intl/tst-codeset.c: Likewise.
39923         * intl/tst-gettext2.c: Likewise.
39924         * intl/tst-gettext3.c: Likewise.
39925         * intl/tst-ngettext.c: Likewise.
39926         * intl/tst-translit.c: Likewise.
39927         * io/test-stat.c: Likewise.
39928         * libio/test-fmemopen.c: Likewise.
39929         * libio/tst-freopen.c: Likewise.
39930         * libio/tst-sscanf.c: Likewise.
39931         * libio/tst-ungetwc1.c: Likewise.
39932         * libio/tst-ungetwc2.c: Likewise.
39933         * libio/tst-widetext.c: Likewise.
39934         * localedata/tst-ctype.c: Likewise.
39935         * localedata/tst-digits.c: Likewise.
39936         * localedata/tst-leaks.c: Likewise.
39937         * localedata/tst-mbswcs1.c: Likewise.
39938         * localedata/tst-mbswcs2.c: Likewise.
39939         * localedata/tst-mbswcs3.c: Likewise.
39940         * localedata/tst-mbswcs4.c: Likewise.
39941         * localedata/tst-mbswcs5.c: Likewise.
39942         * localedata/tst-setlocale.c: Likewise.
39943         * localedata/tst-trans.c: Likewise.
39944         * localedata/tst-wctype.c: Likewise.
39945         * localedata/tst-xlocale1.c: Likewise.
39946         * login/tst-grantpt.c: Likewise.
39947         * malloc/tst-calloc.c: Likewise.
39948         * malloc/tst-malloc.c: Likewise.
39949         * malloc/tst-mallocstate.c: Likewise.
39950         * malloc/tst-mcheck.c: Likewise.
39951         * malloc/tst-mtrace.c: Likewise.
39952         * malloc/tst-obstack.c: Likewise.
39953         * math/atest-exp2.c: Likewise.
39954         * math/atest-exp.c: Likewise.
39955         * math/atest-sincos.c: Likewise.
39956         * math/test-matherr.c: Likewise.
39957         * math/test-misc.c: Likewise.
39958         * math/test-powl.c: Likewise.
39959         * math/tst-definitions.c: Likewise.
39960         * misc/tst-dirname.c: Likewise.
39961         * misc/tst-efgcvt.c: Likewise.
39962         * misc/tst-fdset.c: Likewise.
39963         * misc/tst-hsearch.c: Likewise.
39964         * misc/tst-mntent2.c: Likewise.
39965         * nptl/tst-sem7.c: Likewise.
39966         * nptl/tst-sem8.c: Likewise.
39967         * nptl/tst-sem9.c: Likewise.
39968         * nss/test-netdb.c: Likewise.
39969         * posix/tst-fnmatch.c: Likewise.
39970         * posix/tst-getlogin.c: Likewise.
39971         * posix/tst-gnuglob.c: Likewise.
39972         * posix/tst-mmap.c: Likewise.
39973         * pwd/tst-getpw.c: Likewise.
39974         * resolv/tst-inet_ntop.c: Likewise.
39975         * rt/tst-timer.c: Likewise.
39976         * stdio-common/test-fseek.c: Likewise.
39977         * stdio-common/test-popen.c: Likewise.
39978         * stdio-common/test-vfprintf.c: Likewise.
39979         * stdio-common/tst-cookie.c: Likewise.
39980         * stdio-common/tst-fileno.c: Likewise.
39981         * stdio-common/tst-gets.c: Likewise.
39982         * stdio-common/tst-obprintf.c: Likewise.
39983         * stdio-common/tst-perror.c: Likewise.
39984         * stdio-common/tst-sprintf2.c: Likewise.
39985         * stdio-common/tst-sprintf3.c: Likewise.
39986         * stdio-common/tst-sprintf.c: Likewise.
39987         * stdio-common/tst-swprintf.c: Likewise.
39988         * stdio-common/tst-tmpnam.c: Likewise.
39989         * stdio-common/tst-unbputc.c: Likewise.
39990         * stdio-common/tst-wc-printf.c: Likewise.
39991         * stdlib/tst-environ.c: Likewise.
39992         * stdlib/tst-fmtmsg.c: Likewise.
39993         * stdlib/tst-limits.c: Likewise.
39994         * stdlib/tst-rand48-2.c: Likewise.
39995         * stdlib/tst-rand48.c: Likewise.
39996         * stdlib/tst-random2.c: Likewise.
39997         * stdlib/tst-random.c: Likewise.
39998         * stdlib/tst-strtol.c: Likewise.
39999         * stdlib/tst-strtoll.c: Likewise.
40000         * stdlib/tst-tls-atexit.c: Likewise.
40001         * stdlib/tst-xpg-basename.c: Likewise.
40002         * string/test-ffs.c: Likewise.
40003         * string/tst-bswap.c: Likewise.
40004         * string/tst-inlcall.c: Likewise.
40005         * string/tst-strtok.c: Likewise.
40006         * string/tst-strxfrm.c: Likewise.
40007         * sysdeps/x86_64/tst-audit10.c: Likewise.
40008         * sysdeps/x86_64/tst-audit3.c: Likewise.
40009         * sysdeps/x86_64/tst-audit4.c: Likewise.
40010         * sysdeps/x86_64/tst-audit5.c: Likewise.
40011         * time/tst-ftime_l.c: Likewise.
40012         * time/tst-getdate.c: Likewise.
40013         * time/tst-mktime3.c: Likewise.
40014         * time/tst-mktime.c: Likewise.
40015         * time/tst-posixtz.c: Likewise.
40016         * time/tst-strptime2.c: Likewise.
40017         * time/tst-strptime3.c: Likewise.
40018         * wcsmbs/tst-btowc.c: Likewise.
40019         * wcsmbs/tst-mbrtowc.c: Likewise.
40020         * wcsmbs/tst-mbsrtowcs.c: Likewise.
40021         * wcsmbs/tst-wchar-h.c: Likewise.
40022         * wcsmbs/tst-wcpncpy.c: Likewise.
40023         * wcsmbs/tst-wcrtomb.c: Likewise.
40024         * wcsmbs/tst-wcsnlen.c: Likewise.
40025         * wcsmbs/tst-wcstof.c: Likewise.
40027 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
40029         [BZ #14132]
40030         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
40031         INTDEF.
40032         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
40033         declaration.
40034         (_dl_mcount): Use rtld_hidden_proto.
40035         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
40036         _dl_mcount.
40037         * elf/rtld.c (_rtld_global_ro): Likewise.
40039         [BZ #14132]
40040         * elf/dl-init.c (_dl_init): Don't use INTDEF.
40041         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
40042         of _dl_init_internal.
40043         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
40044         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
40045         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
40046         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
40047         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
40048         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
40049         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
40050         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
40051         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
40052         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
40053         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
40054         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
40055         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40056         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40057         * sysdeps/tile/dl-start.S (_start): Likewise.
40058         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
40059         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
40061         [BZ #14132]
40062         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
40063         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
40064         (rtld_progname): Make macro definition unconditional.
40065         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
40066         INTDEF.
40067         (dlmopen_doit): Do not use INTUSE with _dl_argv.
40068         (dl_main): Likewise.
40069         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40070         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
40071         instead of _dl_argv_internal.
40072         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40073         __GI__dl_argv instead of INTUSE(_dl_argv).
40074         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
40075         __GI__dl_argv instead of _dl_argv_internal.
40077         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
40078         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
40079         macro.
40080         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
40081         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
40082         New macro.
40083         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
40084         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
40085         macro.
40086         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
40087         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
40089 2014-11-04  Andreas Schwab  <schwab@suse.de>
40091         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
40093 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40095         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
40096         mtvsrd instruction in binary form.
40098 2014-11-03  Andreas Schwab  <schwab@suse.de>
40100         [BZ #17522]
40101         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
40102         for less than MB_LEN_MAX use a local buffer of that size.
40103         * libio/tst-fputws.c: New file.
40104         * libio/Makefile (tests): Add tst-fputws.
40106 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
40108         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
40109         the size of the fpu_fr.fpu_dregs[] array.
40111 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
40113         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
40114         (__nanosleep): Do not define as alias.
40115         (nanosleep): Define as alias of __nanosleep.
40116         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
40117         __libc_nanosleep name.
40119 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40121         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
40122         install.texi in comment.
40124 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40126         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
40127         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
40128         ... add here and use lwsync or sync ...
40129         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
40130         ... and add here using lwsync.
40132 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40134         * elf/dl-machine-reject-phdr.h: New file.
40135         * elf/dl-load.c: #include that.
40136         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
40137         if that returned true.
40139 2014-10-31  Roland McGrath  <roland@hack.frob.com>
40141         [BZ #17496]
40142         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
40143         gen-as-const-headers chunk.  Add a big scare comment after the last
40144         safe place to touch before-compile.
40146 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40148         * manual/install.texi (Tools for Compilation): Update autoconf
40149         version requirements.
40150         * INSTALL: Regenerated.
40152         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
40153         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
40154         (__libc_pselect): Likewise.
40156         [BZ #14138]
40157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
40158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40162 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40164         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
40165         correct barrier instruction.
40166         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
40167         Likewise.
40168         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
40169         Likewise.
40171 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40173         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
40174         after defining inlines.  Instead, just use parens to defeat macro
40175         expansion of __isctype in its declaration.
40177 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40179         * include/sys/uio.h (__libc_readv): Remove declaration.
40180         (__libc_writev): Likewise.
40181         * misc/readv.c (__libc_readv): Rename to __readv.
40182         (__readv): Do not define as alias.
40183         (readv): Define as alias of __readv.
40184         * misc/writev.c (__libc_writev): Rename to __writev.
40185         (__writev): Do not define as alias.
40186         (writev): Define as alias of __writev.
40187         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
40188         (__readv): Do not define as alias.
40189         (readv): Define unconditionally as alias of __readv.
40190         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
40191         (__writev): Do not define as alias.
40192         (writev): Define unconditionally as alias of __writev.
40193         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
40194         name.
40195         (writev): Do not define __libc_writev name.
40197 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40199         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
40200         (convert_charseq): New function, broken out of ...
40201         (use_from_charmap): ... here.  Call it.
40202         (use_to_charmap): Use convert_charseq and free instead of duplicating
40203         its code with a variable-length stack struct.
40205 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40207         * include/fcntl.h (__libc_creat): Remove declaration.
40208         * io/creat.c (__libc_creat): Rename to creat.
40209         (creat): Do not define as alias.
40210         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
40211         of creat instead of __libc_creat.
40212         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
40213         to creat.
40214         (creat): Do not define as alias.
40215         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
40216         __libc_creat.
40217         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
40218         __libc_creat name.
40219         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
40220         Likewise.
40222 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
40224         * manual/llio.texi: Add comments discussing why write() may be
40225         considered MT-unsafe on Linux.
40227 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
40229         * dl-load.c (local_strdup): Remove.
40230         (expand_dynamic_string_token): Use __strdup.
40231         (decompose_rpath): Likewise.
40232         (_dl_map_object): Likewise.
40234 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
40236         [BZ #14132]
40237         * sysdeps/generic/unwind-dw2-fde.c
40238         (__register_frame_info_bases_internal): Do not declare.
40239         (__register_frame_info_table_bases_internal): Likewise.
40240         (__deregister_frame_info_bases_internal): Likewise.
40241         (__register_frame_info_bases): Declare and use hidden_proto before
40242         definition.  Use hidden_def instead of INTDEF.
40243         (__register_frame_info_table_bases): Likewise.
40244         (__deregister_frame_info_bases): Likewise.
40245         (__register_frame_info): Do not use INTUSE.
40246         (__register_frame): Likewise.
40247         (__register_frame_info_table): Likewise.
40248         (__register_frame_table): Likewise.
40249         (__deregister_frame_info): Likewise.
40250         (__deregister_frame): Likewise.
40252 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
40254         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40255         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
40256         not undefine.
40257         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
40258         Likewise.
40259         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
40260         Likewise.
40262 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
40264         [BZ #14138]
40265         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
40266         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
40267         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
40268         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
40269         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
40270         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
40271         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
40272         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
40273         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
40274         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
40275         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
40276         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
40277         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
40278         syscall.
40279         (setfsuid): Likewise.
40280         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
40281         (setfsuid): Likewise.
40282         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
40283         (setfsuid): Likewise.
40284         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
40285         Likewise.
40286         (setfsuid): Likewise.
40287         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
40288         (setfsuid): Likewise.
40289         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
40290         Likewise.
40291         (setfsuid): Likewise.
40293 2014-10-27  Andreas Schwab  <schwab@suse.de>
40295         [BZ #17501]
40296         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
40297         check for Slow_SSE4_2 feature bit.
40298         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
40299         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40300         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
40301         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
40303 2014-10-24  Roland McGrath  <roland@hack.frob.com>
40305         * configure.ac: Validate compiler version with a empirical test of
40306         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
40307         $CC -v output.
40308         * configure: Regenerated.
40310         * inet/htons.c (htons): Prototypify.
40311         * inet/htonl.c (htonl): Likewise.
40313 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40315         * string/strncat.c (strncat): Improve performance by using strlen.
40317 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40319         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
40321 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40323         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
40324         Call libc_fetestexcept_aarch64.
40326 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40328         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
40329         Call libc_feholdexcept_aarch64.
40331 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40333         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
40334         Call get_rounding_mode.
40336 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40338         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40339         Simplify logic.
40341 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40343         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
40344         Simplify logic.
40346 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
40348         [BZ #14138]
40349         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
40350         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
40351         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
40352         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
40353         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
40354         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
40355         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
40356         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
40357         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
40358         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
40359         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40360         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
40361         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
40362         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
40363         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
40364         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
40365         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
40366         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
40367         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
40368         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
40369         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
40370         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
40371         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
40372         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
40373         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
40374         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
40375         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
40376         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
40377         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
40378         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
40379         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
40380         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
40381         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
40382         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
40383         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
40384         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
40385         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
40386         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
40387         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
40388         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
40389         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
40390         syscall.
40391         (geteuid): Likewise.
40392         (getgid): Likewise.
40393         (getuid): Likewise.
40394         (getresgid): Likewise.
40395         (getresuid): Likewise.
40396         (getgroups): Likewise.
40397         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
40398         (geteuid): Likewise.
40399         (getgid): Likewise.
40400         (getuid): Likewise.
40401         (getresgid): Likewise.
40402         (getresuid): Likewise.
40403         (getgroups): Likewise.
40404         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
40405         (geteuid): Likewise.
40406         (getgid): Likewise.
40407         (getuid): Likewise.
40408         (getresgid): Likewise.
40409         (getresuid): Likewise.
40410         (getgroups): Likewise.
40411         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
40412         Likewise.
40413         (geteuid): Likewise.
40414         (getgid): Likewise.
40415         (getuid): Likewise.
40416         (getresgid): Likewise.
40417         (getresuid): Likewise.
40418         (getgroups): Likewise.
40419         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
40420         (geteuid): Likewise.
40421         (getgid): Likewise.
40422         (getuid): Likewise.
40423         (getresgid): Likewise.
40424         (getresuid): Likewise.
40425         (getgroups): Likewise.
40426         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
40427         Likewise.
40428         (geteuid): Likewise.
40429         (getgid): Likewise.
40430         (getuid): Likewise.
40431         (getgroups): Likewise.
40433         [BZ #14138]
40434         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
40435         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
40436         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
40437         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40438         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
40439         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
40440         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
40441         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
40442         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
40443         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
40444         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
40445         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
40446         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
40447         __chown.
40448         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
40449         (lchown): Likewise.
40450         (fchown): Likewise.
40451         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
40452         Likewise.
40453         (lchown): Likewise.
40454         (fchown): Likewise.
40455         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
40456         (lchown): Likewise.
40457         (fchown): Likewise.
40458         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
40459         Likewise.
40460         (lchown): Likewise.
40461         (fchown): Likewise.
40463 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40465         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
40466         Simplify logic.
40468 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40470         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
40471         Cleanup logic.
40473 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40475         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
40476         Remove unused include.
40478 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
40480         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
40481         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
40482         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
40483         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
40485 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
40486             Helge Deller <deller@gmx.de>
40488         [BZ #17508]
40489         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
40490         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
40491         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
40493 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
40495         [BZ #14132]
40496         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
40497         Remove macro definition.
40498         (__ashrdi3_v_glibc20): Likewise.
40499         (__lshrdi3_v_glibc20): Likewise.
40500         (__cmpdi2_v_glibc20): Likewise.
40501         (__ucmpdi2_v_glibc20): Likewise.
40502         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
40503         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40504         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40505         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40506         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40507         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
40509 2014-10-22  Roland McGrath  <roland@hack.frob.com>
40511         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
40512         old GNU extension [0] syntax.
40513         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
40514         alloca rather than an array member with variable length.
40515         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
40516         * nscd/nscd.c (invalidate_db): New function, broken out of ...
40517         (parse_opt): ... here.  Likewise use alloca there.
40518         Validate the -i argument before checking for rootness.
40519         (send_shutdown): New function, broken out of ...
40520         (parse_opt): ... here.
40522 2014-10-22  Roland McGrath  <roland@hack.frob.com>
40524         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
40525         macro to get at the _rt_local_ro field.
40526         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
40527         ([PIC] case) or _dl_hwcap ([!PIC] case).
40528         * sysdeps/arm/setjmp.S: Likewise.
40530         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
40531         * sysdeps/arm/configure.ac: New check to define it.
40532         * sysdeps/arm/configure: Regenerated.
40533         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
40534         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
40535         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
40536         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
40537         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
40538         Use move/movt pair instead of a load.
40539         (LDST_GLOBAL): Macro removed.
40540         (LDR_GLOBAL): New macro replaces it.
40541         (LDR_HIDDEN): New macro.
40542         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
40543         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
40545         * setjmp/tst-setjmp-static.c: New file.
40546         * setjmp/Makefile (tests): Add it.
40547         (tests-static): New variable.
40549 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
40551         [BZ #17485]
40552         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
40554 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
40556         [BZ #14132]
40557         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
40559 2014-10-21  Roland McGrath  <roland@hack.frob.com>
40561         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
40563 2014-10-20  Roland McGrath  <roland@hack.frob.com>
40565         * io/fts.c (dirent_not_directory): New function.
40566         (fts_build): Call it.
40568 2014-10-20  Roland McGrath  <roland@hack.frob.com>
40570         * nptl/version.c (__nptl_main): Use normal __write rather than
40571         INTERNAL_SYSCALL.
40572         (banner): Update copyright years.
40574         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
40575         gettimeofday.
40576         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
40577         * nptl/pthread_cond_timedwait.c: Likewise.
40578         * nptl/pthread_mutex_timedlock.c: Likewise.
40579         * nptl/sem_timedwait.c: Likewise.
40581         * sysdeps/nptl/bits/libc-lock.h
40582         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40583         (__libc_lock_init_recursive): Return void, not 0.
40584         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
40585         (__libc_rwlock_init): Likewise.
40586         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
40588 2014-10-20  Torvald Riegel  <triegel@redhat.com>
40590         [BZ #15215]
40591         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
40592         (__pthread_once_slow): ... here.
40593         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
40594         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
40596 2014-10-20  Torvald Riegel  <triegel@redhat.com>
40598         [BZ #15215]
40599         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
40600         __PTHREAD_ONCE_FORK_GEN_INCR): New.
40601         * sysdeps/nptl/fork.c (__libc_fork): Use them.
40602         * nptl/pthread_once.c (__pthread_once): Likewise.
40603         Update comments.
40605 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
40607         [BZ #14138]
40608         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
40609         name.
40610         (writev): Use __libc_writev as strong name.
40611         * sysdeps/unix/sysv/linux/readv.c: Remove file.
40612         * sysdeps/unix/sysv/linux/writev.c: Likewise.
40614 2014-10-17  Roland McGrath  <roland@hack.frob.com>
40616         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
40618         * sysdeps/i386/nptl/tls.h
40619         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
40620         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
40621         New macros.
40622         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
40623         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
40624         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
40625         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
40626         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
40627         Call CHECK_THREAD_SYSINFO instead of doing an assert.
40629         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
40630         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
40631         on [__NR_futex].
40632         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
40633         broken out of ...
40634         (__pthread_mutex_init): ... here.  Call it.
40635         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
40636         Conditionalize PI cases on [__NR_futex].
40637         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
40638         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
40639         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
40641         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
40642         conditional on [SIGSETXID].
40643         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
40644         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
40645         is defined.  Likewise for SIGSETXID.
40646         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
40647         Conditionalize definitions on [SIGSETXID].
40648         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
40649         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
40650         unblocking on [SIGCANCEL].
40652         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
40653         [__NR_set_robust_list].
40655 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40657         * string/strcoll_l.c (get_next_seq): Fix up formatting.
40658         (do_compare): Likewise.
40660 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
40662         [BZ #15884]
40663         * string/strcoll_l.c: Don't include stdio.h.
40664         (coll_seq): Remove members idxarr and rulearr.
40665         (get_next_seq_cached): Remove function.
40666         (get_next_seq): Likewise.
40667         (get_next_seq_nocache): Rename to get_next_seq.
40668         (do_compare): Remove function.
40669         (do_compare_nocache): Rename to do_compare.
40670         (STRCOLL): Remove weight and rules cache.
40672 2014-10-16  Roland McGrath  <roland@hack.frob.com>
40674         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
40675         * sysdeps/arm/sfp-machine.h: ... to here.
40676         * sysdeps/arm/Implies: Remove arm/soft-fp.
40678 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
40680         * conform/data/sys/utsname.h-data (*_t): Allow.
40681         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
40682         [POSIX] (WEXITED): Do not expect constant.
40683         [POSIX] (WSTOPPED): Likewise.
40684         [POSIX] (WNOHANG): Likewise.
40685         [POSIX] (WNOWAIT): Likewise.
40686         [POSIX] (siginfo_t): Do not expect type or elements.
40687         [POSIX] (pid_t): Do not expect type.
40688         [POSIX] (signal.h): Do not allow header.
40689         [POSIX] (sys/resource.h): Likewise.
40690         [POSIX] (si_*): Do not allow pattern.
40691         [POSIX] (W*): Likewise.
40692         [POSIX] (P_*): Likewise.
40693         [POSIX] (BUS_*): Likewise.
40694         [POSIX] (CLD_*): Likewise.
40695         [POSIX] (FPE_*): Likewise.
40696         [POSIX] (ILL_*): Likewise.
40697         [POSIX] (POLL_*): Likewise.
40698         [POSIX] (SEGV_*): Likewise.
40699         [POSIX] (SI_*): Likewise.
40700         [POSIX] (TRAP_*): Likewise.
40701         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
40702         variable.
40704 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
40706         [BZ #12926]
40707         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
40708         infinite loop when __recvmsg returns 0.
40710 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
40712         * CANCEL-FCT-WAIVE: Remove file.
40713         * CANCEL-FILE-WAIVE: Likewise.
40715         [BZ #14132]
40716         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
40717         instead of INTVARDEF.
40718         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40719         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
40720         rtld_hidden_data_def instead of INTVARDEF.
40721         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40722         * elf/dl-deps.c (expand_dst): Likewise.
40723         * elf/dl-load.c (_dl_dst_count): Likewise.
40724         (_dl_dst_substitute): Likewise.
40725         (decompose_rpath): Likewise.
40726         (_dl_init_paths): Likewise.
40727         (open_path): Likewise.
40728         (_dl_map_object): Likewise.
40729         * elf/rtld.c (dl_main): Likewise.
40730         (process_dl_audit): Likewise.
40731         (process_envvars): Likewise.
40732         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
40733         Remove declaration.
40734         (__libc_enable_secure): Use rtld_hidden_proto.
40736 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40738         * elf/dl-load.c
40739         (add_path): New function broken out of _dl_rtld_di_serinfo.
40740         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
40742 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40744         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
40745         parentheses around macro arguments.
40746         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
40747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
40748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
40749         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
40750         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
40751         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40752         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40753         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
40754         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
40755         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
40756         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
40757         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
40758         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
40759         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
40760         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
40761         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
40762         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
40763         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
40764         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
40765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
40766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
40767         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
40768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
40769         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40770         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40771         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
40772         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
40773         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
40774         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
40775         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
40776         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
40777         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
40778         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
40779         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
40780         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
40781         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
40782         Likewise.
40783         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
40784         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40785         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40786         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
40787         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
40788         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
40789         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
40790         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
40791         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
40792         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
40793         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
40794         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
40795         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
40796         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
40797         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
40798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40799         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40800         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
40801         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
40802         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
40803         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
40804         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
40805         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
40806         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
40807         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
40808         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
40809         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
40810         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
40811         (_FP_FRAC_SRS_1): Likewise.
40812         (_FP_FRAC_CLZ_1): Likewise.
40813         (_FP_MUL_MEAT_1_imm): Likewise.
40814         (_FP_MUL_MEAT_1_wide): Likewise.
40815         (_FP_MUL_MEAT_1_hard): Likewise.
40816         (_FP_SQRT_MEAT_1): Likewise.
40817         (_FP_FRAC_ASSEMBLE_1): Likewise.
40818         (_FP_FRAC_DISASSEMBLE_1): Likewise.
40819         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
40820         (__FP_CLZ_2): Likewise.
40821         (_FP_MUL_MEAT_2_wide): Likewise.
40822         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40823         (_FP_MUL_MEAT_2_gmp): Likewise.
40824         (_FP_MUL_MEAT_2_120_240_double): Likewise.
40825         (_FP_SQRT_MEAT_2): Likewise.
40826         (_FP_FRAC_ASSEMBLE_2): Likewise.
40827         (_FP_FRAC_DISASSEMBLE_2): Likewise.
40828         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
40829         (_FP_FRAC_CLZ_4): Likewise.
40830         (_FP_MUL_MEAT_4_wide): Likewise.
40831         (_FP_MUL_MEAT_4_gmp): Likewise.
40832         (_FP_SQRT_MEAT_4): Likewise.
40833         (_FP_FRAC_ASSEMBLE_4): Likewise.
40834         (_FP_FRAC_DISASSEMBLE_4): Likewise.
40835         * soft-fp/op-common.h (_FP_CMP): Likewise.
40836         (_FP_CMP_EQ): Likewise.
40837         (_FP_CMP_UNORD): Likewise.
40838         (_FP_TO_INT): Likewise.
40839         (_FP_FROM_INT): Likewise.
40840         [!__FP_CLZ] (__FP_CLZ): Likewise.
40841         (_FP_DIV_HELP_imm): Likewise.
40842         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
40843         Likewise.
40844         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
40845         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
40846         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
40847         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
40848         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
40849         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40850         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40851         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
40852         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
40853         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
40854         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
40855         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
40856         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
40857         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
40858         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
40859         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
40860         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
40861         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
40862         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
40863         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
40864         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
40865         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
40866         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
40867         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40868         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40869         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
40870         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
40871         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
40872         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
40873         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
40874         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
40875         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
40876         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
40877         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
40878         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
40879         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
40880         (FP_UNPACK_RAW_SP): Likewise.
40881         (FP_PACK_RAW_S): Likewise.
40882         (FP_PACK_RAW_SP): Likewise.
40883         (FP_UNPACK_S): Likewise.
40884         (FP_UNPACK_SP): Likewise.
40885         (FP_UNPACK_SEMIRAW_S): Likewise.
40886         (FP_UNPACK_SEMIRAW_SP): Likewise.
40887         (FP_PACK_S): Likewise.
40888         (FP_PACK_SP): Likewise.
40889         (FP_PACK_SEMIRAW_S): Likewise.
40890         (FP_PACK_SEMIRAW_SP): Likewise.
40891         (_FP_SQRT_MEAT_S): Likewise.
40892         (FP_CMP_S): Likewise.
40893         (FP_CMP_EQ_S): Likewise.
40894         (FP_CMP_UNORD_S): Likewise.
40895         (FP_TO_INT_S): Likewise.
40896         (FP_FROM_INT_S): Likewise.
40898         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
40900         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
40901         (FP_EX_INVALID_IMZ): Likewise.
40902         (FP_EX_INVALID_IMZ_FMA): Likewise.
40903         (FP_EX_INVALID_ISI): Likewise.
40904         (FP_EX_INVALID_ZDZ): Likewise.
40905         (FP_EX_INVALID_IDI): Likewise.
40906         (FP_EX_INVALID_SQRT): Likewise.
40907         (FP_EX_INVALID_CVI): Likewise.
40908         (FP_EX_INVALID_VC): Likewise.
40909         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
40910         "invalid" exceptions.
40911         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
40912         (_FP_ADD_INTERNAL): Likewise.
40913         (_FP_MUL): Likewise.
40914         (_FP_FMA): Likewise.
40915         (_FP_DIV): Likewise.
40916         (_FP_CMP_CHECK_NAN): Likewise.
40917         (_FP_SQRT): Likewise.
40918         (_FP_TO_INT): Likewise.
40919         (FP_EXTEND): Likewise.
40921 2014-10-09  Allan McRae  <allan@archlinux.org>
40923         * po/fr.po: Update French translation from translation project.
40925 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40927         [BZ #14132]
40928         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
40929         of INTDEF.
40930         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
40931         (__cxa_atexit): Use libc_hidden_proto.
40932         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
40934         [BZ #14132]
40935         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
40936         declaration.
40937         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
40938         [!_ISOMAC] (__iswspace_l_internal): Likewise.
40939         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
40940         [!_ISOMAC] (__iswctype_internal): Likewise.
40941         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
40942         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
40943         alias.
40944         (fcntl): Remove __fcntl_internal alias.
40945         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
40946         __connect_internal alias.
40947         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
40948         Likewise.
40950         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
40951         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
40952         FP_DENORM_ZERO.
40953         (_FP_CHECK_FLUSH_ZERO): New macro.
40954         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
40955         (_FP_CMP): Likewise.
40956         (_FP_CMP_EQ): Likewise.
40957         (_FP_TO_INT): Do not set inexact for subnormal arguments if
40958         FP_DENORM_ZERO.
40959         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
40960         (FP_TRUNC): Likewise.
40962         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
40963         treated as invalid conversion, not as normal exponent.
40965         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
40966         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
40967         (_FP_CMP_EQ): Likewise.
40968         (_FP_CMP_UNORD): Likewise.
40969         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
40970         (FP_CMP_EQ_D): Likewise.
40971         (FP_CMP_UNORD_D): Likewise.
40972         * soft-fp/extended.h (FP_CMP_E): Likewise.
40973         (FP_CMP_EQ_E): Likewise.
40974         (FP_CMP_UNORD_E): Likewise.
40975         * soft-fp/quad.h (FP_CMP_Q): Likewise.
40976         (FP_CMP_EQ_Q): Likewise.
40977         (FP_CMP_UNORD_Q): Likewise.
40978         * soft-fp/single.h (FP_CMP_S): Likewise.
40979         (FP_CMP_EQ_S): Likewise.
40980         (FP_CMP_UNORD_S): Likewise.
40981         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
40982         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
40983         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
40984         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
40985         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
40986         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
40987         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
40988         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
40989         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
40990         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
40991         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
40992         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
40993         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
40994         to FP_CMP_Q.
40995         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
40996         FP_CMP_Q.
40997         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
40998         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
40999         FP_CMP_EQ_Q.
41000         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
41001         FP_CMP_Q.
41002         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
41003         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
41004         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
41005         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
41006         FP_CMP_EQ_Q.
41007         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
41008         FP_CMP_Q.
41009         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
41010         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
41011         FP_CMP_EQ_Q.
41012         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
41013         FP_CMP_Q.
41014         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
41015         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
41016         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
41017         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
41018         FP_CMP_EQ_Q.
41020         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
41021         a subnormal result, set the underflow exception if trapping on
41022         underflow is enabled.
41023         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
41024         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
41025         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
41026         redefine to 0.
41027         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
41028         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41029         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41030         * soft-fp/extendxftf2.c (__extendxftf2): Use
41031         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
41033         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
41034         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
41035         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41036         FP_HANDLE_EXCEPTIONS.
41037         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
41038         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41039         FP_HANDLE_EXCEPTIONS.
41040         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
41041         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41042         FP_HANDLE_EXCEPTIONS.
41043         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
41044         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41045         FP_HANDLE_EXCEPTIONS.
41047 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
41049         [BZ #14132]
41050         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
41051         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
41052         use INTUSE.
41053         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
41054         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
41055         Remove alias.
41056         (__adjtimex): Define using libc_hidden_ver.
41057         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
41058         Remove declaration.
41059         (ntp_gettime): Call __adjtimex directly.
41060         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
41061         Remove declaration.
41062         (ntp_gettimex): Call __adjtimex directly.
41063         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
41064         __adjtimex_internal alias.
41066 2014-10-08  Roland McGrath  <roland@hack.frob.com>
41068         [BZ #17460]
41069         * nscd/nscd.c (more_help): Rewrite list of tables collection
41070         using xstrdup and asprintf.
41072         * nscd/nscd_conf.c: Remove local xstrdup declaration.
41074 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41075             Roland McGrath  <roland@hack.frob.com>
41077         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
41078         (do_lookup_unique): ... local function 'enter' here; update callers.
41080 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
41082         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
41083         compat_symbol calls on [SHARED].
41084         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
41085         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
41086         Remove.
41087         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41088         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
41089         (oldsetrlimit): Remove.
41090         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41092         (lchown): New syscall entry.
41093         (oldsetrlimit): Remove.
41094         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41095         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
41096         (oldsetrlimit): Remove.
41097         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41099         [BZ #14138]
41100         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
41101         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
41102         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
41103         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
41104         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41105         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
41106         (fchown): Likewise.
41107         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
41108         (fchown): Likewise.
41109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
41110         Likewise.
41112 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41114         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
41115         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
41116         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
41117         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
41118         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
41119         Likewise.
41120         (__old_sem_post): Likewise.
41122 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
41124         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
41125         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
41126         HAVE_CLOCK_GETTIME_VSYSCALL macros.
41127         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
41128         Use INLINE_VSYSCALL macro.
41129         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
41130         __vdso_clock_gettime.
41131         * sysdeps/unix/sysv/linux/tile/init-first.c
41132         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
41133         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
41134         __vdso_clock_gettime.
41136         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
41137         to set up frame more cleanly.
41139         * sysdeps/tile/memcmp.c: New file.
41141         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
41143         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
41144         * sysdeps/tile/tilegx/strcasestr.c: New file.
41145         * sysdeps/tile/tilegx/strnlen.c: New file.
41146         * sysdeps/tile/tilegx/strstr.c: New file.
41148         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
41150 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
41152         * nptl/tst-setuid3.c: Write errors to stdout.
41154 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41156         * elf/dl-deps.c
41157         (preload): New functions broken out of _dl_map_object_deps.
41158         (_dl_map_object_deps):  Remove a nested function. Update call sites.
41160 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
41162         [BZ #14138]
41163         * sysdeps/unix/sysv/linux/execve.c: Remove file.
41164         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
41166 2014-10-01  Steve Ellcey  <sellcey@mips.com>
41168         * sysdeps/mips/strcmp.S: New.
41170 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
41172         [BZ #14138]
41173         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
41174         (linkat): Likewise.
41175         (mkdirat): Likewise.
41176         (readlinkat): Likewise.
41177         (renameat): Likewise.
41178         (symlinkat): Likewise.
41179         (unlinkat): Likewise.
41180         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
41181         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
41182         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
41183         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
41184         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
41185         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
41186         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
41188 2014-09-30  Will Newton  <will.newton@linaro.org>
41190         * math/math.h: Define long double math functions if
41191         _LIBC_TEST is defined.
41192         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
41194         * localedata/Makefile: Move assignment to tests-special
41195         into an ifdef testing run-built-tests.
41196         * timezone/Makefile: Likewise.
41198 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
41200         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
41201         with $(BASH) not $(SHELL).
41203 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
41204             Matthew LeGendre  <legendre1@llnl.gov>
41206         [BZ #17411]
41207         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
41208         l_reloc_result.
41210 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41212         * stdio-common/printf_fp.c
41213         (hack_digit): New function, broken out of ...
41214         (__printf_fp): ... local function here.  Update call sites.
41215         hack_digit now takes an additional parameter that is a pointer
41216         to a struct of the referenced locals.  Those locals moved inside
41217         the struct and references updated.
41219 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
41221         * aclocal.m4: Require autoconf 2.69.
41222         * configure: Regenerated.
41223         * sysdeps/aarch64/configure: Likewise.
41224         * sysdeps/alpha/configure: Likewise.
41225         * sysdeps/arm/armv7/configure: Likewise.
41226         * sysdeps/arm/configure: Likewise.
41227         * sysdeps/ia64/configure: Likewise.
41228         * sysdeps/mach/configure: Likewise.
41229         * sysdeps/mips/configure: Likewise.
41230         * sysdeps/s390/configure: Likewise.
41231         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
41232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
41234         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
41235         file.
41236         * sysdeps/ia64/configure.ac: Likewise.
41238 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
41240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
41241         specify symbol version for ld.so.  Do not include entry for
41242         libpthread.
41243         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41244         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41245         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41247         [BZ #14171]
41248         * Makeconfig [$(build-shared) = yes]
41249         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
41250         makefiles.
41251         [$(build-shared) = yes && $(soversions.mk-done) = t]
41252         ($(common-objpfx)gnu/lib-names.h): Remove rule.
41253         [$(build-shared) = yes && $(soversions.mk-done) = t]
41254         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
41255         to Makerules.
41256         [$(build-shared) = yes && $(soversions.mk-done) = t]
41257         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
41258         here.
41259         [$(build-shared) = yes && $(soversions.mk-done) = t]
41260         (common-generated): Don't append gnu/lib-names.h and
41261         gnu/lib-names.stmp here.
41262         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
41263         (lib-names-h-abi): New variable.
41264         [$(build-shared) = yes && $(soversions.mk-done) = t]
41265         (lib-names-stmp-abi): Likewise.
41266         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41267         abi-variants] (before-compile): Append
41268         $(common-objpfx)$(lib-names-h-abi).
41269         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41270         abi-variants] (common-generated): Append gnu/lib-names.h.
41271         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41272         abi-variants] (install-others-nosubdir): Depend on
41273         $(inst_includedir)/$(lib-names-h-abi).
41274         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41275         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
41276         [$(build-shared) = yes && $(soversions.mk-done) = t]
41277         ($(common-objpfx)$(lib-names-h-abi)): New rule.
41278         [$(build-shared) = yes && $(soversions.mk-done) = t]
41279         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
41280         [$(build-shared) = yes && $(soversions.mk-done) = t]
41281         (common-generated): Append $(lib-names-h-abi) and
41282         $(lib-names-stmp-abi).
41283         * scripts/lib-names.awk: Do not handle multi being set.
41284         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
41285         Remove variable.
41286         (abi-lp64_be-ld-soname): Likewise.
41287         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
41288         Likewise.
41289         (abi-hard-ld-soname): Likewise.
41290         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
41291         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
41292         Remove variable.
41293         (abi-o32_hard-ld-soname): Likewise.
41294         (abi-o32_soft_2008-ld-soname): Likewise.
41295         (abi-o32_hard_2008-ld-soname): Likewise.
41296         (abi-n32_soft-ld-soname): Likewise.
41297         (abi-n32_hard-ld-soname): Likewise.
41298         (abi-n32_soft_2008-ld-soname): Likewise.
41299         (abi-n32_hard_2008-ld-soname): Likewise.
41300         (abi-n64_soft-ld-soname): Likewise.
41301         (abi-n64_hard-ld-soname): Likewise.
41302         (abi-n64_soft_2008-ld-soname): Likewise.
41303         (abi-n64_hard_2008-ld-soname): Likewise.
41304         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
41305         Likewise.
41306         (abi-64-v2-ld-soname): Likewise.
41307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
41308         ld.so entries.
41309         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
41310         variable.
41311         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
41312         entry.
41313         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
41314         variable.
41315         (abi-64-ld-soname): Likewise.
41316         (abi-x32-ld-soname): Likewise.
41317         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
41318         entry.
41319         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41321 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
41323         [BZ #14138]
41324         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
41325         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
41326         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
41327         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
41328         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
41329         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
41330         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
41331         syscall entry for GLIBC_2.2 symbol version.
41332         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
41333         Likewise.
41334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41335         (setrlimit): Likewise.
41336         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
41337         Likewise.
41339 2014-09-23  Will Newton  <will.newton@linaro.org>
41341         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
41342         _LINUX_ARM_SYSDEP_H include guard too.
41343         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
41344         define.
41346 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41348         * sysdeps/unix/sysv/linux/eventfd.c:
41349         Make first argument unsigned.
41350         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
41351         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
41353 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
41355         [BZ #16852]
41356         * socket/recvmmsg.c (recvmmsg): Drop const argument.
41357         * socket/sys/socket.h: Likewise.
41358         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
41360 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41362         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
41364 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
41366         * time/tst-ftime.c: New test.
41367         * time/Makefile (tests): Add tst-ftime.
41369 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
41371         * soft-fp/extended.h: Fix comment formatting.
41372         * soft-fp/op-1.h: Likewise.
41373         * soft-fp/op-2.h: Likewise.
41374         * soft-fp/op-4.h: Likewise.
41375         * soft-fp/op-8.h: Likewise.
41376         * soft-fp/op-common.h: Likewise.
41377         * soft-fp/soft-fp.h: Likewise.
41379         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
41381 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
41383         [BZ #6652]
41384         * Makeconfig (soversions-default-setname): Remove variable.
41385         ($(common-objpfx)soversions.i): Don't pass default_setname to
41386         soversions.awk.
41387         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
41388         oldest_abi to abi-versions.awk.
41389         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
41390         * config.make.in (oldest-abi): Remove variable.
41391         * configure.ac (--enable-oldest-abi): Remove configure option.
41392         * configure: Regenerated.
41393         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
41394         text.
41395         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
41396         * scripts/soversions.awk: Do not handle default_setname variable.
41397         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
41398         variable.
41399         * sysdeps/mach/hurd/configure: Regenerated.
41400         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
41401         variable.
41402         * sysdeps/unix/sysv/linux/configure: Regenerated.
41404 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41406         * elf/Makefile (CFLAGS-interp.c): Remove.
41407         ($(elf-objpfx)runtime-linker.h): Generate header with linker
41408         path string.
41409         * elf/interp.c: Include generated runtime-linker.h
41411         * Makerules (lib%.so): Don't include $(+interp) in
41412         prerequisites.
41413         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
41414         * dlfcn/eval.c: Remove file.
41416         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
41417         macros.
41419         [BZ #17266]
41420         * misc/sys/cdefs.h: Define __extern_always_inline for clang
41421         4.2 and newer.
41423         [BZ #17370]
41424         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
41426 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41427             Jakub Jelinek  <jakub@redhat.com>
41429         [BZ #17266]
41430         * libio/stdio.h: Check definition of __fortify_function
41431         instead of __extern_always_inline to include bits/stdio2.h.
41432         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
41433         check if __extern_always_inline is defined.
41434         [__USE_MISC || __USE_XOPEN]: Likewise.
41435         [__USE_ISOC99] Likewise.
41436         * misc/sys/cdefs.h (__fortify_function): Define only if
41437         __extern_always_inline is defined.
41438         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
41439         __extern_always_inline and __extern_inline only for g++-4.3
41440         and newer or a compatible gcc.
41442 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
41444         [BZ #17371]
41445         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
41446         last change to handle zero prefix length.
41448 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41450         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
41451         _SC_REGEX_VERSION.
41453         * posix/getconf.c (vars): Add _POSIX_IPV6 and
41454         _POSIX_RAW_SOCKETS.
41456 2014-09-13  Allan McRae  <allan@archlinux.org>
41458         * po/ru.po: Update Russian translation from translation project.
41460 2014-09-12  Roland McGrath  <roland@hack.frob.com>
41462         * locale/programs/locale.c (show_locale_vars): Inline local function
41463         into its sole call site.  Clean up some style nits.
41464         (print_item): New function, broken out of ...
41465         (show_info): ... local function here.  Clean up style nits.
41467         * locale/programs/ld-ctype.c (set_one_default): New function, broken
41468         out of ...
41469         (set_class_defaults): ... local function set_default here.
41470         Define set_default as a macro locally to pass constant parameters.
41471         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
41472         rather than a shared local.
41474         * stdlib/rpmatch.c (try): New function, broken out of ...
41475         (rpmatch): ... local function here.  Also, prototypify definition.
41477 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
41479         * scripts/soversions.awk: Do not handle configuration names.
41480         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
41481         vendor and os variables to soversions.awk.
41482         * configure.ac: Do not modify gnu-* host_os.
41483         * configure: Regenerated
41484         * shlib-versions: Remove first column with configuration names.
41485         * nptl/shlib-versions: Likewise.
41486         * nptl_db/shlib-versions: Likewise.
41487         * sysdeps/hppa/shlib-versions: Likewise.
41488         * sysdeps/m68k/shlib-versions: Likewise.
41489         * sysdeps/mach/hurd/shlib-versions: Likewise.
41490         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
41491         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
41492         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
41493         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
41494         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
41495         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
41496         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
41497         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
41498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
41499         Likewise.
41500         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41501         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
41502         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
41503         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
41504         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
41505         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
41506         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41507         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
41510         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
41511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41512         Regenerated.
41513         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
41514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
41515         Condition symbol version definitions on [HAVE_ELFV2_ABI].
41517         * shlib-versions: Remove OS-specific entries.  Moved to files in
41518         sysdeps.
41519         * sysdeps/mach/hurd/shlib-versions: New file.
41520         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
41522         * nptl/shlib-versions: Remove architecture-specific entries.
41523         Moved to files in sysdeps.
41524         * shlib-versions: Likewise.
41525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
41526         file.
41527         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41528         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
41529         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
41530         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
41532         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
41533         (UDP_NO_CHECK6_RX): Likewise.
41535 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41537         * sysdeps/posix/sysconf.c (__sysconf): Spell
41538         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
41540 2014-08-12  Florian Weimer  <fweimer@redhat.com>
41542         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
41543         loading.
41544         * iconv/Versions (__gconv_transliterate): Export for use from
41545         gconv modules.
41546         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
41547         (struct __gconv_trans_data, __gconv_trans_fct,
41548         __gconv_trans_context_fct, __gconv_trans_query_fct,
41549         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
41550         definitions.
41551         (struct __gconv_step_data): Remove __trans member.
41552         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
41553         longer hidden.  Remove unused trans_data argument.
41554         * iconv/gconv_int.h (struct trans_struct): Remove definition.
41555         (__gconv_translit_find): Remove declaration.
41556         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
41557         prototype.
41558         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
41559         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
41560         trans_data argument.  Add hidden definition.
41561         (__gconv_translit_find): Remove.
41562         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
41563         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
41564         * iconv/skeleton.c: Remove transliteration initialization.
41565         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
41566         __gconv_step_data initialization.
41567         * libio/iofwide.c (__libio_translit_): Remove.
41568         (_IO_fwide): Adjust struct __gconv_step_data initialization.
41569         * wcsmbs/btowc.c (__btowc): Likewise.
41570         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41571         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41572         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
41573         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
41574         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
41575         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
41576         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
41577         * wcsmbs/wctob.c (wctob): Likewise.
41579 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41581         [BZ #16194]
41582         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
41583         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
41584         register usage.
41585         * sysdeps/x86/Makefile: Adjust.
41587 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41588             Roland McGrath  <roland@hack.frob.com>
41590         * locale/weight.h: Add include guard.
41591         (findidx): Make static rather than auto; take new parameters
41592         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
41593         * locale/weightwc.h: Likewise.
41594         * posix/fnmatch_loop.c
41595         (FCT): Change type of EXTRA from int32_t to wint_t.
41596         Don't include either header inside the function.
41597         Call FINDIDX rather than findidx, and pass new arguments.
41598         #undef FINDIDX at the end of the file.
41599         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
41600         FINDIDX before including fnmatch_loop.c for the non-wide version.
41601         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
41602         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
41603         for the wide version.
41604         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
41605         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
41606         Pass new arguments to findidx.
41607         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
41608         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
41609         Don't #include it inside the function.  Pass new arguments to findidx.
41610         * posix/regex_internal.h
41611         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
41612         (re_string_elem_size_at): Don't #include it inside the function.
41613         Pass new arguments to findidx.
41614         * string/strcoll_l.c: #include WEIGHT_H at top level.
41615         (get_next_seq): Don't #include it inside the function.
41616         Pass new arguments to findidx.
41617         (get_next_seq_nocache): Likewise.
41618         * string/strxfrm_l.c: #include WEIGHT_H at top level.
41619         (STRXFRM): Don't #include it inside the function.
41620         Pass new arguments to findidx.
41622 2014-09-11  Florian Weimer  <fweimer@redhat.com>
41624         [BZ #17344]
41625         * malloc/malloc.c (unlink): Turn asserts into a call to
41626         malloc_printerr.
41628 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
41630         [BZ #17370]
41631         * libio/wfileops (do_ftell_wide): Free OUT.
41633 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
41635         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
41637 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41639         [BZ #17363]
41640         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
41641         group if the current group is empty.
41643 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41645         * benchtests/bench-memset.c (test_main): Add more test from size
41646         from 32 to 512 bytes.
41647         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41648         Add POWER8 memset object.
41649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41650         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
41651         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
41652         implementation.
41653         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
41654         Likewise.
41655         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
41656         multiarch POWER8 memset optimization.
41657         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
41658         POWER8 memset optimization.
41660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41661         Remove bzero multiarch objects.
41662         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
41663         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
41664         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
41665         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
41666         Remove define.
41667         [__bzero]: Redefine to specific name.
41668         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
41669         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
41670         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
41671         define.
41672         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41673         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41675 2014-09-10  Florian Weimer  <fweimer@redhat.com>
41677         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
41678         warnings into errors.
41680         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
41681         __cxa_thread_atexit_impl prototype.
41683 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41685         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
41686         Fix capitalization of error message.
41688 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41690         * sysdeps/mips/preconfigure: Modify ABI tests.
41692 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
41694         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
41696 2014-09-07  Roland McGrath  <roland@hack.frob.com>
41697             Carlos O'Donell  <carlos@systemhalted.org>
41699         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
41700         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
41701         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
41702         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
41703         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
41704         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
41705         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
41706         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
41707         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
41708         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
41709         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
41710         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
41711         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
41712         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
41713         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
41714         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
41715         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
41716         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
41717         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
41718         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
41719         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
41720         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
41721         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
41722         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
41723         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
41724         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
41725         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
41726         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
41727         Deconditionalize the code that was previously under [RESET_PID].
41728         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
41729         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
41730         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
41731         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
41732         include sysdep.h.
41734 2014-09-08  Allan McRae  <allan@archlinux.org>
41736         * version.h (RELEASE): Set to "development".
41737         (VERSION): Set to "2.20.90"
41739 2014-09-07  Allan McRae  <allan@archlinux.org
41741         * version.h (RELEASE): Set to "stable".
41742         (VERSION): Set to "2.20"
41743         * include/features.h (__GLIBC_MINOR__): Set to 20.
41745         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
41746         Liebler.
41748         * po/ko.po: Update Korean translation from translation project.
41750 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
41752         [BZ #17354]
41753         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
41754         macro for handling signed relocations.
41756 2014-09-03  Florian Weimer  <fweimer@redhat.com>
41758         [BZ #17325]
41759         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
41760         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
41761         assert.
41762         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
41763         * iconvdata/ibm935.c (BODY): Likewise.
41764         * iconvdata/ibm937.c (BODY): Likewise.
41765         * iconvdata/ibm939.c (BODY): Likewise.
41766         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
41767         assert.
41768         * iconvdata/Makefile (iconv-test.out): Pass module list to test
41769         script.
41770         * iconvdata/run-iconv-test.sh: New test loop for checking for
41771         decoder crashers.
41773 2014-09-02  Khem Raj  <raj.khem@gmail.com>
41775         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
41776         libm_hidden_ver.
41778 2014-09-01  Allan McRae  <allan@archlinux.org>
41780         * po/eo.po: Update Esperanto translation from translation project.
41782         * po/ca.po: Update Catalan translation from translation project.
41784 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41786         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
41787         __proc_dostop call.
41789 2014-08-27  Mark Wielaard  <mjw@redhat.com>
41791         [BZ #17319]
41792         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
41793         to call set_thread_area instead of hand written asm.
41794         (__NR_set_thread_area): Removed define.
41795         (TLS_FLAG_WRITABLE): Likewise.
41796         (__ASSUME_SET_THREAD_AREA): Remove check.
41797         (TLS_EBX_ARG): Remove define.
41798         (TLS_LOAD_EBX): Likewise.
41800 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41802         Simplify atomicity of socket creation in bind.
41804         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
41805         looking up the name after linking the file.
41807 2014-08-27  Allan McRae  <allan@archlinux.org>
41809         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41811 2014-08-26  Florian Weimer  <fweimer@redhat.com>
41813         [BZ #17187]
41814         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
41815         trans_compare, open_translit, __gconv_translit_find):
41816         Remove module loading code.
41818 2014-08-26  Allan McRae  <allan@archlinux.org>
41820         * po/vi.po: Update Vietnamese translation from translation project.
41822         * po/uk.po: Update Ukrainian translation from translation project.
41824         * po/fr.po: Update French translation from translation project.
41826         * po/ru.po: Update Russian translation from translation project.
41828         * po/pl.po: Update Polish translation from translation project.
41830         * po/cs.po: Update Czech translation from translation project.
41832         * po/de.po: Update German translation from translation project.
41834         * po/bg.po: Update Bulgarian translation from translation project.
41836         * po/sv.po: Update Sweedish translation from translation project.
41838         * po/nl.po: Update Dutch translation from translation project.
41840         * po/es.po: Update Spanish translation from translation project.
41842 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41844         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
41846         * catgets/Makefile (CPPFLAGS-gencat): Remove.
41847         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
41848         (CPPFLAGS-iconvconfig): Likewise.
41849         * timezone/Makefile (CPPFLAGS-zic): Likewise.
41851         * include/libc-symbols.h: Remove unnecessary check for
41852         NOT_IN_libc.
41853         * nptl/pthreadP.h: Likewise.
41854         * sysdeps/aarch64/setjmp.S: Likewise.
41855         * sysdeps/alpha/setjmp.S: Likewise.
41856         * sysdeps/arm/sysdep.h: Likewise.
41857         * sysdeps/i386/setjmp.S: Likewise.
41858         * sysdeps/m68k/setjmp.c: Likewise.
41859         * sysdeps/posix/getcwd.c: Likewise.
41860         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41861         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41862         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41863         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41864         * sysdeps/sh/sh3/setjmp.S: Likewise.
41865         * sysdeps/sh/sh4/setjmp.S: Likewise.
41866         * sysdeps/unix/alpha/sysdep.h: Likewise.
41867         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41868         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41869         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41870         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41873         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41875         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41876         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41877         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41878         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41879         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41880         * sysdeps/x86_64/setjmp.S: Likewise.
41882 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
41884         [BZ #17263]
41885         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
41886         <stdint.h>.
41887         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
41888         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
41890 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41892         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
41894         [BZ #17262]
41895         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
41896         and __x86_64__ when disabling x87 inline functions.
41898 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41900         [BZ #17259]
41901         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
41902         asm statement with __cpuid_count.
41904 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
41906         * configure.ac: Change __ehdr_start code to dereference the struct.
41907         Run readelf on the output to look for relocations.
41908         * configure: Regenerated.
41910 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
41912         [BZ #17261]
41913         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
41914         value to 0.
41915         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
41917 2014-08-12  Roland McGrath  <roland@hack.frob.com>
41919         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
41921 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
41923         [BZ #16892]
41924         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
41925         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
41927 2014-08-12  Sean Anderson  <seanga2@gmail.com>
41929         * malloc/malloc.c: Fix typo in comment.
41931 2014-08-09  Allan McRae  <allan@archlinux.org>
41933         * Regenerate libc.po.
41935 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
41937         * intl/tst-gettext2.sh: Check every lang file for creation.
41939 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41941         * sysdeps/aarch64/fpu/math_private.h
41942         (libc_feholdsetround_noex_aarch64_ctx): New function.
41944 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41946         * sysdeps/arm/armv6/strcpy.S (strcpy):
41947         Fix performance issue in misaligned cases.
41949 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41951         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
41952         Move definition from termios.h.
41953         (struct termio): Likewise.
41954         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41955         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41956         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41957         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41958         Likewise.
41959         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
41960         Move definition to ioctl-types.h
41961         (struct termio): Likewise.
41962         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41963         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41964         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41965         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41966         Likewise.
41968 2014-08-05  Richard Henderson  <rth@redhat.com>
41970         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
41971         exceptions.
41972         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
41973         Add fraiseexcpt.
41974         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
41975         Use __feraiseexcept.
41976         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
41977         Protect libm symbols with IS_IN_libm.
41979         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
41981 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
41983         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
41985 2014-08-04  Will Newton  <will.newton@linaro.org>
41987         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
41988         file.
41990 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
41992         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
41993         variants for each function.
41995 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41997         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
41998         appended ...
41999         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
42000         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
42001         appended ...
42002         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
42003         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
42004         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
42005         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
42006         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
42007         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
42008         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
42009         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
42010         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
42011         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
42012         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
42013         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
42014         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
42015         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
42016         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
42017         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
42018         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
42019         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
42020         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
42021         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
42022         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
42023         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
42024         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
42025         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
42026         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
42027         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
42028         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
42029         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
42030         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
42031         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
42032         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
42033         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
42034         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
42035         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
42036         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
42037         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
42038         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
42039         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
42040         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
42041         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
42042         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
42043         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
42044         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
42045         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
42046         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
42047         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
42048         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
42049         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
42050         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
42051         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
42052         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
42053         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
42054         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
42055         Update #include.
42056         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
42057         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
42059 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42061         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
42062         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
42063         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
42064         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
42065         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
42066         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
42068 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42070         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
42071         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
42072         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42073         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
42075 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42077         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
42078         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
42079         (__libc_vfork): Define function under this name.
42080         (__vfork): Define as an alias.
42081         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
42082         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
42084 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42086         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
42087         that was previously under [RESET_PID].
42088         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
42090 2014-08-04  Andreas Schwab  <schwab@suse.de>
42092         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
42094 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
42096         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
42097         (main): Likewise.
42099 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42101         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
42103 2014-08-01  Richard Henderon  <rth@redhat.com>
42105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
42106         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
42107         typo in exact zero test.
42108         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42109         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42110         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42112 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42114         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
42115         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
42116         * sysdeps/arm/sysdep.h: ... here.
42117         [!__ASSEMBLER__]: Include <stdint.h>.
42119 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42121         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
42122         (HAVE_WCTYPE_H): Likewise.
42123         (HAVE_ISWCTYPE): Likewise.
42124         (ENABLE_NLS): Likewise.
42125         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
42126         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
42128         * posix/regex_internal.c: Check if DEBUG is defined and is
42129         set.
42131         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
42132         (HAVE_MBSRTOWCS): Likewise.
42133         * posix/fnmatch.c: Include string.h unconditionally.
42135 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42137         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
42138         reversal.
42140 2014-07-31  Roland McGrath  <roland@hack.frob.com>
42142         * sysdeps/generic/safe-fatal.h: New file.
42143         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
42144         * nptl/forward.c: Include it.
42145         (__pthread_unwind): Use __safe_fatal as default action, rather
42146         than a bogus use of INTERNAL_SYSCALL that could never work.
42148         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
42149         * configure.ac (libc_cv_builtin_trap): New test.
42150         * configure: Regenerated.
42151         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
42152         (ABORT_INSTRUCTION): Define using __builtin_trap.
42154         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
42155         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
42156         * sysdeps/nptl/nptl-signals.h: New file.
42157         * nptl/pthreadP.h: Include <nptl-signals.h>.
42159 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42161         * sysdeps/s390/s390-64/utf16-utf32-z9.c
42162         (ONE_DIRECTION): Define.
42163         * sysdeps/s390/s390-64/utf8-utf16-z9.c
42164         (ONE_DIRECTION): Define.
42165         * sysdeps/s390/s390-64/utf8-utf32-z9.c
42166         (ONE_DIRECTION): Define.
42168 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42170         * sysdeps/s390/Makefile: Delete file.
42171         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
42172         * sysdeps/s390/__longjmp.c: Delete file.
42173         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
42174         Remove fields __flags and __reserved.
42175         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
42176         and add versioning.
42177         * sysdeps/s390/rtld-__longjmp.c: Delete file.
42178         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
42179         * sysdeps/s390/rtld-setjmp.S: Likewise.
42180         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
42181         * sysdeps/s390/s390-32/__longjmp.c: ... here.
42182         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
42183         * sysdeps/s390/s390-32/setjmp.S: ... here.
42184         Add versioning.
42185         (__sigsetjmp): Remove setting __flags field.
42186         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
42187         * sysdeps/s390/s390-64/__longjmp.c: ... here.
42188         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
42189         * sysdeps/s390/s390-64/setjmp.S: ... here.
42190         Add versioning.
42191         (__sigsetjmp): Remove setting __flags field.
42192         * sysdeps/s390/setjmp.S: Delete file.
42193         * sysdeps/s390/sigjmp.c: Likewise.
42194         * sysdeps/s390/v1-longjmp.c: Likewise.
42195         * sysdeps/s390/v1-setjmp.h: Likewise.
42196         * sysdeps/s390/v1-sigjmp.c: Likewise.
42197         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
42198         Remove v1-longjmp_chk.
42199         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
42200         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
42201         Include debug/longjmp_chk.c and add versioning.
42202         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
42203         Include nptl/pt-longjmp.c and add versioning.
42204         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
42205         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
42206         Include __longjmp.c.
42207         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42208         Move to ...
42209         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
42210         (__getcontext): Remove setting __flags field.
42211         Add versioning.
42212         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42213         Don't restore upper high grps.
42214         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
42215         Likewise.
42216         (__swapcontext): Remove setting uc_flags field.
42217         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
42218         Delete file.
42219         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42220         Include __longjmp.c.
42221         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42222         Move to ...
42223         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
42224         (__getcontext): Remove setting __flags field.
42225         Add versioning.
42226         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
42227         (__swapcontext): Remove setting uc_flags field.
42228         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
42229         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
42230         Remove fields uc_high_gprs and __reserved.
42231         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
42232         New file with reverted content.
42233         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
42234         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
42235         Regenerated.
42236         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
42237         Regenerated.
42239 2014-07-31  Andreas Schwab  <schwab@suse.de>
42241         * config.h.in (HAVE_IFUNC): Define to 0.
42242         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
42243         definedness.
42245 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
42247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42248         memmove-avx-unaligned, memcpy-avx-unaligned and
42249         mempcpy-avx-unaligned.
42250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42251         Add tests for AVX memcpy functions.
42252         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
42253         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
42254         memcpy_chk.
42255         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
42256         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
42257         memmove_chk.
42258         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
42259         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
42260         mempcpy_chk.
42261         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
42262         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
42263         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
42265 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42267         [BZ #17213]
42268         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
42269         powerpc64le.
42271 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
42273         [BZ #16839]
42274         * manual/llio.texi: Add section about open file description locks.
42275         * manual/examples/ofdlocks.c: Example of open file description
42276         lock usage.
42277         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
42278         F_OFD_SETLK, and F_OFD_SETLKW.
42280 2014-07-23  Allan McRae  <allan@archlinux.org>
42282         * po/es.po: Update Spanish translation from translation project.
42284 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
42286         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
42288 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
42290         [BZ #17078]
42291         * sysdeps/arm/dl-machine.h (elf_machine_rela)
42292         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
42293         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
42295 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
42297         [BZ #17088]
42298         * math/fesetenv.c (__fesetenv)
42299         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
42300         * math/feupdateenv.c (__feupdateenv)
42301         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
42303         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
42304         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42305         (__ASSUME_SOCKETCALL): Do not define.
42307         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
42308         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
42309         (__ASSUME_SOCKETCALL): Do not define.
42310         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
42311         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42312         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42313         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42314         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42315         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
42316         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42317         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42319         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
42320         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
42321         (__ASSUME_SOCKETCALL): Do not define.
42322         (__ASSUME_IPC64): Define unconditionally.
42323         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42324         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42325         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42326         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42327         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
42328         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42329         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
42330         Likewise.
42332         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
42333         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
42334         (__ASSUME_SOCKETCALL): Do not define.
42335         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
42336         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42337         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42338         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42339         (__ASSUME_REQUEUE_PI): Define unconditionally.
42340         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
42341         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
42342         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42343         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
42344         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42345         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42347         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
42348         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
42349         (__ASSUME_SOCKETCALL): Do not define.
42350         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
42351         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42352         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42353         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
42354         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42355         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42357         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
42358         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
42359         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42360         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
42361         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42362         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
42363         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42364         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
42365         (__ASSUME_GETCPU_SYSCALL): Likewise.
42367         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
42368         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
42369         cases for individual architectures.
42370         * sysdeps/gnu/configure: Regenerated.
42371         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
42372         LIBC_SLIBDIR_RTLDDIR.
42373         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
42374         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
42375         LIBC_SLIBDIR_RTLDDIR.
42376         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
42377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
42378         LIBC_SLIBDIR_RTLDDIR.
42379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42380         Regenerated.
42381         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
42382         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
42383         file.
42384         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
42385         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
42386         file.
42387         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
42388         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
42389         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
42390         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
42392         * sysdeps/aarch64/shlib-versions: Move to ...
42393         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
42394         * sysdeps/alpha/shlib-versions: Move to ...
42395         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
42396         * sysdeps/arm/shlib-versions: Move to ...
42397         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
42398         * sysdeps/hppa/shlib-versions: Move all contents except for
42399         libgcc_s entry to ...
42400         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
42401         entry from ...
42402         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
42403         * sysdeps/ia64/shlib-versions: Move to ...
42404         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
42405         entry from ...
42406         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
42407         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
42408         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
42409         * sysdeps/microblaze/shlib-versions: Move to ...
42410         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
42411         * sysdeps/mips/shlib-versions: Move to ...
42412         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
42413         entry from ...
42414         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
42415         * sysdeps/tile/shlib-versions: Move to ...
42416         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
42417         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
42418         from ...
42419         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
42420         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
42421         entry from ...
42422         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
42424 2014-07-17  Will Newton  <will.newton@linaro.org>
42426         * sysdeps/arm/bits/atomic.h
42427         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
42428         (__arch_compare_and_exchange_bool_16_int): Likewise.
42429         (__arch_compare_and_exchange_bool_64_int): Likewise.
42431         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
42432         into an #else block.
42434 2014-07-16  Roland McGrath  <roland@hack.frob.com>
42436         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
42437         just Linux configurations.  Test empirically that the compiler sets
42438         __ARM_EABI__, rather than using the tuple to decide.
42439         * sysdeps/arm/preconfigure: Regenerated.
42440         * sysdeps/unix/sysv/linux/arm/configure: File removed.
42441         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
42442         contents appended ...
42443         * sysdeps/arm/configure.ac: ... here.
42444         * sysdeps/arm/configure: Regenerated.
42446 2014-07-15  Roland McGrath  <roland@hack.frob.com>
42448         * nptl/pthread_kill.c: New file.
42449         * nptl/pthread_sigmask.c: New file.
42450         * nptl/pthread_sigqueue.c: New file.
42452         * sysdeps/nptl/lowlevellock.h: New file.
42453         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
42454         * sysdeps/nptl/lowlevellock-futex.h: New file.
42456         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
42457         Remove dead declarations.
42459 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
42461         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
42462         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
42463         config-cflags-avx2.
42464         * sysdeps/x86_64/configure.ac: Likewise.
42465         * sysdeps/i386/configure: Regenerated.
42466         * sysdeps/x86_64/configure: Likewise.
42467         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42468         memset-avx2 only if config-cflags-avx2 is yes.
42469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42470         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
42471         defined.
42472         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
42473         only if HAVE_AVX2_SUPPORT is defined.
42474         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42476 2014-07-14  Alan Modra  <amodra@gmail.com>
42478         [BZ #17153]
42479         * elf/elf.h (DT_PPC64_NUM): Correct value.
42480         * NEWS: Add to fixed bug list.
42482 2014-07-13  Jim Meyering  <meyering@fb.com>
42484         [BZ 17150]
42485         regex: don't deref NULL upon heap allocation failure
42486         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
42487         failure in one more place.
42488         To trigger the segfault, configure grep -with-included-regex,
42489         build it, and run these commands:
42490         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
42492 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
42494         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42496 2014-07-11  Richard Henderson  <rth@redhat.com>
42498         * sysdeps/aarch64/libm-test-ulps: Update.
42500 2014-07-10  Florian Weimer  <fweimer@redhat.com>
42502         [BZ #17135]
42503         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
42504         * nptl/allocatestack.c (__nptl_setxid_error): New function.
42505         (__nptl_setxid): Initialize error member.  Call
42506         __nptl_setxid_error.
42507         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
42508         * nptl/descr.h (struct xid_command): Add error member.
42509         * nptl/tst-setuid3.c: New file.
42510         * nptl/Makefile (tests): Add it.
42512 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42514         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
42515         New define.
42516         (__lll_trylock): Use __lll_base_trylock.
42517         (__lll_cond_trylock): Likewise.
42519 2014-07-10  Roland McGrath  <roland@hack.frob.com>
42521         * nptl/pthread_create.c (start_thread): Use atomic_or and
42522         lll_futex_wake directly rather than lll_robust_dead.
42523         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
42524         (lll_robust_dead): Macro removed.
42525         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
42526         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
42527         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
42528         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42529         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42530         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
42531         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
42532         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42533         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
42534         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42535         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42536         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42537         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42538         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42539         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42541         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
42542         Use atomic_compare_and_exchange_val_acq directly rather than
42543         lll_robust_trylock.
42544         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
42545         (__lll_robust_trylock, lll_robust_trylock): Removed.
42546         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
42547         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
42548         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42549         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42550         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
42551         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
42552         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42553         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
42554         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42555         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42556         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42557         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42558         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42559         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42561 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42563         * manual/locale.texi (Locale Names): New section documenting
42564         locale name syntax.  Adjust menu and node chaining accordingly.
42565         (Choosing Locale): Reference Locale Names, Locale Categories.
42566         Mention setting LC_ALL=C.  Reflect that name syntax is now
42567         documented.
42568         (Locale Categories): New section title.  Reference Locale Names.
42569         LC_ALL is an environment variable, but not a category.
42570         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
42571         description, now in Locale Name.  Reference that section.  Locale
42572         name syntax is now documented.
42574 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42576         [BZ #17137]
42577         * locale/findlocale.c (name_present, valid_locale_name): New
42578         functions.
42579         (_nl_find_locale): Use the loc_name variable to store name
42580         candidates.  Call name_present and valid_locale_name to check and
42581         validate locale names.  Return an error if the locale is invalid.
42583 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42585         * locale/setlocale.c (setlocale): Use strdup for allocating
42586         composite name copy.
42588 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42590         Sync up with gnulib.
42591         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
42592         [!_LIBC && ENABLE_NLS]: Include gettext.h.
42593         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
42594         and _GL_ARG_NONNULL.
42595         [USE_UNLOCKED_IO]: Include unlocked-io.h.
42596         [!_LIBC]: Include code for Windows and Cygwin.
42597         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
42598         Include prototype for int strerror_r.
42599         [!_LIBC] (is_open): New function.
42600         (flush_stdout): New function.
42601         (print_errno_message): Use it.
42602         (error): Likewise.
42603         (error_at_line): Likewise.
42604         (error_tail) Add function attribute macros.  Use
42605         __builtin_expect.
42607         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
42609         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
42611         * io/ftw.c: Include sys/param.h unconditionally.
42613         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
42615         [BZ #17125]
42616         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
42617         libc_freeres_ptr.
42618         (freecache): New function to free CACHE on exit.
42620         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
42621         initialization.
42623 2014-07-09  David S. Miller  <davem@davemloft.net>
42625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42627         * sysdeps/sparc/nptl/internaltypes.h: Delete.
42628         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
42629         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
42630         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
42631         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
42632         * sysdeps/sparc/nptl/sem_init.c: Likewise.
42633         * sysdeps/sparc/nptl/sem_post.c: Likewise.
42634         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
42635         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
42636         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
42637         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
42638         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
42639         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
42641 2014-07-09  Andreas Schwab  <schwab@suse.de>
42643         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
42644         output.
42645         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
42646         (do_test): Likewise.
42648         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42650 2014-07-09  Will Newton  <will.newton@linaro.org>
42652         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
42653         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
42654         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
42655         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
42656         * sysdeps/hppa/start.S (_start): Likewise.
42658 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42660         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
42662         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
42663         defined.
42665 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42667         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
42668         after checking that it is non-NULL.
42670         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
42672 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42674         * sysdeps/powerpc/memmove.c: Remove file.
42675         * sysdeps/powerpc/powerpc32/power4/memcopy.h
42676         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
42677         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
42678         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
42679         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
42680         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
42681         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
42682         string memmove instead of removed powerpc one.
42684         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42685         [weak_alias]: Fix compiler warning due trailing data.
42686         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
42687         [weak_alias]: Likewise.
42688         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
42689         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
42691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42692         (__libc_ifunc_impl_list): Add memmove functions.
42694 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42696         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
42697         Remove code.
42698         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
42699         Likewise.
42700         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
42701         Likewise.
42702         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
42703         Likewise.
42704         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
42705         Likewise.
42706         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
42707         Likewise.
42708         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
42709         Likewise.
42710         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
42711         Likewise.
42712         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
42713         Likewise.
42714         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
42715         Likewise.
42716         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
42717         Likewise.
42718         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
42719         Likewise.
42720         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
42721         Likewise.
42722         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
42723         Likewise.
42724         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
42725         Likewise.
42726         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
42727         Likewise.
42728         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
42729         Likewise.
42731 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42733         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
42734         to avoid alignment traps in non-cacheable memory.
42735         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42737         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
42738         multiarch objects.
42739         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
42740         file: multiarch power7 memmove.
42741         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
42742         multiarch default memmove.
42743         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
42744         multiarch memove for powerpc32/power4.
42746         * string/bcopy.c: Use full path to include memmove.c.
42747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
42748         multiarch objects.
42749         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
42750         bcopy for powerpc64.
42751         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
42752         bcopy for powerpc64.
42753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
42754         and memmove implementations.
42755         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
42756         optimized multiarch memmove for POWER7/powerpc64.
42757         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
42758         default multiarch memmove for powerpc64.
42759         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
42760         multiarch for powerpc64.
42761         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
42762         for POWER7/powerpc64.
42763         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
42764         memmove for POWER7/powerpc64.
42766         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
42767         glibc default one.
42769         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
42770         __ELF_NATIVE_CLASS equal to 64.
42772 2014-07-07  Roland McGrath  <roland@hack.frob.com>
42774         * sysdeps/nptl/lowlevellock.h: File removed.
42776         * NEWS: NPTL is no longer an add-on!
42777         * nptl/internaltypes.h: Moved ...
42778         * sysdeps/nptl/internaltypes.h: ... here.
42779         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
42780         * sysdeps/nptl/fork.c: Likewise.
42781         * sysdeps/nptl/gai_misc.h: Likewise.
42782         * sysdeps/nptl/librt-cancellation.c: Likewise.
42783         * sysdeps/nptl/jmp-unwind.c: Likewise.
42784         * sysdeps/nptl/setxid.h: Likewise.
42785         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
42786         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
42787         * sysdeps/unix/sysv/linux/arm/Implies: New file.
42788         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
42789         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
42790         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
42791         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
42792         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
42793         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
42794         * sysdeps/unix/sysv/linux/mips/Implies: New file.
42795         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
42796         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
42797         * sysdeps/unix/sysv/linux/sh/Implies: New file.
42798         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
42799         * sysdeps/unix/sysv/linux/tile/Implies: New file.
42800         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
42801         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
42802         * nptl/Makeconfig: Moved ...
42803         * sysdeps/nptl/Makeconfig: ... here.
42804         * nptl/configure: File removed.
42805         * nptl/ANNOUNCE: File removed.
42806         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
42807         * sysdeps/unix/sysv/linux/configure: Regenerated.
42809         * nptl/Makefile (routines): Add libc_pthread_init,
42810         libc_multiple_threads, register-atfork and unregister-atfork.
42811         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
42812         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
42813         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
42814         pthread-pi-defines.sym, structsem.sym.
42815         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
42816         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
42817         [$(subdir) = nptl] (tests): Add tst-setgetname.
42818         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
42819         * sysdeps/unix/sysv/linux/sigaction.c: Just include
42820         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
42821         [!LIBC_SIGACTION]: Remove aliases.
42822         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42823         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42824         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42825         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
42826         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42827         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
42828         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42829         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42830         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42831         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
42832         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
42833         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
42834         __libc_allocate_rtsig_private.
42835         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
42836         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
42837         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
42838         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
42839         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
42840         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
42841         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
42842         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
42843         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
42844         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
42845         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
42846         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
42847         * nptl/internaltypes.h: ... here.
42848         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
42849         * sysdeps/nptl/jmp-unwind.c: ... here.
42850         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
42851         * nptl/libc-lowlevellock.c: ... here.
42852         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
42853         * nptl/libc_multiple_threads.c: ... here.
42854         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
42855         * nptl/libc_pthread_init.c: ... here.
42856         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
42857         * nptl/lowlevelbarrier.sym: ... here.
42858         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
42859         * nptl/lowlevelcond.sym: ... here.
42860         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
42861         * nptl/lowlevellock.c: ... here.
42862         * nptl/lowlevellock.h: Moved ...
42863         * sysdeps/nptl/lowlevellock.h: ... here.
42864         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
42865         * nptl/lowlevelrobustlock.c: ... here.
42866         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
42867         * nptl/lowlevelrobustlock.sym: ... here.
42868         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
42869         * nptl/lowlevelrwlock.sym: ... here.
42870         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
42871         * nptl/pt-fork.c: ... here.
42872         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
42873         * nptl/pthread-pi-defines.sym: ... here.
42874         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
42875         * nptl/pthread_attr_getaffinity.c: ... here.
42876         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
42877         * nptl/pthread_attr_setaffinity.c: ... here.
42878         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
42879         * nptl/pthread_mutex_cond_lock.c: ... here.
42880         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42881         Update #include.
42882         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
42883         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
42884         * nptl/pthread_once.c: ... here, replacing old file.
42885         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
42886         * nptl/pthread_yield.c: ... here.
42887         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
42888         * nptl/register-atfork.c: ... here.
42889         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
42890         * nptl/sem_post.c: ... here.
42891         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
42892         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
42893         * nptl/sem_timedwait.c: ... here.
42894         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
42895         * nptl/sem_trywait.c: ... here.
42896         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
42897         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
42898         * nptl/sem_wait.c: ... here.
42899         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
42900         * nptl/structsem.sym: ... here.
42901         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
42902         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
42903         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
42904         * nptl/unregister-atfork.c: ... here.
42905         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
42906         * nptl/unwindbuf.sym: ... here.
42907         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
42908         * sysdeps/nptl/fork.c: ... here.
42909         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
42910         * sysdeps/nptl/fork.h: ... here.
42911         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
42912         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
42913         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
42914         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
42915         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
42916         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
42917         * sysdeps/unix/sysv/linux/getpid.c: ... here.
42918         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
42919         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
42920         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
42921         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
42922         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
42923         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
42924         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
42925         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
42926         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
42927         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
42928         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
42929         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
42930         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
42931         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
42932         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
42933         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
42934         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
42935         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
42936         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
42937         * sysdeps/unix/sysv/linux/raise.c: ... here.
42938         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
42939         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
42940         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
42941         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
42942         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
42943         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
42944         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
42945         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
42946         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
42947         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
42948         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
42949         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
42950         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
42951         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
42952         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
42954 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42956         * sysdeps/generic/memcopy.h: Add comment for
42957         MEMCPY_OK_FOR_FWD_MEMMOVE.
42959 2014-07-04  Will Newton  <will.newton@linaro.org>
42961         * string/memchr.c: Merge from gnulib.
42962         [_LIBC]: Remove conditionals.
42963         (__ptr_t): Remove define.
42964         (LONG_MAX_32_BITS): Likewise.
42965         (LONG_MAX): Likewise.
42966         (MEMCHR): Use ANSI prototype and optimize algorithm.
42968         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
42970 2014-07-03  Roland McGrath  <roland@hack.frob.com>
42972         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
42973         (lll_futex_timed_wait_bitset): Fix syscall argument count.
42975         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
42976         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
42977         in a bare environment with no <stdlib.h> installed.
42978         * sysdeps/nptl/configure: Regenerated.
42980         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
42982         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
42983         AC_EGREP_CPP for kernel header checks, so they only succeed if
42984         including <linux/version.h> actually works right.
42985         * sysdeps/unix/sysv/linux/configure: Regenerated.
42987         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
42988         value so it's not diagnosed as unused.
42990         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
42991         thing) with "ifeq ($(subdir),rt)".
42993 2014-07-03  Richard Henderson  <rth@redhat.com>
42995         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
42996         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
42997         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
42999         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
43000         (math_force_eval): New.
43002         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
43003         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
43005         * sysdeps/alpha/fpu/s_round.c: Remove file.
43006         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
43008         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
43009         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
43010         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
43011         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
43012         (_dl_start, print_statistics): Likewise.
43013         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
43014         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
43016         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43017         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43018         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43019         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43020         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43021         (HP_SMALL_TIMING_AVAIL): Define.
43022         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43023         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43024         (HP_SMALL_TIMING_AVAIL): Define.
43025         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43026         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43028         * sysdeps/aarch64/hp-timing.h: New file.
43030         * sysdeps/generic/hp-timing.h: Remove dead comment.
43031         * sysdeps/generic/hp-timing-common.h: New file.
43032         * sysdeps/alpha/hp-timing.h: Include it.
43033         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
43034         * sysdeps/i386/i686/hp-timing.h: Likewise.
43035         * sysdeps/ia64/hp-timing.h: Likewise.
43036         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43037         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43038         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43039         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43040         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
43041         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
43042         (hp_timing_t): New.
43044         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
43045         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
43046         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
43047         * elf/rtld.c (_dl_start_final): Likewise.
43048         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
43049         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43050         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43051         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43052         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43053         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43054         (HP_TIMING_DIFF_INIT): Remove.
43055         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43056         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43057         (HP_TIMING_DIFF_INIT): Remove.
43058         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43059         * sysdeps/i386/i686/hp-timing.c: Remove file.
43060         * sysdeps/x86_64/hp-timing.c: Remove file.
43061         * sysdeps/ia64/hp-timing.c: Remove file.
43062         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
43063         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
43064         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
43065         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
43067         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
43068         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
43069         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
43070         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43071         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43072         (HP_TIMING_ACCUM): Remove.
43073         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43074         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
43075         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43077         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
43078         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
43079         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
43080         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
43081         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
43082         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43083         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
43084         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43086         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
43088 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
43090         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
43092 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43094         Sync up with gettext.
43095         * intl/loadmsgcat.c: Define O_BINARY if not defined.
43096         [_MSC_VER]: Include malloc.h
43097         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
43098         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
43099         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
43100         TEMP_FAILURE_RETRY.  Cast return of alloca.
43101         [!_LIBC] Call gl_rwlock_init.
43102         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
43104 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43106         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
43107         before checking its value.
43109 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43111         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
43113         * debug/memcpy_chk.c: Don't include pagecopy.h.
43114         * debug/mempcpy_chk.c: Likewise.
43115         * string/memcpy.c: Likewise.
43116         * string/memmove.c: Likewise.
43117         * sysdeps/powerpc/memmove.c: Likewise.
43118         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
43119         definition of PAGE_COPY_FWD_MAYBE here...
43120         * sysdeps/generic/pagecopy.h: ... from here.
43121         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
43123 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43124             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43126         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
43127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
43128         optimizations.
43129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43130         (__libc_ifunc_impl_list): Likewise.
43131         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
43132         multiarch strcat for PPC64.
43133         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
43134         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
43136 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43138         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
43140 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43142         * intl/loadmsgcat.c: Remove declaration of
43143         get_sysdep_segment_value.
43144         (get_sysdep_segment_value): Use ISO C style.
43145         (_nl_load_domain): Use ISO C style.  Get rid of redundant
43146         semicolon.  Fix typo and formatting in comment.
43147         (_nl_unload_domain): Use ISO C style.
43149         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
43151 2014-07-02  Will Newton  <will.newton@linaro.org>
43153         * malloc/obstack.c: Merge from gnulib master.
43154         [HAVE_CONFIG_H]: Remove conditional code.
43155         [!_LIBC]: Include config.h.
43156         [!ELIDE_CODE]: Don't include inttypes.h, include
43157         stdint.h unconditionally.
43158         (print_and_abort): Mark as _Noreturn.
43159         (_obstack_allocated_p): Mark as __attribute_pure__.
43160         (obstack_free): Rename to __obstack_free.
43161         [!__attribute__]: Remove conditional code.
43162         * malloc/obstack.h: Merge from gnulib master.
43163         [__cplusplus]: Move conditional down.
43164         [!__attribute_pure__]: Define __attribute_pure__ here
43165         if it is not already defined.
43166         (_obstack_memory_used): Mark as __attribute_pure__.
43167         [!__obstack_free]: Define as obstack_free.
43168         [__GNUC__]: Remove check for ancient NeXT gcc.
43170 2014-07-02  Will Newton  <will.newton@linaro.org>
43171             Paul Eggert  <eggert@cs.ucla.edu>
43173         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
43175 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43177         * resolv/gethnamaddr.c: Add comment warning that the file is
43178         not maintained.
43180 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
43182         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
43183         entries.
43185         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
43186         entry for aio_cancel and aio_cancel64.
43187         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
43188         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
43189         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
43190         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
43191         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
43192         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
43193         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
43194         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
43195         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
43196         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
43197         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
43198         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
43199         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
43201 2014-07-01  Roland McGrath  <roland@hack.frob.com>
43203         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
43204         * nptl/pthread_mutex_lock.c: Likewise.
43205         * nptl/pthread_mutex_timedlock.c: Likewise.
43206         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
43208 2014-07-01  Richard henderson  <rth@redhat.com>
43210         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
43211         (__isnan, __isnanl): Remove.
43212         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
43214         * sysdeps/alpha/fpu/libm-test-ulps: Update.
43216 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43218         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43220 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43222         * resolv/nss_dns/dns-host.c (getanswer_r)
43223         [MULTI_PTRS_ARE_ALIASES]: Remove code.
43225 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
43227         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43228         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
43229         undefine.
43230         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
43231         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
43233 2014-07-01  Roland McGrath <roland@hack.frob.com>
43235         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
43236         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
43238         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
43239         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
43241         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
43242         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
43243         ... here.
43244         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
43245         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
43247         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
43248         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
43249         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
43250         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
43252         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
43253         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
43254         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
43255         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
43256         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
43257         Moved ...
43258         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
43259         ... here.
43260         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
43261         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
43262         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
43263         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
43264         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
43265         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
43266         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
43267         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
43268         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
43269         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
43270         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
43271         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
43272         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
43273         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
43274         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
43275         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
43276         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
43277         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
43278         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
43279         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
43280         ... here.
43281         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
43282         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
43283         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
43284         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
43285         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
43286         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
43287         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
43288         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
43290 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
43292         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
43293         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
43294         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
43295         Add sysdep.
43297 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43301 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43303         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
43304         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43306         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43308         * sysdeps/arm/libm-test-ulps: Regenerated.
43310 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43311             Roland McGrath <roland@hack.frob.com>
43313         * test-skeleton.c (signal_handler): Kill the whole process group
43314         before killing the child individually.
43315         (main): Report any failure on `setpgid'.
43317 2014-06-30  Roland McGrath  <roland@hack.frob.com>
43319         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
43320         from _TLS_H to _ARM_NPTL_TLS_H.
43321         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
43322         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
43324 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43326         [BZ #16539]
43327         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
43328         (__expm1l): Return argument unchanged when small but not
43329         subnormal.
43331         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
43332         include macro name.
43333         (_FP_UNPACK_RAW_1_P): Likewise.
43334         (_FP_PACK_RAW_1): Likewise.
43335         (_FP_PACK_RAW_1_P): Likewise.
43336         (_FP_MUL_MEAT_1_wide): Likewise.
43337         (_FP_MUL_MEAT_DW_1_hard): Likewise.
43338         (_FP_MUL_MEAT_1_hard): Likewise.
43339         (_FP_DIV_MEAT_1_imm): Likewise.
43340         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
43341         (_FP_DIV_MEAT_1_udiv): Likewise.
43342         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
43343         (_FP_UNPACK_RAW_2): Likewise.
43344         (_FP_UNPACK_RAW_2_P): Likewise.
43345         (_FP_PACK_RAW_2): Likewise.
43346         (_FP_PACK_RAW_2_P): Likewise.
43347         (_FP_MUL_MEAT_DW_2_wide): Likewise.
43348         (_FP_MUL_MEAT_2_wide): Likewise.
43349         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
43350         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43351         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
43352         (_FP_MUL_MEAT_2_gmp): Likewise.
43353         (_FP_DIV_MEAT_2_udiv): Likewise.
43354         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
43355         (_FP_FRAC_SRL_4): Likewise.
43356         (_FP_FRAC_SRST_4): Likewise.
43357         (_FP_FRAC_SRS_4): Likewise.
43358         (_FP_UNPACK_RAW_4): Likewise.
43359         (_FP_UNPACK_RAW_4_P): Likewise.
43360         (_FP_PACK_RAW_4): Likewise.
43361         (_FP_PACK_RAW_4_P): Likewise.
43362         (_FP_MUL_MEAT_DW_4_wide): Likewise.
43363         (_FP_MUL_MEAT_4_wide): Likewise.
43364         (_FP_MUL_MEAT_4_gmp): Likewise.
43365         (umul_ppppmnnn): Likewise.
43366         (_FP_DIV_MEAT_4_udiv): Likewise.
43367         (__FP_FRAC_ADD_4): Likewise.
43368         (__FP_FRAC_SUB_3): Likewise.
43369         (__FP_FRAC_SUB_4): Likewise.
43370         (__FP_FRAC_DEC_3): Likewise.
43371         (__FP_FRAC_DEC_4): Likewise.
43372         (__FP_FRAC_ADDI_4): Likewise.
43373         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
43374         (_FP_FRAC_SRL_8): Likewise.
43375         (_FP_FRAC_SRS_8): Likewise.
43377         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
43378         include macro name.
43379         (FP_UNPACK_RAW_EP): Likewise.
43380         (FP_PACK_RAW_E): Likewise.
43381         (FP_PACK_RAW_EP): Likewise.
43382         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
43383         (_FP_ISSIGNAN): Likewise.
43384         (_FP_ADD_INTERNAL): Likewise.
43385         (_FP_FMA): Likewise.
43386         (_FP_CMP): Likewise.
43387         (_FP_SQRT): Likewise.
43388         (_FP_TO_INT): Likewise.
43389         (_FP_FROM_INT): Likewise.
43390         (FP_EXTEND): Likewise.
43391         (_FP_DIV_MEAT_N_loop): Likewise.
43393 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43395         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
43396         throughout.
43398 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
43400         [BZ #17097]
43401         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
43402         result with correct sign in case of exponents that produce
43403         overflow except for X very close to 1.
43405 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
43407         mktime: merge #if/#ifdef usage from glibc
43408         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
43409         as that works with both Glibc's and Gnulib's style.
43410         See thread starting at Siddhesh Poyarekar's bug report at:
43411         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
43413 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43415         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
43416         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
43417         * sysdeps/tile/tilegx/memmove.c: Remove file.
43419 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
43421         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
43422         abi-name definition.
43423         * scripts/soversions.awk: Do not handle or generate ABI lines.
43424         * shlib-versions: Remove ABI entries.
43425         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
43426         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
43428 2014-06-27  Roland McGrath  <roland@hack.frob.com>
43430         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
43431         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
43432         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
43433         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
43434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
43435         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
43436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
43437         Moved ...
43438         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
43439         ... here.
43440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
43441         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
43442         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
43443         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
43444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
43445         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
43446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
43447         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
43448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
43449         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
43450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
43451         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
43452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
43453         Moved ...
43454         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
43455         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
43456         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
43457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
43458         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
43459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
43460         Moved ...
43461         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
43462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
43463         Moved ...
43464         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
43465         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
43466         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
43467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
43468         Moved ...
43469         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
43470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
43471         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
43472         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
43473         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
43474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
43475         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
43476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
43477         Moved ...
43478         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
43479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
43480         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
43481         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
43482         Moved ...
43483         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
43484         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
43485         Moved ...
43486         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
43487         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
43488         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
43489         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
43490         Moved ...
43491         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
43492         ... here.
43493         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
43494         Identical file removed.
43495         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
43496         Moved ...
43497         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
43498         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
43499         Identical file removed.
43500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
43501         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
43502         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
43503         Moved ...
43504         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
43505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
43506         Identical file removed.
43507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
43508         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
43509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
43510         Identical file removed.
43511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
43512         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
43513         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
43514         Identical file removed.
43515         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
43516         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
43517         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
43518         Identical file removed.
43519         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
43520         Moved ...
43521         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
43522         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
43523         Identical file removed.
43524         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
43525         Moved ...
43526         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
43527         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
43528         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
43529         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
43530         Identical file removed.
43531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
43532         Moved ...
43533         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
43534         ... here.
43535         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
43536         Identical file removed.
43537         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
43538         Moved ...
43539         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
43540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
43541         Identical file removed.
43542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
43543         Moved ...
43544         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
43545         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
43546         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
43547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
43548         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
43549         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
43550         Moved ...
43551         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
43552         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
43553         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
43555         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
43556         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
43557         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
43558         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
43559         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
43561 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
43563         [BZ #17092]
43564         * nscd/nscd.c (monitor_child): Return exit status of child
43565         instead of return value from wait syscall.
43567 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
43569         * configure.ac (libc_commonpagesize): Remove variable.
43570         (libc_relro_required): Likewise.
43571         (libc_cv_z_relro): Remove configure test.
43572         * configure: Regenerated.
43573         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
43574         variable.
43575         (libc_relro_required): Likewise.
43576         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
43577         (libc_relro_required): Likewise.
43578         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
43579         (libc_relro_required): Likewise.
43580         * sysdeps/arm/preconfigure: Regenerated.
43581         * sysdeps/ia64/preconfigure: Remove file.
43582         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
43583         variable.
43584         (libc_relro_required): Likewise.
43586         [BZ #16561]
43587         [BZ #16562]
43588         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
43589         (__ieee754_yn): Set FE_TONEAREST mode internally and then
43590         recompute overflowing results in original rounding mode.
43591         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
43592         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
43593         recompute overflowing results in original rounding mode.
43594         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
43595         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43596         recompute overflowing results in original rounding mode.
43597         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
43598         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43599         recompute overflowing results in original rounding mode.
43600         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
43601         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43602         recompute overflowing results in original rounding mode.
43603         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
43604         (libc_feholdsetround_ctx): New macro.
43605         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
43606         * sysdeps/i386/fpu/libm-test-ulps: Update.
43607         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
43609 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43611         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
43612         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
43613         corresponding .cpsetup call.
43615 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43617         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
43618         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
43619         * sysdeps/arm/Makefile [$(subdir) = csu]
43620         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
43621         (static-only-routines): Add aeabi_read_tp here.
43622         (shared-only-routines): Add libc-aeabi_read_tp here.
43623         (CFLAGS-libc-start.c): Add -fexceptions here.
43624         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
43625         (sysdep_routines, static-only-routines, shared-only-routines):
43626         Don't add to these here.
43627         (CFLAGS-libc-start.c): Likewise.
43629         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
43630         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43631         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
43632         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43633         * sysdeps/arm/Makefile [$(subdir) = rt]
43634         (librt-sysdep_routines, librt-shared-only-routines):
43635         Append rt-aeabi_unwind_cpp_pr1 here.
43636         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
43637         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
43638         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
43639         (libpthread-sysdep_routines, libpthread-shared-only-routines):
43640         Append nptl-aeabi_unwind_cpp_pr1 here.
43641         (tests): Filter out tst-cleanupx4 here.
43642         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
43643         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
43644         Don't do those here.
43646 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43648         * scripts/list-sources.sh: Do not handle ports specially.
43650 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43652         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
43653         * sysdeps/arm/feupdateenv.c: Likewise.
43655         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
43657 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43659         * manual/texinfo.tex: Update to version 2014-05-05.10 with
43660         trailing whitespace removed.
43661         * scripts/config.guess: Update to version 2014-03-23.
43662         * scripts/config.sub: Update to version 2014-05-01
43663         * scripts/install-sh: Update to version 2013-12-25.23.
43664         * scripts/move-if-change: Update from gnulib.
43666 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43668         * debug/memmove_chk.c: Remove pagecopy.h include.
43670 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
43672         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
43673         identical to gnulib mktime.
43675 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43677         * configure.ac: Do not test for machine being rs6000.  Do not test
43678         for powerpc*-*soft.
43679         * configure: Regenerated.
43681         [BZ #11505]
43682         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
43683         test.
43684         * configure: Regenerated.
43685         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
43686         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
43687         Remove configure test.
43688         * sysdeps/arm/configure: Regenerated.
43689         * sysdeps/nptl/configure.ac: Do not check
43690         libc_cv_asm_cfi_directives.
43691         * sysdeps/nptl/configure: Regenerated.
43692         * sysdeps/x86_64/nptl/configure.ac: Remove file.
43693         * sysdeps/x86_64/nptl/configure: Remove generated file.
43694         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
43695         unconditional.
43696         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
43698 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43700         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
43701         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
43702         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
43703         it is defined.
43705         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
43706         instead of whether it is defined.
43707         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
43708         * sysdeps/hppa/dl-machine.h: Likewise.
43709         * sysdeps/ia64/dl-machine.h: Likewise.
43710         * sysdeps/m68k/dl-machine.h: Likewise.
43711         * sysdeps/microblaze/dl-machine.h: Likewise.
43712         * sysdeps/mips/dl-machine.: Likewise.
43713         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43714         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43715         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43716         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43717         * sysdeps/sh/dl-machine.h: Likewise.
43718         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43719         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43720         * sysdeps/tile/dl-machine.h: Likewise.
43721         * sysdeps/x86_64/dl-machine.h: Likewise.
43723         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
43724         code.
43725         (verify_persistent_db): Likewise.
43727 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
43730         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
43731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
43732         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
43733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43734         Moved ...
43735         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
43736         ... here.
43737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
43738         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
43739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
43740         Identical file removed.
43741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
43742         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
43743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
43744         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
43745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
43746         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
43747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
43748         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
43749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
43750         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
43751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43752         Moved ...
43753         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
43754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
43755         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
43756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
43757         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
43758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43759         Moved ...
43760         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
43761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
43762         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
43763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
43764         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
43765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43766         Identical file removed.
43767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
43768         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
43769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
43770         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
43771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43772         Moved ...
43773         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
43774         ... here.
43775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
43776         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
43777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
43778         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
43779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
43780         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
43781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
43782         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
43783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
43784         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
43785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43786         Moved ...
43787         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
43788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
43789         Moved ...
43790         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
43791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
43792         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
43793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43794         Moved ...
43795         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
43796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
43797         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
43799         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
43800         folded into ...
43801         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
43802         * sysdeps/unix/sysv/linux/s390/Versions
43803         (libpthread: GLIBC_2.19): New version set.
43804         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
43805         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
43806         (librt: GLIBC_2.3.3): New version set.
43807         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
43808         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
43809         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
43810         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
43811         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
43812         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
43813         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
43814         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
43815         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
43816         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
43817         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
43818         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
43819         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
43820         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
43821         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
43822         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
43823         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
43824         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
43825         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
43826         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
43827         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
43828         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
43829         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
43830         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
43831         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
43832         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
43833         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
43834         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
43835         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
43836         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
43837         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
43838         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
43839         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
43840         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
43841         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
43842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
43843         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
43844         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
43845         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
43846         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
43847         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
43848         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
43849         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
43850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
43851         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
43853         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
43854         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
43855         (__libc_vfork): Define the function under this name.
43856         [!NOT_IN_libc] (__vfork): Make this an alias.
43857         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43858         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
43859         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
43860         (__libc_vfork): Define the function under this name.
43861         [!NOT_IN_libc] (__vfork): Make this an alias.
43862         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43863         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
43864         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
43865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
43866         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
43867         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43869         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
43870         code that was previously under [RESET_PID].
43871         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
43872         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
43873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
43875         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
43876         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
43877         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
43878         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
43879         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
43880         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
43881         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
43882         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
43883         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
43884         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
43885         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
43886         Moved ...
43887         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
43888         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
43889         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
43890         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
43891         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
43892         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43893         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
43894         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
43895         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
43896         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
43897         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
43898         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
43899         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
43900         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
43901         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
43902         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
43903         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
43904         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
43905         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
43906         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
43907         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
43908         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
43909         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
43910         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
43911         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
43912         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
43913         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
43914         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
43915         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
43917 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43919         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
43920         that was previously under [RESET_PID].
43921         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
43923 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43925         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
43926         not undefine and redefine.
43927         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
43928         [O_CLOEXEC]: Make code unconditional.
43929         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
43930         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
43931         <kernel-features.h>.
43932         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
43933         conditional variable definition.
43934         (shm_open) [O_CLOEXEC]: Make code unconditional.
43935         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
43936         code.
43938         * configure.ac (USE_REGPARMS): Don't define here.
43939         * configure: Regenerated.
43940         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
43941         * sysdeps/i386/configure: Regenerated.
43943         * nptl/createthread.c: Don't include kernel-features.h.
43944         * nptl/pthread_cancel.c: Likewise.
43945         * nptl/pthread_condattr_setclock.c: Likewise.
43946         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
43947         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
43948         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
43949         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
43950         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
43951         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
43952         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
43954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43955         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
43956         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
43957         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
43958         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
43959         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
43960         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
43961         * nscd/gai.c: Likewise.
43962         * nss/nss_db/db-open.c: Likewise.
43963         * sysdeps/generic/ldsodefs.h: Likewise.
43964         * sysdeps/sh/nptl/tls.h: Likewise.
43965         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43966         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
43967         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
43968         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
43969         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
43970         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43971         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
43972         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43973         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43974         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
43975         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
43976         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43977         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
43978         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
43979         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
43980         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
43981         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
43982         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
43983         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
43984         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
43985         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
43986         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
43987         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
43988         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
43989         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
43990         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
43991         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
43992         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
43993         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43994         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
43995         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
43996         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
43997         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
43998         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43999         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44000         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44001         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44002         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
44003         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
44004         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
44005         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44006         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
44007         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
44008         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44009         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
44010         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
44011         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
44012         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
44013         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
44014         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
44015         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
44016         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
44017         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
44018         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44019         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
44020         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44021         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44022         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
44023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
44025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
44026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
44027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
44028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
44029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
44030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
44031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
44034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
44035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
44036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
44037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
44043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
44044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
44045         * sysdeps/unix/sysv/linux/pread.c: Likewise.
44046         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
44047         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
44048         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
44049         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
44050         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
44051         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
44052         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
44053         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
44054         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
44055         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
44056         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
44057         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
44058         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
44059         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
44060         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
44061         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44062         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
44063         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
44064         * sysdeps/unix/sysv/linux/system.c: Likewise.
44065         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
44066         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
44067         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44068         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44069         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44070         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44071         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
44073         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
44074         * configure: Regenerated.
44075         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
44077         * configure.ac (base_machine): Do not set specially for particular
44078         machines here.
44079         * configure: Regenerated.
44080         * sysdeps/powerpc/preconfigure: Move machine and base_machine
44081         settings from configure.ac.
44082         * sysdeps/i386/preconfigure: New file.
44083         * sysdeps/s390/preconfigure: Likewise.
44084         * sysdeps/sh/preconfigure: Likewise.
44085         * sysdeps/sparc/preconfigure: Likewise.
44087 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44089         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
44090         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
44091         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
44092         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
44093         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
44094         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
44095         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
44096         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
44097         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
44098         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
44099         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
44100         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
44101         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
44102         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
44103         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
44104         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
44105         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
44106         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
44107         * sysdeps/sparc/sparc64/Makefile: ... appended here.
44109         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
44110         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
44111         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
44112         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
44113         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
44114         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
44115         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
44116         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
44117         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
44118         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
44119         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
44120         * sysdeps/sparc/sparc32/sem_post.c: ... here.
44121         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
44122         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
44123         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
44124         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
44125         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
44126         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
44127         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
44128         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
44129         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
44130         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
44131         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
44132         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
44133         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
44134         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
44135         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
44136         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
44137         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
44138         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
44139         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
44140         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
44141         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
44142         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
44143         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
44144         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
44145         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
44146         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
44148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
44149         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
44150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
44151         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
44152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44153         Moved ...
44154         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
44155         ... here.
44156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
44157         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
44158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
44159         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
44160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
44161         Moved ...
44162         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
44163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
44164         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
44165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
44166         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
44167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
44168         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
44169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44170         Moved ...
44171         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
44172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44173         Moved ...
44174         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
44175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
44176         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
44177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44178         Moved ...
44179         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
44180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
44181         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
44182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
44183         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
44184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
44185         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
44186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
44187         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
44188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44189         Moved ...
44190         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
44191         ... here.
44192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
44193         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
44194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
44195         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
44196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
44197         Moved ...
44198         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
44199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
44200         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
44201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
44202         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
44203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
44204         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
44205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44206         Moved ...
44207         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
44208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44209         Moved ...
44210         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
44211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
44212         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
44213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44214         Moved ...
44215         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
44216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
44217         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
44218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
44219         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
44221 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44223         * timezone/checktab.awk: Update from tzcode 2014e.
44224         * timezone/private.h: Likewise.
44225         * timezone/tzfile.h: Likewise.
44226         * timezone/zdump.c: Likewise.
44227         * timezone/zic.c: Likewise.
44229         * sysdeps/unix/sysv/linux/kernel-features.h
44230         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
44231         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
44232         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
44233         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44234         Remove conditional code.
44236 2014-06-25  Will Newton  <will.newton@linaro.org>
44238         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
44239         (_dl_arm_cap_flags): Add HWCAP2 values.
44240         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
44241         (_DL_HWCAP_COUNT): Increase to 37.
44242         (_DL_HWCAP_LAST): New define.
44243         (_DL_HWCAP2_LAST): New define.
44244         (_dl_procinfo): Add support for printing
44245         AT_HWCAP2 entries.
44246         (_dl_string_hwcap): Use _dl_hwcap_string.
44248 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44252 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44254         * README: Do not mention ports directory.
44256         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
44257         Remove macro.
44258         * sysdeps/unix/sysv/linux/futimes.c: Do not include
44259         <kernel-features.h>.
44260         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
44261         conditional variable definition.
44262         (__futimes): Update comment.
44263         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
44264         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
44266         [BZ #16560]
44267         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
44268         arguments close to 0.
44269         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
44270         Likewise.
44271         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
44272         Likewise.
44273         * math/auto-libm-test-in: Add more tests of exp10.
44274         * math/auto-libm-test-out: Regenerated.
44275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44277         * sysdeps/unix/sysv/linux/kernel-features.h
44278         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
44279         * sysdeps/unix/sysv/linux/readv.c: Do not include
44280         <kernel-features.h>.
44281         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44282         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44283         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44284         unconditional.
44285         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44286         conditional code.
44287         * sysdeps/unix/sysv/linux/writev.c: Do not include
44288         <kernel-features.h>.
44289         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44290         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44291         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44292         unconditional.
44293         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44294         conditional code.
44296 2014-06-25  Will Newton  <will.newton@linaro.org>
44298         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
44299         comment changes throughout the file.  Remove checks
44300         for HAVE_*_H definitions that are not required.
44301         (__gen_tempname): Call abort if an unknown kind value is
44302         passed.
44304 2014-06-25  Andreas Schwab  <schwab@suse.de>
44306         [BZ #17086]
44307         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
44308         scalbln, scalblnf, scalblnl in libc.
44310 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44312         [BZ #17086]
44313         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
44314         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44315         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44317 2014-06-24  Roland McGrath  <roland@hack.frob.com>
44319         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
44320         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
44321         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
44322         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
44323         Update #include.
44324         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
44325         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
44326         Update #include.
44327         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
44328         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
44329         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
44330         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
44331         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
44332         * sysdeps/x86/bits/pthreadtypes.h: ... here.
44333         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
44334         * sysdeps/x86/bits/semaphore.h: ... here.
44335         * sysdeps/x86/nptl/elide.h: Moved ...
44336         * sysdeps/x86/elide.h: ... here.
44337         * sysdeps/x86_64/nptl/Implies: File removed.
44338         * sysdeps/i386/nptl/Implies: File removed.
44340 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
44342         [BZ #16539]
44343         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
44344         return the argument for normal arguments with exponent below -64.
44345         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44346         Likewise.
44347         * math/auto-libm-test-in: Add another test of expm1.
44348         * math/auto-libm-test-out: Regenerated.
44350         [BZ #16287]
44351         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
44352         calling __erfcl for arguments at least 16.
44353         * math/auto-libm-test-in: Add more tests of erf.
44354         * math/auto-libm-test-out: Regenerated.
44356         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
44357         individual architectures.
44358         * sysdeps/unix/sysv/linux/configure: Regenerated.
44359         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
44360         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
44361         * sysdeps/unix/sysv/linux/powerpc/configure.ac
44362         (ldd_rewrite_script): Define variable.
44363         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
44365         file.
44366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
44367         generated file.
44368         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
44369         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
44370         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
44371         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
44372         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
44373         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
44374         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
44375         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
44377 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44379         [BZ #17084]
44380         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
44381         Rename member __data.d to __data.__elision_data.
44383 2014-06-24  Wilco  <wdijkstr@arm.com>
44385         * NEWS: Add 16918 to fixed bug list.
44387 2014-06-24  Wilco  <wdijkstr@arm.com>
44389         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
44391 2014-06-24  Wilco  <wdijkstr@arm.com>
44393         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
44394         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
44395         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
44396         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
44397         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
44398         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
44399         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
44400         Use _FPU_MASK_RM.
44402 2014-06-24  Wilco  <wdijkstr@arm.com>
44404         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
44406 2014-06-24  Wilco  <wdijkstr@arm.com>
44408         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
44409         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
44410         * sysdeps/arm/fesetround.c (fesetround): Remove space.
44411         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
44413 2014-06-24  Wilco  <wdijkstr@arm.com>
44415         [BZ #16918]
44416         * sysdeps/arm/feupdateenv.c (feupdateenv):
44417         Rewrite to reduce FPSCR accesses and fix return value.
44419 2014-06-24  Wilco  <wdijkstr@arm.com>
44421         * sysdeps/arm/fclrexcpt.c (feclearexcept):
44422         Optimize to avoid unnecessary FPSCR writes.
44423         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
44424         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
44425         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
44426         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
44428 2014-06-24  Wilco  <wdijkstr@arm.com>
44430         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
44431         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
44432         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
44433         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
44434         Call libc_fetestexcept_vfp.
44435         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
44436         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
44437         __SOFTFP__ ifdef so that they can be built for softfp.
44439 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44441         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
44442         argument type signed char.
44444         * Makerules (check-abi): Dump diff of symlist if the test
44445         fails.
44447 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44449         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
44450         using abort.
44452         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44453         Remove unused variable ST.
44455 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44457         [BZ #16354]
44458         [BZ #17061]
44459         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
44460         small arguments before calling __expm1.
44461         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
44462         small arguments before calling __expm1f.
44463         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
44464         small arguments before calling __expm1l.
44465         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44466         Likewise.
44467         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
44468         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
44469         spurious underflow for some cosh tests.
44470         * math/auto-libm-test-out: Regenerated.
44471         * sysdeps/i386/fpu/libm-test-ulps: Update.
44473         [BZ #17050]
44474         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
44475         (__ieee754_y1): Set errno if return value overflows.
44476         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
44477         (__ieee754_y1f): Set errno if return value overflows.
44478         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
44479         (__ieee754_y1l): Set errno if return value overflows.
44480         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
44481         (__ieee754_y1l): Set errno if return value overflows.
44482         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
44483         * math/auto-libm-test-out: Regenerated.
44485         * math/gen-auto-libm-tests.c: Document use of
44486         ignore-zero-inf-sign.
44487         (input_flag_type): Add value flag_ignore_zero_inf_sign.
44488         (input_flags): Add ignore-zero-inf-sign.
44489         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
44490         * math/gen-libm-test.pl (generate_testfile): Handle
44491         ignore-zero-inf-sign.
44492         * math/auto-libm-test-in: Mark some cpow tests with
44493         ignore-zero-inf-sign and some with xfail-rounding.
44494         * math/auto-libm-test-out: Regenerated.
44495         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
44496         * sysdeps/i386/fpu/libm-test-ulps: Update.
44497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44499         [BZ #16315]
44500         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
44501         overflowing or underflowing operations take place with sign of
44502         result.
44503         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44504         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44505         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
44506         (__ieee754_pow): Recompute overflowing and underflowing results in
44507         original rounding mode.
44508         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
44509         (__powl_helper): Allow negative argument X and scale negated value
44510         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
44511         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
44512         overflowing or underflowing operations take place with sign of
44513         result.
44514         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
44515         Include <math.h>.
44516         * math/auto-libm-test-in: Add more tests of pow.
44517         * math/auto-libm-test-out: Regenerated.
44518         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
44519         (pow_tonearest_test_data): Remove.
44520         (pow_test_tonearest): Likewise.
44521         (pow_towardzero_test_data): Likewise.
44522         (pow_test_towardzero): Likewise.
44523         (pow_downward_test_data): Likewise.
44524         (pow_test_downward): Likewise.
44525         (pow_upward_test_data): Likewise.
44526         (pow_test_upward): Likewise.
44527         (main): Don't call removed functions.
44528         * sysdeps/i386/fpu/libm-test-ulps: Update.
44529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44531 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
44534         Moved ...
44535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
44536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44537         Moved ...
44538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
44539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44540         Moved ...
44541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
44542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44543         Moved ...
44544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
44545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44546         File removed.
44547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44548         File removed.
44549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
44550         File removed.
44551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
44552         File removed.
44553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
44554         File removed.
44555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
44556         File removed.
44557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
44558         File removed.
44559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44560         File removed.
44561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
44562         File removed.
44563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44564         File removed.
44565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
44566         File removed.
44567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
44568         File removed.
44569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
44570         Moved ...
44571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
44572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
44573         Moved ...
44574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
44575         ... here.
44576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
44577         Moved ...
44578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
44580         Moved ...
44581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
44582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
44583         Moved ...
44584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
44585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
44586         Moved ...
44587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
44588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
44589         Moved ...
44590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
44591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
44592         Moved ...
44593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
44594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
44595         Moved ...
44596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
44597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
44598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
44599         ... here.
44600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
44601         Moved ...
44602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
44603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44604         Moved ...
44605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
44606         ... here.
44607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
44608         Moved ...
44609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
44610         ... here.
44611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44612         Moved ...
44613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44614         ... here.
44615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44616         Moved ...
44617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
44618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44619         Moved ...
44620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
44621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
44622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
44623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44624         Moved ...
44625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
44626         ... here.
44627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44628         Moved ...
44629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
44630         ... here.
44631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44632         Moved ...
44633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
44634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44635         Moved ...
44636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
44637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44638         Moved ...
44639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
44640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44641         Moved ...
44642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44644         Moved ...
44645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
44646         ... here.
44647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44648         Moved ...
44649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
44650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44651         Moved ...
44652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
44653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44654         Moved ...
44655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
44656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44657         Moved ...
44658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
44659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
44660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
44661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44662         Moved ...
44663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
44664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44665         Moved ...
44666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
44667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44668         Moved ...
44669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
44670         ... here.
44671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44672         Moved ...
44673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
44674         ... here.
44675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44676         Moved ...
44677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
44678         ... here.
44679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44680         Moved ...
44681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
44682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44683         Moved ...
44684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
44685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44686         Moved ...
44687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
44688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44689         Moved ...
44690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
44691         ... here.
44692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44693         Moved ...
44694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
44695         ... here.
44696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44697         Moved ...
44698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
44699         ... here.
44700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44701         Moved ...
44702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
44703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44704         Moved ...
44705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
44707 2014-06-23  Will Newton  <will.newton@linaro.org>
44708             Wilco  <wdijkstr@arm.com>
44710         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
44711         implementation.  Include get-rounding-mode.h.
44712         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
44713         [!libc_feholdsetround_noex_ctx]: Define
44714         libc_feholdsetround_noex_ctx.
44715         [!libc_feholdsetround_noexf_ctx]: Define
44716         libc_feholdsetround_noexf_ctx.
44717         [!libc_feholdsetround_noexl_ctx]: Define
44718         libc_feholdsetround_noexl_ctx.
44719         (libc_feholdsetround_ctx): New function.
44720         (libc_feresetround_ctx): New function.
44721         (libc_feholdsetround_noex_ctx): New function.
44722         (libc_feresetround_noex_ctx): New function.
44724 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44726         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
44727         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
44728         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
44729         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
44730         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
44731         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
44733         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
44734         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
44735         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
44736         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
44737         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
44738         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
44739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
44740         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
44741         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
44742         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
44743         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
44744         Moved ...
44745         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
44746         ... here.
44747         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
44748         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
44749         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
44750         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
44751         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
44752         Moved ...
44753         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
44754         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
44755         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
44756         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
44757         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
44758         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
44759         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
44760         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
44761         Moved ...
44762         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
44763         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
44764         Moved ...
44765         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
44766         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
44767         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
44768         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
44769         Moved ...
44770         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
44771         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
44772         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
44773         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
44774         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
44775         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
44776         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
44777         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
44778         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
44779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
44780         Moved ...
44781         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
44782         ... here.
44783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
44784         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
44785         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
44786         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
44787         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
44788         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
44789         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
44790         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
44791         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
44792         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
44793         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
44794         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
44795         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
44796         Moved ...
44797         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
44798         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
44799         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
44800         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
44801         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
44802         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
44803         Moved ...
44804         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
44805         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
44806         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
44807         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
44808         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
44810         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
44811         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
44812         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
44813         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
44814         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
44815         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
44816         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
44817         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
44818         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
44819         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
44820         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
44821         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
44822         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
44823         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
44824         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
44825         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
44826         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
44827         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
44828         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
44829         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
44830         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
44831         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
44832         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
44833         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
44834         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
44835         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
44836         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
44837         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
44839 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44841         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
44842         (FALLOC_FL_COLLAPSE_RANGE): New macro.
44843         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
44844         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
44845         (IPV6_PMTUDISC_INTERFACE): Likewise.
44846         (IPV6_PMTUDISC_OMIT): Likewise.
44848 2014-06-23  Andreas Schwab  <schwab@suse.de>
44850         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
44851         Remove unused errout label.
44853 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44855         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
44856         macro: hardware supports Vector Crypto instructions.
44858 2014-06-23  Will Newton  <will.newton@linaro.org>
44860         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
44861         rather than __builtin_expect.
44863         * elf/dl-lookup.c (undefined_msg): Remove variable.
44864         (_dl_lookup_symbol_x): Replace undefined_msg with string
44865         literal.
44867         * elf/dl-lookup.c (do_lookup_unique): New function.
44868         (do_lookup_x): Move STB_GNU_UNIQUE handling code
44869         to a separate function.
44871 2014-06-23  Andreas Schwab  <schwab@suse.de>
44873         [BZ #17079]
44874         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
44875         before reading the next line.
44877 2014-06-23  Will Newton  <will.newton@linaro.org>
44879         * test-skeleton.c (signal_handler): Use printf and %m
44880         rather than perror.  Use printf rather than fprintf to
44881         stderr.  Use puts rather than fputs to stderr.
44882         (main): Likewise.
44884 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
44886         * nscd/nscd.c (thread_info_t): Remove typedef.
44887         (thread_info): Remove variable.
44889 2014-06-21  Allan McRae  <allan@archlinux.org>
44891         * NEWS: Mention CVE-2014-4043.
44893 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44895         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44896         * nptl/smp.h: ... here.
44898         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
44900         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
44901         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
44902         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
44903         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
44905         * nptl/allocatestack.c: Include <stack-aliasing.h>.
44906         * nptl/stack-aliasing.h: New file.
44907         * sysdeps/i386/i686/stack-aliasing.h: New file.
44908         * sysdeps/i386/i686/nptl/Makefile: File removed.
44909         * sysdeps/x86_64/stack-aliasing.h: New file.
44910         * sysdeps/x86_64/nptl/Makefile
44911         (CFLAGS-pthread_create.c): Variable removed.
44913         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
44914         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
44915         old file.
44916         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
44917         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
44918         old file.
44920 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
44922         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44923         (__ASSUME_SIGFRAME_V2): Remove macro.
44924         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
44925         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
44926         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
44927         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
44928         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
44929         Declare as function.  Remove conditional macro definitions.
44930         (__default_rt_sa_restorer): Likewise.
44931         (__default_sa_restorer_v1): Remove declaration.
44932         (__default_sa_restorer_v2): Likewise.
44933         (__default_rt_sa_restorer_v1): Likewise.
44934         (__default_rt_sa_restorer_v2): Likewise.
44935         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
44936         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
44937         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
44939 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44941         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
44942         (libpthread-routines): Add sysdep.
44943         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
44944         * sysdeps/unix/sysv/linux/sparc/Versions
44945         (libpthread: GLIBC_2.3.3): New version set.
44946         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
44947         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
44948         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
44949         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
44950         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
44951         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
44952         Moved ...
44953         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
44954         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
44955         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
44956         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
44957         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
44958         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
44959         * sysdeps/sparc/nptl/sem_init.c: ... here.
44960         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
44961         * sysdeps/sparc/nptl/sem_post.c: ... here.
44962         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
44963         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
44964         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
44965         * sysdeps/sparc/nptl/sem_wait.c: ... here.
44966         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
44967         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
44968         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
44969         (libpthread-routines): Add cpu_relax.
44970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
44971         File removed.
44972         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
44973         (librt: GLIBC_2.3.3): New version set.
44974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
44975         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
44976         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
44977         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
44978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
44979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
44980         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
44981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
44982         Moved ...
44983         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
44984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
44985         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
44986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
44987         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
44988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
44989         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
44990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
44991         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
44992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
44993         Moved ...
44994         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
44995         Update #include.
44996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
44997         Moved ...
44998         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
44999         Update #include.
45000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
45001         Moved ...
45002         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
45003         Update #include.
45004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
45005         Moved ...
45006         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
45007         Update #include.
45008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
45009         Moved ...
45010         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
45011         Update #include.
45012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
45013         Moved ...
45014         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
45015         Update #include.
45016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
45017         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
45018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
45019         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
45020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
45021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
45022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
45023         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
45024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
45025         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
45026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45027         Moved ...
45028         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
45029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
45030         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
45031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
45032         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
45034 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45036         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
45037         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
45038         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45039         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
45040         * nscd/nscd.c: Likewise.
45041         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
45042         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
45043         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
45044         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
45046         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
45047         <kernel-features.h>.
45048         (init_mq_netlink): Remove conditional have_sock_cloexec
45049         definitions.  Remove code conditional on have_sock_cloexec < 0.
45050         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
45051         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
45052         * sysdeps/unix/sysv/linux/opensock.c: Do not include
45053         <kernel-features.h>.
45054         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
45055         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
45057 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45059         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45060         Add tests for memset_chk and memset.
45062         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
45063         with AVX2_Usable.
45065 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45067         [BZ #16046]
45068         * elf/tst-dl-iter-static.c: New file.
45069         * elf/Makefile (tests-static): Add tst-dl-iter-static.
45071         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
45072         error.
45074 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45076         * sysdeps/unix/sysv/linux/kernel-features.h
45077         (__ASSUME_F_GETOWN_EX): Remove macro.
45078         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
45079         <kernel-features.h>.
45080         (miss_F_GETOWN_EX): Remove variable or macro.
45081         (do_fcntl): Do not check miss_F_GETOWN_EX.
45082         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
45084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
45085         Remove macro.
45086         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
45087         [!__ASSUME_AT_RANDOM]: Remove conditional code.
45088         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
45090         * sysdeps/unix/sysv/linux/kernel-features.h
45091         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
45092         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
45093         [ADJ_OFFSET_SS_READ]: Make code unconditional.
45094         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
45096 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45098         [BZ #17075]
45099         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
45100         Fix calculation of the symbol's value.
45101         * sysdeps/arm/tst-armtlsdescloc.c: New file.
45102         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
45103         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
45104         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
45105         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
45106         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
45107         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
45108         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
45109         (modules-names): Add `tst-armtlsdescmod',
45110         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
45111         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
45112         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45113         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
45114         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
45115         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45116         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
45117         ($(objpfx)tst-armtlsdescloc): New dependency.
45118         ($(objpfx)tst-armtlsdescextnow): Likewise.
45119         ($(objpfx)tst-armtlsdescextlazy): Likewise.
45120         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
45121         TLS scheme support.
45122         * sysdeps/arm/configure: Regenerate.
45124 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45126         * include/fcntl.h (__atfct_seterrno): Remove prototype.
45127         (__atfct_seterrno_2): Likewise.
45128         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
45129         <kernel-features.h>.
45130         (__ASSUME_ATFCTS): Do not undefine and redefine.
45131         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
45132         (__have_atfcts): Remove conditional definition.
45133         (__fxstatat([__NR_fstatat64]: Make code unconditional.
45134         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
45135         unreachable if [__ASSUME_ATFCTS].
45136         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
45137         not undefine and redefine.
45138         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
45139         <kernel-features.h>.
45140         (faccessat) [__NR_faccessat]: Make code unconditional.
45141         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
45142         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
45143         <kernel-features.h>.
45144         (fchmodat) [__NR_fchmodat]: Make code unconditional.
45145         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45146         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
45147         <kernel-features.h>.
45148         (fchownat) [__NR_fchownat]: Make code unconditional.
45149         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
45150         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
45151         <kernel-features.h>.
45152         (futimesat) [__NR_futimesat]: Make code unconditional.
45153         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
45154         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45155         <kernel-features.h>.
45156         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45157         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45158         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45159         <kernel-features.h>.
45160         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
45161         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45162         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
45163         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45164         <kernel-features.h>.
45165         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
45166         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45167         * sysdeps/unix/sysv/linux/linkat.c: Do not include
45168         <kernel-features.h>.
45169         (linkat) [__NR_linkat]: Make code unconditional.
45170         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45171         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
45172         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
45173         <kernel-features.h>.
45174         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
45175         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45176         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
45177         <kernel-features.h>.
45178         (mkdirat) [__NR_mkdirat]: Make code unconditional.
45179         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
45180         * sysdeps/unix/sysv/linux/openat.c: Do not include
45181         <kernel-features.h>.
45182         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
45183         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
45184         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
45185         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
45186         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
45187         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
45188         <kernel-features.h>.
45189         (readlinkat) [__NR_readlinkat]: Make code unconditional.
45190         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
45191         result of INLINE_SYSCALL directly, not via int variable.
45192         * sysdeps/unix/sysv/linux/renameat.c: Do not include
45193         <kernel-features.h>.
45194         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
45195         (renameat) [__NR_renameat]: Make code unconditional.
45196         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
45197         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
45198         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
45199         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
45200         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
45201         (__ASSUME_ATFCTS): Do not undefine and redefine.
45202         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
45203         <kernel-features.h>.
45204         (symlinkat) [__NR_symlinkat]: Make code unconditional.
45205         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45206         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
45207         <kernel-features.h>.
45208         (unlinkat) [__NR_unlinkat]: Make code unconditional.
45209         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45210         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
45211         (__ASSUME_ATFCTS): Do not undefine and redefine.
45212         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45213         <kernel-features.h>.
45214         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45215         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45216         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45217         <kernel-features.h>.
45218         (__xmknodat) [__NR_mknodat]: Make code unconditional.
45219         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45221 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45223         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
45225 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
45227         [BZ #17069]
45228         * posix/regcomp.c (parse_reg_exp): Deallocate partially
45229         constructed tree before returning error.
45230         * posix/bug-regexp36.c: Expand test case.
45232 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
45234         [BZ #6803]
45235         * math/libm-test.inc (scalbln_test_date):
45236         Add errno expectations.
45237         * math/w_scalblnf.c: New File.
45238         Add wrapper which checks for setting errno to ERANGE.
45239         Add weak_alias for corresponding scalbln function.
45240         * math/w_scalbln.c: Likewise.
45241         * math/w_scalblnl.c: Likewise.
45242         * math/Makefile (libm-calls): Add w_scalbln.
45243         * sysdeps/ieee754/flt-32/s_scalblnf.c:
45244         Remove weak_alias for corresponding scalbln function.
45245         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45246         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45247         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45248         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45249         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
45250         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45251         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
45252         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45253         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
45254         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
45255         Remove long_double_symbol for scalblnl function in libm, libc.
45256         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
45257         Add wrapper which checks for setting errno to ERANGE.
45258         Add long_double_symbol for scalblnl function in libm, libc.
45259         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
45260         Remove long_double_symbol for scalblnl in libm.
45261         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
45262         Add wrapper which checks for setting errno to ERANGE.
45263         Add long_double_symbol for scalblnl function in libm.
45264         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
45265         Do not use wrapper because of own implementation.
45267 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
45269         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
45270         3 bytes for __pad1 for x32.
45271         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
45273 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
45274             H.J. Lu  <hongjiu.lu@intel.com>
45276         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
45277         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
45278         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45279         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45280         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
45282 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
45284         [BZ #17069]
45285         * posix/regcomp.c (parse_expression): Deallocate partially
45286         constructed tree before returning error.
45287         * posix/Makefile.c (tests): Add bug-regex36.
45288         (generated): Add bug-regex36.mtrace.
45289         (tests-special): Add $(objpfx)bug-regex36-mem.out
45290         (bug-regex36-ENV): New variable.
45291         ($(objpfx)bug-regex36-mem.out): New rule.
45292         * posix/bug-regex36.c: New file.
45294 2014-06-19  Will Newton  <will.newton@linaro.org>
45296         * malloc/malloc.c (systrim): If extra is zero then return
45297         early.
45299 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45301         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
45303 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
45305         * sysdeps/aarch64/strchr.S: New file.
45307 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45309         [BZ #17022]
45310         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
45311         from arguments -2 or below.
45312         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45313         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
45315 2014-06-18  Andreas Schwab  <schwab@suse.de>
45317         [BZ #17062]
45318         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
45319         of a bracket expr not to run off the end of the string.
45320         * posix/Makefile (tests): Add tst-fnmatch3.
45321         * posix/tst-fnmatch3.c: New file.
45323 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45325         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
45326         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45327         [$(cross-compiling) = no]: Likewise.
45328         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45329         [$(cross-compiling) = no]: Likewise.
45331 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45333         [BZ #17031]
45334         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
45335         double, adjusted for any remainder from the high double.
45336         * math/libm-test.inc (nearbyint): Add tests.
45337         (rint): Likewise.
45339 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45341         * nptl/sysdeps/powerpc/Makefile: Moved ...
45342         * sysdeps/powerpc/nptl/Makefile: ... here.
45343         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
45344         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
45345         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
45346         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
45347         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
45348         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
45349         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
45350         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
45351         * nptl/sysdeps/powerpc/tls.h: Moved ...
45352         * sysdeps/powerpc/nptl/tls.h: ... here.
45354 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
45356         [BZ #16681]
45357         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
45358         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
45359         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
45360         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
45361         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
45362         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
45363         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
45364         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
45365         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
45367 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
45369         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45371 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
45373         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
45374         defined operator.
45376         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
45377         $TIMEOUTFACTOR.
45379 2014-06-16  Florian Weimer  <fweimer@redhat.com>
45381         [BZ #17058]
45382         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
45383         non-executed part of the test.
45385 2014-06-16  Andreas Schwab  <schwab@suse.de>
45387         * string/bits/string2.h (strdup, strndup): Update feature guard.
45389 2014-06-14  David S. Miller  <davem@davemloft.net>
45391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45393 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
45395         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
45396         that was previously under [RESET_PID].
45397         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
45399         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
45400         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
45401         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
45402         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45403         (__libc_vfork): New strong alias.
45404         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
45406 2014-06-14 Andi Kleen  <ak@linux.intel.com>
45408         * sysdeps/generic/elide.h: New file.
45410 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
45412         * Makefile (installed-headers): Adjust path of pthread.h header.
45414 2014-06-13  Roland McGrath  <roland@hack.frob.com>
45416         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
45417         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
45418         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
45419         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
45421         * nptl/sysdeps/s390/Makefile: Moved ...
45422         * sysdeps/s390/nptl/Makefile: ... here.
45423         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
45424         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
45425         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
45426         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
45427         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
45428         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
45429         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
45430         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
45431         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
45432         * sysdeps/s390/nptl/pthreaddef.h: ... here.
45433         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
45434         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
45435         * nptl/sysdeps/s390/tls.h: Moved ...
45436         * sysdeps/s390/nptl/tls.h: ... here.
45438         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
45439         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
45441 2014-06-13  David S. Miller  <davem@davemloft.net>
45443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
45444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
45445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
45446         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
45447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
45448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
45449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
45450         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
45451         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
45452         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
45453         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
45454         Remove RESET_PID cpp guards.
45455         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
45456         Remove RESET_PID cpp guards.
45457         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
45459 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
45461         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
45462         __sp to uintptr_t.
45464 2014-06-13  Andi Kleen  <ak@linux.intel.com>
45466         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
45467         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
45468         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
45469         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
45470         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
45471         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
45472         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
45473         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
45474         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
45475         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
45476         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
45477         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
45478         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
45479         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
45480         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
45481         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
45482         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
45483         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
45484         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
45485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
45487         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
45488         (pthread_rwlock_rdlock): Add elision.
45489         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
45490         (pthread_rwlock_wrlock): Add elision.
45491         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
45492         (pthread_rwlock_trywrlock): Add elision.
45493         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
45494         (pthread_rwlock_tryrdlock): Add elision.
45495         * nptl/pthread_rwlock_unlock.c: Include elide.h.
45496         (pthread_rwlock_tryrdlock): Add elision unlock.
45497         * nptl/sysdeps/pthread/pthread.h:
45498         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
45499         (PTHREAD_RWLOCK_INITIALIZER,
45500         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
45501         Handle new elision field.
45502         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
45503         * sysdeps/arm/nptl/bits/pthreadtypes.h
45504         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45505         * sysdeps/sh/nptl/bits/pthreadtypes.h
45506         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45507         * sysdeps/tile/nptl/bits/pthreadtypes.h
45508         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45509         * sysdeps/a/nptl/bits/pthreadtypes.h
45510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45511         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45513         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45514         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45515         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
45516         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45517         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45518         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45519         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45520         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45521         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45522         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45523         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45524         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45525         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
45526         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45527         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
45528         (elision_init): Set try_xbegin to zero when no RTM.
45529         * sysdeps/x86/nptl/bits/pthreadtypes.h
45530         (pthread_rwlock_t): Change __pad1 to __rwelision.
45531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
45533 2014-06-13  Andi Kleen  <ak@linux.intel.com>
45535         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
45536         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
45537         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
45538         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
45540 2014-06-13  Meador Inge  <meadori@codesourcery.com>
45542         [BZ #16996]
45543         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
45544         that the cached result has been set before returning it.
45546 2014-06-12  Roland McGrath  <roland@hack.frob.com>
45548         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
45549         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
45550         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
45551         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
45552         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
45553         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
45555         * nptl/sysdeps/sparc/Makefile: Moved ...
45556         * sysdeps/sparc/nptl/Makefile: ... here.
45557         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
45558         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
45559         * nptl/sysdeps/sparc/tls.h: Moved ...
45560         * sysdeps/sparc/nptl/tls.h: ... here.
45561         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
45562         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
45563         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
45564         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
45565         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
45566         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
45567         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
45568         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
45569         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
45570         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
45571         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
45572         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
45573         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
45574         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
45575         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
45576         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
45577         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
45578         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
45579         Update #include.
45580         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
45581         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
45582         Update #include.
45583         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
45584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
45585         Update #include.
45586         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
45587         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
45588         Update #include.
45590         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45592         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
45593         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
45595         * sysdeps/pthread/posix-timer.h: Include <list.h>.
45596         (struct list_links): Type removed.
45597         (struct thread_node, struct timer_node): Replace struct list_links
45598         with struct list_head.
45599         (list_unlink_ip): Likewise.
45600         * sysdeps/pthread/timer_routines.c
45601         (timer_free_list, thread_free_list, thread_active_list): Likewise.
45602         (list_append, list_insbefore): Likewise.
45603         (list_init): Function removed.
45604         (thread_init, init_module): Use INIT_LIST_HEAD instead.
45605         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
45606         * sysdeps/pthread/Makefile: ... here, new file.
45608         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
45609         * sysdeps/nptl/Implies: ... here.
45610         * sysdeps/unix/sysv/linux/Implies: Add nptl.
45611         * nptl/sysdeps/pthread/list.h: Moved ...
45612         * include/list.h: ... here.
45613         * nptl/sysdeps/pthread/createthread.c: Moved ...
45614         * nptl/createthread.c: ... here.
45615         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
45616         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
45617         * nptl/pt-longjmp.c: ... here.
45618         * nptl/sysdeps/pthread/Makefile: Moved ...
45619         * sysdeps/nptl/Makefile: ... here.
45620         * nptl/sysdeps/pthread/Subdirs: Moved ...
45621         * sysdeps/nptl/Subdirs: ... here.
45622         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
45623         * sysdeps/nptl/aio_misc.h: ... here.
45624         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
45625         * sysdeps/nptl/bits/libc-lock.h: ... here.
45626         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
45627         * sysdeps/nptl/bits/libc-lockP.h: ... here.
45628         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
45629         * sysdeps/nptl/bits/stdio-lock.h: ... here.
45630         * nptl/sysdeps/pthread/configure: Moved ...
45631         * sysdeps/nptl/configure: ... here.
45632         * nptl/sysdeps/pthread/configure.ac: Moved ...
45633         * sysdeps/nptl/configure.ac: ... here.
45634         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
45635         * sysdeps/nptl/gai_misc.h: ... here.
45636         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
45637         * sysdeps/nptl/librt-cancellation.c: ... here.
45638         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
45639         * sysdeps/nptl/malloc-machine.h: ... here.
45640         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
45641         * sysdeps/nptl/pthread-functions.h: ... here.
45642         * nptl/sysdeps/pthread/pthread.h: Moved ...
45643         * sysdeps/nptl/pthread.h: ... here.
45644         * nptl/sysdeps/pthread/setxid.h: Moved ...
45645         * sysdeps/nptl/setxid.h: ... here.
45646         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
45647         * sysdeps/nptl/sigfillset.c: ... here.
45648         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
45649         * sysdeps/nptl/tcb-offsets.h: ... here.
45650         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
45651         * sysdeps/nptl/tst-mqueue8x.c: ... here.
45652         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
45653         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
45654         * nptl/sysdeps/pthread/allocalim.h: Moved ...
45655         * sysdeps/pthread/allocalim.h: ... here.
45656         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
45657         * sysdeps/pthread/bits/sigthread.h: ... here.
45658         * nptl/sysdeps/pthread/flockfile.c: Moved ...
45659         * sysdeps/pthread/flockfile.c: ... here.
45660         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
45661         * sysdeps/pthread/ftrylockfile.c: ... here.
45662         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
45663         * sysdeps/pthread/funlockfile.c: ... here.
45664         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
45665         * sysdeps/pthread/posix-timer.h: ... here.
45666         * nptl/sysdeps/pthread/timer_create.c: Moved ...
45667         * sysdeps/pthread/timer_create.c: ... here.
45668         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
45669         * sysdeps/pthread/timer_delete.c: ... here.
45670         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
45671         * sysdeps/pthread/timer_getoverr.c: ... here.
45672         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
45673         * sysdeps/pthread/timer_gettime.c: ... here.
45674         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
45675         * sysdeps/pthread/timer_routines.c: ... here.
45676         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
45677         * sysdeps/pthread/timer_settime.c: ... here.
45678         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
45679         * sysdeps/pthread/tst-timer.c: ... here.
45680         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
45681         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
45683         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
45684         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
45686         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
45687         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
45688         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
45689         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
45690         Update #include target.
45691         * nptl/sysdeps/i386/i686/Makefile: Moved ...
45692         * sysdeps/i386/i686/nptl/Makefile: ... here.
45693         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
45694         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
45695         Update #include target.
45696         * nptl/sysdeps/i386/i686/tls.h: Moved ...
45697         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
45698         * nptl/sysdeps/i386/Makefile: Moved ...
45699         * sysdeps/i386/nptl/Makefile: ... here.
45700         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
45701         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
45702         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
45703         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
45704         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
45705         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
45706         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
45707         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
45708         * sysdeps/i386/nptl/pthreaddef.h: ... here.
45709         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
45710         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
45711         * nptl/sysdeps/i386/tls.h: Moved ...
45712         * sysdeps/i386/nptl/tls.h: ... here.
45714         * sysdeps/sh/Makefile [$(subdir) = csu]
45715         (gen-as-const-headers): Add tcb-offsets.sym.
45716         * nptl/sysdeps/sh/Makefile: File removed.
45717         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
45718         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
45719         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
45720         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
45721         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
45722         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
45723         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
45724         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
45725         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
45726         * sysdeps/sh/nptl/pthreaddef.h: ... here.
45727         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
45728         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
45729         * nptl/sysdeps/sh/tls.h: Moved ...
45730         * sysdeps/sh/nptl/tls.h: ... here.
45731         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
45732         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
45733         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
45734         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
45735         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
45736         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
45737         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
45738         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
45739         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
45740         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
45741         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
45742         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
45743         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
45744         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
45745         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
45746         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
45747         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
45748         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
45749         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
45750         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
45751         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
45752         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
45753         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
45754         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
45755         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
45756         Moved ...
45757         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
45758         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
45759         Moved ...
45760         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
45761         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
45762         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
45763         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
45764         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
45765         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
45766         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
45767         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
45768         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
45769         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
45770         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
45771         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
45772         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
45773         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
45774         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
45775         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
45776         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
45777         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
45778         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
45780 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
45782         * posix/spawn_faction_addopen.c: Include string.h.
45784 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45786         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
45787         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
45788         * nptl/sysdeps/x86_64/Makefile: Moved ...
45789         * sysdeps/x86_64/nptl/Makefile: ... here.
45790         * nptl/sysdeps/x86_64/configure: Moved ...
45791         * sysdeps/x86_64/nptl/configure: ... here.
45792         * nptl/sysdeps/x86_64/configure.ac: Moved ...
45793         * sysdeps/x86_64/nptl/configure.ac: ... here.
45794         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
45795         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
45796         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
45797         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
45798         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
45799         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
45800         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
45801         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
45802         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
45803         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
45804         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
45805         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
45806         * nptl/sysdeps/x86_64/tls.h: Moved ...
45807         * sysdeps/x86_64/nptl/tls.h: ... here.
45808         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
45809         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
45810         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
45811         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
45813         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
45815 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45819 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
45821         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
45822         type.
45823         [POSIX] (off_t): Likewise.
45824         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
45825         [POSIX] (S_ISBLK): Require macro.
45826         [POSIX] (S_ISCHR): Likewise.
45827         [POSIX] (S_ISDIR): Likewise.
45828         [POSIX] (S_ISFIFO): Likewise.
45829         [POSIX] (S_ISREG): Likewise.
45830         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
45831         optional-macro.
45832         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
45833         type.
45834         [POSIX] (time_t): Likewise.
45835         [POSIX] (timer_t): Likewise.
45837 2014-06-11  Florian Weimer  <fweimer@redhat.com>
45839         [BZ #17048]
45840         * posix/spawn_int.h (struct __spawn_action): Make the path string
45841         non-const to support deallocation.
45842         * posix/spawn_faction_addopen.c
45843         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
45844         * posix/spawn_faction_destroy.c
45845         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
45846         path in all spawn_do_open actions.
45847         * posix/tst-spawn.c (do_test): Exercise the copy operation in
45848         posix_spawn_file_actions_addopen.
45850 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
45852         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
45853         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
45854         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
45855         conditional code always true.
45856         (__libc_vfork): New alias.
45858 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45860         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45861         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
45863         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
45865         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45866         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
45868         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45869         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
45871         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45872         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
45874 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45876         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
45877         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
45878         multiarch strcmp for PPC64.
45879         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
45880         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
45881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
45882         multiarch optimizations.
45883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45884         (__libc_ifunc_impl_list): Likewise.
45886 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45888         * benchtests/scripts/validate_benchout.py: New script.
45889         * benchtests/Makefile (bench-func): Call it.
45890         * benchtests/scripts/benchout.schema.json: New file.
45892 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
45894         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
45895         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
45896         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
45897         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
45898         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
45899         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
45900         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
45901         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
45902         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
45903         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
45904         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
45905         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
45906         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
45907         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
45908         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
45909         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
45910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
45911         Moved ...
45912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
45913         ... here.
45914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
45915         Moved ...
45916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
45917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
45918         Moved ...
45919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
45920         ... here.
45921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
45922         Moved ...
45923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
45924         ... here.
45925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
45926         Moved ...
45927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
45928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
45929         Moved ...
45930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
45931         ... here.
45932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
45933         Moved ...
45934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
45935         ... here.
45936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
45937         Moved ...
45938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
45939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
45940         Moved ...
45941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
45942         ... here.
45943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
45944         Moved ...
45945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
45946         ... here.
45947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
45948         Moved ...
45949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
45950         ... here.
45951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
45952         Moved ...
45953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
45954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
45955         Moved ...
45956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
45957         ... here.
45958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
45959         Moved ...
45960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
45961         ... here.
45962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
45963         Moved ...
45964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
45965         ... here.
45966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
45967         Moved ...
45968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
45969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
45970         Moved ...
45971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
45972         ... here.
45973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
45974         Moved ...
45975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
45976         ... here.
45977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
45978         Moved ...
45979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
45980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
45981         Moved ...
45982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
45983         ... here.
45984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
45985         Moved ...
45986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
45987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
45988         Moved ...
45989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
45990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
45991         Moved ...
45992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
45993         ... here.
45994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
45995         Moved ...
45996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
45997         ... here.
45998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
45999         Moved ...
46000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
46001         ... here.
46002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
46003         Moved ...
46004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
46005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
46006         Moved ...
46007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
46008         ... here.
46009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
46010         Moved ...
46011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
46012         ... here.
46013         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
46014         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
46015         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
46016         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
46017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
46018         Moved ...
46019         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
46020         ... here.
46021         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
46022         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
46023         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
46024         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
46025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
46026         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
46027         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
46028         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
46029         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
46030         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
46031         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
46032         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
46033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
46034         Moved ...
46035         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
46036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
46037         Moved ...
46038         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
46039         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
46040         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
46041         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
46042         Moved ...
46043         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
46044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
46045         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
46046         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
46047         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
46048         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
46049         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
46051 2014-06-10  Wilco  <wdijkstr@arm.com>
46053         * math/test-fenv-return.c: New file.
46054         * math/Makefile: Add new test test-fenv-return.
46056 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
46058         [BZ #17042]
46059         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
46060         when x - 1 is zero.
46061         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
46062         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
46063         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
46064         0.0L for an argument of 1.0L.
46065         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
46066         Likewise.
46067         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
46068         value when x - 1 is zero.
46069         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
46070         * sysdeps/i386/fpu/libm-test-ulps: Update.
46071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46073 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
46075         [BZ #15119]
46076         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
46078 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46080         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
46081         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
46083 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46085         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46086         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
46088         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46089         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
46091         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46092         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
46094         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46095         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
46097         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
46098         if not already defined.
46099         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
46100         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
46101         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
46102         (TLS_INIT_TP): Use it.
46103         (TLS_DEFINE_INIT_TP): New macro.
46104         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
46106 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
46108         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
46109         constant.
46110         [POSIX] (IXANY): Likewise.
46111         [POSIX] (OLCUC): Likewise.
46112         [POSIX || POSIX2008] (CBAUD): Do not allow.
46113         [POSIX || POSIX2008] (DEFECHO): Likewise.
46114         [POSIX || POSIX2008] (ECHOCTL): Likewise.
46115         [POSIX || POSIX2008] (ECHOKE): Likewise.
46116         [POSIX || POSIX2008] (ECHOPRT): Likewise.
46117         [POSIX || POSIX2008] (EXTA): Likewise.
46118         [POSIX || POSIX2008] (EXTB): Likewise.
46119         [POSIX || POSIX2008] (FLUSHO): Likewise.
46120         [POSIX || POSIX2008] (LOBLK): Likewise.
46121         [POSIX || POSIX2008] (PENDIN): Likewise.
46122         [POSIX || POSIX2008] (SWTCH): Likewise.
46123         [POSIX || POSIX2008] (VDISCARD): Likewise.
46124         [POSIX || POSIX2008] (VDSUSP): Likewise.
46125         [POSIX || POSIX2008] (VLNEXT): Likewise.
46126         [POSIX || POSIX2008] (VREPRINT): Likewise.
46127         [POSIX || POSIX2008] (VSTATUS): Likewise.
46128         [POSIX || POSIX2008] (VWERASE): Likewise.
46129         (B*): Change to B[0123456789]*.
46130         * conform/data/time.h-data [POSIX || UNIX98]
46131         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
46132         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46133         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
46134         [POSIX] (tm_*): Do not allow.
46136 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
46138         * Makefile (install): Don't set LANGUAGE.
46139         * Makefile.in (install): Likewise.
46140         * assert/Makefile (test-assert-ENV): Remove variable.
46141         (test-assert-perr-ENV): Likewise.
46142         * elf/Makefile (neededtest4-ENV): Likewise.
46143         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46144         [$(cross-compiling) = no]: Don't set LANGUAGE.
46145         * io/ftwtest-sh (LANG): Remove variable.
46146         * libio/Makefile (tst-widetext-ENV): Likewise.
46147         * manual/install.texi (Running make install): Don't refer to
46148         environment settings for make install.
46149         * INSTALL: Regenerated.
46150         * nptl/tst-tls6.sh: Don't set LANG.
46151         * posix/globtest.sh (LANG): Remove variable.
46152         * string/Makefile (tester-ENV): Likewise.
46153         (inl-tester-ENV): Likewise.
46154         (noinl-tester-ENV): Likewise.
46155         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46156         [$(cross-compiling) = no]: Don't set LANGUAGE.
46157         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
46158         without explicit environment settings.
46160 2014-06-06  Roland McGrath  <roland@hack.frob.com>
46162         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
46163         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
46164         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
46165         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
46167 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
46169         * crypt/crypt-private.h [DOS]: Add some includes taken from the
46170         other files in the crypt directory.
46171         * crypt/crypt.c: Remove duplicate includes.
46172         * crypt/crypt-entry.c: Likewise.
46173         * crypt/crypt_util.c: Likewise.
46175 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
46177         * Makeconfig (run-program-env): New variable.
46178         (run-program-prefix-before-env): Likewise.
46179         (run-program-prefix-after-env): Likewise.
46180         (run-program-prefix): Define in terms of new variables.
46181         (built-program-cmd-before-env): New variable.
46182         (built-program-cmd-after-env): Likewise.
46183         (built-program-cmd): Define in terms of new variables.
46184         (test-program-prefix-before-env): New variable.
46185         (test-program-prefix-after-env): Likewise.
46186         (test-program-prefix): Define in terms of new variables.
46187         (test-program-cmd-before-env): New variable.
46188         (test-program-cmd-after-env): Likewise.
46189         (test-program-cmd): Define in terms of new variables.
46190         * Rules (make-test-out): Use $(run-program-env).
46191         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
46192         (help): Do not mention environment variables.  Mention
46193         --timeoutfactor option.
46194         (timeoutfactor): New variable.
46195         (blacklist_exports): Remove function.
46196         (exports): Remove variable.
46197         (command): Do not include ${exports}.
46198         * manual/install.texi (Configuring and compiling): Do not mention
46199         test wrappers preserving environment variables.  Mention that last
46200         assignment to a variable must take precedence.
46201         * INSTALL: Regenerated.
46202         * benchtests/Makefile (run-bench): Use $(run-program-env).
46203         * catgets/Makefile ($(objpfx)test1.cat): Use
46204         $(built-program-cmd-before-env), $(run-program-env) and
46205         $(built-program-cmd-after-env).
46206         ($(objpfx)test2.cat): Do not specify environment variables
46207         explicitly.
46208         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
46209         $(run-program-env) and $(built-program-cmd-after-env).
46210         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
46211         $(run-program-env) and $(test-program-cmd-after-env).
46212         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
46213         explicitly.
46214         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
46215         run_program_env and test_program_cmd_after_env arguments.
46216         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
46217         * elf/tst-pathopt.sh: Use run_program_env argument.
46218         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
46219         $(test-wrapper-env) and $(run-program-env).
46220         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
46221         run_program_env arguments.
46222         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
46223         * intl/Makefile ($(objpfx)tst-gettext.out): Use
46224         $(test-program-prefix-before-env), $(run-program-env) and
46225         $(test-program-prefix-after-env).
46226         ($(objpfx)tst-gettext2.out): Likewise.
46227         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
46228         run_program_env and test_program_prefix_after_env arguments.
46229         * intl/tst-gettext2.sh: Likewise.
46230         * intl/tst-gettext4.sh: Do not set environment variables
46231         explicitly.
46232         * intl/tst-gettext6.sh: Likewise.
46233         * intl/tst-translit.sh: Likewise.
46234         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
46235         $(test-program-prefix-before-env), $(run-program-env) and
46236         $(test-program-prefix-after-env).
46237         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
46238         run_program_env and test_program_prefix_after_env arguments.
46239         * math/Makefile (run-regen-ulps): Use $(run-program-env).
46240         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
46241         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
46242         explicitly with each use of ${test_wrapper_env}.
46243         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
46244         $(test-program-prefix-before-env), $(run-program-env) and
46245         $(test-program-prefix-after-env).
46246         * posix/tst-getconf.sh: Do not set environment variables
46247         explicitly.
46248         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
46249         run_program_env and test_program_prefix_after_env arguments.
46250         * stdio-common/tst-printf.sh: Do not set environment variables
46251         explicitly.
46252         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
46253         $(test-program-prefix-before-env), $(run-program-env) and
46254         $(test-program-prefix-after-env).
46255         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
46256         run_program_env and test_program_prefix_after_env arguments.
46257         Split $test calls into $test_pre and $test.
46258         * timezone/Makefile (build-testdata): Use
46259         $(built-program-cmd-before-env), $(run-program-env) and
46260         $(built-program-cmd-after-env).
46262 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46264         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
46265         strlen for non SHARED builds.
46267 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46269         * nptl/allocatestack.c (check_list): Inlined function...
46270         (__reclaim_stacks): ... here.
46272 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46274         [BZ #15698]
46275         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46276         memory overrun.
46278 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
46280         * Rules (make-test-out): Include
46281         LOCPATH=$(common-objpfx)localedata in default environment.
46282         * debug/Makefile (tst-chk1-ENV): Remove variable.
46283         (tst-chk2-ENV): Likewise.
46284         (tst-chk3-ENV): Likewise.
46285         (tst-chk4-ENV): Likewise.
46286         (tst-chk5-ENV): Likewise.
46287         (tst-chk6-ENV): Likewise.
46288         (tst-lfschk1-ENV): Likewise.
46289         (tst-lfschk2-ENV): Likewise.
46290         (tst-lfschk3-ENV): Likewise.
46291         (tst-lfschk4-ENV): Likewise.
46292         (tst-lfschk5-ENV): Likewise.
46293         (tst-lfschk6-ENV): Likewise.
46294         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
46295         (tst-iconv7-ENV): Likewise.
46296         * intl/Makefile (LOCPATH-ENV): Likewise.
46297         (tst-codeset-ENV): Likewise.
46298         (tst-gettext3-ENV): Likewise.
46299         (tst-gettext5-ENV): Likewise.
46300         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
46301         (tst-fopenloc-ENV): Likewise.
46302         (tst-fgetws-ENV): Remove variable.
46303         (tst-ungetwc1-ENV): Likewise.
46304         (tst-ungetwc2-ENV): Likewise.
46305         (bug-ungetwc2-ENV): Likewise.
46306         (tst-swscanf-ENV): Likewise.
46307         (bug-ftell-ENV): Likewise.
46308         (tst-fgetwc-ENV): Likewise.
46309         (tst-fseek-ENV): Likewise.
46310         (tst-ftell-partial-wide-ENV): Likewise.
46311         (tst-ftell-active-handler-ENV): Likewise.
46312         (tst-ftell-append-ENV): Likewise.
46313         * posix/Makefile (tst-fnmatch-ENV): Likewise.
46314         (tst-regexloc-ENV): Likewise.
46315         (bug-regex1-ENV): Likewise.
46316         (tst-regex-ENV): Likewise.
46317         (tst-regex2-ENV): Likewise.
46318         (bug-regex5-ENV): Likewise.
46319         (bug-regex6-ENV): Likewise.
46320         (bug-regex17-ENV): Likewise.
46321         (bug-regex18-ENV): Likewise.
46322         (bug-regex19-ENV): Likewise.
46323         (bug-regex20-ENV): Likewise.
46324         (bug-regex22-ENV): Likewise.
46325         (bug-regex23-ENV): Likewise.
46326         (bug-regex25-ENV): Likewise.
46327         (bug-regex26-ENV): Likewise.
46328         (bug-regex30-ENV): Likewise.
46329         (bug-regex32-ENV): Likewise.
46330         (bug-regex33-ENV): Likewise.
46331         (bug-regex34-ENV): Likewise.
46332         (bug-regex35-ENV): Likewise.
46333         (tst-rxspencer-ENV): Likewise.
46334         (tst-rxspencer-no-utf8-ENV): Likewise.
46335         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
46336         (tst-sscanf-ENV): Likewise.
46337         (tst-swprintf-ENV): Likewise.
46338         (tst-swscanf-ENV): Likewise.
46339         (test-vfprintf-ENV): Likewise.
46340         (scanf13-ENV): Likewise.
46341         (bug14-ENV): Likewise.
46342         (tst-grouping-ENV): Likewise.
46343         * stdlib/Makefile (tst-strtod-ENV): Likewise.
46344         (tst-strtod3-ENV): Likewise.
46345         (tst-strtod4-ENV): Likewise.
46346         (tst-strtod5-ENV): Likewise.
46347         (testmb2-ENV): Likewise./
46348         * string/Makefile (tst-strxfrm-ENV): Likewise.
46349         (tst-strxfrm2-ENV): Likewise.
46350         (bug-strcoll1-ENV): Likewise.
46351         (test-strcasecmp-ENV): Likewise.
46352         (test-strncasecmp-ENV): Likewise.
46353         * time/Makefile (tst-strptime-ENV): Likewise.
46354         (tst-ftime_l-ENV): Likewise.
46355         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
46356         (tst-mbrtowc-ENV): Likewise.
46357         (tst-wcrtomb-ENV): Likewise.
46358         (tst-mbrtowc2-ENV): Likewise.
46359         (tst-c16c32-1-ENV): Likewise.
46360         (tst-mbsnrtowcs-ENV): Likewise.
46362 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46364         * manual/resource.texi (How to get information about the memory
46365         subsystem?): Fix typo.
46366         Reported by Peon de la Parra Ivan <peon@keba.com>
46368 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
46370         [BZ #16882]
46371         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
46372         (pthread_spin_lock): Branch out of spin loop to proper location.
46373         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
46374         (pthread_spin_lock): Likewise.
46376         * nptl/tst-spin4.c: New test.
46377         * nptl/Makefile (tests): Add tst-spin4.
46379 2014-06-03  Andreas Schwab  <schwab@suse.de>
46381         [BZ #15946]
46382         * resolv/res_send.c (send_dg): Reload file descriptor after
46383         calling reopen.
46385 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
46387         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46389 2014-06-03  Richard Henderson  <rth@redhat.com>
46391         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
46392         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
46393         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
46394         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
46395         in the SAVE_PID block.
46396         (__libc_vfork): New alias.
46397         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
46399         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
46400         child in registers, not on the stack.  Remove RESET_PID conditionals.
46401         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
46403 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46405         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46407 2014-06-03  Wilco  <wdijkstr@arm.com>
46409         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
46410         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
46411         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46412         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
46413         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
46414         Likewise.
46416 2014-06-03  Wilco  <wdijkstr@arm.com>
46418         * sysdeps/aarch64/fpu/math_private.h
46419         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
46420         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
46421         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
46422         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46423         Fix declarations.
46425 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46427         * crypt/crypt-private.h: Include ufc-crypt.h.
46428         (__b64_from_24bit): Declare extern.
46429         * crypt/crypt_util.c(__b64_from_24bit): New function.
46430         (b64t): New static const variable.
46431         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
46432         (b64t): Remove variable.
46433         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
46434         * crypt/sha256-crypt.c: Include crypt-private.h.
46435         (b64t): Remove variable.
46436         (__sha256_crypt_r): Remove b64_from_24bit and replace
46437         with __b64_from_24bit.
46438         * crypt/sha512-crypt.c: Likewise.
46440 2014-06-02  Roland McGrath  <roland@hack.frob.com>
46442         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
46443         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
46444         Label the code __libc_vfork rather than __vfork.
46445         [!NOT_IN_libc] (vfork): Define as weak alias.
46446         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
46447         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
46448         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
46450 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46452         * malloc/malloc.c (malloc_info): Fix format specifier for
46453         n_mmaps.
46455 2014-06-02  Wilco  <wdijkstr@arm.com>
46457         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
46458         FPCR write.
46460 2014-06-02  Wilco  <wdijkstr@arm.com>
46462         [BZ #17009]
46463         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
46464         Rewrite to reduce FPCR/FPSR accesses.
46466 2014-06-01  David S. Miller  <davem@davemloft.net>
46468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46470 2014-05-31  David S. Miller  <davem@davemloft.net>
46472         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
46473         to occur in round to nearest mode when |x| >= 2.0
46475 2014-05-30  Richard Henderson  <rth@twiddle.net>
46477         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
46478         (PSEUDO_RET_NOERRNO): Remove.
46479         (ret): Don't redefine.
46480         (ret_NOERRNO): Define in terms of ret.
46481         (ret_ERRVAL): Likewise.
46483         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
46484         use of PSEUDO_RET; perform the error check directly.
46486 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
46488         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
46489         with __int128_t.
46491 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46493         * malloc/malloc (malloc_info): Fix formatting.
46495 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46496             Roland McGrath  <roland@hack.frob.com>
46498         * malloc/malloc (malloc_info): Also print mmapped statistics.
46500 2014-05-30  Roland McGrath  <roland@hack.frob.com>
46502         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
46503         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
46505 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
46507         * malloc/malloc.c (malloc_info): Inline mi_arena.
46509 2014-05-29  Richard Henderson  <rth@twiddle.net>
46511         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
46512         Remove comma before expanding ASM_ARGS_##nr.
46513         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
46514         Make _x0 a strict output; make _x8 a strict input; adjust expansion
46515         of ASM_ARGS_##nr.
46516         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
46517         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
46518         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
46519         (ASM_ARGS_1): Add leading comma.
46521         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
46522         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
46523         to __errno_location.
46524         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
46525         Remove the expected plt for __errno_location.
46527         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46528         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
46529         call to __read_tp.
46531         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46532         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
46533         it and break it down.
46534         (DOCARGS_0, DOCARGS_1): Do nothing.
46535         (DOCARGS_2): Update to store into the new stack frame.
46536         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
46537         (UNDOCARGS_1): Update to restore from the new stack frame.
46538         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
46539         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
46541         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46542         (SINGLE_THREAD_P): New parameter for result regno.
46543         (PSEUDO): Update to match; use cbz instead of beq.
46545         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46546         Use ENTRY to define the _nocancel entry point.  Share the syscall
46547         and syscall error check paths with the cancel path.
46548         (PSEUDO_END): New.
46550         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
46551         whitespace; tabs before and after asm mnemonics.
46553 2014-05-29  Eric Wong  <normalperson@yhbt.net>
46555         [BZ #15132]
46556         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46557         Call fstat64 or stat64 internally, depending on arguments passed.
46558         Replace stat buffer argument with file descriptor argument.
46559         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
46560         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
46561         Pass fd to __internal_statvfs instead of calling fstat64.
46562         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
46563         Pass fd to __internal_statvfs64 instead of calling fstat64.
46564         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
46565         Pass -1 to __internal_statvfs instead of calling stat64.
46566         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
46567         Pass -1 to __internal_statvfs64 instead of calling stat64.
46569 2014-05-28  Roland McGrath  <roland@hack.frob.com>
46571         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
46572         that was previously under [RESET_PID].
46573         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
46575         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
46576         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
46578 2014-05-27  Roland McGrath  <roland@hack.frob.com>
46580         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
46582         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
46583         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
46585 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
46587         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
46589 2014-05-27  Andreas Schwab  <schwab@suse.de>
46591         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
46592         TLS_INIT_TP macro.
46593         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
46594         * elf/rtld.c (init_tls, dl_main): Likewise.
46595         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
46596         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
46597         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
46598         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
46599         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
46600         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
46601         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
46602         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
46603         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
46604         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
46605         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
46606         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
46607         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
46608         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
46609         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
46610         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
46611         * sysdeps/generic/tls.h: Update description.
46613 2014-05-27  Will Newton  <will.newton@linaro.org>
46615         [BZ #16990]
46616         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
46617         and restore r2 rather than just restoring.
46619 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46621         [BZ #16724]
46622         * libio/tst-ftell-append.c: New test case.
46623         * libio/Makefile (tests): Add test case.
46624         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
46625         append mode.
46626         * libio/wfileops.c (do_ftell_wide): Likewise.
46628 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46632         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
46633         ...
46634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
46635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46636         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
46637         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
46638         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
46639         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
46640         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
46641         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
46642         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
46643         Moved ...
46644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
46645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
46646         Moved ...
46647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
46648         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
46649         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
46650         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
46651         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
46652         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
46653         ...
46654         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
46655         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
46656         Moved ...
46657         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
46658         here.
46659         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
46660         ...
46661         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
46662         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
46663         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
46665         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
46666         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
46667         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
46668         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
46670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
46671         merge into ...
46672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
46673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
46674         ...
46675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
46676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
46677         ...
46678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
46679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46680         Moved ...
46681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
46682         here.
46683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46684         Moved ...
46685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
46686         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46687         Moved ...
46688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
46690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
46691         conditional [RESET_PID].
46692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
46693         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
46694         removed.
46695         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
46696         removed.
46698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
46699         <tcb-offsets.h>.
46700         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46701         (__libc_vfork): New strong alias.
46702         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
46703         removed.
46704         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
46705         Removed.
46707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
46708         <tcb-offsets.h>.
46709         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
46710         (__libc_vfork): New strong alias.
46711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
46712         removed.
46713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
46714         removed.
46716 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
46718         * malloc/malloc.c (mi_arena): New function.
46719         (malloc_info): Remove nested function mi_arena. Call non-nosted
46720         function mi_arena.
46722 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46724         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
46725         by insrwi.
46726         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
46727         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
46728         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
46729         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
46730         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
46731         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
46732         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
46734 2014-05-26  Andreas Schwab  <schwab@suse.de>
46736         [BZ #16984]
46737         * locale/programs/repertoire.c (repertoire_read): Add slash
46738         between I18NPATH element and file name.
46739         * locale/programs/locfile.c (locfile_read): Likewise.
46741 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46743         * nptl/pthread_mutexattr_settype.c
46744         (__pthread_mutexattr_settype):
46745         Disable lock elision for PTHREAD_MUTEX_NORMAL.
46747 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46749         * nptl/tst-mutex5 (do_test):
46750         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
46752 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46754         * benchtests/README: Document 'init' directive.
46755         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
46756         BENCH_INIT.
46757         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
46758         (parse_file): Recognize 'init' directive.
46760 2014-05-26  Kyle McMartin  <kyle@redhat.com>
46762         [BZ #16796]
46763         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
46764         alignment of struct pthread.
46766 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46768         [BZ #16878]
46769         * nscd/netgroupcache.c (addgetnetgrentX): Look for
46770         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46771         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
46772         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46774 2014-05-25  Richard Henderson  <rth@twiddle.net>
46776         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46777         (SINGLE_THREAD_P_PIC): Remove.
46778         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
46779         (SINGLE_THREAD_P_PIC): Remove.
46781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
46782         branch to syscall error ...
46783         (PSEUDO): ... here.
46784         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
46785         from __local_syscall_error to .Lsyscall_error.
46786         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
46787         (SYSCALL_ERROR): Update label name.
46789         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46790         Do not use DOARGS/UNDOARGS.
46791         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
46792         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
46793         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
46794         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
46795         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
46797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
46798         block comment.
46800         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
46801         define if !NOT_IN_libc.
46802         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
46803         define with non-default symbol versions.
46805 2014-05-23  Richard Henderson  <rth@twiddle.net>
46807         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
46808         (vfork, __vfork): Define via compat_symbol.
46810         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
46811         [!HAVE_IFUNC] (vfork_compat): Remove.
46812         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
46814 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46816         [BZ #16978]
46817         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
46818         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
46819         variable.
46821 2014-05-23  Richard Henderson  <rth@twiddle.net>
46823         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
46824         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
46825         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
46826         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
46828         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
46829         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
46830         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
46831         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
46832         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
46833         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
46834         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
46835         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
46836         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
46837         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
46838         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
46839         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
46840         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
46841         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
46842         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
46843         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
46844         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
46845         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
46846         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
46847         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
46848         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
46849         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
46850         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
46851         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
46852         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
46853         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
46854         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
46855         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
46856         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
46857         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
46858         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
46859         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
46860         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
46861         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
46862         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
46863         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
46864         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
46865         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
46866         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
46867         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
46868         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
46869         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
46870         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
46871         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
46872         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
46873         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
46874         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
46875         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
46876         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
46877         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
46878         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
46879         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
46880         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
46881         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
46882         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
46883         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
46885         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
46886         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
46887         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
46888         before exiting on error.
46889         (__libc_vfork): New strong alias.
46890         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
46891         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
46893         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
46894         that was previously under [RESET_PID].
46895         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
46897         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
46899 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46901         [BZ #16977]
46902         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
46903         value when x - 1 is zero.
46904         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
46905         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
46906         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
46907         0.0L for an argument of 1.0L.
46908         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
46909         Likewise.
46910         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
46911         value when x - 1 is zero.
46912         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
46913         * sysdeps/i386/fpu/libm-test-ulps: Update.
46914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46916 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46918         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
46919         alphasort and versionsort.
46921 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46923         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
46924         macro.
46925         [copysignf]: Likewise.
46927 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46929         * crypt/md5-crypt.c: Fix formatting.
46931 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46933         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
46934         (b64_from_24bit): New function.
46936 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46938         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
46939         libc_hidden_builtin_def to ifunc.
46940         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46941         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
46943 2014-05-21  Roland McGrath  <roland@hack.frob.com>
46945         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
46946         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
46948 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
46950         * nscd/Depend (linuxthreads): Remove.
46951         (nptl): Add.
46952         * resolv/Depend (linuxthreads): Remove.
46953         * rt/Depend (linuxthreads): Remove.
46955         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
46956         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
46957         $(common-objpfx)elf/.
46958         (link-libc-before-gnulib): Likewise.
46959         (elfobjdir): Remove variable.
46960         * Makefile (install): Use $(elf-objpfx) instead of
46961         $(common-objpfx)elf/.
46962         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
46963         $(elfobjdir)/.
46964         (link-libc-deps): Likewise.
46965         ($(common-objpfx)libc.so): Likewise.
46966         ($(common-objpfx)linkobj/libc.so): Likewise.
46967         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
46968         instead of $(common-objpfx)elf/.
46969         (symbolic-link-list): Likewise.
46970         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46971         [$(cross-compiling) = no]: Likewise.
46972         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
46973         $(elfobjdir)/.
46974         (static-gnulib-arch): Likewise.
46975         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46976         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
46977         $(common-objpfx)elf/.
46979 2014-05-21  Richard Henderson  <rth@redhat.com>
46981         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46982         (SINGLE_THREAD_P): Use the correct width load.  Fold
46983         into the ldr offset.
46985         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
46986         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
46988 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
46990         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
46991         (libgcc_s_resume): Use __attribute_used__.
46992         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
46993         Likewise.
46995 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46997         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
46998         optimization when used with float constants.
47000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47002 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
47004         [BZ #16915]
47005         * locale/nl_langinfo_l.c: Make direct reference to every
47006         _nl_current_CATEGORY symbol.
47007         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
47008         (tests-static): Add tst-langinfo-static.
47009         (tests-special): Add tst-langinfo-static.out.
47010         ($(objpfx)tst-langinfo.out): Redirect output.
47011         ($(objpfx)tst-langinfo-static.out): New.
47012         * localedata/tst-langinfo.sh: Send output to stdout.
47013         * localedata/tst-langinfo-static.c: New file.
47015         [BZ #16965]
47016         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
47017         when the shift amount is modulo the limb size.
47019 2014-05-20  Richard Henderson  <rth@redhat.com>
47021         [BZ #16967]
47022         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
47023         Change type of sa_flags from unsigned int to int.
47025         [BZ #16966]
47026         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
47028         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
47030 2014-05-20  Will Newton  <will.newton@linaro.org>
47032         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47033         Test the return value of the system call in the nocancel case.
47035 2014-05-20  Will Newton  <will.newton@linaro.org>
47036             Yvan Roux  <yvan.roux@linaro.org>
47038         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
47039         #include of asm/ptrace.h.
47040         (PTRACE_GET_THREAD_AREA): Remove #undef.
47041         (PTRACE_GETHBPREGS): Likewise.
47042         (PTRACE_SETHBPREGS): Likewise.
47043         (struct user_regs_struct): New structure.
47044         (struct user_fpsimd_struct): New structure.
47045         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
47046         #include of asm/ptrace.h and second #include of sys/user.h.
47047         (PTRACE_GET_THREAD_AREA): Remove #undef.
47048         (PTRACE_GETHBPREGS): Likewise.
47049         (PTRACE_SETHBPREGS): Likewise.
47050         (ELF_NGREG): Use new struct user_regs_struct.
47051         (elf_fpregset_t): Use new struct user_fpsimd_struct.
47053 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47055         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
47056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
47058 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
47060         [BZ #16958]
47061         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
47062         membar to avoid block loads/stores to overlap previous stores.
47064 2014-05-17  Richard Henderson  <rth@redhat.com>
47066         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
47067         Create the __##syscall_name##_nocancel entry point.
47068         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
47069         Remove; let the sysdep-cancel.h code create it.
47071 2014-05-17  David S. Miller  <davem@davemloft.net>
47073         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
47074         Protect with __USE_GNU.
47075         (TIOCSET_TEMPT): Likewise.
47076         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47077         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
47078         these are already provided in bits/ioctl-types.h
47080 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47082         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
47083         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
47085         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
47086         Use wait4 regardless of [__NR_waitpid].
47088 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47090         PR libgcc/60166
47091         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47092         (_FP_NANSIGN_Q): Set the quiet bit.
47094 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
47096         * benchtests/Makefile
47097         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
47098         not $(common-objpfx)math/libm.so.
47099         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
47100         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
47101         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
47102         $(common-objpfx)dlfcn/libdl.so.
47103         ($(objpfx)tst-audit8): Depend on $(libm), not
47104         $(common-objpfx)math/libm.so.
47105         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
47106         not $(common-objpfx)dlfcn/libdl.so.
47107         * math/Makefile
47108         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47109         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
47110         [$(build-shared) = yes].
47111         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
47112         $(common-objpfx)nptl/libpthread.so.
47113         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
47114         $(common-objpfx)math/libm.so$(libm.so-version) or
47115         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
47116         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
47117         $(common-objpfx)dlfcn/libdl.so.
47118         * setjmp/Makefile (link-libm): Remove variable.
47119         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
47120         * stdio-common/Makefile (link-libm): Remove variable.
47121         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
47122         * stdlib/Makefile (link-libm): Remove variable.
47123         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
47124         ($(objpfx)tst-strtod-round): Likewise.
47125         ($(objpfx)tst-tininess): Likewise.
47126         ($(objpfx)tst-strtod-underflow): Likewise.
47127         ($(objpfx)tst-strtod6): Likewise.
47128         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
47129         $(libdl), not $(common-objpfx)nptl/libpthread.so and
47130         $(common-objpfx)dlfcn/libdl.so.
47132 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47134         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
47135         BSD terminal modes definitions.
47137 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47139         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
47140         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
47142         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
47143         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
47144         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
47145         Don't do #include_next.
47146         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
47147         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
47148         Don't do #include_next.
47149         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
47150         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
47151         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
47152         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
47154 2014-05-16  Allan McRae  <allan@archlinux.org>
47156         * po/sv.po: Update Swedish translation from translation project.
47158         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
47159         in sed expression.
47161 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
47163         [BZ #16917]
47164         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
47165         errno if the TIOCGPTN ioctl fails with an error different than
47166         EINVAL.
47167         * login/tst-ptsname.c: New file.
47168         * login/Makefile (tests): Add tst-ptsname.
47170         [BZ #16943]
47171         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
47172         and prlimit64.
47174 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47176         [BZ #16849]
47177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
47178         herrno to return EAI_AGAIN.
47180 2014-05-14  Roland McGrath  <roland@hack.frob.com>
47182         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
47183         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
47184         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
47185         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
47186         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
47187         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
47188         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
47189         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
47190         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
47191         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
47192         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
47193         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
47194         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
47195         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
47196         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
47197         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
47198         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
47199         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
47200         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
47201         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
47202         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
47203         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
47204         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
47205         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
47206         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
47207         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
47208         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
47209         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
47210         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
47211         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
47212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
47213         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
47214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
47215         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
47216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47217         Moved ...
47218         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
47219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
47220         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
47221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
47222         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
47223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
47224         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
47225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
47226         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
47227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
47228         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
47229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
47230         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
47231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
47232         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
47233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
47234         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
47235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
47236         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
47237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
47238         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
47239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
47240         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
47241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
47242         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
47243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
47244         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
47245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47246         Moved ...
47247         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
47248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
47249         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
47250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
47251         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
47252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
47253         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
47254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
47255         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
47256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
47257         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
47258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
47259         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
47260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
47261         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
47262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
47263         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
47264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
47265         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
47266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47267         Moved ...
47268         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
47269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
47270         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
47272         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
47273         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
47274         (libpthread-sysdep_routines): Add elision-related stuff here instead.
47275         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
47276         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
47277         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
47278         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
47279         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
47280         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
47281         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
47282         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
47283         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
47284         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
47285         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
47286         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
47287         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
47288         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
47289         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
47290         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
47291         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
47292         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
47293         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
47294         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
47295         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
47296         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
47297         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
47298         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
47299         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
47300         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
47301         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
47302         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
47304         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
47305         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
47307         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
47308         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
47309         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
47310         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
47311         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
47312         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
47313         Moved ...
47314         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
47315         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
47316         Moved ...
47317         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
47318         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
47319         Moved ...
47320         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
47321         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
47322         Moved ...
47323         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
47324         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
47325         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
47326         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
47327         Moved ...
47328         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
47329         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
47330         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
47331         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
47332         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
47333         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
47334         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
47335         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
47336         Moved ...
47337         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
47338         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47339         Moved ...
47340         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47341         ... here.
47342         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
47343         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
47344         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
47345         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
47346         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47347         Moved ...
47348         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47349         ... here.
47350         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
47351         Moved ...
47352         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
47353         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
47354         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
47355         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
47356         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
47357         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
47358         Moved ...
47359         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
47360         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
47361         Moved ...
47362         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
47363         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
47364         Moved ...
47365         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
47366         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
47367         Moved ...
47368         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
47369         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
47370         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
47371         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
47372         Moved ...
47373         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
47374         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
47375         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
47376         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
47377         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
47378         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
47379         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
47380         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
47381         Moved ...
47382         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
47383         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47384         Moved ...
47385         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47386         ... here.
47387         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
47388         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
47389         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
47390         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
47391         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47392         Moved ...
47393         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47394         ... here.
47395         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
47396         Moved ...
47397         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
47398         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
47399         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
47400         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
47401         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
47402         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
47403         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
47404         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
47405         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
47406         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
47407         Moved ...
47408         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
47409         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
47410         Moved ...
47411         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
47412         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
47413         Moved ...
47414         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
47415         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
47416         Moved ...
47417         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
47418         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
47419         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
47420         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
47421         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
47422         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
47423         Moved ...
47424         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
47425         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
47426         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
47427         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
47428         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
47429         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
47430         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
47431         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
47432         Moved ...
47433         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
47434         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47435         Moved ...
47436         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47437         ... here.
47438         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
47439         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
47440         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
47441         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
47442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47443         Moved ...
47444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47445         ... here.
47446         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
47447         Moved ...
47448         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
47449         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
47450         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
47451         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
47452         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
47453         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
47454         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
47455         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
47456         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
47457         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
47458         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
47460         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
47461         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
47463         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
47464         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
47466         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
47467         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
47468         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
47469         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
47470         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
47471         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
47472         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
47473         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
47474         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
47475         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
47476         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
47477         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
47478         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
47479         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
47480         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
47481         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
47482         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
47483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
47484         Moved ...
47485         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
47486         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
47487         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
47488         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
47489         Moved ...
47490         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
47491         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
47492         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
47493         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
47494         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
47495         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
47496         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
47497         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
47498         Moved ...
47499         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
47500         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
47501         Moved ...
47502         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
47503         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
47504         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
47505         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
47506         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
47507         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
47508         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
47509         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
47510         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
47511         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
47512         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
47513         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
47514         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
47515         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
47516         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
47517         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
47518         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
47520         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
47521         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
47522         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
47523         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
47524         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
47526         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
47527         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
47528         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
47529         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
47530         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
47531         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
47532         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
47533         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
47534         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
47535         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
47537         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
47538         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
47540         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
47541         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
47542         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
47543         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
47544         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
47545         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
47546         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
47547         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
47548         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
47549         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
47550         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
47551         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
47552         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
47553         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
47554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
47555         Update #include.
47556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
47557         Likewise.
47558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47559         Likewise.
47560         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47561         Likewise.
47562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47563         Likewise.
47564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
47565         Likewise.
47566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
47567         Likewise.
47568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47569         Likewise.
47570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
47571         Likewise.
47572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
47573         Likewise.
47574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
47575         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
47576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
47577         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
47578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
47579         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
47580         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
47581         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
47582         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
47583         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
47584         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
47585         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
47586         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
47587         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
47588         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
47590         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
47591         that was previously under [RESET_PID].
47592         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47593         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
47594         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
47596         * sysdeps/i386/nptl/Implies: New file.
47597         * sysdeps/x86_64/nptl/Implies: New file.
47598         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
47599         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
47600         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
47601         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
47603         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
47604         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47605         (__libc_vfork): New strong alias.
47606         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
47607         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
47609         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
47610         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47611         (__libc_vfork): New strong alias.
47612         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
47613         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
47615         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
47616         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47617         (__libc_vfork): New strong alias.
47618         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
47619         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
47620         * nptl/pt-vfork.c: New file.
47621         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
47622         (libpthread: GLIBC_2.20): New version set (empty).
47624 2014-05-14  Will Newton  <will.newton@linaro.org>
47626         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
47627         rather than #if.
47629 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47631         [BZ #16564]
47632         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
47633         arguments with exponent 65 or above.
47634         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
47635         arguments 0x1p113L or above.
47636         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
47637         to arguments 0x1p107L or above.
47638         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
47639         positive arguments with exponent 65 or above.
47640         * math/auto-libm-test-in: Add more tests of log1p.
47641         * math/auto-libm-test-out: Regenerated.
47643         [BZ #16928]
47644         * math/s_cacos.c (__cacos): Ensure zero real part of result from
47645         non-finite arguments is +0.
47646         * math/s_cacosf.c (__cacosf): Likewise.
47647         * math/s_cacosl.c (__cacosl): Likewise.
47648         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
47649         * sysdeps/i386/fpu/libm-test-ulps: Update.
47650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47652         [BZ #16927]
47653         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
47654         value.
47655         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
47656         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
47657         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
47658         for explicit high bit of mantissa when testing for argument equal
47659         to 1.
47660         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
47661         * sysdeps/i386/fpu/libm-test-ulps: Update.
47662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47664         [BZ #16516]
47665         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
47666         (__erf): Scale by 16 instead of 8 in potentially underflowing
47667         case.  Ensure exception if result actually underflows.
47668         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
47669         (__erff): Scale by 16 instead of 8 in potentially underflowing
47670         case.  Ensure exception if result actually underflows.
47671         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
47672         (efx8): Remove variable.
47673         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47674         case.  Ensure exception if result actually underflows.
47675         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
47676         (efx8): Remove variable.
47677         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47678         case.  Ensure exception if result actually underflows.
47679         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
47680         (efx8): Remove variable.
47681         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47682         case.  Ensure exception if result actually underflows.
47683         * math/auto-libm-test-in: Add more tests of erf.
47684         * math/auto-libm-test-out: Regenerated.
47686 2014-05-14  Andreas Schwab  <schwab@suse.de>
47688         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
47689         Remove code conditionalized on USE___THREAD.
47691         * config.h.in (HAVE_PT_CHOWN): Define as 0.
47692         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
47693         not definedness.
47695 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47697         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
47698         Define unconditionally.
47699         (__ASSUME_O_CLOEXEC): Likewise.
47700         (__ASSUME_SOCK_CLOEXEC): Likewise.
47701         (__ASSUME_IN_NONBLOCK): Likewise.
47702         (__ASSUME_PIPE2): Likewise.
47703         (__ASSUME_EVENTFD2): Likewise.
47704         (__ASSUME_SIGNALFD4): Likewise.
47705         (__ASSUME_DUP3): Likewise.
47706         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47707         (__ASSUME_DUP3): Do not define.
47708         (__ASSUME_EVENTFD2): Likewise.
47709         (__ASSUME_IN_NONBLOCK): Likewise.
47710         (__ASSUME_O_CLOEXEC): Likewise.
47711         (__ASSUME_PIPE2): Likewise.
47712         (__ASSUME_SIGNALFD4): Likewise.
47713         (__ASSUME_SOCK_CLOEXEC): Likewise.
47714         (__ASSUME_UTIMES): Undefine.
47715         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47716         (__ASSUME_UTIMES): Do not define.
47717         (__ASSUME_O_CLOEXEC): Likewise.
47718         (__ASSUME_SOCK_CLOEXEC): Likewise.
47719         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
47720         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
47721         0x020621].
47722         (__ASSUME_PIPE2): Likewise.
47723         (__ASSUME_EVENTFD2): Likewise.
47724         (__ASSUME_SIGNALFD4): Likewise.
47725         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
47726         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
47727         Do not define.
47728         (__ASSUME_EVENTFD2): Likewise.
47729         (__ASSUME_SIGNALFD4): Likewise.
47730         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
47731         (__ASSUME_32BITUIDS): Likewise.
47732         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47733         (__ASSUME_IPC64): Likewise.
47734         (__ASSUME_ST_INO_64_BIT): Likewise.
47735         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
47736         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
47737         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47738         (__ASSUME_UTIMES): Do not define.
47739         (__ASSUME_PSELECT): Likewise.
47740         (__ASSUME_PPOLL): Likewise.
47741         (__ASSUME_O_CLOEXEC): Likewise.
47742         (__ASSUME_SOCK_CLOEXEC): Likewise.
47743         (__ASSUME_IN_NONBLOCK): Likewise.
47744         (__ASSUME_PIPE2): Likewise.
47745         (__ASSUME_EVENTFD2): Likewise.
47746         (__ASSUME_SIGNALFD4): Likewise.
47747         (__ASSUME_DUP3): Likewise.
47748         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47749         (__ASSUME_UTIMES): Likewise.
47750         (__ASSUME_O_CLOEXEC): Likewise.
47751         (__ASSUME_SOCK_CLOEXEC): Likewise.
47752         (__ASSUME_IN_NONBLOCK): Likewise.
47753         (__ASSUME_PIPE2): Likewise.
47754         (__ASSUME_EVENTFD2): Likewise.
47755         (__ASSUME_SIGNALFD4): Likewise.
47756         (__ASSUME_DUP3): Likewise.
47757         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47758         (__ASSUME_UTIMES): Likewise.
47759         (__ASSUME_O_CLOEXEC): Likewise.
47760         (__ASSUME_SOCK_CLOEXEC): Likewise.
47761         (__ASSUME_IN_NONBLOCK): Likewise.
47762         (__ASSUME_PIPE2): Likewise.
47763         (__ASSUME_EVENTFD2): Likewise.
47764         (__ASSUME_SIGNALFD4): Likewise.
47765         (__ASSUME_DUP3): Likewise.
47766         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
47767         Likewise.
47768         (__ASSUME_UTIMES): Likewise.
47769         (__ASSUME_EVENTFD2): Likewise.
47770         (__ASSUME_SIGNALFD4): Likewise.
47771         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47772         (__ASSUME_O_CLOEXEC): Likewise.
47773         (__ASSUME_SOCK_CLOEXEC): Likewise.
47774         (__ASSUME_IN_NONBLOCK): Likewise.
47775         (__ASSUME_PIPE2): Likewise.
47776         (__ASSUME_EVENTFD2): Likewise.
47777         (__ASSUME_SIGNALFD4): Likewise.
47778         (__ASSUME_DUP3): Likewise.
47779         (__ASSUME_UTIMES): Undefine.
47781         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
47782         feclearexcept.  Remove symbol versioning code.
47783         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
47784         symbol versioning code.
47785         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
47786         symbol versioning code.
47787         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
47788         feupdateenv.  Remove symbol versioning code.
47789         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
47790         fegetexceptflag.  Remove symbol versioning code.
47791         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
47792         fesetexceptflag.  Remove symbol versioning code.
47793         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
47794         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
47795         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
47796         (__posix_fadvise64_l32): Remove prototype.
47797         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
47798         code.
47800 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47802         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
47803         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
47804         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
47805         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
47807 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
47809         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
47810         current working directory
47812 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47814         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
47815         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
47816         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
47817         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
47818         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
47819         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
47820         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
47821         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
47822         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
47823         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
47824         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
47825         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
47826         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
47827         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
47828         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
47829         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
47830         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
47831         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
47832         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
47833         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
47834         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
47835         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
47836         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
47837         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
47838         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
47839         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
47840         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
47841         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
47842         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
47843         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
47844         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
47845         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
47846         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
47847         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
47848         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
47849         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
47850         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
47851         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
47852         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
47853         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
47854         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
47855         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
47857         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
47858         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
47860         * sysdeps/unix/sysv/linux/arm/Makefile
47861         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
47862         Add rt-aeabi_unwind_cpp_pr1.
47863         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
47864         Add nptl-aeabi_unwind_cpp_pr1.
47865         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
47866         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
47867         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
47868         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47869         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
47870         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47872         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
47873         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
47874         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
47875         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
47877         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
47878         Deconditionalize the code that was previously under [RESET_PID].
47879         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
47881         * sysdeps/generic/exit-thread.h: New file.
47882         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
47883         * include/unistd.h (__exit_thread): Remove declaration.
47884         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
47885         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
47886         * csu/libc-start.c: Include <exit-thread.h>.
47887         (LIBC_START_MAIN): Pass no argument to __exit_thread.
47888         * nptl/pthread_create.c: Include <exit-thread.h>.
47889         (start_thread): Call __exit_thread in place of __exit_thread_inline.
47890         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
47891         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
47892         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
47893         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
47894         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
47895         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
47896         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
47897         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
47898         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
47899         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
47900         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
47901         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
47902         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
47903         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
47904         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
47905         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
47907 2014-05-13  Andreas Schwab  <schwab@suse.de>
47909         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
47911 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
47913         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47914         (__ASSUME_UTIMES): Do not condition on kernel version.
47915         (__ASSUME_PSELECT): Define unconditionally.
47916         (__ASSUME_PPOLL): Likewise.
47917         (__ASSUME_ATFCTS): Likewise.
47918         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
47919         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
47920         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
47921         (__ASSUME_UTIMENSAT): Define unconditionally.
47922         (__ASSUME_PRIVATE_FUTEX): Likewise.
47923         (__ASSUME_FALLOCATE): Likewise.
47924         (__ASSUME_O_CLOEXEC): Likewise.
47925         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
47926         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
47927         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
47928         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
47929         (__ASSUME_IN_NONBLOCK): Likewise.
47930         (__ASSUME_PIPE2): Likewise.
47931         (__ASSUME_EVENTFD2): Likewise.
47932         (__ASSUME_SIGNALFD4): Likewise.
47933         (__ASSUME_DUP3): Likewise.
47934         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47935         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
47936         (__ASSUME_AT_RANDOM): Likewise.
47937         (__ASSUME_PREADV): Likewise.
47938         (__ASSUME_PWRITEV): Likewise.
47939         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
47940         (__ASSUME_F_GETOWN_EX): Define unconditionally.
47941         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
47942         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47943         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
47944         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47945         (__ASSUME_O_CLOEXEC): Define unconditionally.
47946         (__ASSUME_PSELECT): Do not undefine conditionally.
47947         (__ASSUME_PPOLL): Likewise.
47948         (__ASSUME_ATFCTS): Likewise.
47949         (__ASSUME_SET_ROBUST_LIST): Likewise.
47950         (__ASSUME_UTIMENSAT): Likewise.
47951         (__ASSUME_FDATASYNC): Define unconditionally.
47952         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47953         (__ASSUME_SIGFRAME_V2): Likewise.
47954         )__ASSUME_EVENTFD2): Likewise.
47955         (__ASSUME_SIGNALFD4): Likewise.
47956         (__ASSUME_PSELECT): Do not undefine conditionally.
47957         (__ASSUME_PPOLL): Likewise.
47958         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47959         (__ASSUME_PSELECT): Define unconditionally.
47960         (__ASSUME_PPOLL): Likewise.
47961         (__ASSUME_O_CLOEXEC): Likewise.
47962         (__ASSUME_SOCK_CLOEXEC): Likewise.
47963         (__ASSUME_IN_NONBLOCK): Likewise.
47964         (__ASSUME_PIPE2): Likewise.
47965         (__ASSUME_EVENTFD2): Likewise.
47966         (__ASSUME_SIGNALFD4): Likewise.
47967         (__ASSUME_DUP3): Likewise.
47968         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47969         (__ASSUME_O_CLOEXEC): Likewise.
47970         (__ASSUME_SOCK_CLOEXEC): Likewise.
47971         (__ASSUME_IN_NONBLOCK): Likewise.
47972         (__ASSUME_PIPE2): Likewise.
47973         (__ASSUME_EVENTFD2): Likewise.
47974         (__ASSUME_SIGNALFD4): Likewise.
47975         (__ASSUME_DUP3): Likewise.
47976         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47977         (__ASSUME_EVENTFD2): Likewise.
47978         (__ASSUME_SIGNALFD4): Likewise.
47979         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47981 2014-05-12  Andreas Schwab  <schwab@suse.de>
47983         [BZ #16932]
47984         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
47985         (_nss_nis_gethostbyname4_r): Return error if item length is larger
47986         than maximum RPC packet size.
47987         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
47988         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
47989         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
47990         (_nss_nis_getservbyport_r): Likewise.
47992 2014-05-12  Will Newton  <will.newton@linaro.org>
47994         * malloc/Makefile (tests): Add tst-mallopt.
47995         * malloc/tst-mallopt.c: New file.
47997 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47999         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
48000         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
48002 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48004         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
48005         (tst-tlsmod6.so): Likewise.
48007 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48009         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
48011 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
48013         [BZ #16064]
48014         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
48015         and <dl-procinfo.h>.
48016         (__fegetenv): Save SSE state in envp->__eip if supported.
48017         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
48018         envp->__eip if supported.
48019         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
48020         and <dl-procinfo.h>.
48021         (__fesetenv): Always set __eip, __cs_selector, __opcode,
48022         __data_offset and __data_selector in environment to 0.  Set SSE
48023         state if supported.
48024         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
48025         test-fenv-sse.
48026         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
48027         -mfpmath=sse.
48028         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
48030 2014-05-09  Will Newton  <will.newton@linaro.org>
48032         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
48033         and libc_relro_required for ARM.
48034         * sysdeps/arm/preconfigure: Regenerate.
48036 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
48037             Stefan Liebler  <stli@linux.vnet.ibm.com>
48039         * config.make.in (enable-lock-elision): New Makefile variable.
48040         * configure.ac: Likewise.
48041         * configure: Regenerate.
48042         * sysdeps/s390/configure.ac:
48043         Add check for gcc transactions support.
48044         * sysdeps/s390/configure: Regenerate.
48045         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
48046         Build elision files if enabled.
48047         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
48048         Add lock elision support for s390.
48049         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
48050         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
48051         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
48052         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
48053         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
48054         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
48055         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
48056         Likewise.
48057         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
48058         Likewise.
48059         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
48060         Likewise.
48061         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
48062         Likewise.
48063         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
48064         (__lll_timedlock_elision, __lll_lock_elision)
48065         (__lll_unlock_elision, __lll_trylock_elision)
48066         (lll_timedlock_elision, lll_lock_elision)
48067         (lll_unlock_elision, lll_trylock_elision): Add.
48068         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48069         (pthread_mutex_t): Add lock elision support for s390.
48071 2014-05-14  Wilco  <wdijkstr@arm.com>
48073         * sysdeps/arm/fclrexcpt.c: Cleanup.
48074         * sysdeps/arm/fedisblxcpt.c: Cleanup.
48075         * sysdeps/arm/feenablxcpt.c: Cleanup.
48076         * sysdeps/arm/fegetenv.c: Cleanup.
48077         * sysdeps/arm/fegetexcept.c: Cleanup.
48078         * sysdeps/arm/fegetround.c: Cleanup.
48079         * sysdeps/arm/feholdexcpt.c: Cleanup.
48080         * sysdeps/arm/fesetenv.c: Cleanup.
48081         * sysdeps/arm/fesetround.c: Cleanup.
48082         * sysdeps/arm/feupdateenv.c: Cleanup.
48083         * sysdeps/arm/fgetexcptflg.c: Cleanup.
48084         * sysdeps/arm/fraiseexcpt.c: Cleanup.
48085         * sysdeps/arm/fsetexcptflg.c: Cleanup.
48086         * sysdeps/arm/ftestexcept.c: Cleanup.
48087         * sysdeps/arm/get-rounding-mode.h: Cleanup.
48088         * sysdeps/arm/setfpucw.c: Cleanup.
48090 2014-05-09  Will Newton  <will.newton@linaro.org>
48092         * sysdeps/arm/armv7/strcmp.S: New file.
48093         * NEWS: Mention addition of ARMv7 optimized strcmp.
48095 2014-05-08  Roland McGrath  <roland@hack.frob.com>
48097         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
48098         look for %.ac rather than %.in.
48100         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
48101         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
48102         * sysdeps/mach/hurd/configure: Regenerated.
48103         * sysdeps/unix/sysv/linux/configure: Regenerated.
48105         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
48107 2014-05-07  Steve Ellcey  <sellcey@mips.com>
48109         [BZ #16922]
48110         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
48111         (LONG_SUB): Ditto.
48112         (PTR_SUB): Ditto.
48114 2014-05-07  Andreas Schwab  <schwab@suse.de>
48116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
48117         when skipping over non-matching result from nscd.
48119 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
48121         [BZ #16876]
48122         * nptl/sockperf.c (client): Check socket return value.
48124         [BZ #16877]
48125         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
48126         nscd security class.
48128 2014-05-06  Roland McGrath  <roland@hack.frob.com>
48130         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
48131         * sysdeps/arm/unwind.h: ... here.
48133 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
48135         [BZ #16916]
48136         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
48137         Define.
48139 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48141         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
48142         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
48143         multiarch strncpy for PPC64.
48144         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
48145         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
48146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
48147         multiarch optimizations.
48148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48149         (__libc_ifunc_impl_list): Likewise.
48150         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
48151         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
48152         multiarch stpncpy for PPC64.
48153         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
48154         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
48156 2014-05-06  Andreas Schwab  <schwab@suse.de>
48158         [BZ #16912]
48159         * gmon/mcount.c (_MCOUNT_DECL): Use
48160         atomic_compare_and_exchange_bool_acq instead of
48161         catomic_compare_and_exchange_bool_acq.
48163 2014-05-05  Roland McGrath  <roland@hack.frob.com>
48165         * elf/Makefile (others, install-bin): Remove pldd.
48166         (pldd-modules): Variable removed.
48167         ($(objpfx)pldd): Target removed.
48168         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
48169         (others, install-bin): Append pldd here.
48170         ($(objpfx)pldd): New target.
48172         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
48173         to 0, so the first #if test emitted later doesn't see it undefined.
48174         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
48175         * sysdeps/gnu/errlist.c: Regenerated.
48177 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48179         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48180         [libc_hidden_builtin_def]: Define to empty value.
48181         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
48182         [libc_hidden_builtin_def]: Likewise.
48183         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
48184         [libc_hidden_builtin_def]: Likewise.
48185         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
48186         [libc_hidden_builtin_def]: Likewise.
48187         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
48188         __redirect_memcpy and define ifunc as default hidden symbol.
48189         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
48190         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
48192 2014-05-04  Adam Conrad  <adconrad@0c3.net>
48194         * locale/iso-4217.def: Reintroduce XDR currency.
48196 2014-05-04  Allan McRae  <allan@archlinux.org>
48198         * po/eo.po: Update Esperanto translation from translation project.
48200 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
48202         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
48203         and FEATURE_INDEX_MAX to 1.
48204         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
48206 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48208         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
48209         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
48210         * iconvdata/big5.c (ONE_DIRECTION): Define.
48211         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
48212         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
48213         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
48214         * iconvdata/cp932.c (ONE_DIRECTION): Define.
48215         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
48216         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
48217         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
48218         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
48219         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
48220         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
48221         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
48222         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
48223         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
48224         * iconvdata/gbk.c (ONE_DIRECTION): Define.
48225         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
48226         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
48227         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
48228         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
48229         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
48230         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
48231         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
48232         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
48233         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
48234         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
48235         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
48236         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
48237         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
48238         * iconvdata/iso646.c (ONE_DIRECTION): Define.
48239         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
48240         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
48241         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
48242         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
48243         * iconvdata/johab.c (ONE_DIRECTION): Define.
48244         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
48245         * iconvdata/sjis.c (ONE_DIRECTION): Define.
48246         * iconvdata/t.61.c (ONE_DIRECTION): Define.
48247         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
48248         * iconvdata/tscii.c (ONE_DIRECTION): Define.
48249         * iconvdata/uhc.c (ONE_DIRECTION): Define.
48250         * iconvdata/unicode.c (ONE_DIRECTION): Define.
48251         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
48252         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
48253         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
48255 2014-05-01  Roland McGrath  <roland@hack.frob.com>
48257         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
48258         (_IO_JUMPS_OFFSET): Define to 0.
48260         * nptl/sysdeps/pthread/bits/libc-lock.h
48261         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
48262         (__libc_lock_define_initialized_recursive): Always define using
48263         initializer.  Modern compilers treat uninitialized (implicit zero) and
48264         explicit zero initializers the same (i.e. put the datum in bss).
48266 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48268         * nscd/nscd-client.h: Include <string.h>.
48270 2014-05-01  David S. Miller  <davem@davemloft.net>
48272         [BZ #16885]
48273         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
48274         multiple zero bytes exist at the end of a string.
48275         Reported by Aurelien Jarno <aurelien@aurel32.net>
48277         * string/test-strcmp.c (check): Add explicit test for situations where
48278         there are multiple zero bytes after the first.
48280 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48282         [BZ #16890]
48283         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
48284         when compiling wprintf.
48285         * stdio-common/tstdiomisc.c (t3): New function.
48286         (main): Call it.
48288 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48290         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
48291         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
48292         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
48293         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
48295 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48297         * stdlib/longlong.h: Updated from GCC.
48299 2014-05-01  Will Newton  <will.newton@linaro.org>
48300             Bernard Ogden  <bernie.ogden@linaro.org>
48302         * NEWS: Update fixed bug list.
48304         [BZ #15119]
48305         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
48307 2014-04-30  David S. Miller  <davem@davemloft.net>
48309         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
48310         (libc_feholdexcept_setround_sparc_ctx): New function.
48311         (libc_fesetenv_sparc_ctx): Likewise.
48312         (libc_feupdateenv_sparc_ctx): Likewise.
48313         (libc_feholdsetround_sparc_ctx): Likewise.
48314         (libc_feholdexcept_setround_ctx): Define.
48315         (libc_feholdexcept_setroundf_ctx): Likewise.
48316         (libc_feholdexcept_setroundl_ctx): Likewise.
48317         (libc_fesetenv_ctx): Likewise.
48318         (libc_fesetenvf_ctx): Likewise.
48319         (libc_fesetenvl_ctx): Likewise.
48320         (libc_feupdateenv_ctx): Likewise.
48321         (libc_feupdateenvf_ctx): Likewise.
48322         (libc_feupdateenvl_ctx): Likewise.
48323         (libc_feresetround_ctx): Likewise.
48324         (libc_feresetroundf_ctx): Likewise.
48325         (libc_feresetroundl_ctx): Likewise.
48326         (libc_feholdsetround_ctx): Likewise.
48327         (libc_feholdsetroundf_ctx): Likewise.
48328         (libc_feholdsetroundl_ctx): Likewise.
48330         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48331         with __USE_GNU instead of XOPEN cpp guards.
48333         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
48334         0.
48336         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48337         with XOPEN cpp guards.
48339 2014-04-30  Julian Brown  <julian@codesourcery.com>
48341         [BZ #16888]
48342         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
48343         handling.
48345 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
48347         [BZ #9894]
48348         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
48349         Change to 2.6.32.
48350         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
48351         * sysdeps/unix/sysv/linux/configure: Regenerated.
48352         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
48353         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
48354         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
48355         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
48356         * README: Update reference to required Linux kernel version.
48357         * manual/install.texi (Linux): Update reference to required Linux
48358         kernel headers version.
48359         * INSTALL: Regenerated.
48361         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
48362         header inclusion.
48363         [POSIX] (limits.h): Likewise.
48364         [POSIX] (math.h): Likewise.
48365         [POSIX] (sys/wait.h): Likewise.
48366         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
48367         function.
48368         [POSIX] (stddef.h): Do not allow header inclusion.
48370 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48372         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
48374 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
48376         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
48377         Return immediately after lll_futex_wake.
48379 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48381         [BZ #16791]
48382         * nscd/nscd-client.h (datahead_init_common): Initialize entire
48383         structure.
48384         (datahead_init_pos): Call datahead_init_common early.
48385         (datahead_init_neg): Likewise.
48387         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
48388         datahead_init_neg): New functions.
48389         * nscd/aicache.c (addhstaiX): Use them.
48390         * nscd/grpcache.c (cache_addgr): Likewise.
48391         * nscd/hstcache.c (cache_addhst): Likewise.
48392         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48393         * nscd/netgroupcache.c (do_notfound): Likewise.
48394         (addgetnetgrentX): Likewise.
48395         (addinnetgrX): Likewise.
48396         * nscd/pwdcache.c (cache_addpw): Likewise.
48397         * nscd/servicescache.c (cache_addserv): Likewise.
48399 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48400             Atsushi Onoe  <atsushi@onoe.org>
48402         [BZ #14308]
48403         [BZ #12994]
48404         [BZ #13651]
48405         * resolv/res_query.c (__libc_res_nsearch): Return if at least
48406         one response is valid.
48407         * resolv/res_send.c (send_dg): Check for validity of other
48408         response if the current response is a referral.
48410 2014-04-29  Steve Ellcey  <sellcey@mips.com>
48412         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
48414 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
48416         [BZ #16823]
48417         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
48418         Always divide by positive zero when computing -Inf result.
48419         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48420         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
48422 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48424         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
48425         FPSCR if value do not change.
48426         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48427         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
48428         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
48429         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48430         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
48431         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
48432         function.
48434 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
48436         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
48437         * sysdeps/unix/sysv/linux/hppa: Move directory from
48438         ports/systeps/unix/sysv/linux/hppa.
48439         * README: Update listing for hppa-*-linux-gnu.
48441 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
48443         [BZ #16754]
48444         * manual/stdio.texi (Hook functions): Fix types of stream hook
48445         functions.
48446         [BZ #16854]
48447         * socket/sys/socket.h: Fix typo in comment.
48449 2014-04-28  Wilco  <wdijkstr@arm.com>
48451         * sysdeps/arm/fenv_private.h: New file.
48452         * sysdeps/arm/math_private.h: New file.
48453         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
48455 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
48457         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
48458         with __int128_t.
48459         (La_x86_64_retval): Likewise.
48461 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
48463         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
48464         fpsr if value didn't change.
48465         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
48466         to fpcr if value didn't change.
48467         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
48468         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
48469         fpsr or fpcr if value didn't change.
48470         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48471         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
48472         fpcr if value didn't change.
48473         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
48474         to fpsr if value didn't change.
48476 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48478         * nptl/tst-sem3.c: Use test-skeleton.c
48479         (main): Rename to do_test.  Use return instead of
48480         exit.
48481         * nptl/tst-sem4.c: Use test-skeleton.c
48482         (main): Rename to do_test.
48484 2014-04-22  David S. Miller  <davem@davemloft.net>
48486         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
48487         (struct sigaction): New struct member __glibc_reserved0, change
48488         type of sa_flags to int.
48490 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
48492         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
48493         (COUNT_LEADING_ZEROS_0): Define for AArch64.
48495 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48497         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
48498         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
48500 2014-04-22  Will Newton  <will.newton@linaro.org>
48501             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
48503         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
48504         (__longjmp): Add longjmp and longjmp_target SystemTap
48505         probes.
48506         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
48507         (__sigsetjmp): Add setjmp SystemTap probe.
48509 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
48511         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
48512         match manual order.
48514 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48516         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
48518         * sysdeps/powerpc/fpu/fenv_private.h
48519         (libc_feholdexcept_setroundl_ctx): Define to
48520         libc_feholdexcept_setround_ppc_ctx.
48521         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
48522         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
48523         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
48524         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
48526 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
48528         * sysdeps/aarch64/math-tests.h: New file.
48530 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
48532         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
48533         New.
48534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48535         Check and set bit_AVX2_Usable.
48536         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
48537         macro.
48538         (bit_AVX2): Likewise.
48539         (index_AVX2_Usable): Likewise.
48540         (CPUID_AVX2): Likewise.
48541         (HAS_AVX2): Likewise.
48543 2014-04-17  Will Newton  <will.newton@linaro.org>
48545         * manual/setjmp.texi (System V contexts): Add note that
48546         calling setcontext on a context created by a call to a
48547         signal handler is undefined.  Update text to note that
48548         setcontext from a signal handler is possible but not
48549         recommended.
48551         [BZ #16629]
48552         * stdlib/tst-setcontext.c: Include signal.h.
48553         (main): Check that the signal stack before and
48554         after swapcontext is the same.
48556         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
48557         Re-implement to restore registers in user code and avoid
48558         rt_sigreturn system call.
48560 2014-04-17  Wilco  <wdijkstr@arm.com>
48562         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
48563         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
48564         * math/test-fenv.c: Skip exception trap tests on targets which only
48565         support non-stop mode.
48567 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
48568             Wilco Dijkstra  <wilco.dijkstra@arm.com>
48570         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
48571         (libc_feholdsetround_aarch64_ctx)
48572         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
48573         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
48574         (libc_feresetround_ctx, libc_feresetroundf_ctx)
48575         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
48576         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
48577         (libc_feresetround_noexl_ctx): Define.
48579 2014-04-16  Richard Henderson  <rth@redhat.com>
48581         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
48583         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
48584         unwind tables.
48586         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
48587         const from the non-libc, non-ldso copy.
48589         * sysdeps/alpha/libm-test-ulps: Regenerate.
48591 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
48592             Wilco Dijkstra  <wilco.dijkstra@arm.com>
48594         * sysdeps/aarch64/fpu/math_private.h: New file.
48596 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48598         * sysdeps/aarch64/libm-test-ulps: Regenerate.
48600 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
48602         [BZ #16275]
48603         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
48604         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
48605         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
48606         Intel MPX bound registers before _dl_profile_fixup.
48607         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
48608         registers after _dl_profile_fixup.  Save and restore bound
48609         registers bnd0/bnd1 when calling _dl_call_pltexit.
48610         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
48611         (LR_BND_OFFSET): Likewise.
48612         (LRV_BND0_OFFSET): Likewise.
48613         (LRV_BND1_OFFSET): Likewise.
48615 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48617         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
48618         to...
48619         * sysdeps/mach/hurd/i386/tls.h: ... here.
48620         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
48621         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
48622         fields.
48624 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48626         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
48628 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48630         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48632 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48634         [BZ #14770]
48635         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
48636         * sysdeps/s390/configure: Regenerate.
48638         [BZ #16824]
48639         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
48640         Set round-to-nearest internally to reduce error accumulation.
48642 2014-04-16  Alan Modra  <amodra@gmail.com>
48644         [BZ #16740]
48645         [BZ #16619]
48646         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
48647         * math/libm-test.inc (frexp_test_data): Add tests.
48648         * NEWS: Update fixed bug list.
48650 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48652         * benchtests/Makefile: Depend on libraries in build directory.
48653         (bench-math): Separate out math tests.
48654         (bench-pthread): Separate out pthread tests.
48655         (bench): Include math and pthread tests.
48657 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
48659         [BZ #16831]
48660         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
48661         _dl_debug_initialize.
48663         * configure.ac: Remove SELinux header check.
48664         * configure: Regenerate.
48665         * nscd/selinux.c (perms): Array of const char* to permission names.
48666         (nscd_request_avc_has_perm): Call security_deny_unknown to find
48667         default policy. Call string_to_security_class and string_to_av_perm to
48668         translate strings. Enforce default policy and call avs_has_perm with
48669         results of translated strings.
48671 2014-04-13  David S. Miller  <davem@davemloft.net>
48673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48675 2014-04-12  Allan McRae  <allan@archlinux.org>
48677         [BZ #16838]
48678         * manual/string.texi (Collation Functions): Fix qsort argument
48679         order in example.
48680         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48682 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
48684         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
48685         Make the test a no-op if there are no exceptions defined.
48687 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
48689         * elf/Makefile (tests): make tst-dlopen-aout conditional on
48690         enable-hardcoded-path-in-tests
48692 2014-04-11  Will Newton  <will.newton@linaro.org>
48694         * benchtests/Makefile (extra-objs): Add json-lib.o.
48695         (bench-func): Tidy up JSON output.
48696         * benchtests/bench-skeleton.c: Include json-lib.h.
48697         (main): Use JSON library functions to do output of
48698         benchmark results.
48699         * benchtests/bench-timing-type.c (main): Output the
48700         timing type simply, leaving formatting to the user.
48701         * benchtests/json-lib.c: New file.
48702         * benchtests/json-lib.h: Likewise.
48704 2014-04-11  Torvald Riegel  <triegel@redhat.com>
48706         [BZ #15215]
48707         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
48708         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
48709         memory barriers.  Add comments.
48710         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
48711         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
48712         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
48713         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
48714         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
48715         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
48717 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48719         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
48720         * sysdeps/s390/s390-64/configure.ac: ... this ...
48721         * sysdeps/s390/configure.ac: ... to here.
48722         * sysdeps/s390/s390-32/configure: Delete file.
48723         * sysdeps/s390/s390-64/configure: Delete file.
48724         * sysdeps/s390/configure: Regenerate.
48726 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
48728         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
48730 2014-04-11  Will Newton  <will.newton@linaro.org>
48732         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
48733         to zero if it is not defined elsewhere.  (mtrim): Test
48734         the value of MALLOC_DEBUG with #if rather than #ifdef.
48736 2014-04-10 Torvald Riegel  <triegel@redhat.com>
48738         * benchtests/pthread_once-inputs: New file.
48739         * benchtests/pthread_once-source.c: New file.
48740         * benchtests/README: Update documentation.
48742 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
48743             H.J. Lu  <hongjiu.lu@intel.com>
48745         [BZ #16275]
48746         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
48747         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
48748         * sysdeps/x86_64/configure: Regenerated.
48749         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
48750         macro.
48751         (REGISTER_SAVE_RAX): Likewise.
48752         (REGISTER_SAVE_RCX): Likewise.
48753         (REGISTER_SAVE_RDX): Likewise.
48754         (REGISTER_SAVE_RSI): Likewise.
48755         (REGISTER_SAVE_RDI): Likewise.
48756         (REGISTER_SAVE_R8): Likewise.
48757         (REGISTER_SAVE_R9): Likewise.
48758         (REGISTER_SAVE_BND0): Likewise.
48759         (REGISTER_SAVE_BND1): Likewise.
48760         (REGISTER_SAVE_BND2): Likewise.
48761         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
48762         bound registers when calling _dl_fixup.
48764 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48766         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
48767         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
48768         of its definition.
48769         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
48770         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
48771         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
48772         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
48773         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
48774         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
48775         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
48777 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
48779         [BZ #15514]
48780         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
48781         pathconf(_PC_NAME_MAX).
48783 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48785         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
48786         Remove macro usage.
48787         (__PTHREAD_SPINS): Move definition to ...
48788         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48789         (__PTHREAD_SPINS): ... here.
48790         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48791         (__PTHREAD_SPIN): Likewise.
48792         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
48793         (__PTHREAD_SPIN): Likewise.
48794         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
48795         (__PTHREAD_SPIN): Likewise.
48796         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
48797         (__PTHREAD_SPIN): Likewise.
48798         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48799         (__PTHREAD_SPIN): Likewise.
48800         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48801         (__PTHREAD_SPIN): Likewise.
48802         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
48803         (__PTHREAD_SPIN): Likewise.
48804         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48805         (__PTHREAD_SPIN): Likewise.
48806         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48807         (__PTHREAD_SPIN): Likewise.
48808         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48809         (__PTHREAD_SPIN): Likewise.
48810         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48811         (__PTHREAD_SPIN): Likewise.
48812         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
48813         (__PTHREAD_SPIN): Likewise.
48815         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
48816         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
48817         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
48818         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
48819         imply folder.
48820         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
48821         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
48822         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
48823         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
48824         correct imply path.
48825         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
48826         strlen symbol for non multi-arch builds.
48827         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
48828         missing hidden_def and weak_alias.
48830 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
48832         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
48834 2014-04-07  Will Newton  <will.newton@linaro.org>
48836         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
48837         and contents.  [!_LIBC] Remove #ifndef and contents.
48838         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
48839         * string/memccpy.c (__memccpy): Use ANSI prototype.
48840         * string/memfrob.c (memfrob): Likewise.
48841         * string/strcoll.c (STRCOLL): Likewise.
48842         * string/strlen.c (strlen): Likewise.
48843         * string/strtok.c (STRTOK): Likewise.
48844         * string/strcat.c: Remove unused #include of memcopy.h.
48845         (strcat): Use ANSI prototype.
48846         * string/strchr.c: Remove unused #include of memcopy.h.
48847         (strchr): Use ANSI prototype.
48848         * string/strcmp.c: Remove unused #include of memcopy.h.
48849         (strcmp): Use ANSI prototype.
48850         * string/strcpy.c: Remove unused #include of memcopy.h.
48851         (strcpy): Use ANSI prototype.
48853 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48855         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
48856         * config.make.in (config-extra-cppflags): Set it from
48857         libc_extra_cppflags.
48858         * configure.ac (libc_extra_cflags): Make it accumulate over
48859         configure fragments.
48860         (libc_extra_cppflags): New flag.
48861         * configure. Regenerate.
48862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
48863         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
48864         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
48865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
48867         [BZ #16815]
48868         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
48869         result for FE_DOWNWARD rounding mode.
48870         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
48871         Likewise.
48872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48874 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
48876         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
48877         in function argument name.
48879 2014-04-03  David Svoboda  <svoboda@cert.org>
48881         [BZ #5666]
48882         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
48883         explicitly.
48885 2014-04-03  Roland McGrath  <roland@hack.frob.com>
48887         * elf/dl-unmap-segments.h: New file.
48888         * sysdeps/generic/ldsodefs.h
48889         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
48890         * elf/dl-close.c: Include <dl-unmap-segments.h>.
48891         * elf/dl-fptr.c: Likewise.
48892         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
48893         * sysdeps/aarch64/tlsdesc.c: Likewise.
48894         * sysdeps/arm/tlsdesc.c: Likewise.
48895         * sysdeps/i386/tlsdesc.c: Likewise.
48896         * sysdeps/tile/dl-runtime.c: Likewise.
48897         * sysdeps/x86_64/tlsdesc.c: Likewise.
48898         * elf/dl-load.h: New file.
48899         * elf/dl-load.c: Include it.
48900         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
48901         Macros moved to dl-load.h.
48902         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
48903         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
48904         Use _dl_unmap_segments in place of __munmap.
48905         Break out segment-mapping loop into ...
48906         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
48908 2014-04-03  Will Newton  <will.newton@linaro.org>
48910         * elf/dl-lookup.c (do_lookup_x): Remove comment
48911         referring to nested function and move variable
48912         declarations down to before first use.
48914 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
48916         [BZ #16799]
48917         [BZ #16800]
48918         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
48919         with 0 numerator.
48920         * math/s_catanf.c (__catanf): Likewise.
48921         * math/s_catanh.c (__catanh): Likewise.
48922         * math/s_catanhf.c (__catanhf): Likewise.
48923         * math/s_catanhl.c (__catanhl): Likewise.
48924         * math/s_catanl.c (__catanl): Likewise.
48925         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
48926         by positive zero when computing -Inf result.
48927         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
48928         (catanh_test): Likewise.
48929         * sysdeps/i386/fpu/libm-test-ulps: Update.
48930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48932         [BZ #16789]
48933         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
48934         instead of using underflowing value in computing result.
48935         * math/s_clog10.c (__clog10): Likewise.
48936         * math/s_clog10f.c (__clog10f): Likewise.
48937         * math/s_clog10l.c (__clog10l): Likewise.
48938         * math/s_clogf.c (__clogf): Likewise.
48939         * math/s_clogl.c (__clogl): Likewise.
48940         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
48941         (clog10_test): Likewise.
48942         * sysdeps/i386/fpu/libm-test-ulps: Update.
48943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48945 2014-04-02  Alan Modra  <amodra@gmail.com>
48947         [BZ #16739]
48948         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
48949         output when value is near a power of two.  Use int64_t for lx and
48950         remove casts.  Use decimal rather than hex exponent constants.
48951         Don't use long double multiplication when double will suffice.
48952         * math/libm-test.inc (nextafter_test_data): Add tests.
48953         * NEWS: Add 16739 and 16786 to bug list.
48955         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
48957         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
48959 2014-04-01  Will Newton  <will.newton@linaro.org>
48961         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
48962         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
48964 2014-04-01  Florian Weimer  <fweimer@redhat.com>
48966         [BZ #13347]
48967         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
48968         * nptl/tst-setuid2.c: New file.
48969         * nptl/Makefile (xtests): Add tst-setuid2.
48971 2014-04-01  Alan Modra  <amodra@gmail.com>
48973         [BZ #16786]
48974         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
48976 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48978         [BZ #6803]
48979         [BZ #6804]
48980         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
48981         set errno as appropriate.
48982         * math/w_scalbf.c (__scalbf): Likewise.
48983         * math/w_scalbl.c (__scalbl): Likewise.
48984         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
48985         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
48986         * math/libm-test.inc (scalb_test_data): Add errno expectations.
48987         Add more NaN tests.
48989         [BZ #16349]
48990         * math/w_atan2.c: Include <errno.h>.
48991         (__atan2): Set errno for result underflowing to zero.
48992         * math/w_atan2f.c: Include <errno.h>.
48993         (__atan2f): Set errno for result underflowing to zero.
48994         * math/w_atan2l.c: Include <errno.h>.
48995         (__atan2l): Set errno for result underflowing to zero.
48996         * math/auto-libm-test-in: Don't allow missing errno for some atan2
48997         tests.
48998         * math/auto-libm-test-out: Regenerated.
49000 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49002         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
49003         Encode instruction correctly in little endian.
49004         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
49005         Likewise.
49006         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
49007         Likewise.
49008         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
49009         Likewise.
49010         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
49011         Likewise.
49013 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49015         [BZ #9894]
49016         * sysdeps/unix/sysv/linux/kernel-features.h
49017         [__sparc__ && !__arch64__ && !__sparc_v9__]
49018         (__ASSUME_SET_ROBUST_LIST): Do not define.
49019         [__sparc__ && !__arch64__ && !__sparc_v9__]
49020         (__ASSUME_FUTEX_LOCK_PI): Likewise.
49021         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
49022         Likewise.
49023         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49024         (__ASSUME_FUTEX_LOCK_PI): Undefine.
49025         (__ASSUME_REQUEUE_PI): Likewise.
49026         (__ASSUME_SET_ROBUST_LIST): Likewise.
49027         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49028         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
49029         Undefine.
49030         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49031         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
49032         Likewise.
49033         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
49034         Likewise.
49035         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
49036         Likewise.
49037         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49038         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
49039         Undefine.
49040         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
49041         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
49042         Likewise.
49044         [BZ #16648]
49045         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49046         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
49047         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
49049 2014-03-31  Will Newton  <will.newton@linaro.org>
49051         * benchtests/Makefile (bench): Add ffs and ffsll to list
49052         of tests.
49053         * benchtests/ffs-inputs: New file.
49054         * benchtests/ffsll-inputs: Likewise.
49056 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
49058         [BZ #16770]
49059         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
49060         too large before casting to int.
49061         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
49062         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
49063         * math/libm-test.inc (scalb_test_data): Add more tests.
49065 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49067         * benchtests/Makefile (DETAILED_OPT): New make option.
49068         (bench-func): Run benchmark program with -d if DETAILED_OPT is
49069         set.
49070         * benchtests/bench-skeleton.c: Include stdbool.h.
49071         (main): Store and print timings per input.
49072         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
49073         member to each argument value.
49074         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
49075         (_print_arg_data): Initialize per-input timing to 0.
49077         * benchtests/Makefile (timing-type): New binary.
49078         (bench-clean): Also remove bench-timing-type.
49079         (bench): New target for timing-type.
49080         (bench-func): Print output in JSON format.
49081         * benchtests/bench-skeleton.c (main): Print output in JSON
49082         format.
49083         * benchtests/bench-timing-type.c: New file.
49084         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
49085         (TIMING_PRINT_STATS): Remove.
49086         * benchtests/scripts/bench.py (_print_arg_data): Store variant
49087         name separately.
49089         * benchtests/bench-modf.c: Remove.
49090         * benchtests/modf-inputs: New inputs file.
49092 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
49094         [BZ #16362]
49095         * math/s_clog10.c (M_PI_LOG10E): New macro.
49096         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
49097         imaginary parts are 0.
49098         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
49099         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
49100         imaginary parts are 0.
49101         * math/s_clog10l.c (M_PI_LOG10El): New macro.
49102         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
49103         imaginary parts are 0.
49104         * math/libm-test.inc (clog10_test_data): Update expected results
49105         for when real and imaginary parts are 0.
49107 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
49109         * elf/dl-load.c: Finish conversion of __builtin_expect into
49110         __glibc_{un}likely.
49112 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
49114         [BZ #16348]
49115         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
49116         1+x for argument with exponent below -67.
49117         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
49118         Likewise.
49119         * math/auto-libm-test-in: Add more tests of exp.
49120         * math/auto-libm-test-out: Regenerated.
49122 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49124         [BZ #16759]
49125         * inet/getnetgrent_r.c (get_nonempty_val): New function.
49126         (nscd_getnetgrent): Use it.
49128         [BZ #16760]
49129         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
49130         of stpcpy.
49132 2014-03-27  Andi Kleen  <ak@linux.intel.com>
49134         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
49135         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49136         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49137         (lll_robust_unlock): Remove out of line section. Use cfi
49138         intrinsics.
49139         (LLL_STUB_UNWIND_INFO*): Remove.
49140         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
49141         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49142         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49143         (lll_robust_unlock): Remove out of line section. Use cfi
49144         intrinsics.
49145         (LLL_STUB_UNWIND_INFO*): Remove.
49147 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49149         [BZ #16758]
49150         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
49151         blank values.
49153 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
49155         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
49157 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
49159         [BZ #16198]
49160         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
49161         fnstenv.
49162         * math/test-fenv-preserve.c: New file.
49163         * math/Makefile (tests): Add test-fenv-preserve.
49165 2014-03-26  Will Newton <will.newton@linaro.org>
49167         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
49169 2014-03-25  Roland McGrath  <roland@hack.frob.com>
49171         * scripts/versionlist.awk: Partition the version sets and emit all
49172         GLIBC_* (sorted) before all others (sorted).
49174 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49176         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
49177         GLIBC_2.2.5 version.
49179 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49181         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
49182         calls.
49184         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
49185         previous change.
49187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49189 2014-03-25  Andreas Schwab  <schwab@suse.de>
49191         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
49192         label to be used after in6ailist is initialized.
49194 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49196         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49197         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49199 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49201         [BZ #16357]
49202         [BZ #16599]
49203         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
49204         min_plus_half.
49205         (fp_formats): Update initializers.
49206         (init_fp_formats): Initialize new field.
49207         (output_for_one_input_case): Allow underflow for results up to
49208         min_plus_half.
49209         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
49210         * math/auto-libm-test-in: Don't mark some underflows from asin and
49211         atanh as spurious.
49212         * math/auto-libm-test-out: Regenerated.
49213         * sysdeps/i386/fpu/libm-test-ulps: Update.
49214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49216 2014-03-25  Andreas Schwab  <schwab@suse.de>
49218         * libio/Makefile (tst-ftell-partial-wide-ENV)
49219         (tst-ftell-active-handler-ENV): Define.
49221 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
49223         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
49225 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49227         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
49229 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49231         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
49232         * sysdeps/x86_64/fpu/multiarch/e_exp.c
49233         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
49235 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49237         [BZ #16634]
49238         * elf/dl-load.c (open_verify): Add mode parameter.
49239         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
49240         (open_path): Change from boolean 'secure' to complete flag 'mode'
49241         (_dl_map_object): Adjust.
49242         * elf/Makefile (tests): Add tst-dlopen-aout.
49243         * elf/tst-dlopen-aout.c: New test.
49245 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
49247         [BZ #16714]
49248         * sysdeps/unix/sysv/linux/s390/bits/stat.h
49249         (struct stat): Rename member pad0 to __glibc_reserved0.
49251         [BZ #16712]
49252         * sysdeps/s390/s390-32/bits/wordsize.h
49253         (__WORDSIZE32_SIZE_ULONG): New define.
49254         * sysdeps/s390/s390-64/bits/wordsize.h
49255         (__WORDSIZE32_SIZE_ULONG): Likewise.
49256         * sysdeps/generic/stdint.h (SIZE_MAX):
49257         Define as UL if __WORDSIZE32_SIZE_ULONG.
49259         [BZ #16713]
49260         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
49261         (__glibc_reserved0): New variable.
49262         (sa_flags): Change type to int.
49264         * posix/Makefile (before-compile): Use += before-compile instead
49265         of a :=.
49267         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49268         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49270 2014-03-20  Andreas Schwab  <schwab@suse.de>
49272         [BZ #16743]
49273         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
49274         non-matching result from nscd.
49276 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49278         * scripts/bench.py: Moved to ...
49279         * benchtests/scripts/bench.py: ... here.
49280         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
49282 2014-03-24  Andreas Schwab  <schwab@suse.de>
49284         [BZ #16002]
49285         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
49286         alloca_account and account alloca use for struct in6ailist.
49288 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49290         [BZ #16284]
49291         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
49292         rounding mode to recompute results that overflow to infinity or
49293         underflow to zero.
49294         * math/auto-libm-test-in: Don't mark tests as expected to fail for
49295         bug 16284.
49296         * math/auto-libm-test-out: Regenerated.
49297         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
49298         (ccosh_test): Likewise.
49299         (csin_test_data): Use plus_oflow.
49300         (csin_test): Use ALL_RM_TEST.
49301         (csinh_test_data): Use plus_oflow.
49302         (csinh_test): Use ALL_RM_TEST.
49303         * sysdeps/i386/fpu/libm-test-ulps: Update.
49304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49306 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
49308         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
49309         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
49310         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
49312         [BZ #16731]
49313         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
49314         when x - 1 is zero.
49315         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
49316         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
49317         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49318         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
49319         argument is 1.
49320         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
49321         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
49322         zero.
49323         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
49324         * sysdeps/i386/fpu/libm-test-ulps: Update.
49325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49327 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49329         * scripts/bench.pl: Remove file.
49330         * scripts/bench.py: New benchmark script.
49331         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
49332         * benchtests/README: Mention python dependency.
49333         * scripts/pylintrc: New file.
49334         * scripts/pylint: New file.
49336         * bits/mathdef.h: Use #ifdef instead of #if.
49337         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
49338         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49339         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
49340         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49341         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
49342         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49344 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49345             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49347         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
49348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
49349         and strpbrk-ppc64 objects.
49350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49351         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
49352         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
49353         multiarch strpbrk for POWER7.
49354         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
49355         multiarch strpbrk for PPC64.
49356         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
49357         ifunc selector.
49358         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
49359         strpbrk for POWER7.
49361 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49363         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
49364         (atan_test): Likewise.
49365         (atanh_test_data): Use NO_TEST_INLINE for two tests.
49366         (atanh_test): Use ALL_RM_TEST.
49367         (atan2_test_data): Likewise.
49368         (cabs_test): Likewise.
49369         (cacosh_test): Likewise.
49370         (carg_test): Likewise.
49371         (casin_test): Likewise.
49372         (casinh_test): Likewise.
49373         (cbrt_test): Likewise.
49374         (csqrt_test): Likewise.
49375         (erf_test): Likewise.
49376         (erfc_test): Likewise.
49377         (pow10_test): Likewise.
49378         (exp2_test): Likewise.
49379         (hypot_test): Likewise.
49380         (j0_test): Likewise.
49381         (j1_test): Likewise.
49382         (lgamma_test): Likewise.
49383         (gamma_test): Likewise.
49384         (sincos_test): Likewise.
49385         (tanh_test): Likewise.
49386         (y0_test): Likewise.
49387         (y1_test): Likewise.
49388         * sysdeps/i386/fpu/libm-test-ulps: Update.
49389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49391 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49393         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
49394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
49395         and strcspn-ppc64 objects.
49396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49397         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
49398         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
49399         multiarch strcspn for POWER7.
49400         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
49401         multiarch strcspn for PPC64.
49402         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
49403         ifunc selector.
49404         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
49405         strcspn for POWER7.
49407 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49409         * math/gen-libm-test.pl (generate_testfile): Expect only function
49410         name as argument to AUTO_TESTS_* and pass results for all rounding
49411         modes to parse_args.
49412         (parse_auto_input): Separate inputs of automatic tests from
49413         outputs before storing in %auto_tests.
49414         * math/libm-test.inc (acos_test_data): Update call to
49415         AUTO_TESTS_f_f.
49416         (acos_test): Use ALL_RM_TEST.
49417         (acos_tonearest_test_data): Remove.
49418         (acos_test_tonearest): Likewise.
49419         (acos_towardzero_test_data): Likewise.
49420         (acos_test_towardzero): Likewise.
49421         (acos_downward_test_data): Likewise.
49422         (acos_test_downward): Likewise.
49423         (acos_upward_test_data): Likewise.
49424         (acos_test_upward): Likewise.
49425         (acosh_test_data): Update call to AUTO_TESTS_f_f.
49426         (asin_test_data): Likewise.
49427         (asin_test): Use ALL_RM_TEST.
49428         (asin_tonearest_test_data): Remove.
49429         (asin_test_tonearest): Likewise.
49430         (asin_towardzero_test_data): Likewise.
49431         (asin_test_towardzero): Likewise.
49432         (asin_downward_test_data): Likewise.
49433         (asin_test_downward): Likewise.
49434         (asin_upward_test_data): Likewise.
49435         (asin_test_upward): Likewise.
49436         (asinh_test_data): Update call to AUTO_TESTS_f_f.
49437         (atan_test_data): Likewise.
49438         (atanh_test_data): Likewise.
49439         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
49440         (cabs_test_data): Update call to AUTO_TESTS_c_f.
49441         (carg_test_data): Likewise.
49442         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
49443         (ccos_test_data): Update call to AUTO_TESTS_c_c.
49444         (ccosh_test_data): Likewise.
49445         (cexp_test_data): Likewise.
49446         (clog_test_data): Likewise.
49447         (clog10_test_data): Likewise.
49448         (cos_test_data): Update call to AUTO_TESTS_f_f.
49449         (cos_test): Use ALL_RM_TEST.
49450         (cos_tonearest_test_data): Remove.
49451         (cos_test_tonearest): Likewise.
49452         (cos_towardzero_test_data): Likewise.
49453         (cos_test_towardzero): Likewise.
49454         (cos_downward_test_data): Likewise.
49455         (cos_test_downward): Likewise.
49456         (cos_upward_test_data): Likewise.
49457         (cos_test_upward): Likewise.
49458         (cosh_test_data): Update call to AUTO_TESTS_f_f.
49459         (cosh_test): Use ALL_RM_TEST.
49460         (cosh_tonearest_test_data): Remove.
49461         (cosh_test_tonearest): Likewise.
49462         (cosh_towardzero_test_data): Likewise.
49463         (cosh_test_towardzero): Likewise.
49464         (cosh_downward_test_data): Likewise.
49465         (cosh_test_downward): Likewise.
49466         (cosh_upward_test_data): Likewise.
49467         (cosh_test_upward): Likewise.
49468         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
49469         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
49470         (ctan_test_data): Likewise.
49471         (ctan_test): Use ALL_RM_TEST.
49472         (ctan_tonearest_test_data): Remove.
49473         (ctan_test_tonearest): Likewise.
49474         (ctan_towardzero_test_data): Likewise.
49475         (ctan_test_towardzero): Likewise.
49476         (ctan_downward_test_data): Likewise.
49477         (ctan_test_downward): Likewise.
49478         (ctan_upward_test_data): Likewise.
49479         (ctan_test_upward): Likewise.
49480         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
49481         (ctanh_test): Use ALL_RM_TEST.
49482         (ctanh_tonearest_test_data): Remove.
49483         (ctanh_test_tonearest): Likewise.
49484         (ctanh_towardzero_test_data): Likewise.
49485         (ctanh_test_towardzero): Likewise.
49486         (ctanh_downward_test_data): Likewise.
49487         (ctanh_test_downward): Likewise.
49488         (ctanh_upward_test_data): Likewise.
49489         (ctanh_test_upward): Likewise.
49490         (erf_test_data): Update call to AUTO_TESTS_f_f.
49491         (erfc_test_data): Likewise.
49492         (exp_test_data): Likewise.
49493         (exp_test): Use ALL_RM_TEST.
49494         (exp_tonearest_test_data): Remove.
49495         (exp_test_tonearest): Likewise.
49496         (exp_towardzero_test_data): Likewise.
49497         (exp_test_towardzero): Likewise.
49498         (exp_downward_test_data): Likewise.
49499         (exp_test_downward): Likewise.
49500         (exp_upward_test_data): Likewise.
49501         (exp_test_upward): Likewise.
49502         (exp10_test_data): Update call to AUTO_TESTS_f_f.
49503         (exp10_test): Use ALL_RM_TEST.
49504         (exp10_tonearest_test_data): Remove.
49505         (exp10_test_tonearest): Likewise.
49506         (exp10_towardzero_test_data): Likewise.
49507         (exp10_test_towardzero): Likewise.
49508         (exp10_downward_test_data): Likewise.
49509         (exp10_test_downward): Likewise.
49510         (exp10_upward_test_data): Likewise.
49511         (exp10_test_upward): Likewise.
49512         (exp2_test_data): Update call to AUTO_TESTS_f_f.
49513         (expm1_test_data): Likewise.
49514         (expm1_test): Use ALL_RM_TEST.
49515         (expm1_tonearest_test_data): Remove.
49516         (expm1_test_tonearest): Likewise.
49517         (expm1_towardzero_test_data): Likewise.
49518         (expm1_test_towardzero): Likewise.
49519         (expm1_downward_test_data): Likewise.
49520         (expm1_test_downward): Likewise.
49521         (expm1_upward_test_data): Likewise.
49522         (expm1_test_upward): Likewise.
49523         (fma_test_data): Update call to AUTO_TESTS_fff_f.
49524         (fma_test): Use ALL_RM_TEST.
49525         (fma_towardzero_test_data): Remove.
49526         (fma_test_towardzero): Likewise.
49527         (fma_downward_test_data): Likewise.
49528         (fma_test_downward): Likewise.
49529         (fma_upward_test_data): Likewise.
49530         (fma_test_upward): Likewise.
49531         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
49532         (j0_test_data): Update call to AUTO_TESTS_f_f.
49533         (j1_test_data): Likewise.
49534         (jn_test_data): Update call to AUTO_TESTS_if_f.
49535         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
49536         (log_test_data): Update call to AUTO_TESTS_f_f.
49537         (log10_test_data): Likewise.
49538         (log1p_test_data): Likewise.
49539         (log2_test_data): Likewise.
49540         (pow_test_data): Update call to AUTO_TESTS_ff_f.
49541         (pow_tonearest_test_data): Likewise.
49542         (sin_test_data): Update call to AUTO_TESTS_f_f.
49543         (sin_test): Use ALL_RM_TEST.
49544         (sin_tonearest_test_data): Remove.
49545         (sin_test_tonearest): Likewise.
49546         (sin_towardzero_test_data): Likewise.
49547         (sin_test_towardzero): Likewise.
49548         (sin_downward_test_data): Likewise.
49549         (sin_test_downward): Likewise.
49550         (sin_upward_test_data): Likewise.
49551         (sin_test_upward): Likewise.
49552         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
49553         (sinh_test_data): Update call to AUTO_TESTS_f_f.
49554         (sinh_test): Use ALL_RM_TEST.
49555         (sinh_tonearest_test_data): Remove.
49556         (sinh_test_tonearest): Likewise.
49557         (sinh_towardzero_test_data): Likewise.
49558         (sinh_test_towardzero): Likewise.
49559         (sinh_downward_test_data): Likewise.
49560         (sinh_test_downward): Likewise.
49561         (sinh_upward_test_data): Likewise.
49562         (sinh_test_upward): Likewise.
49563         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
49564         (sqrt_test): Use ALL_RM_TEST.
49565         (sqrt_tonearest_test_data): Remove.
49566         (sqrt_test_tonearest): Likewise.
49567         (sqrt_towardzero_test_data): Likewise.
49568         (sqrt_test_towardzero): Likewise.
49569         (sqrt_downward_test_data): Likewise.
49570         (sqrt_test_downward): Likewise.
49571         (sqrt_upward_test_data): Likewise.
49572         (sqrt_test_upward): Likewise.
49573         (tan_test_data): Update call to AUTO_TESTS_f_f.
49574         (tan_test): Use ALL_RM_TEST.
49575         (tan_tonearest_test_data): Remove.
49576         (tan_test_tonearest): Likewise.
49577         (tan_towardzero_test_data): Likewise.
49578         (tan_test_towardzero): Likewise.
49579         (tan_downward_test_data): Likewise.
49580         (tan_test_downward): Likewise.
49581         (tan_upward_test_data): Likewise.
49582         (tan_test_upward): Likewise.
49583         (tanh_test_data): Update call to AUTO_TESTS_f_f.
49584         (tgamma_test_data): Likewise.
49585         (y0_test_data): Likewise.
49586         (y1_test_data): Likewise.
49587         (yn_test_data): Update call to AUTO_TESTS_if_f.
49588         (main): Do not call removed functions.
49590 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
49592         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
49593         (ldexp_test_data): Remove.
49594         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
49595         scalbn_test_data.
49596         (scalb_test): Use ALL_RM_TEST.
49598 2014-03-19  Andreas Schwab  <schwab@suse.de>
49600         * nscd/nscd.service: Also invalidate netgroup cache on reload.
49602 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
49604         [BZ #16649]
49605         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49606         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
49607         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
49608         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49609         (__ASSUME_PREADV): Undefine.
49610         (__ASSUME_PWRITEV): Likewise.
49612 2014-03-18  Roland McGrath  <roland@hack.frob.com>
49614         * bits/mman-linux.h: Add comment about non-Linux use.
49615         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
49616         bits/mman-linux.h resting place.
49618         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
49619         * bits/mman-linux.h: ... here.
49621 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49623         * conform/conformtest.pl: Add standard definition when calling C
49624         preprocessor on data files.
49625         (checknamespace): Remove unused variable.
49627 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49629         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
49630         minus_oflow, plus_uflow and minus_uflow in expected results.
49631         * math/libm-test.inc (scalbn_test_data): Add more tests of
49632         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
49633         minus_uflow.
49634         (scalbn_test): Use ALL_RM_TEST.
49635         (scalbln_test_data): Add more tests of negative arguments.  Use
49636         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
49637         (scalbln_test): Use ALL_RM_TEST.
49639 2014-03-18  Roland McGrath  <roland@hack.frob.com>
49641         * scripts/abilist.awk: Ignore symbols marked with .hidden.
49643 2014-03-18  Will Newton  <will.newton@linaro.org>
49645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
49646         inaccurate comment.
49648 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49650         * Makerules [!subdir] (check-abi): Exit with error status if a
49651         test failed.
49653 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49655         * math/libm-test.inc (nearbyint_test_data): Include all tests used
49656         for rint.  Include results for all rounding modes.
49657         (nearbyint_test): Use ALL_RM_TEST.
49658         (rint_test_data): Include all tests used for nearbyint.
49660 2014-03-17  Will Newton  <will.newton@linaro.org>
49662         * nptl/sysdeps/pthread/pthread.h: Revert previous
49663         change.
49665         * sysdeps/generic/ldsodefs.h: Revert previous
49666         change.
49668         * libio/genops.c: Revert previous change.
49669         * libio/libioP.h: Likewise.
49670         * stdio-common/vfprintf.c: Likewise.
49672         * sysdeps/generic/math_private.h: Revert previous
49673         change.
49675         * sysdeps/generic/math_private.h: Check whether
49676         HAVE_RM_CTX is defined with #ifdef rather
49677         than #if.
49679         * argp/argp-fmtstream.h: Check whether
49680         __STRICT_ANSI__ is defined with #ifdef rather
49681         than #if.
49682         * argp/argp.h: Likewise.
49684         * libio/genops.c: Check whether
49685         _IO_JUMPS_OFFSET is defined with #ifdef rather
49686         than #if.
49687         * libio/libioP.h: Likewise.
49688         * stdio-common/vfprintf.c: Likewise.
49690         * sysdeps/generic/ldsodefs.h: Check whether
49691         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
49692         than #if.
49694         * nptl/sysdeps/pthread/pthread.h: Check
49695         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
49696         its value.
49698 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49700         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
49701         setting O_APPEND.
49702         * libio/tst-ftell-active-handler.c (do_append_test): Add a
49703         test case.
49705         [BZ #16680]
49706         * libio/fileops.c (_IO_file_open): Seek to end of file but
49707         don't cache the offset.
49708         (get_file_offset): Remove function.
49709         (do_ftell): Use cached offset when available.
49710         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
49711         don't cache the offset.
49712         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
49713         case.
49714         (do_one_test): Call it.
49715         (do_ftell_test): Fix up expected old offset for a+ mode.
49716         * libio/wfileops.c (do_ftell_wide): Used cached offset when
49717         available.
49719         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
49720         up test status with function return status.
49721         (do_write_test): Likewise.
49722         (do_append_test): Likewise.
49724         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
49725         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
49726         Remove.
49728 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49730         * math/gen-libm-test.pl (parse_args): Handle results specified for
49731         each rounding mode separately.
49732         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
49733         tests and results from lrint_tonearest_test_data,
49734         lrint_towardzero_test_data, lrint_downward_test_data and
49735         lrint_upward_test_data.
49736         (lrint_test): Use ALL_RM_TEST.
49737         (lrint_tonearest_test_data): Remove.
49738         (lrint_test_tonearest): Likewise.
49739         (lrint_towardzero_test_data): Likewise.
49740         (lrint_test_towardzero): Likewise.
49741         (lrint_downward_test_data): Likewise.
49742         (lrint_test_downward): Likewise.
49743         (lrint_upward_test_data): Likewise.
49744         (lrint_test_upward): Likewise.
49745         (llrint_test_data): Merge in per-rounding-mode tests and results
49746         from llrint_tonearest_test_data, llrint_towardzero_test_data,
49747         llrint_downward_test_data and llrint_upward_test_data.
49748         (llrint_test): Use ALL_RM_TEST.
49749         (llrint_tonearest_test_data): Remove.
49750         (llrint_test_tonearest): Likewise.
49751         (llrint_towardzero_test_data): Likewise.
49752         (llrint_test_towardzero): Likewise.
49753         (llrint_downward_test_data): Likewise.
49754         (llrint_test_downward): Likewise.
49755         (llrint_upward_test_data): Likewise.
49756         (llrint_test_upward): Likewise.
49757         (rint_test_data): Merge in per-rounding-mode tests and results
49758         from rint_tonearest_test_data, rint_towardzero_test_data,
49759         rint_downward_test_data and rint_upward_test_data.  Add
49760         per-rounding-mode results for tests not in those arrays.
49761         (rint_test): Use ALL_RM_TEST.
49762         (rint_tonearest_test_data): Remove.
49763         (rint_test_tonearest): Likewise.
49764         (rint_towardzero_test_data): Likewise.
49765         (rint_test_towardzero): Likewise.
49766         (rint_downward_test_data): Likewise.
49767         (rint_test_downward): Likewise.
49768         (rint_upward_test_data): Likewise.
49769         (rint_test_upward): Likewise.
49770         (main): Don't call removed functions.
49772 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49774         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
49775         "Compiled on ..." crapola.  It is anti-useful.
49777 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
49779         * scripts/evaluate-test.sh: Handle fourth argument to determine
49780         whether test run should stop on failure.
49781         * Makeconfig (stop-on-test-failure): New variable.
49782         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
49783         $(stop-on-test-failure).
49784         * Makefile (tests): Give a summary of results from testing and
49785         exit with failure status if they include an ERROR or FAIL.
49786         (xtests): Likewise.
49787         * manual/install.texi (Configuring and compiling): Mention
49788         stop-on-test-failure=y.
49789         * INSTALL: Regenerated.
49791 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49793         * scripts/versionlist.awk: New file.
49794         * Makerules [$(build-shared) = yes]
49795         (postclean-generated): Add Versions.def, not Versions.def.v and
49796         Versions.def.v.i.
49797         ($(common-objpfx)Versions.def.v.i): Target removed.
49798         ($(common-objpfx)Versions.def): New target.
49799         ($(common-objpfx)Versions.all): Depend on that rather that
49800         $(common-objpfx)Versions.def.v.
49801         * Versions.def: File removed.
49803         * Makeconfig (+gccwarn): Add -Wundef.
49804         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
49805         a dl-sysdep.h breaking its contract.
49806         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
49807         * include/stackinfo.h: New file.
49808         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
49809         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
49810         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
49811         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
49812         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
49813         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
49814         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49815         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49816         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49817         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49818         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49819         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
49820         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49821         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49822         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49824 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49826         [BZ #16707]
49827         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
49828         implementation.
49829         * math/libm-test.inc (round_test_data): Add more tests.
49831         [BZ #16706]
49832         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
49833         implementation.
49834         * math/libm-test.inc (nearbyint_test_data): Add more tests.
49836         [BZ #16701]
49837         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
49838         implementation.
49839         * math/libm-test.inc (ceil_test_data): Add more tests.
49841         * math/libm-test.inc (trunc_test_data): Add more tests related to
49842         BZ#16414.
49844 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49846         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
49847         with #if rather than #ifdef.
49848         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
49850 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
49852         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
49853         first.  Disable AVX-512 GCC support if assembler doesn't support
49854         it.
49855         * sysdeps/x86_64/configure: Regenerated.
49857 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
49859         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
49860         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
49861         (__old_pthread_attr_setstack): Likewise.
49862         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
49863         [!_STACK_GROWS_DOWN]: Likewise.
49865 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
49867         * config.make.in (have-bash2): Delete.
49868         * configure.ac (libc_cv_have_bash2): Delete.
49869         * configure: Regenerate.
49870         * elf/Makefile (common-ldd-rewrite): Rename to ...
49871         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
49872         (sh-ldd-rewrite): Delete.
49873         (bash-ldd-rewrite): Delete.
49874         (have-bash2): Delete checks.
49875         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
49876         ldd-rewrite.
49878         * config.make.in (have-ksh): Delete.
49879         (KSH): Delete.
49880         * configure.ac (libc_cv_have_ksh): Delete.
49881         * configure: Regenerate.
49883         * elf/Makefile: Delete $(have-ksh) check.
49884         ($(objpfx)sotruss): Change KSH to BASH.
49885         * elf/sotruss.ksh: Rename to ...
49886         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
49887         function style to match POSIX.  Drop ksh vim mode setting.
49889         * manual/time.texi (Specifying the Time Zone with TZ): Change
49890         Tuesday to Thursday.
49892         * debug/tst-longjmp_chk2.c: Update header comment.
49893         (stackoverflow_handler): Add comment.  Call assert on pass value.
49895 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
49897         [BZ #16194]
49898         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
49899         (HAVE_AVX512_ASM_SUPPORT): Likewise.
49900         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
49901         (La_x86_64_vector): Add zmm.
49902         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
49903         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
49904         ($(objpfx)tst-audit10): New target.
49905         ($(objpfx)tst-audit10.out): Likewise.
49906         (tst-audit10-ENV): New.
49907         (AVX512-CFLAGS): Likewise.
49908         (CFLAGS-tst-audit10.c): Likewise.
49909         (CFLAGS-tst-auditmod10a.c): Likewise.
49910         (CFLAGS-tst-auditmod10b.c): Likewise.
49911         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
49912         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
49913         * sysdeps/x86_64/configure: Regenerated.
49914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
49915         AVX-512 zmm register support.
49916         (_dl_x86_64_save_sse): Likewise.
49917         (_dl_x86_64_restore_sse): Likewise.
49918         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
49919         size vector registers.
49920         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
49921         (ZMM_SIZE): Likewise.
49922         * sysdeps/x86_64/tst-audit10.c: New file.
49923         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
49924         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
49926 2014-03-13  Roland McGrath  <roland@hack.frob.com>
49928         * configure.ac (HAVE_EHDR_START): New check.
49929         * configure: Regenerated.
49930         * config.h.in (HAVE_EHDR_START): New #undef.
49931         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
49932         assuming the lowest-addressed segment maps the start of the file.
49934 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
49936         * INSTALL: Regenerated.
49938 2014-03-13  Will Newton  <will.newton@linaro.org>
49940         * manual/setjmp.texi (System V contexts): Improve
49941         clarity and grammar of documentation.
49943 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
49945         [BZ #16381]
49946         * elf/Makefile (tests): Add tst-pie2.
49947         (tests-pie): Add tst-pie2.
49948         * elf/tst-pie2.c: New file.
49949         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
49950         for ET_EXEC.
49951         * elf/rtld.c (map_doit): Load executable as lt_executable.
49952         (dl_main): Likewise.
49954 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
49956         [BZ #16642]
49957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49958         (__ASSUME_PSELECT): Undefine.
49960 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49962         [BZ #16689]
49963         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
49964         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
49965         static build.
49966         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
49967         selector for static builds.
49969 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49971         [BZ #16695]
49972         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
49973         key in the buffer.
49975 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49977         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
49978         IFUNC selector for static builds.
49980 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
49982         * sysdeps/mips/math_private.h [__mips_hard_float]
49983         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
49984         libc_feresetround_mips_ctx.
49985         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
49986         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
49987         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
49989         [BZ #16677]
49990         * math/s_nextafter.c (__nextafter): Do not return value from
49991         overflowing computation.
49992         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
49993         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
49994         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
49995         Likewise.
49996         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
49997         Likewise.
49998         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
49999         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
50001 2014-03-11  Roland McGrath  <roland@hack.frob.com>
50003         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
50004         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
50005         Move sfi_sp use from the load-multiple (that no longer sets sp) to
50006         the new mov targetting sp.
50008 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50010         [BZ #16683]
50011         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
50012         Define it for static builds as well.
50013         (NO_BZERO_IMPL): Likewise.
50015 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50017         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
50018         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
50019         multiarch strspn for PPC64.
50020         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
50021         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
50022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50023         (__libc_ifunc_impl_list): Likewise.
50024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
50025         multiarch optimizations
50026         * string/strspn.c (strspn): Using macro to redefine symbol name.
50028 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50029             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50031         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
50032         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
50033         multiarch strncat for PPC64.
50034         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
50035         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
50036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50037         (__libc_ifunc_impl_list): Likewise.
50038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
50039         multiarch optimizations
50041 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50043         [BZ #16639]
50044         * nscd/nscd.service: Make service type forking.
50046 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50048         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
50049         sign in non default rounding modes.
50050         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
50052 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
50054         * math/libm-test.inc (ALL_RM_TEST): New macro.
50055         (ceil_test): Use ALL_RM_TEST.
50056         (cimag_test): Likewise.
50057         (conj_test): Likewise.
50058         (copysign_test): Likewise.
50059         (cproj_test): Likewise.
50060         (creal_test): Likewise.
50061         (fabs_test): Likewise.
50062         (floor_test): Likewise.
50063         (fmax_test): Likewise.
50064         (fmin_test): Likewise.
50065         (fmod_test): Likewise.
50066         (fpclassify_test): Likewise.
50067         (frexp_test): Likewise.
50068         (ilogb_test): Likewise.
50069         (isfinite_test): Likewise.
50070         (finite_test): Likewise.
50071         (isgreater_test): Likewise.
50072         (isgreaterequal_test): Likewise.
50073         (isinf_test): Likewise.
50074         (isless_test): Likewise.
50075         (islessequal_test): Likewise.
50076         (islessgreater_test): Likewise.
50077         (isnan_test): Likewise.
50078         (isnormal_test): Likewise.
50079         (issignaling_test): Likewise.
50080         (isunordered_test): Likewise.
50081         (logb_test): Likewise.
50082         (logb_downward_test_data): Remove.
50083         (logb_test_downward): Likewise.
50084         (lround_test): Use ALL_RM_TEST.
50085         (llround_test): Likewise.
50086         (modf_test): Likewise.
50087         (nexttoward_test): Likewise.
50088         (remainder_test): Likewise.
50089         (drem_test): Likewise.
50090         (remainder_tonearest_test_data): Likewise.
50091         (remainder_test_tonearest): Likewise.
50092         (drem_test_tonearest): Likewise.
50093         (remainder_towardzero_test_data): Likewise.
50094         (remainder_test_towardzero): Likewise.
50095         (drem_test_towardzero): Likewise.
50096         (remainder_downward_test_data): Likewise.
50097         (remainder_test_downward): Likewise.
50098         (drem_test_downward): Likewise.
50099         (remainder_upward_test_data): Likewise.
50100         (remainder_test_upward): Likewise.
50101         (drem_test_upward): Likewise.
50102         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
50103         (round_test): Use ALL_RM_TEST.
50104         (signbit_test): Likewise.
50105         (trunc_test): Likewise.
50106         (significand_test): Likewise.
50107         (main): Don't call removed functions.
50109 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50111         [BZ #16674]
50112         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
50113         || __USE_XOPEN2K8].
50114         (ILL_ILLOPN): Likewise.
50115         (ILL_ILLADR): Likewise.
50116         (ILL_ILLTRP): Likewise.
50117         (ILL_PRVOPC): Likewise.
50118         (ILL_PRVREG): Likewise.
50119         (ILL_COPROC): Likewise.
50120         (ILL_BADSTK): Likewise.
50121         (FPE_INTDIV): Likewise.
50122         (FPE_INTOVF): Likewise.
50123         (FPE_FLTDIV): Likewise.
50124         (FPE_FLTOVF): Likewise.
50125         (FPE_FLTUND): Likewise.
50126         (FPE_FLTRES): Likewise.
50127         (FPE_FLTINV): Likewise.
50128         (FPE_FLTSUB): Likewise.
50129         (SEGV_MAPERR): Likewise.
50130         (SEGV_ACCERR): Likewise.
50131         (BUS_ADRALN): Likewise.
50132         (BUS_ADRERR): Likewise.
50133         (BUS_OBJERR): Likewise.
50134         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50135         (TRAP_TRACE): Likewise.
50136         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50137         __USE_XOPEN2K8].
50138         (CLD_KILLED): Likewise.
50139         (CLD_DUMPED): Likewise.
50140         (CLD_TRAPPED): Likewise.
50141         (CLD_STOPPED): Likewise.
50142         (CLD_CONTINUED): Likewise.
50143         (POLL_IN): Likewise.
50144         (POLL_OUT): Likewise.
50145         (POLL_MSG): Likewise.
50146         (POLL_ERR): Likewise.
50147         (POLL_PRI): Likewise.
50148         (POLL_HUP): Likewise.
50149         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
50150         Likewise.
50151         (ILL_ILLOPN): Likewise.
50152         (ILL_ILLADR): Likewise.
50153         (ILL_ILLTRP): Likewise.
50154         (ILL_PRVOPC): Likewise.
50155         (ILL_PRVREG): Likewise.
50156         (ILL_COPROC): Likewise.
50157         (ILL_BADSTK): Likewise.
50158         (FPE_INTDIV): Likewise.
50159         (FPE_INTOVF): Likewise.
50160         (FPE_FLTDIV): Likewise.
50161         (FPE_FLTOVF): Likewise.
50162         (FPE_FLTUND): Likewise.
50163         (FPE_FLTRES): Likewise.
50164         (FPE_FLTINV): Likewise.
50165         (FPE_FLTSUB): Likewise.
50166         (SEGV_MAPERR): Likewise.
50167         (SEGV_ACCERR): Likewise.
50168         (BUS_ADRALN): Likewise.
50169         (BUS_ADRERR): Likewise.
50170         (BUS_OBJERR): Likewise.
50171         (BUS_MCEERR_AR): Likewise.
50172         (BUS_MCEERR_AO): Likewise.
50173         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50174         (TRAP_TRACE): Likewise.
50175         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50176         __USE_XOPEN2K8].
50177         (CLD_KILLED): Likewise.
50178         (CLD_DUMPED): Likewise.
50179         (CLD_TRAPPED): Likewise.
50180         (CLD_STOPPED): Likewise.
50181         (CLD_CONTINUED): Likewise.
50182         (POLL_IN): Likewise.
50183         (POLL_OUT): Likewise.
50184         (POLL_MSG): Likewise.
50185         (POLL_ERR): Likewise.
50186         (POLL_PRI): Likewise.
50187         (POLL_HUP): Likewise.
50188         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
50189         (ILL_ILLOPN): Likewise.
50190         (ILL_ILLADR): Likewise.
50191         (ILL_ILLTRP): Likewise.
50192         (ILL_PRVOPC): Likewise.
50193         (ILL_PRVREG): Likewise.
50194         (ILL_COPROC): Likewise.
50195         (ILL_BADSTK): Likewise.
50196         (FPE_INTDIV): Likewise.
50197         (FPE_INTOVF): Likewise.
50198         (FPE_FLTDIV): Likewise.
50199         (FPE_FLTOVF): Likewise.
50200         (FPE_FLTUND): Likewise.
50201         (FPE_FLTRES): Likewise.
50202         (FPE_FLTINV): Likewise.
50203         (FPE_FLTSUB): Likewise.
50204         (SEGV_MAPERR): Likewise.
50205         (SEGV_ACCERR): Likewise.
50206         (BUS_ADRALN): Likewise.
50207         (BUS_ADRERR): Likewise.
50208         (BUS_OBJERR): Likewise.
50209         (BUS_MCEERR_AR): Likewise.
50210         (BUS_MCEERR_AO): Likewise.
50211         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50212         (TRAP_TRACE): Likewise.
50213         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50214         __USE_XOPEN2K8].
50215         (CLD_KILLED): Likewise.
50216         (CLD_DUMPED): Likewise.
50217         (CLD_TRAPPED): Likewise.
50218         (CLD_STOPPED): Likewise.
50219         (CLD_CONTINUED): Likewise.
50220         (POLL_IN): Likewise.
50221         (POLL_OUT): Likewise.
50222         (POLL_MSG): Likewise.
50223         (POLL_ERR): Likewise.
50224         (POLL_PRI): Likewise.
50225         (POLL_HUP): Likewise.
50226         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
50227         Likewise.
50228         (ILL_ILLOPN): Likewise.
50229         (ILL_ILLADR): Likewise.
50230         (ILL_ILLTRP): Likewise.
50231         (ILL_PRVOPC): Likewise.
50232         (ILL_PRVREG): Likewise.
50233         (ILL_COPROC): Likewise.
50234         (ILL_BADSTK): Likewise.
50235         (ILL_BADIADDR): Likewise.
50236         (ILL_BREAK): Likewise.
50237         (FPE_INTDIV): Likewise.
50238         (FPE_INTOVF): Likewise.
50239         (FPE_FLTDIV): Likewise.
50240         (FPE_FLTOVF): Likewise.
50241         (FPE_FLTUND): Likewise.
50242         (FPE_FLTRES): Likewise.
50243         (FPE_FLTINV): Likewise.
50244         (FPE_FLTSUB): Likewise.
50245         (FPE_DECOVF): Likewise.
50246         (FPE_DECDIV): Likewise.
50247         (FPE_DECERR): Likewise.
50248         (FPE_INVASC): Likewise.
50249         (FPE_INVDEC): Likewise.
50250         (SEGV_MAPERR): Likewise.
50251         (SEGV_ACCERR): Likewise.
50252         (SEGV_PSTKOVF): Likewise.
50253         (BUS_ADRALN): Likewise.
50254         (BUS_ADRERR): Likewise.
50255         (BUS_OBJERR): Likewise.
50256         (BUS_MCEERR_AR): Likewise.
50257         (BUS_MCEERR_AO): Likewise.
50258         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50259         (TRAP_TRACE): Likewise.
50260         (TRAP_BRANCH): Likewise.
50261         (TRAP_HWBKPT): Likewise.
50262         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50263         __USE_XOPEN2K8].
50264         (CLD_KILLED): Likewise.
50265         (CLD_DUMPED): Likewise.
50266         (CLD_TRAPPED): Likewise.
50267         (CLD_STOPPED): Likewise.
50268         (CLD_CONTINUED): Likewise.
50269         (POLL_IN): Likewise.
50270         (POLL_OUT): Likewise.
50271         (POLL_MSG): Likewise.
50272         (POLL_ERR): Likewise.
50273         (POLL_PRI): Likewise.
50274         (POLL_HUP): Likewise.
50275         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
50276         (ILL_ILLOPN): Likewise.
50277         (ILL_ILLADR): Likewise.
50278         (ILL_ILLTRP): Likewise.
50279         (ILL_PRVOPC): Likewise.
50280         (ILL_PRVREG): Likewise.
50281         (ILL_COPROC): Likewise.
50282         (ILL_BADSTK): Likewise.
50283         (FPE_INTDIV): Likewise.
50284         (FPE_INTOVF): Likewise.
50285         (FPE_FLTDIV): Likewise.
50286         (FPE_FLTOVF): Likewise.
50287         (FPE_FLTUND): Likewise.
50288         (FPE_FLTRES): Likewise.
50289         (FPE_FLTINV): Likewise.
50290         (FPE_FLTSUB): Likewise.
50291         (SEGV_MAPERR): Likewise.
50292         (SEGV_ACCERR): Likewise.
50293         (BUS_ADRALN): Likewise.
50294         (BUS_ADRERR): Likewise.
50295         (BUS_OBJERR): Likewise.
50296         (BUS_MCEERR_AR): Likewise.
50297         (BUS_MCEERR_AO): Likewise.
50298         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50299         (TRAP_TRACE): Likewise.
50300         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50301         __USE_XOPEN2K8].
50302         (CLD_KILLED): Likewise.
50303         (CLD_DUMPED): Likewise.
50304         (CLD_TRAPPED): Likewise.
50305         (CLD_STOPPED): Likewise.
50306         (CLD_CONTINUED): Likewise.
50307         (POLL_IN): Likewise.
50308         (POLL_OUT): Likewise.
50309         (POLL_MSG): Likewise.
50310         (POLL_ERR): Likewise.
50311         (POLL_PRI): Likewise.
50312         (POLL_HUP): Likewise.
50313         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
50314         (ILL_ILLOPN): Likewise.
50315         (ILL_ILLADR): Likewise.
50316         (ILL_ILLTRP): Likewise.
50317         (ILL_PRVOPC): Likewise.
50318         (ILL_PRVREG): Likewise.
50319         (ILL_COPROC): Likewise.
50320         (ILL_BADSTK): Likewise.
50321         (FPE_INTDIV): Likewise.
50322         (FPE_INTOVF): Likewise.
50323         (FPE_FLTDIV): Likewise.
50324         (FPE_FLTOVF): Likewise.
50325         (FPE_FLTUND): Likewise.
50326         (FPE_FLTRES): Likewise.
50327         (FPE_FLTINV): Likewise.
50328         (FPE_FLTSUB): Likewise.
50329         (SEGV_MAPERR): Likewise.
50330         (SEGV_ACCERR): Likewise.
50331         (BUS_ADRALN): Likewise.
50332         (BUS_ADRERR): Likewise.
50333         (BUS_OBJERR): Likewise.
50334         (BUS_MCEERR_AR): Likewise.
50335         (BUS_MCEERR_AO): Likewise.
50336         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50337         (TRAP_TRACE): Likewise.
50338         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50339         __USE_XOPEN2K8].
50340         (CLD_KILLED): Likewise.
50341         (CLD_DUMPED): Likewise.
50342         (CLD_TRAPPED): Likewise.
50343         (CLD_STOPPED): Likewise.
50344         (CLD_CONTINUED): Likewise.
50345         (POLL_IN): Likewise.
50346         (POLL_OUT): Likewise.
50347         (POLL_MSG): Likewise.
50348         (POLL_ERR): Likewise.
50349         (POLL_PRI): Likewise.
50350         (POLL_HUP): Likewise.
50351         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
50352         (ILL_ILLOPN): Likewise.
50353         (ILL_ILLADR): Likewise.
50354         (ILL_ILLTRP): Likewise.
50355         (ILL_PRVOPC): Likewise.
50356         (ILL_PRVREG): Likewise.
50357         (ILL_COPROC): Likewise.
50358         (ILL_BADSTK): Likewise.
50359         (FPE_INTDIV): Likewise.
50360         (FPE_INTOVF): Likewise.
50361         (FPE_FLTDIV): Likewise.
50362         (FPE_FLTOVF): Likewise.
50363         (FPE_FLTUND): Likewise.
50364         (FPE_FLTRES): Likewise.
50365         (FPE_FLTINV): Likewise.
50366         (FPE_FLTSUB): Likewise.
50367         (SEGV_MAPERR): Likewise.
50368         (SEGV_ACCERR): Likewise.
50369         (BUS_ADRALN): Likewise.
50370         (BUS_ADRERR): Likewise.
50371         (BUS_OBJERR): Likewise.
50372         (BUS_MCEERR_AR): Likewise.
50373         (BUS_MCEERR_AO): Likewise.
50374         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50375         (TRAP_TRACE): Likewise.
50376         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50377         __USE_XOPEN2K8].
50378         (CLD_KILLED): Likewise.
50379         (CLD_DUMPED): Likewise.
50380         (CLD_TRAPPED): Likewise.
50381         (CLD_STOPPED): Likewise.
50382         (CLD_CONTINUED): Likewise.
50383         (POLL_IN): Likewise.
50384         (POLL_OUT): Likewise.
50385         (POLL_MSG): Likewise.
50386         (POLL_ERR): Likewise.
50387         (POLL_PRI): Likewise.
50388         (POLL_HUP): Likewise.
50389         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
50390         (ILL_ILLOPN): Likewise.
50391         (ILL_ILLADR): Likewise.
50392         (ILL_ILLTRP): Likewise.
50393         (ILL_PRVOPC): Likewise.
50394         (ILL_PRVREG): Likewise.
50395         (ILL_COPROC): Likewise.
50396         (ILL_BADSTK): Likewise.
50397         (ILL_DBLFLT): Likewise.
50398         (ILL_HARDWALL): Likewise.
50399         (FPE_INTDIV): Likewise.
50400         (FPE_INTOVF): Likewise.
50401         (FPE_FLTDIV): Likewise.
50402         (FPE_FLTOVF): Likewise.
50403         (FPE_FLTUND): Likewise.
50404         (FPE_FLTRES): Likewise.
50405         (FPE_FLTINV): Likewise.
50406         (FPE_FLTSUB): Likewise.
50407         (SEGV_MAPERR): Likewise.
50408         (SEGV_ACCERR): Likewise.
50409         (BUS_ADRALN): Likewise.
50410         (BUS_ADRERR): Likewise.
50411         (BUS_OBJERR): Likewise.
50412         (BUS_MCEERR_AR): Likewise.
50413         (BUS_MCEERR_AO): Likewise.
50414         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50415         (TRAP_TRACE): Likewise.
50416         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50417         __USE_XOPEN2K8].
50418         (CLD_KILLED): Likewise.
50419         (CLD_DUMPED): Likewise.
50420         (CLD_TRAPPED): Likewise.
50421         (CLD_STOPPED): Likewise.
50422         (CLD_CONTINUED): Likewise.
50423         (POLL_IN): Likewise.
50424         (POLL_OUT): Likewise.
50425         (POLL_MSG): Likewise.
50426         (POLL_ERR): Likewise.
50427         (POLL_PRI): Likewise.
50428         (POLL_HUP): Likewise.
50429         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
50430         (ILL_ILLOPN): Likewise.
50431         (ILL_ILLADR): Likewise.
50432         (ILL_ILLTRP): Likewise.
50433         (ILL_PRVOPC): Likewise.
50434         (ILL_PRVREG): Likewise.
50435         (ILL_COPROC): Likewise.
50436         (ILL_BADSTK): Likewise.
50437         (FPE_INTDIV): Likewise.
50438         (FPE_INTOVF): Likewise.
50439         (FPE_FLTDIV): Likewise.
50440         (FPE_FLTOVF): Likewise.
50441         (FPE_FLTUND): Likewise.
50442         (FPE_FLTRES): Likewise.
50443         (FPE_FLTINV): Likewise.
50444         (FPE_FLTSUB): Likewise.
50445         (SEGV_MAPERR): Likewise.
50446         (SEGV_ACCERR): Likewise.
50447         (BUS_ADRALN): Likewise.
50448         (BUS_ADRERR): Likewise.
50449         (BUS_OBJERR): Likewise.
50450         (BUS_MCEERR_AR): Likewise.
50451         (BUS_MCEERR_AO): Likewise.
50452         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50453         (TRAP_TRACE): Likewise.
50454         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50455         __USE_XOPEN2K8].
50456         (CLD_KILLED): Likewise.
50457         (CLD_DUMPED): Likewise.
50458         (CLD_TRAPPED): Likewise.
50459         (CLD_STOPPED): Likewise.
50460         (CLD_CONTINUED): Likewise.
50461         (POLL_IN): Likewise.
50462         (POLL_OUT): Likewise.
50463         (POLL_MSG): Likewise.
50464         (POLL_ERR): Likewise.
50465         (POLL_PRI): Likewise.
50466         (POLL_HUP): Likewise.
50467         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
50468         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
50470         [BZ #16670]
50471         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
50472         before #include of <time.h>.
50473         [!__USE_XOPEN2K] (__need_timespec): Likewise.
50474         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
50475         (test-xfail-UNIX98/sched.h/conform): Likewise.
50477 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50479         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
50480         error absence of trapping exception support.
50481         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
50483 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50485         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
50486         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
50487         * timezone/Makefile (testdata): Move definition above include of
50488         Rules.
50489         (test-zones): New variable.
50490         (tests-special): Add zone files.
50491         (build-testdata): Use $(evaluate-test).
50493         * elf/Makefile (tests-special): Rename tests to end with .out.
50494         ($(objpfx)noload-mem): Likewise.
50495         ($(objpfx)tst-leaks1-mem): Likewise.
50496         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
50497         * iconv/Makefile (xtests-special): Change test-iconvconfig to
50498         $(objpfx)test-iconvconfig.out.
50499         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
50500         set -e inside subshell and redirect output to file.
50501         * iconvdata/Makefile (generated): Rename tests to end with .out.
50502         Correct type.
50503         (tests-special): Rename tests to end with .out.
50504         ($(objpfx)mtrace-tst-loading): Likewise.
50505         * intl/Makefile (generated): Likewise.
50506         (tests-special): Likewise.
50507         ($(objpfx)mtrace-tst-gettext): Likewise.
50508         * misc/Makefile (generated): Likewise.
50509         (tests-special): Likewise.
50510         ($(objpfx)tst-error1-mem): Likewise.
50511         * nptl/Makefile (tests-special): Likewise.
50512         ($(objpfx)tst-stack3-mem): Likewise.
50513         (generated): Likewise.
50514         * posix/Makefile (generated): Likewise.
50515         (tests-special): Likewise.
50516         (xtests-special): Likewise.
50517         ($(objpfx)tst-fnmatch-mem): Likewise.
50518         ($(objpfx)bug-regex2-mem): Likewise.
50519         ($(objpfx)bug-regex14-mem): Likewise.
50520         ($(objpfx)bug-regex21-mem): Likewise.
50521         ($(objpfx)bug-regex31-mem): Likewise.
50522         ($(objpfx)tst-vfork3-mem): Likewise.
50523         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50524         ($(objpfx)tst-pcre-mem): Likewise.
50525         ($(objpfx)tst-boost-mem): Likewise.
50526         ($(objpfx)bug-ga2-mem): Likewise.
50527         ($(objpfx)bug-glob2-mem): Likewise.
50528         * resolv/Makefile (generate): Likewise.
50529         (tests-special): Likewise.
50530         (xtests-special): Likewise.
50531         (generated): Likewise.
50532         ($(objpfx)mtrace-tst-leaks): Likewise.
50533         ($(objpfx)mtrace-tst-leaks2): Likewise.
50535         * scripts/merge-test-results.sh: New file.
50536         * Makefile (tests-special-notdir): New variable.
50537         (tests): Run merge-test-results.sh.
50538         (xtests): Likewise.
50539         * Rules (tests-special-notdir): New variable.
50540         (xtests-special-notdir): Likewise.
50541         (tests): Run merge-test-results.sh
50542         (xtests): Likewise.
50544         * Makeconfig (test-xfail-name): New variable.
50545         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
50546         compute variable name for expected failures.
50547         * conform/Makefile (conformtest-headers-data): New variable.
50548         (conformtest-standards): Likewise.
50549         (conformtest-headers-ISO): Likewise.
50550         (conformtest-headers-ISO99): Likewise.
50551         (conformtest-headers-ISO11): Likewise.
50552         (conformtest-headers-POSIX): Likewise.
50553         (conformtest-headers-XPG3): Likewise.
50554         (conformtest-headers-XPG4): Likewise.
50555         (conformtest-headers-UNIX98): Likewise.
50556         (conformtest-headers-XOPEN2K): Likewise.
50557         (conformtest-headers-POSIX2008): Likewise.
50558         (conformtest-headers-XOPEN2K8): Likewise.
50559         (conformtest-header-list-base): Likewise.
50560         (conformtest-header-list-tests): Likewise.
50561         (conformtest-header-base): Likewise.
50562         (conformtest-header-tests): Likewise.
50563         (tests-special): Add $(conformtest-header-list-tests).  If
50564         [$(fast-check) && !$(cross-compiling)], add
50565         $(conformtest-header-tests) instead of
50566         $(objpfx)run-conformtest.out.
50567         (generated): Add $(conformtest-header-list-base).  If
50568         [$(fast-check) && !$(cross-compiling)], add
50569         $(conformtest-header-base).  Remove previous setting.
50570         ($(conformtest-header-list-tests)): New target.
50571         (test-xfail-run-conformtest): Remove variable.
50572         ($(objpfx)run-conformtest.out): Remove target.
50573         (test-xfail-ISO11/complex.h/conform): New variable.
50574         (test-xfail-ISO11/stdalign.h/conform): Likewise.
50575         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
50576         (test-xfail-XPG3/varargs.h/conform): Likewise.
50577         (test-xfail-XPG4/varargs.h/conform): Likewise.
50578         (test-xfail-UNIX98/varargs.h/conform): Likewise.
50579         (test-xfail-XPG4/ndbm.h/conform): Likewise.
50580         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
50581         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
50582         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
50583         (test-xfail-XPG3/fcntl.h/conform): Likewise.
50584         (test-xfail-XPG3/ftw.h/conform): Likewise.
50585         (test-xfail-XPG3/grp.h/conform): Likewise.
50586         (test-xfail-XPG3/langinfo.h/conform): Likewise.
50587         (test-xfail-XPG3/limits.h/conform): Likewise.
50588         (test-xfail-XPG3/pwd.h/conform): Likewise.
50589         (test-xfail-XPG3/search.h/conform): Likewise.
50590         (test-xfail-XPG3/signal.h/conform): Likewise.
50591         (test-xfail-XPG3/stdio.h/conform): Likewise.
50592         (test-xfail-XPG3/stdlib.h/conform): Likewise.
50593         (test-xfail-XPG3/string.h/conform): Likewise.
50594         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
50595         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
50596         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
50597         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
50598         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
50599         (test-xfail-XPG3/sys/types.h/conform): Likewise.
50600         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
50601         (test-xfail-XPG3/termios.h/conform): Likewise.
50602         (test-xfail-XPG3/time.h/conform): Likewise.
50603         (test-xfail-XPG3/unistd.h/conform): Likewise.
50604         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
50605         (test-xfail-XPG4/fcntl.h/conform): Likewise.
50606         (test-xfail-XPG4/langinfo.h/conform): Likewise.
50607         (test-xfail-XPG4/netdb.h/conform): Likewise.
50608         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
50609         (test-xfail-XPG4/signal.h/conform): Likewise.
50610         (test-xfail-XPG4/stdio.h/conform): Likewise.
50611         (test-xfail-XPG4/stdlib.h/conform): Likewise.
50612         (test-xfail-XPG4/stropts.h/conform): Likewise.
50613         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
50614         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
50615         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
50616         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
50617         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
50618         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
50619         (test-xfail-XPG4/sys/time.h/conform): Likewise.
50620         (test-xfail-XPG4/sys/types.h/conform): Likewise.
50621         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
50622         (test-xfail-XPG4/termios.h/conform): Likewise.
50623         (test-xfail-XPG4/ucontext.h/conform): Likewise.
50624         (test-xfail-XPG4/unistd.h/conform): Likewise.
50625         (test-xfail-XPG4/utmpx.h/conform): Likewise.
50626         (test-xfail-POSIX/sched.h/conform): Likewise.
50627         (test-xfail-POSIX/signal.h/conform): Likewise.
50628         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
50629         (test-xfail-POSIX/tar.h/conform): Likewise.
50630         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
50631         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
50632         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
50633         (test-xfail-UNIX98/netdb.h/conform): Likewise.
50634         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
50635         (test-xfail-UNIX98/sched.h/conform): Likewise.
50636         (test-xfail-UNIX98/signal.h/conform): Likewise.
50637         (test-xfail-UNIX98/stdio.h/conform): Likewise.
50638         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
50639         (test-xfail-UNIX98/stropts.h/conform): Likewise.
50640         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
50641         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
50642         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
50643         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
50644         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
50645         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
50646         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
50647         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
50648         (test-xfail-UNIX98/unistd.h/conform): Likewise.
50649         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
50650         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
50651         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
50652         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
50653         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
50654         (test-xfail-XOPEN2K/math.h/conform): Likewise.
50655         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
50656         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
50657         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
50658         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
50659         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
50660         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
50661         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
50662         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
50663         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
50664         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
50665         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
50666         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
50667         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
50668         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
50669         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
50670         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
50671         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
50672         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
50673         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
50674         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
50675         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
50676         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
50677         (test-xfail-POSIX2008/signal.h/conform): Likewise.
50678         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
50679         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
50680         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
50681         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
50682         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
50683         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
50684         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
50685         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
50686         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
50687         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
50688         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
50689         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
50690         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
50691         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
50692         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
50693         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
50694         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
50695         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
50696         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
50697         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
50698         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
50699         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
50700         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
50701         (conformtest-cc-flags): Likewise.
50702         ($(conformtest-header-tests): New target.
50703         * conform/check-header-lists.sh: New file.
50704         * conform/run-conformtest.sh: Remove.
50706         * conform/conformtest.pl: Allow ' and \ in values given for
50707         constants.
50708         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
50709         inclusion.
50710         [POSIX] (sys/types.h): Likewise.
50711         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
50712         inclusion.
50713         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
50714         inclusion.
50715         * conform/data/signal.h-data (SIGIO): Remove expectation.
50716         [XPG3] (SIGBUS): Do not expect.
50717         [POSIX || XPG3] (SIGPOLL): Likewise.
50718         [POSIX || XPG3] (SIGPROF): Likewise.
50719         [POSIX || XPG3] (SIGSYS): Likewise.
50720         [XPG3] (SIGTRAP): Likewise.
50721         [POSIX || XPG3] (SIGURG): Likewise.
50722         [POSIX || XPG3] (SIGVTALRM): Likewise.
50723         [POSIX || XPG3] (SIGXCPU): Likewise.
50724         [POSIX || XPG3] (SIGXFSZ): Likewise.
50725         [POSIX] (SA_SIGINFO): Expect.
50726         [XPG3] (siginfo_t): Do not expect type or contents.
50727         [POSIX] (si_pid): Do not expect element.
50728         [POSIX] (si_uid): Likewise.
50729         [POSIX] (si_addr): Likewise.
50730         [POSIX] (si_status): Likewise.
50731         [POSIX] (si_band): Likewise.
50732         [XPG4] (si_value): Likewise.
50733         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
50734         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
50735         [POSIX || XPG3] (ILL_ILLADR): Likewise.
50736         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
50737         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
50738         [POSIX || XPG3] (ILL_PRVREG): Likewise.
50739         [POSIX || XPG3] (ILL_COPROC): Likewise.
50740         [POSIX || XPG3] (ILL_BADSTK): Likewise.
50741         [POSIX || XPG3] (FPE_INTDIV): Likewise.
50742         [POSIX || XPG3] (FPE_INTOVF): Likewise.
50743         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
50744         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
50745         [POSIX || XPG3] (FPE_FLTUND): Likewise.
50746         [POSIX || XPG3] (FPE_FLTRES): Likewise.
50747         [POSIX || XPG3] (FPE_FLTINV): Likewise.
50748         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
50749         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
50750         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
50751         [POSIX || XPG3] (BUS_ADRALN): Likewise.
50752         [POSIX || XPG3] (BUS_ADRERR): Likewise.
50753         [POSIX || XPG3] (BUS_OBJERR): Likewise.
50754         [POSIX || XPG3] (CLD_EXITED): Likewise.
50755         [POSIX || XPG3] (CLD_KILLED): Likewise.
50756         [POSIX || XPG3] (CLD_DUMPED): Likewise.
50757         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
50758         [POSIX || XPG3] (CLD_STOPPED): Likewise.
50759         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
50760         [POSIX || XPG3] (POLL_IN): Likewise.
50761         [POSIX || XPG3] (POLL_OUT): Likewise.
50762         [POSIX || XPG3] (POLL_MSG): Likewise.
50763         [POSIX || XPG3] (POLL_ERR): Likewise.
50764         [POSIX || XPG3] (POLL_PRI): Likewise.
50765         [POSIX || XPG3] (POLL_HUP): Likewise.
50766         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
50767         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
50768         (SIG*): Do not allow.
50769         [XPG3] (si_*): Likewise.
50770         [XPG3] (SI_*): Likewise.
50771         [XPG3 || XPG4] (sigev_*): Likewise.
50772         [XPG3 || XPG4] (SIGEV_*): Likewise.
50773         [XPG3 || XPG4] (sival_*): Likewise.
50774         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
50775         [POSIX || XPG3] (BUS_*): Likewise.
50776         [POSIX || XPG3] (CLD_*): Likewise.
50777         [POSIX || XPG3] (FPE_*): Likewise.
50778         [POSIX || XPG3] (ILL_*): Likewise.
50779         [POSIX || XPG3] (POLL_*): Likewise.
50780         [POSIX || XPG3] (SEGV_*): Likewise.
50781         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
50782         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
50783         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
50784         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
50785         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
50786         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
50787         Specify type and value.
50788         (TVERSLEN): Likewise.
50789         (REGTYPE): Likewise.
50790         (AREGTYPE): Likewise.
50791         (LNKTYPE): Likewise.
50792         (SYMTYPE): Likewise.
50793         (CHRTYPE): Likewise.
50794         (BLKTYPE): Likewise.
50795         (DIRTYPE): Likewise.
50796         (FIFOTYPE): Likewise.
50797         (CONTTYPE): Likewise.
50798         (TSUID): Likewise.
50799         (TSGID): Likewise.
50800         (TSVTX): Likewise.
50801         (TUREAD): Likewise.
50802         (TUWRITE): Likewise.
50803         (TUEXEC): Likewise.
50804         (TGREAD): Likewise.
50805         (TGWRITE): Likewise.
50806         (TGEXEC): Likewise.
50807         (TOREAD): Likewise.
50808         (TOWRITE): Likewise.
50809         (TOEXEC): Likewise.
50810         [POSIX] (TSVTX): Expect constant.
50812 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
50814         * Makefile (tests): Change dependencies to ....
50815         (tests-special): ... additions to this variable.
50816         (tests): Depend on $(tests-special).
50817         * Makerules (check-abi-list): New variable.
50818         (check-abi): Depend on $(check-abi-list).
50819         [$(subdir) = elf] (tests-special): Add
50820         $(objpfx)check-abi-libc.out.
50821         [$(build-shared) = yes && subdir] (tests-special): Add
50822         $(check-abi-list).
50823         [$(build-shared) = yes && subdir] (tests): Do not depend on
50824         check-abi.
50825         * Rules (tests): Depend on $(tests-special).
50826         (xtests): Depend on $(xtests-special).
50827         * catgets/Makefile (tests): Change dependencies to ....
50828         (tests-special): ... additions to this variable.
50829         * conform/Makefile (tests): Change dependencies to ....
50830         (tests-special): ... additions to this variable.
50831         * elf/Makefile (tests): Change dependencies to ....
50832         (tests-special): ... additions to this variable.
50833         * grp/Makefile (tests): Change dependencies to ....
50834         (tests-special): ... additions to this variable.
50835         * iconv/Makefile (xtests): Change dependencies to ....
50836         (xtests-special): ... additions to this variable.
50837         * iconvdata/Makefile (tests): Change dependencies to ....
50838         (tests-special): ... additions to this variable.
50839         * intl/Makefile (tests): Change dependencies to ....
50840         (tests-special): ... additions to this variable.  Also add
50841         $(objpfx)tst-gettext.out.
50842         * io/Makefile (tests): Change dependencies to ....
50843         (tests-special): ... additions to this variable.
50844         * libio/Makefile (tests): Change dependencies to ....
50845         (tests-special): ... additions to this variable.
50846         * malloc/Makefile (tests): Change dependencies to ....
50847         (tests-special): ... additions to this variable.
50848         * misc/Makefile (tests): Change dependencies to ....
50849         (tests-special): ... additions to this variable.
50850         * nptl/Makefile (tests): Change dependencies to ....
50851         (tests-special): ... additions to this variable.
50852         * nptl_db/Makefile (tests): Change dependencies to ....
50853         (tests-special): ... additions to this variable.
50854         * posix/Makefile (tests): Change dependencies to ....
50855         (tests-special): ... additions to this variable.
50856         (xtests): Change dependencies to ....
50857         (xtests-special): ... additions to this variable.
50858         * resolv/Makefile (tests): Change dependencies to ....
50859         (tests-special): ... additions to this variable.
50860         (xtests): Change dependencies to ....
50861         (xtests-special): ... additions to this variable.
50862         * stdio-common/Makefile (tests): Change dependencies to ....
50863         (tests-special): ... additions to this variable.
50864         (do-tst-unbputc): Remove target.
50865         (do-tst-printf): Likewise.
50866         * stdlib/Makefile (tests): Change dependencies to ....
50867         (tests-special): ... additions to this variable.
50868         * string/Makefile (tests): Change dependencies to ....
50869         (tests-special): ... additions to this variable.
50870         * sysdeps/x86/Makefile (tests): Change dependencies to ....
50871         (tests-special): ... additions to this variable.
50873         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
50874         whole file.
50875         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
50876         whole file.
50877         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
50878         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
50880         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
50881         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
50882         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
50883         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
50884         * conform/data/libgen.h-data [XPG3]: Likewise.
50885         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
50886         * conform/data/ndbm.h-data [XPG3]: Likewise.
50887         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50888         * conform/data/netdb.h-data [XPG3]: Likewise.
50889         * conform/data/netinet/in.h-data [XPG3]: Likewise.
50890         * conform/data/poll.h-data [XPG3]: Likewise.
50891         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50892         * conform/data/strings.h-data [XPG3]: Likewise.
50893         * conform/data/stropts.h-data [XPG3]: Likewise.
50894         * conform/data/sys/mman.h-data [XPG3]: Likewise.
50895         * conform/data/sys/resource.h-data [XPG3]: Likewise.
50896         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
50897         Likewise.
50898         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
50899         * conform/data/sys/time.h-data [XPG3]: Likewise.
50900         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
50901         * conform/data/sys/uio.h-data [XPG3]: Likewise.
50902         * conform/data/sys/un.h-data [XPG3]: Likewise.
50903         * conform/data/syslog.h-data [XPG3]: Likewise.
50904         * conform/data/ucontext.h-data [XPG3]: Likewise.
50905         * conform/data/utmpx.h-data [XPG3]: Likewise.
50906         * conform/data/varargs.h-data [UNIX98]: Enable file.
50908         * manual/Makefile (INSTALL_INFO): Remove variable setting.
50910         * math/libm-test.inc (struct test_f_f_data): Move expected results
50911         into structure for each rounding mode.
50912         (struct test_ff_f_data): Likewise.
50913         (struct test_ff_f_data_nexttoward): Likewise.
50914         (struct test_fi_f_data): Likewise.
50915         (struct test_fl_f_data): Likewise.
50916         (struct test_if_f_data): Likewise.
50917         (struct test_fff_f_data): Likewise.
50918         (struct test_c_f_data): Likewise.
50919         (struct test_f_f1_data): Likewise.
50920         (struct test_fF_f1_data): Likewise.
50921         (struct test_ffI_f1_data): Likewise.
50922         (struct test_c_c_data): Likewise.
50923         (struct test_cc_c_data): Likewise.
50924         (struct test_f_i_data): Likewise.
50925         (struct test_ff_i_data): Likewise.
50926         (struct test_f_l_data): Likewise.
50927         (struct test_f_L_data): Likewise.
50928         (struct test_fFF_11_data): Likewise.
50929         (RM_): New macro.
50930         (RM_FE_DOWNWARD): Likewise.
50931         (RM_FE_TONEAREST): Likewise.
50932         (RM_FE_TOWARDZERO): Likewise.
50933         (RM_FE_UPWARD): Likewise.
50934         (RUN_TEST_LOOP_f_f): Update references to expected results.
50935         (RUN_TEST_LOOP_2_f): Likewise.
50936         (RUN_TEST_LOOP_fff_f): Likewise.
50937         (RUN_TEST_LOOP_c_f): Likewise.
50938         (RUN_TEST_LOOP_f_f1): Likewise.
50939         (RUN_TEST_LOOP_fF_f1): Likewise.
50940         (RUN_TEST_LOOP_fI_f1): Likewise.
50941         (RUN_TEST_LOOP_ffI_f1): Likewise.
50942         (RUN_TEST_LOOP_c_c): Likewise.
50943         (RUN_TEST_LOOP_cc_c): Likewise.
50944         (RUN_TEST_LOOP_f_i): Likewise.
50945         (RUN_TEST_LOOP_f_i_tg): Likewise.
50946         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50947         (RUN_TEST_LOOP_f_b): Likewise.
50948         (RUN_TEST_LOOP_f_b_tg): Likewise.
50949         (RUN_TEST_LOOP_f_l): Likewise.
50950         (RUN_TEST_LOOP_f_L): Likewise.
50951         (RUN_TEST_LOOP_fFF_11): Likewise.
50952         * math/gen-libm-test.pl (parse_args): Output four copies of
50953         expected results for each test.
50955         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50956         (__ASSUME_UTIMES): Remove.
50957         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50958         (__ASSUME_UTIMES): Likewise.
50960         * math/gen-auto-libm-tests.c: Update comment on output format.
50961         (output_for_one_input_case): Generate before-rounding and
50962         after-rounding information as conditions on output flags not
50963         floating-point format.
50964         * math/auto-libm-test-out: Regenerated.
50965         * math/gen-libm-test.pl (cond_value): New function.
50966         (or_cond_value): Use cond_value.
50967         (generate_testfile): Handle conditional exceptions.
50969 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
50971         * math/libm-test.inc (max_valid_error): New variable.
50972         (init_max_error): Take new argument specifying whether function
50973         results are exactly determined.  Set max_valid_error and bound
50974         other variables for errors based on this argument.
50975         (set_max_error): Do not record results above max_valid_error.
50976         (check_float_internal): Only accept errors of up to 0.5ulps if
50977         also at most max_valid_error.
50978         (START): Take new argument EXACT and pass it to init_max_error.
50979         (acos_test): Update call to START.
50980         (acos_test_tonearest): Likewise.
50981         (acos_test_towardzero): Likewise.
50982         (acos_test_downward): Likewise.
50983         (acos_test_upward): Likewise.
50984         (acosh_test): Likewise.
50985         (asin_test): Likewise.
50986         (asin_test_tonearest): Likewise.
50987         (asin_test_towardzero): Likewise.
50988         (asin_test_downward): Likewise.
50989         (asin_test_upward): Likewise.
50990         (asinh_test): Likewise.
50991         (atan_test): Likewise.
50992         (atanh_test): Likewise.
50993         (atan2_test): Likewise.
50994         (cabs_test): Likewise.
50995         (cacos_test): Likewise.
50996         (cacosh_test): Likewise.
50997         (carg_test): Likewise.
50998         (casin_test): Likewise.
50999         (casinh_test): Likewise.
51000         (catan_test): Likewise.
51001         (catanh_test): Likewise.
51002         (cbrt_test): Likewise.
51003         (ccos_test): Likewise.
51004         (ccosh_test): Likewise.
51005         (ceil_test): Likewise.
51006         (cexp_test): Likewise.
51007         (cimag_test): Likewise.
51008         (clog_test): Likewise.
51009         (clog10_test): Likewise.
51010         (conj_test): Likewise.
51011         (copysign_test): Likewise.
51012         (cos_test): Likewise.
51013         (cos_test_tonearest): Likewise.
51014         (cos_test_towardzero): Likewise.
51015         (cos_test_downward): Likewise.
51016         (cos_test_upward): Likewise.
51017         (cosh_test): Likewise.
51018         (cosh_test_tonearest): Likewise.
51019         (cosh_test_towardzero): Likewise.
51020         (cosh_test_downward): Likewise.
51021         (cosh_test_upward): Likewise.
51022         (cpow_test): Likewise.
51023         (cproj_test): Likewise.
51024         (creal_test): Likewise.
51025         (csin_test): Likewise.
51026         (csinh_test): Likewise.
51027         (csqrt_test): Likewise.
51028         (ctan_test): Likewise.
51029         (ctan_test_tonearest): Likewise.
51030         (ctan_test_towardzero): Likewise.
51031         (ctan_test_downward): Likewise.
51032         (ctan_test_upward): Likewise.
51033         (ctanh_test): Likewise.
51034         (ctanh_test_tonearest): Likewise.
51035         (ctanh_test_towardzero): Likewise.
51036         (ctanh_test_downward): Likewise.
51037         (ctanh_test_upward): Likewise.
51038         (erf_test): Likewise.
51039         (erfc_test): Likewise.
51040         (exp_test): Likewise.
51041         (exp_test_tonearest): Likewise.
51042         (exp_test_towardzero): Likewise.
51043         (exp_test_downward): Likewise.
51044         (exp_test_upward): Likewise.
51045         (exp10_test): Likewise.
51046         (exp10_test_tonearest): Likewise.
51047         (exp10_test_towardzero): Likewise.
51048         (exp10_test_downward): Likewise.
51049         (exp10_test_upward): Likewise.
51050         (pow10_test): Likewise.
51051         (exp2_test): Likewise.
51052         (expm1_test): Likewise.
51053         (expm1_test_tonearest): Likewise.
51054         (expm1_test_towardzero): Likewise.
51055         (expm1_test_downward): Likewise.
51056         (expm1_test_upward): Likewise.
51057         (fabs_test): Likewise.
51058         (fdim_test): Likewise.
51059         (floor_test): Likewise.
51060         (fma_test): Likewise.
51061         (fma_test_towardzero): Likewise.
51062         (fma_test_downward): Likewise.
51063         (fma_test_upward): Likewise.
51064         (fmax_test): Likewise.
51065         (fmin_test): Likewise.
51066         (fmod_test): Likewise.
51067         (fpclassify_test): Likewise.
51068         (frexp_test): Likewise.
51069         (hypot_test): Likewise.
51070         (ilogb_test): Likewise.
51071         (isfinite_test): Likewise.
51072         (finite_test): Likewise.
51073         (isgreater_test): Likewise.
51074         (isgreaterequal_test): Likewise.
51075         (isinf_test): Likewise.
51076         (isless_test): Likewise.
51077         (islessequal_test): Likewise.
51078         (islessgreater_test): Likewise.
51079         (isnan_test): Likewise.
51080         (isnormal_test): Likewise.
51081         (issignaling_test): Likewise.
51082         (isunordered_test): Likewise.
51083         (j0_test): Likewise.
51084         (j1_test): Likewise.
51085         (jn_test): Likewise.
51086         (ldexp_test): Likewise.
51087         (lgamma_test): Likewise.
51088         (gamma_test): Likewise.
51089         (lrint_test): Likewise.
51090         (lrint_test_tonearest): Likewise.
51091         (lrint_test_towardzero): Likewise.
51092         (lrint_test_downward): Likewise.
51093         (lrint_test_upward): Likewise.
51094         (llrint_test): Likewise.
51095         (llrint_test_tonearest): Likewise.
51096         (llrint_test_towardzero): Likewise.
51097         (llrint_test_downward): Likewise.
51098         (llrint_test_upward): Likewise.
51099         (log_test): Likewise.
51100         (log10_test): Likewise.
51101         (log1p_test): Likewise.
51102         (log2_test): Likewise.
51103         (logb_test): Likewise.
51104         (logb_test_downward): Likewise.
51105         (lround_test): Likewise.
51106         (llround_test): Likewise.
51107         (modf_test): Likewise.
51108         (nearbyint_test): Likewise.
51109         (nextafter_test): Likewise.
51110         (nexttoward_test): Likewise.
51111         (pow_test): Likewise.
51112         (pow_test_tonearest): Likewise.
51113         (pow_test_towardzero): Likewise.
51114         (pow_test_downward): Likewise.
51115         (pow_test_upward): Likewise.
51116         (remainder_test): Likewise.
51117         (drem_test): Likewise.
51118         (remainder_test_tonearest): Likewise.
51119         (drem_test_tonearest): Likewise.
51120         (remainder_test_towardzero): Likewise.
51121         (drem_test_towardzero): Likewise.
51122         (remainder_test_downward): Likewise.
51123         (drem_test_downward): Likewise.
51124         (remainder_test_upward): Likewise.
51125         (drem_test_upward): Likewise.
51126         (remquo_test): Likewise.
51127         (rint_test): Likewise.
51128         (rint_test_tonearest): Likewise.
51129         (rint_test_towardzero): Likewise.
51130         (rint_test_downward): Likewise.
51131         (rint_test_upward): Likewise.
51132         (round_test): Likewise.
51133         (scalb_test): Likewise.
51134         (scalbn_test): Likewise.
51135         (scalbln_test): Likewise.
51136         (signbit_test): Likewise.
51137         (sin_test): Likewise.
51138         (sin_test_tonearest): Likewise.
51139         (sin_test_towardzero): Likewise.
51140         (sin_test_downward): Likewise.
51141         (sin_test_upward): Likewise.
51142         (sincos_test): Likewise.
51143         (sinh_test): Likewise.
51144         (sinh_test_tonearest): Likewise.
51145         (sinh_test_towardzero): Likewise.
51146         (sinh_test_downward): Likewise.
51147         (sinh_test_upward): Likewise.
51148         (sqrt_test): Likewise.
51149         (sqrt_test_tonearest): Likewise.
51150         (sqrt_test_towardzero): Likewise.
51151         (sqrt_test_downward): Likewise.
51152         (sqrt_test_upward): Likewise.
51153         (tan_test): Likewise.
51154         (tan_test_tonearest): Likewise.
51155         (tan_test_towardzero): Likewise.
51156         (tan_test_downward): Likewise.
51157         (tan_test_upward): Likewise.
51158         (tanh_test): Likewise.
51159         (tgamma_test): Likewise.
51160         (trunc_test): Likewise.
51161         (y0_test): Likewise.
51162         (y1_test): Likewise.
51163         (yn_test): Likewise.
51164         (significand_test): Likewise.
51166         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
51167         individual tests in comment.
51168         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
51169         (prev_max_error): New variable.
51170         (prev_real_max_error): Likewise.
51171         (prev_imag_max_error): Likewise.
51172         (compare_ulp_data): Don't refer to test names in comment.
51173         (find_test_ulps): Remove function.
51174         (find_function_ulps): Likewise.
51175         (find_complex_function_ulps): Likewise.
51176         (init_max_error): Take function name as argument.  Look up ulps
51177         for that function.
51178         (print_ulps): Remove function.
51179         (print_max_error): Use prev_max_error instead of calling
51180         find_function_ulps.
51181         (print_complex_max_error): Use prev_real_max_error and
51182         prev_imag_max_error instead of calling find_complex_function_ulps.
51183         (check_float_internal): Take max_ulp parameter instead of calling
51184         find_test_ulps.  Don't call print_ulps.
51185         (check_float): Update call to check_float_internal.
51186         (check_complex): Update calls to check_float_internal.
51187         (START): Pass argument to init_max_error.
51188         * math/gen-libm-test.pl (%results): Don't include "kind"
51189         information.
51190         (parse_ulps): Don't handle ulps of individual tests.
51191         (print_ulps_file): Likewise.
51192         (output_ulps): Likewise.
51193         * math/README.libm-test: Update.
51194         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
51195         individual tests.
51196         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
51197         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
51198         * sysdeps/arm/libm-test-ulps: Likewise.
51199         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
51200         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
51201         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
51202         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
51203         * sysdeps/microblaze/libm-test-ulps: Likewise.
51204         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
51205         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
51206         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51207         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
51208         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51209         * sysdeps/sh/libm-test-ulps: Likewise.
51210         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51211         * sysdeps/tile/libm-test-ulps: Likewise.
51212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51214 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
51216         * math/libm-test.inc (print_complex_max_error): Check separately
51217         whether real and imaginary errors are within allowed range and
51218         pass 0 to print_complex_function_ulps instead of value within
51219         allowed range.
51221 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51223         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
51224         formatting.
51225         (get_handles_fopen): Likewise.
51226         (do_write_test): Likewise.
51228         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
51230         * libio/fileops.c (do_ftell): Use cached offset when
51231         available.
51232         * libio/iofwide.c (do_ftell_wide): Likewise.
51233         * libio/iofdopen.c (_IO_new_fdopen): Don't use
51234         _IO_file_attach.
51235         * libio/wfileops.c (_IO_fwide): Don't cache offset.
51237         [BZ #16532]
51238         * libio/libioP.h (get_file_offset): New function.
51239         * libio/fileops.c (get_file_offset): Likewise.
51240         (do_ftell): Likewise.
51241         (_IO_new_file_seekoff): Split out ftell logic.
51242         * libio/wfileops.c (do_ftell_wide): Likewise.
51243         (_IO_wfile_seekoff): Split out ftell logic.
51244         * libio/tst-ftell-active-handler.c: New test case.
51245         * libio/Makefile (tests): Add it.
51247 2014-03-03  Roland McGrath  <roland@hack.frob.com>
51249         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
51250         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
51252 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51254         [BZ #16639]
51255         * nscd/connections.c (nscd_init): Call do_exit.
51256         (start_threads): Call do_exit and notify_parent.
51257         (begin_drop_privileges): Call do_exit.
51258         (finish_drop_privileges): Likewise.
51259         * nscd/selinux.c (preserve_capabilities): Likewise.
51260         (install_real_capabilities): Likewise.
51261         (nscd_selinux_enabled): Likewise.
51262         (avc_create_thread): Likewise.
51263         (avc_alloc_lock): Likewise.
51264         (nscd_avc_init): Likewise.
51265         * nscd/nscd.c (parent_fd): New static variable.
51266         (main): Create a pipe between parent and child processes.
51267         Skip closing parent_fd.
51268         (monitor_child): New function.
51269         (do_exit): Likewise.
51270         (notify_parent): Likewise.
51271         * nscd/nscd.h (notify_parent): Likewise.
51272         (do_exit): Likewise.
51274 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
51276         * malloc/malloc.c (__libc_calloc): Revert last change.
51278 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51282 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51284         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
51285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
51286         implementation.
51287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51288         (__libc_ifunc_impl_list): Likewise.
51289         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
51290         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
51291         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
51292         * string/strrchr.c: Define STRRCHR.
51294 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
51296         * benchtest/bench-strtok.c (simple_strtok): Delete.
51297         (strtok_string): Use as benchmark.
51298         * string/strtok (STRTOK): New macro.
51300 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
51302         * manual/threads.texi: Add header and standard comments to all
51303         functions.
51305         * elf/dl-lookup.c (check_match): New function.
51306         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
51307         (do_lookup_x): Remove nested function check_match. Use non-nested
51308         function check_match.
51310 2014-02-28  Roland McGrath  <roland@hack.frob.com>
51312         * csu/Makefile (generated, before-compile): Use += rather than =.
51313         * catgets/Makefile (generated, generated-dirs): Likewise.
51314         * debug/Makefile (generated): Likewise.
51315         * dlfcn/Makefile (generated): Likewise.
51316         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
51317         * iconvdata/Makefile (before-compile, generated): Likewise.
51318         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
51319         * libio/Makefile (generated): Likewise.
51320         * malloc/Makefile (generated): Likewise.
51321         * manual/Makefile (generated, generated-dirs): Likewise.
51322         * misc/Makefile (generated): Likewise.
51323         * posix/Makefile (generated): Likewise.
51324         * resolv/Makefile (generated): Likewise.
51325         * sunrpc/Makefile (generated, generated-dirs): Likewise.
51326         * timezone/Makefile (generated, generated-dirs): Likewise.
51328         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
51330 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51333         power8 implementation.
51334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
51335         file: POWER8 llround ifunc implementation.
51336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
51337         (__lllround): Add POWER8 implementation.
51338         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
51339         POWER8 llround implementation.
51341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
51342         power8 implementation.
51343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
51344         file: POWER8 llrint ifunc implementation.
51345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
51346         Add POWER8 implementation.
51347         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
51348         POWER8 llrint implementation.
51350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
51351         power8 implementation.
51352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
51353         file: POWER8 finite ifunc implementation.
51354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
51355         Add POWER8 implementation.
51356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
51357         Likewise.
51358         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
51359         POWER8 finite implementation.
51360         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
51362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
51363         power8 implementation.
51364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
51365         file: POWER8 isinf ifunc implementation.
51366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
51367         POWER8 implementation.
51368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
51369         Likewise.
51370         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
51371         isinf implementation.
51372         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
51374         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
51375         (INIT_ARCH): Add hwcap2 initialization.
51376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51377         power8 implementation.
51378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
51379         file: POWER8 isnan ifunc implementation.
51380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
51381         POWER8 implementation.
51382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
51383         Likewise.
51384         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
51385         isnan implementation.
51386         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
51388 2014-02-27  Joey Ye  <joey.ye@arm.com>
51390         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51391         (_FP_NANFRAC_Q): Set to zero.
51393 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51395         [BZ #16623]
51396         * math/auto-libm-test-in: New test inputs.
51397         * math/auto-libm-test-out: Regenerate.
51398         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
51399         and DA.
51400         (__cos): Likewise.
51401         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51403 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
51405         * scripts/evaluate-test.sh: Take new argument indicating whether
51406         failure is expected.
51407         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
51408         indicating whether failure is expected.
51409         * conform/Makefile (test-xfail-run-conformtest): New variable.
51410         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
51411         level.
51412         * posix/Makefile (test-xfail-annexc): New variable.
51413         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
51415 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
51417         * argp/Makefile: Include Makeconfig immediately after defining
51418         subdir.
51419         * assert/Makefile: Likewise.
51420         * benchtests/Makefile: Likewise.
51421         * catgets/Makefile: Likewise.
51422         * conform/Makefile: Likewise.
51423         * crypt/Makefile: Likewise.
51424         * csu/Makefile: Likewise.
51425         (all): Remove target.
51426         * ctype/Makefile: Include Makeconfig immediately after defining
51427         subdir.
51428         * debug/Makefile: Likewise.
51429         * dirent/Makefile: Likewise.
51430         * dlfcn/Makefile: Likewise.
51431         * gmon/Makefile: Likewise.
51432         * gnulib/Makefile: Likewise.
51433         * grp/Makefile: Likewise.
51434         * gshadow/Makefile: Likewise.
51435         * hesiod/Makefile: Likewise.
51436         * hurd/Makefile: Likewise.
51437         (all): Remove target.
51438         * iconvdata/Makefile: Include Makeconfig immediately after
51439         defining subdir.
51440         * inet/Makefile: Likewise.
51441         * intl/Makefile: Likewise.
51442         * io/Makefile: Likewise.
51443         * libio/Makefile: Likewise.
51444         (all): Remove target.
51445         * locale/Makefile: Include Makeconfig immediately after defining
51446         subdir.
51447         * login/Makefile: Likewise.
51448         * mach/Makefile: Likewise.
51449         (all): Remove target.
51450         * malloc/Makefile: Include Makeconfig immediately after defining
51451         subdir.
51452         (all): Remove target.
51453         * manual/Makefile: Include Makeconfig immediately after defining
51454         subdir.
51455         * math/Makefile: Likewise.
51456         * misc/Makefile: Likewise.
51457         * nis/Makefile: Likewise.
51458         * nss/Makefile: Likewise.
51459         * po/Makefile: Likewise.
51460         (all): Remove target.
51461         * posix/Makefile: Include Makeconfig immediately after defining
51462         subdir.
51463         * pwd/Makefile: Likewise.
51464         * resolv/Makefile: Likewise.
51465         * resource/Makefile: Likewise.
51466         * rt/Makefile: Likewise.
51467         * setjmp/Makefile: Likewise.
51468         * shadow/Makefile: Likewise.
51469         * signal/Makefile: Likewise.
51470         * socket/Makefile: Likewise.
51471         * soft-fp/Makefile: Likewise.
51472         * stdio-common/Makefile: Likewise.
51473         * stdlib/Makefile: Likewise.
51474         * streams/Makefile: Likewise.
51475         * string/Makefile: Likewise.
51476         * sunrpc/Makefile: Likewise.
51477         (all): Remove target.
51478         * sysvipc/Makefile: Include Makeconfig immediately after defining
51479         subdir.
51480         * termios/Makefile: Likewise.
51481         * time/Makefile: Likewise.
51482         * timezone/Makefile: Likewise.
51483         (all): Remove target.
51484         * wcsmbs/Makefile: Include Makeconfig immediately after defining
51485         subdir.
51486         * wctype/Makefile: Likewise.
51488 2014-02-26  Steve Ellcey  <sellcey@mips.com>
51490         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
51491         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
51492         (libc_feholdexcept_setround_mips): Ditto.
51493         (libc_feholdsetround): New.
51494         (libc_feholdsetroundf): New.
51495         (libc_feholdsetroundl): New.
51496         (libc_feupdateenv_test_mips): New.
51497         (libc_feupdateenv_test): New.
51498         (libc_feupdateenv_testf): New.
51499         (libc_feupdateenv_testl): New.
51500         (libc_feresetround): New.
51501         (libc_feresetroundf): New.
51502         (libc_feresetroundl): New.
51503         (libc_fetestexcept_mips): New.
51504         (libc_fetestexcept): New.
51505         (libc_fetestexceptf): New.
51506         (libc_fetestexceptl): New.
51507         (HAVE_RM_CTX): New.
51508         (libc_feholdexcept_setround_mips_ctx): New.
51509         (libc_feholdexcept_setround_ctx): New.
51510         (libc_feholdexcept_setroundf_ctx): New.
51511         (libc_feholdexcept_setroundl_ctx): New.
51512         (libc_fesetenv_mips_ctx): New.
51513         (libc_fesetenv_ctx): New.
51514         (libc_fesetenv_ctxf): New.
51515         (libc_fesetenv_ctxl): New.
51516         (libc_feupdateenv_mips_ctx): New.
51517         (libc_feupdateenv_ctx): New.
51518         (libc_feupdateenvf_ctx): New.
51519         (libc_feupdateenvl_ctx): New.
51520         (libc_feholdsetround_mips_ctx): New.
51521         (libc_feholdsetround_ctx): New.
51522         (libc_feholdsetroundf_ctx): New.
51523         (libc_feholdsetroundl_ctx): New.
51524         (libc_feresetround_mips_ctx): New.
51525         (libc_feresetround_ctx): New.
51526         (libc_feresetroundf_ctx): New.
51527         (libc_feresetroundl_ctx): New.
51529 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
51531         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
51533         * manual/ipc.texi: New file.
51534         * manual/Makefile (chapters): Add ipc.
51535         * manual/job.texi: Add "Inter-Process Communication" to next.
51536         * manual/process.texi: Add "Inter-Process Communication" to prev.
51538 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51542 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
51544         * malloc/malloc.c (__libc_calloc): Simplify implementation.
51546         * manual/arith.texi: Fix spaces after sentences.
51547         * manual/charset.texi: Likewise.
51548         * manual/errno.texi: Likewise.
51549         * manual/install.texi: Likewise.
51550         * manual/llio.texi: Likewise.
51551         * manual/locale.texi: Likewise.
51552         * manual/maint.texi: Likewise.
51553         * manual/math.texi: Likewise.
51554         * manual/memory.texi: Likewise.
51555         * manual/message.texi: Likewise.
51556         * manual/probes.texi: Likewise.
51557         * manual/resource.texi: Likewise.
51558         * manual/signal.texi: Likewise.
51559         * manual/socket.texi: Likewise.
51560         * manual/stdio.texi: Likewise.
51561         * manual/string.texi: Likewise.
51562         * manual/time.texi: Likewise.
51563         * manual/users.texi: Likewise.
51565 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
51567         [BZ #16632]
51568         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
51569         _DEFAULT_SOURCE is defined.
51571 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
51572             Carlos O'Donell  <carlos@redhat.com>
51574         [BZ #16613]
51575         * elf/dl-tls.c (_dl_count_modids): New function.
51576         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
51577         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
51578         audit library and increment generation counter.
51579         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
51580         * elf/tst-audit9.c: New file.
51581         * elf/tst-auditmod9a.c: New file.
51582         * elf/tst-auditmod9b.c: New file.
51583         * elf/Makefile: Add rules to build and run tst-audit9.
51585 2014-02-25  Florian Weimer  <fweimer@redhat.com>
51587         [BZ #15347]
51588         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
51590 2014-02-25  Will Newton  <will.newton@linaro.org>
51592         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
51593         (__longjmp): Restore sp and lr before restoring callee
51594         saved registers.  Add longjmp and longjmp_target
51595         SystemTap probe point.
51596         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
51597         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
51598         Define to zero to match jmpbuf layout.
51599         * sysdeps/arm/setjmp.S: Include stap-probe.h.
51600         (__sigsetjmp): Save sp and lr before saving callee
51601         saved registers.  Add setjmp SystemTap probe point.
51603 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
51605         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51607 2014-02-24  Andreas Schwab  <schwab@suse.de>
51609         [BZ #15804]
51610         * elf/pldd.c (wait_for_ptrace_stop): New function.
51611         (main): Call it after attaching.
51613 2014-02-22  Roland McGrath  <roland@hack.frob.com>
51615         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
51616         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
51617         Versions files is now verboten.
51618         * hurd/Versions (libc: GLIBC_2.0):
51619         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
51620         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
51621         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
51622         * mach/Versions: Likewise.
51624         * csu/Versions: Remove unused %include.
51625         * resolv/Versions: Likewise.
51627 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
51629         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
51630         ($(objpfx)check-local-headers.out): Likewise.
51631         ($(objpfx)begin-end-check.out): Likewise.
51632         * Makerules (check-abi-%.out): Likewise.
51633         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
51634         ($(objpfx)test2.cat): Likewise.
51635         ($(objpfx)de/libc.cat): Likewise.
51636         ($(objpfx)test-gencat.out): Likewise.
51637         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
51638         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
51639         ($(objpfx)noload-mem): Likewise.
51640         ($(objpfx)tst-pathopt.out): Likewise.
51641         ($(objpfx)tst-rtld-load-self.out): Likewise.
51642         ($(objpfx)tst-array1-cmp.out): Likewise.
51643         ($(objpfx)tst-array1-static-cmp.out): Likewise.
51644         ($(objpfx)tst-array2-cmp.out): Likewise.
51645         ($(objpfx)tst-array3-cmp.out): Likewise.
51646         ($(objpfx)tst-array4-cmp.out): Likewise.
51647         ($(objpfx)tst-array5-cmp.out): Likewise.
51648         ($(objpfx)tst-array5-static-cmp.out): Likewise.
51649         ($(objpfx)check-textrel.out): Likewise.
51650         ($(objpfx)check-execstack.out): Likewise.
51651         ($(objpfx)check-localplt.out): Likewise.
51652         ($(objpfx)order2-cmp.out): Likewise.
51653         ($(objpfx)tst-leaks1-mem): Likewise.
51654         ($(objpfx)tst-leaks1-static-mem): Likewise.
51655         ($(objpfx)tst-initorder-cmp.out): Likewise.
51656         ($(objpfx)tst-initorder2-cmp.out): Likewise.
51657         ($(objpfx)tst-unused-dep.out): Likewise.
51658         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
51659         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
51660         * iconv/Makefile (test-iconvconfig): Likewise.
51661         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
51662         ($(objpfx)iconv-test.out): Likewise.
51663         ($(objpfx)tst-tables.out): Likewise.
51664         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
51665         ($(objpfx)tst-gettext.out): Likewise.
51666         ($(objpfx)tst-translit.out): Likewise.
51667         ($(objpfx)tst-gettext2.out): Likewise.
51668         ($(objpfx)tst-gettext4.out): Likewise.
51669         ($(objpfx)tst-gettext6.out): Likewise.
51670         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
51671         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
51672         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
51673         ($(objpfx)tst-fopenloc-mem.out): Likewise.
51674         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
51675         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
51676         * posix/Makefile ($(objpfx)globtest.out): Likewise.
51677         ($(objpfx)wordexp-tst.out): Likewise.
51678         ($(objpfx)annexc.out): Likewise.
51679         ($(objpfx)tst-fnmatch-mem): Likewise.
51680         ($(objpfx)bug-regex2-mem): Likewise.
51681         ($(objpfx)bug-regex14-mem): Likewise.
51682         ($(objpfx)bug-regex21-mem): Likewise.
51683         ($(objpfx)bug-regex31-mem): Likewise.
51684         ($(objpfx)tst-vfork3-mem): Likewise.
51685         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51686         ($(objpfx)tst-pcre-mem): Likewise.
51687         ($(objpfx)tst-boost-mem): Likewise.
51688         ($(objpfx)tst-getconf.out): Likewise.
51689         ($(objpfx)bug-ga2-mem): Likewise.
51690         ($(objpfx)bug-glob2-mem): Likewise.
51691         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
51692         ($(objpfx)mtrace-tst-leaks2): Likewise.
51693         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
51694         ($(objpfx)tst-printf.out): Likewise.
51695         ($(objpfx)tst-setvbuf1.out): Likewise.
51696         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
51697         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
51698         ($(objpfx)tst-fmtmsg.out): Likewise.
51699         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
51700         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
51702         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
51703         * bits/sigaction.h [__USE_MISC]: Likewise.
51704         * bits/waitstatus.h: Update #endif comments.
51705         * ctype/ctype.h: Likewise.
51706         * dirent/dirent.h: Likewise.
51707         [__USE_MISC]: Remove redundant conditionals.
51708         * grp/grp.h: Update #endif comments.
51709         [__USE_GNU]: Remove redundant conditionals.
51710         [__USE_MISC]: Likewise.
51711         * inet/netinet/in.h [__USE_GNU]: Likewise.
51712         * io/sys/stat.h [__USE_MISC]: Likewise.
51713         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
51714         * libio/bits/stdio.h: Update #endif comments.
51715         [__USE_MISC]: Remove redundant conditionals.
51716         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
51717         * libio/stdio.h: Update #endif comments.
51718         [__USE_MISC]: Remove redundant conditionals.
51719         * math/bits/math-finite.h [__USE_MISC]: Likewise.
51720         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
51721         * math/math.h: Update #else and #endif comments.
51722         [__USE_MISC]: Remove redundant conditionals.
51723         * misc/sys/uio.h: Update #endif comments.
51724         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
51725         * posix/glob.h [__USE_MISC]: Likewise.
51726         * posix/sys/types.h: Update #endif comments.
51727         [__USE_MISC]: Remove redundant conditionals.
51728         * posix/sys/wait.h: Update #endif comments.
51729         [__USE_MISC]: Remove redundant conditionals.
51730         * posix/unistd.h: Update #endif comments.
51731         [__USE_MISC]: Remove redundant conditionals.
51732         * pwd/pwd.h [__USE_GNU]: Likewise.
51733         [__USE_MISC]: Likewise.
51734         * resolv/netdb.h [__USE_GNU]: Likewise.
51735         * signal/signal.h: Update #endif comments.
51736         [__USE_MISC]: Remove redundant conditionals.
51737         * stdlib/stdlib.h: Update #else and #endif comments.
51738         [__USE_MISC]: Remove redundant conditionals.
51739         [__USE_GNU]: Likewise.
51740         * string/bits/string2.h [__USE_MISC]: Likewise.
51741         * string/string.h: Update #endif comments.
51742         [__USE_MISC]: Remove redundant conditionals.
51743         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
51744         Likewise.
51745         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
51746         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
51747         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
51748         Likewise.
51749         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
51750         Likewise.
51751         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
51752         comments.
51753         [__USE_MISC]: Remove redundant conditionals.
51754         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
51755         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
51756         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
51757         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
51758         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
51759         Likewise.
51760         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
51761         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
51762         Likewise.
51763         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
51764         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
51765         Likewise.
51766         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
51767         Likewise.
51768         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
51769         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
51770         Likewise.
51771         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
51772         Likewise.
51773         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
51774         * sysdeps/x86/bits/string.h: Update #endif comments.
51775         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
51776         conditionals.
51777         * time/sys/time.h: Update #endif comments.
51778         * time/time.h: Likewise.
51779         [__USE_MISC]: Remove redundant conditionals.
51781 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
51783         [BZ #16600]
51784         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
51786 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
51788         * Versions.def (librt): Add GLIBC_2.17.
51790 2014-02-21  Adam Conrad  <adconrad@0c3.net>
51792         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
51793         synonym for _SYS_AUXV_H to allow direct inclusion.
51794         * sysdeps/sparc/bits/hwcap.h: Likewise.
51795         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
51796         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
51797         * sysdeps/sparc/sysdep.h: Likewise.
51799 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51801         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
51803 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51805         * benchtests/bench-strrchr.c: Print length instead of position.
51807 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
51809         [BZ #16611]
51810         * sysdeps/unix/sysv/linux/kernel-features.h
51811         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
51812         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
51813         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
51814         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
51815         Likewise.
51816         [__i386__ || __powerpc__ || __sh__ || __sparc__]
51817         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51818         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
51819         (__ASSUME_SENDMMSG): Define instead of using previous
51820         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
51821         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51822         (__ASSUME_SENDMMSG_SYSCALL): Define.
51823         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51824         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
51825         Likewise.
51826         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51827         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51828         Likewise.
51829         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51830         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51831         Likewise.
51832         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
51833         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51834         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51835         [__ASSUME_SENDMMSG]: Change conditionals to
51836         [__ASSUME_SENDMMSG_SOCKETCALL].
51837         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51838         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
51839         Define.
51840         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51841         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
51842         Likewise.
51843         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
51844         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51845         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51846         [!__ASSUME_SENDMMSG]: Change conditional to
51847         [!__ASSUME_SENDMMSG_SOCKETCALL].
51848         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51849         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51850         Define.
51852         [BZ #16610]
51853         * sysdeps/unix/sysv/linux/kernel-features.h
51854         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
51855         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
51856         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
51857         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
51858         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
51859         [__i386__ || __sparc__]
51860         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51861         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
51862         (__ASSUME_RECVMMSG): Define instead of using previous
51863         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
51864         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51865         (__ASSUME_RECVMMSG_SYSCALL): Define.
51866         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51867         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51868         Likewise.
51869         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51870         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51871         Likewise.
51872         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51873         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51874         Likewise.
51875         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
51876         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51877         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51878         [__ASSUME_RECVMMSG]: Change condition to
51879         [__ASSUME_RECVMMSG_SOCKETCALL].
51880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51881         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51882         Define.
51883         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51884         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51885         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51886         Likewise.
51887         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
51888         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51889         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51890         [!__ASSUME_RECVMMSG]: Change condition to
51891         [!__ASSUME_RECVMMSG_SOCKETCALL].
51892         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51893         (__ASSUME_RECVMMSG_SYSCALL): Define.
51895         [BZ #16609]
51896         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
51897         __powerpc__ || __s390__ || __sh__ || __sparc__]
51898         (__ASSUME_SOCKETCALL): Define.
51899         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
51900         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
51901         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
51902         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
51903         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51904         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
51905         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
51906         (__ASSUME_ACCEPT4): Define instead of using previous
51907         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
51908         __powerpc__ || __sparc__ || __s390__)] condition.
51909         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51910         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51911         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
51912         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51913         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51914         [!__ASSUME_ACCEPT4]: Change condition to
51915         [!__ASSUME_ACCEPT4_SOCKETCALL].
51916         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51917         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
51918         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
51919         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51920         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
51921         __ASSUME_ACCEPT4_SYSCALL.
51922         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
51923         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
51924         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51925         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
51926         __ASSUME_ACCEPT4_SYSCALL.
51927         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
51928         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51929         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51930         [__ASSUME_ACCEPT4]: Change condition to
51931         [__ASSUME_ACCEPT4_SOCKETCALL].
51932         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51933         (__ASSUME_SOCKETCALL): Define.
51934         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
51935         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51936         (__ASSUME_SOCKETCALL): Define.
51937         (__ASSUME_ACCEPT4): Remove.
51938         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
51939         Define.
51940         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51941         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
51942         Likewise.
51943         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51944         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51946         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
51947         macro.
51948         (HWCAP_ARM_LPAE): Likewise.
51949         (HWCAP_ARM_EVTSTRM): Likewise.
51950         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
51951         Add vpfd32, lpae and evtstrm.
51952         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
51953         Increase to 22.
51955 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
51957         * math/auto-libm-test-in: Add tests of clog10.
51958         * math/auto-libm-test-out: Regenerated.
51959         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
51960         * sysdeps/i386/fpu/libm-test-ulps: Update.
51961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51963 2014-02-18  Andreas Schwab  <schwab@suse.de>
51965         [BZ #16574]
51966         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
51967         Store non-zero if the second buffer was newly allocated.
51968         (send_dg): Likewise.
51969         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
51970         to send_vc and send_dg.
51971         (res_nsend): Pass NULL for ansp2_malloced.
51972         * resolv/res_query.c (__libc_res_nquery): Add parameter
51973         answerp2_malloced and pass it down to __libc_res_nsend.
51974         (res_nquery): Pass additional NULL to __libc_res_nquery.
51975         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
51976         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
51977         second answer buffer if answerp2_malloced was set.
51978         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
51979         (__libc_res_nquerydomain): Add parameter
51980         answerp2_malloced and pass it down to __libc_res_nquery.
51981         (res_nquerydomain): Pass additional NULL to
51982         __libc_res_nquerydomain.
51983         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
51984         additional NULL to __libc_res_nsend and __libc_res_nquery.
51985         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
51986         additional NULL to __libc_res_nsearch.
51987         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
51988         parameter of __libc_res_nsearch to check for separately allocated
51989         second buffer.
51990         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
51991         __libc_res_nquery.
51992         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
51993         additional NULL to __libc_res_nquery.
51994         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
51995         __libc_res_nsearch.
51996         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
51997         * include/resolv.h: Update prototypes of __libc_res_nquery,
51998         __libc_res_nsearch, __libc_res_nsend.
52000 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
52002         * math/auto-libm-test-in: Add tests of fma.
52003         * math/auto-libm-test-out: Regenerated.
52004         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
52005         (fma_towardzero_test_data): Likewise.
52006         (fma_downward_test_data): Likewise.
52007         (fma_upward_test_data): Likewise.
52008         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
52009         mpc_mode.
52010         (rounding_modes): Add values for new field.
52011         (func_calc_method): Add value mpfr_fff_f.
52012         (func_calc_desc): Add mpfr_fff_f union field.
52013         (test_function): Add field exact_args.
52014         (FUNC): Add macro argument EXACT_ARGS.
52015         (FUNC_mpfr_f_f): Update call to FUNC.
52016         (FUNC_mpfr_f_f): Likewise.
52017         (FUNC_mpfr_ff_f): Likewise.
52018         (FUNC_mpfr_if_f): Likewise.
52019         (FUNC_mpc_c_f): Likewise.
52020         (FUNC_mpc_c_c): Likewise.
52021         (test_functions): Add fma.  Update calls to FUNC.
52022         (handle_input_arg): Add argument exact_args.
52023         (add_test): Update call to handle_input_arg.
52024         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
52025         (output_for_one_input_case): Update call to calc_generic_results.
52026         Recalculate exact zero results in each rounding mode.
52028         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
52029         non-negative before setting low bit.
52030         * math/auto-libm-test-in: Mark one asin test possibly having
52031         spurious underflow.
52032         * math/auto-libm-test-out: Regenerated.
52033         * sysdeps/i386/fpu/libm-test-ulps: Update.
52034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52036 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
52038         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
52039         * sysdeps/unix/sysv/linux/microblaze: Move directory from
52040         ports/sysdeps/unix/sysv/linux/microblaze.
52041         * README: Add missing listing for microblaze*-*-linux-gnu.
52043 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
52045         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
52046         duplicate code
52048 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
52050         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
52051         * sysdeps/unix/sysv/linux/ia64: Move directory from
52052         ports/sysdeps/unix/sysv/linux/ia64.
52053         * README: Update listing for ia64-*-linux-gnu.
52055 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
52056             Joseph Myers  <joseph@codesourcery.com>
52058         * Makeconfig (test-name): New variable.
52059         (evaluate-test): Likewise.
52060         * Makerules (do-test-clean): Remove .test-result files.
52061         (common-mostlyclean): Likewise.
52062         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
52063         * scripts/evaluate-test.sh: New file.
52065 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
52067         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
52068         separate $(objpfx)tst-fopenloc-cmp.out and
52069         $(objpfx)tst-fopenloc-mem.out targets.
52070         (tests): Update dependencies.
52071         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
52072         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
52073         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
52074         (tst-rxspencer-no-utf8-ARGS): New variable.
52075         (tst-rxspencer-no-utf8-ENV): Likewise.
52076         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
52077         instead of $(objpfx)tst-rxspencer-mem.
52078         ($(objpfx)tst-rxspencer-mem): Change target to
52079         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
52080         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
52081         * posix/tst-rxspencer-no-utf8.c: New file.
52083         * elf/Makefile ($(objpfx)order.out): Remove rule.
52084         [$(run-built-tests) = yes] (tests): Depend on
52085         $(objpfx)order-cmp.out.
52086         ($(objpfx)order-cmp.out): New rule.
52087         [$(run-built-tests) = yes] (tests): Depend on
52088         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
52089         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
52090         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
52091         $(objpfx)tst-array5-static-cmp.out.
52092         ($(objpfx)tst-array1.out): Remove rule.
52093         ($(objpfx)tst-array1-cmp.out): New rule.
52094         ($(objpfx)tst-array1-static.out): Remove rule.
52095         ($(objpfx)tst-array1-static-cmp.out): New rule.
52096         ($(objpfx)tst-array2.out): Remove rule.
52097         ($(objpfx)tst-array2-cmp.out): New rule.
52098         ($(objpfx)tst-array3.out): Remove rule.
52099         ($(objpfx)tst-array3-cmp.out): New rule.
52100         ($(objpfx)tst-array4.out): Remove rule.
52101         ($(objpfx)tst-array4-cmp.out): New rule.
52102         ($(objpfx)tst-array5.out): Remove rule.
52103         ($(objpfx)tst-array5-cmp.out): New rule.
52104         ($(objpfx)tst-array5-static.out): Remove rule.
52105         ($(objpfx)tst-array5-static-cmp.out): New rule.
52106         [$(run-built-tests) = yes] (tests): Depend on
52107         $(objpfx)order2-cmp.out.
52108         ($(objpfx)order2.out): Remove rule.
52109         ($(objpfx)order2-cmp.out): New rule.
52110         ($(objpfx)tst-initorder.out): Remove rule.
52111         [$(run-built-tests) = yes] (tests): Depend on
52112         $(objpfx)tst-initorder-cmp.out.
52113         ($(objpfx)tst-initorder-cmp.out): New rule.
52114         ($(objpfx)tst-initorder2.out): Remove rule.
52115         [$(run-built-tests) = yes] (tests): Depend on
52116         $(objpfx)tst-initorder2-cmp.out.
52117         ($(objpfx)tst-initorder2-cmp.out): New rule.
52118         [$(run-built-tests) = yes] (tests): Depend on
52119         $(objpfx)tst-unused-dep-cmp.out.
52120         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
52121         ($(objpfx)tst-unused-dep-cmp.out): New rule.
52122         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
52123         on $(objpfx)tst-setvbuf1-cmp.out.
52124         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
52125         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
52126         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
52127         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
52128         ($(objpfx)tst-svc.out): Remove rule.
52129         ($(objpfx)tst-svc-cmp.out): New rule.
52131 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
52133         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
52134         * ctype/ctype.h [__USE_MISC]: Likewise.
52135         * dirent/dirent.h [__USE_MISC]: Likewise.
52136         * grp/grp.h [__USE_MISC]: Likewise.
52137         * io/fcntl.h [__USE_MISC]: Likewise.
52138         * io/sys/stat.h [__USE_MISC]: Likewise.
52139         * libio/stdio.h [__USE_MISC]: Likewise.
52140         * posix/unistd.h [__USE_MISC]: Likewise.
52141         * pwd/pwd.h [__USE_MISC]: Likewise.
52142         * stdlib.h [__USE_MISC]: Likewise.
52143         * string/bits/string2.h [__USE_MISC]: Likewise.
52144         * string/string.h [__USE_MISC]: Likewise.
52145         * time/time.h [__USE_MISC]: Likewise.
52147 2014-02-13  Andreas Schwab  <schwab@suse.de>
52149         [BZ #16574]
52150         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
52151         second answer buffer if it was separately allocated.
52153 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
52155         * sysdeps/mips/math-tests.h: Include <features.h>.
52156         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52157         (ROUNDING_TESTS_long_double): Do not define.
52158         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52159         (EXCEPTION_TESTS_long_double): Likewise.
52160         * sysdeps/mips/mips64/libm-test-ulps: Update.
52162         * include/features.h (__USE_BSD): Remove macro definitions.
52163         (__USE_SVID): Likewise.
52164         (_BSD_SOURCE): Likewise.
52165         (_SVID_SOURCE): Likewise.
52166         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
52167         from definition of _DEFAULT_SOURCE.
52168         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
52169         [_DEFAULT_SOURCE].
52170         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
52171         * bits/mman.h [__USE_BSD]: Likewise.
52172         * bits/termios.h [__USE_BSD]: Likewise.
52173         * bits/waitstatus.h [__USE_BSD]: Likewise.
52174         * ctype/ctype.h [__USE_SVID]: Likewise.
52175         * dirent/dirent.h [__USE_BSD]: Likewise.
52176         * grp/grp.h [__USE_SVID]: Likewise.
52177         [__USE_BSD]: Likewise.
52178         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
52179         * io/fcntl.h [__USE_BSD]: Likewise.
52180         * io/ftw.h [__USE_BSD]: Likewise.
52181         * io/sys/stat.h [__USE_BSD]: Likewise.
52182         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
52183         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
52184         * libio/stdio.h [__USE_SVID]: Likewise.
52185         [__USE_BSD]: Likewise.
52186         * math/math.h [__USE_SVID]: Likewise.
52187         [__USE_BSD]: Likewise.
52188         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
52189         * misc/bits/syslog.h [__USE_BSD]: Likewise.
52190         * misc/search.h [__USE_SVID]: Likewise.
52191         * misc/sys/mman.h [__USE_BSD]: Likewise.
52192         * misc/sys/syslog.h [__USE_BSD]: Likewise.
52193         * misc/sys/uio.h [__USE_BSD]: Likewise.
52194         * posix/bits/unistd.h [__USE_BSD]: Likewise.
52195         * posix/glob.h [__USE_BSD]: Likewise.
52196         * posix/regex.h [__USE_BSD]: Likewise.
52197         * posix/sys/types.h [__USE_BSD]: Likewise.
52198         [__USE_SVID]: Likewise.
52199         * posix/sys/utsname.h [__USE_SVID]: Likewise.
52200         * posix/sys/wait.h [__USE_BSD]: Likewise.
52201         [__USE_SVID]: Likewise.
52202         * posix/unistd.h [__USE_BSD]: Likewise.
52203         [__USE_SVID]: Likewise.
52204         * pwd/pwd.h [__USE_SVID]: Likewise.
52205         * resolv/netdb.h [__USE_BSD]: Likewise.
52206         * setjmp/setjmp.h [__USE_BSD]: Likewise.
52207         * signal/signal.h [__USE_BSD]: Likewise.
52208         [__USE_SVID]: Likewise.
52209         * socket/sys/socket.h [__USE_BSD]: Likewise.
52210         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
52211         * stdlib/stdlib.h [__USE_BSD]: Likewise.
52212         [__USE_SVID]: Likewise.
52213         * string/bits/string2.h [__USE_BSD]: Likewise.
52214         [__USE_SVID]: Likewise.
52215         * string/bits/string3.h [__USE_BSD]: Likewise.
52216         * string/endian.h [__USE_BSD]: Likewise.
52217         * string/string.h [__USE_SVID]: Likewise.
52218         [__USE_BSD]: Likewise.
52219         * string/strings.h [__USE_BSD]: Likewise.
52220         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
52221         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
52222         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
52223         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
52224         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
52225         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
52226         Likewise.
52227         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
52228         Likewise.
52229         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
52230         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
52231         Likewise.
52232         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
52233         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
52234         Likewise.
52235         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
52236         Likewise.
52237         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
52238         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
52239         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
52240         Likewise.
52241         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
52242         Likewise.
52243         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
52244         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
52245         * termios/termios.h [__USE_BSD]: Likewise.
52246         * time/sys/time.h [__USE_BSD]: Likewise.
52247         * time/time.h [__USE_BSD]: Likewise.
52248         [__USE_SVID]: Likewise.
52250         * Makefile (subdir_targets): Remove subdir_lint.out.
52252         * stdio-common/Makefile (do-tst-unbputc): Remove target.
52253         (do-tst-printf): Likewise.
52254         (tests): Depend directly on $(objpfx)tst-unbputc.out and
52255         $(objpfx)tst-printf.out.
52257         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
52259         * Makerules (check-abi-%): Change target to
52260         $(objpfx)check-abi-%.out.
52261         (check-abi target): Update dependencies.
52262         (check-abi-pattern variable): Redirect output of diff to $@.
52263         (check-abi variable): Likewise.
52264         * elf/Makefile (check-abi): Update dependencies.
52266         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
52267         unused.
52268         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
52269         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
52270         subnormal range.
52271         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
52272         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
52273         value has largest subnormal exponent.
52274         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
52275         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
52276         * sysdeps/aarch64/soft-fp/sfp-machine.h
52277         (_FP_TININESS_AFTER_ROUNDING): New macro.
52278         * sysdeps/alpha/soft-fp/sfp-machine.h
52279         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52280         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52281         Likewise.
52282         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
52283         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52284         * sysdeps/mips/soft-fp/sfp-machine.h
52285         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52286         * sysdeps/powerpc/soft-fp/sfp-machine.h
52287         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52288         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52289         Likewise.
52290         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52291         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52292         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52293         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52294         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52295         Likewise.
52297 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
52299         [BZ #16545]
52300         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
52301         model 1.
52303 2014-02-12  Richard Henderson  <rth@redhat.com>
52305         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
52306         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
52307         * sysdeps/unix/sysv/linux/alpha: Move directory from
52308         ports/sysdeps/unix/sysv/linux/alpha.
52309         * README: Update listing for alpha-*-linux-gnu.
52311 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
52313         * include/features.h: Update comment documenting feature test
52314         macros.
52315         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
52316         _DEFAULT_SOURCE.
52317         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
52318         (_SVID_SOURCE): Likewise.
52319         (_DEFAULT_SOURCE): Update description of default features.
52320         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
52321         with _GNU_SOURCE.
52322         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
52323         (S_ISVTX): Likewise.
52324         * manual/math.texi (Mathematical Constants): Likewise.
52325         * manual/signal.texi (Interrupted Primitives): Likewise.
52326         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
52327         * math/test-matherr.c (_SVID_SOURCE): Do not define.
52328         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
52329         Don't refer to _SVID_SOURCE in warning text.
52331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52333         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
52334         already defined.
52335         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
52336         * sysdeps/mips/dl-lookup.c: Remove.
52337         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
52339 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52341         [BZ #16447]
52342         * math/auto-libm-test-in: Add testcase for expl.
52343         * math/auto-libm-test-out: Regenerate.
52344         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
52345         calculation of unsafe.
52346         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
52348 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52350         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
52351         * sysdeps/unix/sysv/linux/aarch64: Move directory from
52352         ports/sysdeps/unix/sysv/linux/aarch64.
52353         * README: Update listing for aarch64*-*-linux-gnu.
52355 2014-02-11  Will Newton  <will.newton@linaro.org>
52357         * manual/probes.texi (Mathematical Function Probes): Use
52358         "triggered" instead of "hit".
52360         * manual/probes.texi (Internal Probes): Add documentation
52361         of setjmp, longjmp and longjmp_target probes.
52363         * include/stap-probe.h: Add comment about probe argument
52364         format.
52366         * malloc/mtrace.c (attribute_hidden): Remove unused macro
52367         definition.  (tr_where, tr_freehook, tr_mallochook,
52368         tr_reallochook, tr_memalignhook): Use ANSI protoype.
52370 2014-02-11  David S. Miller  <davem@davemloft.net>
52372         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
52373         processing int_tests.
52375 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
52377         * sysdeps/mips: Move directory from ports/sysdeps/mips.
52378         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
52379         * sysdeps/unix/sysv/linux/mips: Move directory from
52380         ports/sysdeps/unix/sysv/linux/mips.
52381         * README: Update listing for mips-*-linux-gnu and
52382         mips64-*-linux-gnu.
52384 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
52386         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
52387         * sysdeps/unix/sysv/linux/m68k: Move directory from
52388         ports/sysdeps/unix/sysv/linux/m68k.
52389         * README: Update listing for m68k-*-linux-gnu.
52391 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
52393         * sysdeps/tile: Move directory from ports/sysdeps/tile.
52394         * sysdeps/unix/sysv/linux/generic: Move directory from
52395         ports/sysdeps/unix/sysv/linux/generic.
52396         * sysdeps/unix/sysv/linux/tile: Move directory from
52397         ports/sysdeps/unix/sysv/linux/tile.
52398         * README: Update listing for tile*-*-linux-gnu.
52400 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
52402         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
52403         __builtin_expect.
52404         * benchtests/bench-memmem.c (simple_memmem): Likewise.
52405         * catgets/open_catalog.c (__open_catalog): Likewise.
52406         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
52407         * debug/confstr_chk.c: Likewise.
52408         * debug/fread_chk.c (__fread_chk): Likewise.
52409         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
52410         * debug/getgroups_chk.c: Likewise.
52411         * debug/mbsnrtowcs_chk.c: Likewise.
52412         * debug/mbsrtowcs_chk.c: Likewise.
52413         * debug/mbstowcs_chk.c: Likewise.
52414         * debug/memcpy_chk.c: Likewise.
52415         * debug/memmove_chk.c: Likewise.
52416         * debug/mempcpy_chk.c: Likewise.
52417         * debug/memset_chk.c: Likewise.
52418         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52419         * debug/strcat_chk.c (__strcat_chk): Likewise.
52420         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
52421         * debug/strncat_chk.c (__strncat_chk): Likewise.
52422         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
52423         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
52424         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
52425         * debug/wcpncpy_chk.c: Likewise.
52426         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52427         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
52428         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
52429         * debug/wcsncpy_chk.c: Likewise.
52430         * debug/wcsnrtombs_chk.c: Likewise.
52431         * debug/wcsrtombs_chk.c: Likewise.
52432         * debug/wcstombs_chk.c: Likewise.
52433         * debug/wmemcpy_chk.c: Likewise.
52434         * debug/wmemmove_chk.c: Likewise.
52435         * debug/wmempcpy_chk.c: Likewise.
52436         * debug/wmemset_chk.c: Likewise.
52437         * dirent/scandirat.c (SCANDIRAT): Likewise.
52438         * dlfcn/dladdr1.c (dladdr1): Likewise.
52439         * dlfcn/dladdr.c (dladdr): Likewise.
52440         * dlfcn/dlclose.c (dlclose_doit): Likewise.
52441         * dlfcn/dlerror.c (__dlerror): Likewise.
52442         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
52443         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
52444         * dlfcn/dlopen.c (dlopen_doit): Likewise.
52445         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
52446         * dlfcn/dlsym.c (dlsym_doit): Likewise.
52447         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
52448         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
52449         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
52450         Likewise.
52451         * elf/dl-conflict.c: Likewise.
52452         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
52453         * elf/dl-dst.h: Likewise.
52454         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
52455         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
52456         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
52457         * elf/dl-init.c (call_init, _dl_init): Likewise.
52458         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
52459         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
52460         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
52461         Likewise.
52462         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
52463         Likewise.
52464         * elf/dl-minimal.c (__libc_memalign): Likewise.
52465         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
52466         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52467         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
52468         * elf/dl-sym.c (do_sym): Likewise.
52469         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
52470         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
52471         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
52472         * elf/dl-writev.h (_dl_writev): Likewise.
52473         * elf/ldconfig.c (search_dir): Likewise.
52474         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
52475         (dl_main): Likewise.
52476         * elf/setup-vdso.h (setup_vdso): Likewise.
52477         * grp/compat-initgroups.c (compat_call): Likewise.
52478         * grp/fgetgrent.c (fgetgrent): Likewise.
52479         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
52480         * grp/putgrent.c (putgrent): Likewise.
52481         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52482         Likewise.
52483         * hurd/hurdinit.c: Likewise.
52484         * iconvdata/8bit-gap.c (struct): Likewise.
52485         * iconvdata/ansi_x3.110.c : Likewise.
52486         * iconvdata/big5.c : Likewise.
52487         * iconvdata/big5hkscs.c : Likewise.
52488         * iconvdata/cp1255.c: Likewise.
52489         * iconvdata/cp1258.c : Likewise.
52490         * iconvdata/cp932.c : Likewise.
52491         * iconvdata/euc-cn.c: Likewise.
52492         * iconvdata/euc-jisx0213.c : Likewise.
52493         * iconvdata/euc-jp.c: Likewise.
52494         * iconvdata/euc-jp-ms.c : Likewise.
52495         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
52496         * iconvdata/gb18030.c : Likewise.
52497         * iconvdata/gbbig5.c (const): Likewise.
52498         * iconvdata/gbgbk.c: Likewise.
52499         * iconvdata/gbk.c : Likewise.
52500         * iconvdata/ibm1364.c : Likewise.
52501         * iconvdata/ibm930.c : Likewise.
52502         * iconvdata/ibm932.c: Likewise.
52503         * iconvdata/ibm933.c : Likewise.
52504         * iconvdata/ibm935.c : Likewise.
52505         * iconvdata/ibm937.c : Likewise.
52506         * iconvdata/ibm939.c : Likewise.
52507         * iconvdata/ibm943.c: Likewise.
52508         * iconvdata/iso_11548-1.c: Likewise.
52509         * iconvdata/iso-2022-cn.c : Likewise.
52510         * iconvdata/iso-2022-cn-ext.c : Likewise.
52511         * iconvdata/iso-2022-jp-3.c: Likewise.
52512         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
52513         * iconvdata/iso-2022-kr.c : Likewise.
52514         * iconvdata/iso646.c (gconv_end): Likewise.
52515         * iconvdata/iso_6937-2.c : Likewise.
52516         * iconvdata/iso_6937.c : Likewise.
52517         * iconvdata/iso8859-1.c: Likewise.
52518         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
52519         * iconvdata/shift_jisx0213.c : Likewise.
52520         * iconvdata/sjis.c : Likewise.
52521         * iconvdata/t.61.c : Likewise.
52522         * iconvdata/tcvn5712-1.c : Likewise.
52523         * iconvdata/tscii.c: Likewise.
52524         * iconvdata/uhc.c : Likewise.
52525         * iconvdata/unicode.c (gconv_end): Likewise.
52526         * iconvdata/utf-16.c (gconv_end): Likewise.
52527         * iconvdata/utf-32.c (gconv_end): Likewise.
52528         * iconvdata/utf-7.c (base64): Likewise.
52529         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
52530         * iconv/gconv_close.c (__gconv_close): Likewise.
52531         * iconv/gconv_open.c (__gconv_open): Likewise.
52532         * iconv/gconv_simple.c (internal_ucs4_loop_single)
52533         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
52534         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
52535         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
52536         (ucs4le_internal_loop_single): Likewise.
52537         * iconv/iconv.c (iconv): Likewise.
52538         * iconv/iconv_close.c: Likewise.
52539         * iconv/loop.c (SINGLE): Likewise.
52540         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
52541         * include/atomic.h: Likewise.
52542         * inet/inet6_option.c (option_alloc): Likewise.
52543         * intl/bindtextdom.c (set_binding_values): Likewise.
52544         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
52545         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
52546         * intl/localealias.c (read_alias_file): Likewise.
52547         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
52548         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
52549         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
52550         * libio/fmemopen.c (fmemopen): Likewise.
52551         * libio/iofgets.c (_IO_fgets): Likewise.
52552         * libio/iofgets_u.c (fgets_unlocked): Likewise.
52553         * libio/iofgetws.c (fgetws): Likewise.
52554         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
52555         * libio/iogetdelim.c (_IO_getdelim): Likewise.
52556         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
52557         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
52558         * locale/findlocale.c (_nl_find_locale): Likewise.
52559         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
52560         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
52561         Likewise.
52562         * locale/setlocale.c (setlocale): Likewise.
52563         * login/programs/pt_chown.c (main): Likewise.
52564         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
52565         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
52566         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
52567         (mmap, mmap64, mremap, munmap): Likewise.
52568         * math/e_exp2l.c: Likewise.
52569         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
52570         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
52571         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
52572         * math/s_catan.c (__catan): Likewise.
52573         * math/s_catanf.c (__catanf): Likewise.
52574         * math/s_catanh.c (__catanh): Likewise.
52575         * math/s_catanhf.c (__catanhf): Likewise.
52576         * math/s_catanhl.c (__catanhl): Likewise.
52577         * math/s_catanl.c (__catanl): Likewise.
52578         * math/s_ccosh.c (__ccosh): Likewise.
52579         * math/s_ccoshf.c (__ccoshf): Likewise.
52580         * math/s_ccoshl.c (__ccoshl): Likewise.
52581         * math/s_cexp.c (__cexp): Likewise.
52582         * math/s_cexpf.c (__cexpf): Likewise.
52583         * math/s_cexpl.c (__cexpl): Likewise.
52584         * math/s_clog10.c (__clog10): Likewise.
52585         * math/s_clog10f.c (__clog10f): Likewise.
52586         * math/s_clog10l.c (__clog10l): Likewise.
52587         * math/s_clog.c (__clog): Likewise.
52588         * math/s_clogf.c (__clogf): Likewise.
52589         * math/s_clogl.c (__clogl): Likewise.
52590         * math/s_csin.c (__csin): Likewise.
52591         * math/s_csinf.c (__csinf): Likewise.
52592         * math/s_csinh.c (__csinh): Likewise.
52593         * math/s_csinhf.c (__csinhf): Likewise.
52594         * math/s_csinhl.c (__csinhl): Likewise.
52595         * math/s_csinl.c (__csinl): Likewise.
52596         * math/s_csqrt.c (__csqrt): Likewise.
52597         * math/s_csqrtf.c (__csqrtf): Likewise.
52598         * math/s_csqrtl.c (__csqrtl): Likewise.
52599         * math/s_ctan.c (__ctan): Likewise.
52600         * math/s_ctanf.c (__ctanf): Likewise.
52601         * math/s_ctanh.c (__ctanh): Likewise.
52602         * math/s_ctanhf.c (__ctanhf): Likewise.
52603         * math/s_ctanhl.c (__ctanhl): Likewise.
52604         * math/s_ctanl.c (__ctanl): Likewise.
52605         * math/w_pow.c: Likewise.
52606         * math/w_powf.c: Likewise.
52607         * math/w_powl.c: Likewise.
52608         * math/w_scalb.c (sysv_scalb): Likewise.
52609         * math/w_scalbf.c (sysv_scalbf): Likewise.
52610         * math/w_scalbl.c (sysv_scalbl): Likewise.
52611         * misc/error.c (error_tail): Likewise.
52612         * misc/pselect.c (__pselect): Likewise.
52613         * nis/nis_callback.c (__nis_create_callback): Likewise.
52614         * nis/nis_call.c (__nisfind_server): Likewise.
52615         * nis/nis_creategroup.c (nis_creategroup): Likewise.
52616         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
52617         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
52618         * nis/nis_getservlist.c (nis_getservlist): Likewise.
52619         * nis/nis_lookup.c (nis_lookup): Likewise.
52620         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
52621         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
52622         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
52623         * nis/nis_xdr.c (xdr_endpoint): Likewise.
52624         * nis/nss_compat/compat-grp.c (getgrent_next_file)
52625         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
52626         * nis/nss_compat/compat-initgroups.c (add_group)
52627         (internal_getgrent_r): Likewise.
52628         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
52629         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
52630         * nis/nss_compat/compat-spwd.c (getspent_next_file)
52631         (internal_getspnam_r): Likewise.
52632         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
52633         (_nss_nis_getaliasbyname_r): Likewise.
52634         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
52635         (_nss_nis_getntohost_r): Likewise.
52636         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
52637         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
52638         (_nss_nis_getgrgid_r): Likewise.
52639         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
52640         (internal_nis_gethostent_r, internal_gethostbyname2_r)
52641         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
52642         (_nss_nis_gethostbyname4_r): Likewise.
52643         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
52644         (initgroups_netid): Likewise.
52645         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
52646         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
52647         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
52648         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
52649         (_nss_nis_getprotobynumber_r): Likewise.
52650         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
52651         (_nss_nis_getsecretkey): Likewise.
52652         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
52653         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
52654         (_nss_nis_getpwuid_r): Likewise.
52655         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
52656         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
52657         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
52658         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
52659         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
52660         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
52661         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
52662         Likewise.
52663         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
52664         (_nss_nisplus_getntohost_r): Likewise.
52665         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
52666         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
52667         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
52668         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
52669         Likewise.
52670         * nis/nss_nisplus/nisplus-initgroups.c
52671         (_nss_nisplus_initgroups_dyn): Likewise.
52672         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
52673         (_nss_nisplus_getnetbyaddr_r): Likewise.
52674         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
52675         (_nss_nisplus_getprotobynumber_r): Likewise.
52676         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
52677         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
52678         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
52679         Likewise.
52680         * nis/nss_nisplus/nisplus-service.c
52681         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
52682         (_nss_nisplus_getservbyport_r): Likewise.
52683         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
52684         (_nss_nisplus_getspnam_r): Likewise.
52685         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
52686         Likewise.
52687         * nscd/aicache.c (addhstaiX): Likewise.
52688         * nscd/cache.c (cache_search, prune_cache): Likewise.
52689         * nscd/connections.c (register_traced_file, send_ro_fd)
52690         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
52691         (main_loop_epoll): Likewise.
52692         * nscd/grpcache.c (addgrbyX): Likewise.
52693         * nscd/hstcache.c (addhstbyX): Likewise.
52694         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52695         * nscd/mem.c (gc, mempool_alloc): Likewise.
52696         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
52697         (addinnetgrX): Likewise.
52698         * nscd/nscd-client.h (__nscd_acquire_maplock)
52699         (__nscd_drop_map_ref): Likewise.
52700         * nscd/nscd_getai.c (__nscd_getai): Likewise.
52701         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
52702         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
52703         Likewise.
52704         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
52705         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52706         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
52707         (__nscd_get_map_ref): Likewise.
52708         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
52709         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
52710         Likewise.
52711         * nscd/pwdcache.c (addpwbyX): Likewise.
52712         * nscd/selinux.c (preserve_capabilities): Likewise.
52713         * nscd/servicescache.c (addservbyX): Likewise.
52714         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
52715         * posix/fnmatch.c (fnmatch): Likewise.
52716         * posix/getopt.c (_getopt_internal_r): Likewise.
52717         * posix/glob.c (glob, glob_in_dir): Likewise.
52718         * posix/wordexp.c (exec_comm_child): Likewise.
52719         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
52720         (getanswer_r, gaih_getanswer_slice): Likewise.
52721         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
52722         * resolv/res_init.c: Likewise.
52723         * resolv/res_mkquery.c (res_nmkquery): Likewise.
52724         * resolv/res_query.c (__libc_res_nquery): Likewise.
52725         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
52726         Likewise.
52727         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
52728         * stdio-common/perror.c (perror): Likewise.
52729         * stdio-common/printf_fp.c (___printf_fp): Likewise.
52730         * stdio-common/tmpnam.c (tmpnam): Likewise.
52731         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52732         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
52733         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
52734         Likewise.
52735         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
52736         * stdlib/putenv.c (putenv): Likewise.
52737         * stdlib/setenv.c (__add_to_environ): Likewise.
52738         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52739         * stdlib/strtol_l.c (INTERNAL): Likewise.
52740         * string/memmem.c (memmem): Likewise.
52741         * string/strerror.c (strerror): Likewise.
52742         * string/strnlen.c (__strnlen): Likewise.
52743         * string/test-memmem.c (simple_memmem): Likewise.
52744         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
52745         * sunrpc/pm_getport.c (__get_socket): Likewise.
52746         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
52747         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
52748         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
52749         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
52750         Likewise.
52751         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
52752         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
52753         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
52754         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
52755         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
52756         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
52757         Likewise.
52758         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
52759         Likewise.
52760         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
52761         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
52762         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52763         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
52764         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
52765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
52766         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52767         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
52768         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
52769         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
52770         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52771         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
52772         Likewise.
52773         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
52774         Likewise.
52775         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
52776         Likewise.
52777         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
52778         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52779         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
52780         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
52781         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
52782         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
52783         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52784         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
52785         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
52786         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
52787         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
52788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52789         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52790         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
52791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52792         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
52793         Likewise.
52794         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
52795         Likewise.
52796         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
52797         Likewise.
52798         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
52799         Likewise.
52800         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52801         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52802         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
52803         Likewise.
52804         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
52805         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
52806         * sysdeps/posix/opendir.c (__opendirat): Likewise.
52807         * sysdeps/posix/sleep.c: Likewise.
52808         * sysdeps/posix/tempname.c: Likewise.
52809         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
52810         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52811         Likewise.
52812         * sysdeps/powerpc/powerpc32/dl-machine.h
52813         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
52814         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52815         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52816         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
52817         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
52818         Likewise.
52819         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
52820         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
52821         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52822         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
52823         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52824         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
52825         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
52826         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
52827         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52828         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
52829         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
52830         (elf_machine_lazy_rel): Likewise.
52831         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52832         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
52833         (elf_machine_lazy_rel): Likewise.
52834         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
52835         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
52836         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
52837         * sysdeps/unix/grantpt.c (grantpt): Likewise.
52838         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
52839         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
52840         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
52841         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52842         Likewise.
52843         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
52844         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
52845         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
52846         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
52847         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52848         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52849         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
52850         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
52851         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
52852         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52853         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52854         Likewise.
52855         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
52856         (__posix_fallocate64_l64): Likewise.
52857         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
52858         (posix_fallocate): Likewise.
52859         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
52860         Likewise.
52861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52862         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
52863         (getifaddrs_internal): Likewise.
52864         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
52865         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
52866         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
52867         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
52868         * sysdeps/unix/sysv/linux/posix_fallocate64.c
52869         (__posix_fallocate64_l64): Likewise.
52870         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
52871         Likewise.
52872         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
52873         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
52874         (__get_clockfreq): Likewise.
52875         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
52876         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
52877         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
52878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52879         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52880         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
52881         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
52882         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
52883         Likewise.
52884         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
52885         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
52886         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
52887         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
52888         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52889         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
52890         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
52891         Likewise.
52892         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52893         (posix_fallocate): Likewise.
52894         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52895         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
52896         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
52897         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
52898         (elf_machine_rela, elf_machine_rela_relative)
52899         (elf_machine_lazy_rel): Likewise.
52900         * time/asctime.c (asctime_internal): Likewise.
52901         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
52902         * time/tzset.c (__tzset_parse_tz): Likewise.
52903         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
52904         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
52905         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
52906         * wcsmbs/wcsmbsload.h: Likewise.
52908         [BZ #15894]
52909         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
52911         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
52912         (arena_get2): Remove THREAD_STATS conditionals.
52913         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
52914         (__malloc_stats, int): Likewise.
52916 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
52918         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
52919         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
52921         * manual/setjmp.texi: Fix typos/grammar errors.
52923         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
52924         Only return early when n is <= 0.  Delete unused return statement.
52926         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
52927         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
52928         * debug/tst-longjmp_chk3.c: New file.
52930         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
52931         (test_main): Replace code with set_fortify_handler call.
52932         * debug/test-strcpy_chk.c: Likewise.
52933         * debug/tst-chk1.c: Likewise.
52934         * debug/tst-longjmp_chk.c: Likewise.
52935         * test-skeleton.c: Include fcntl.h & paths.h
52936         (set_fortify_handler): Define.
52938         * debug/tst-longjmp_chk.c: Add header comment and include
52939         ../test-skeleton.c.
52940         (do_test): Mark static.
52941         (TEST_FUNCTION): Define.
52943         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
52944         (IP_PMTUDISC_INTERFACE): Likewise.
52945         (IP_MULTICAST_IF): Likewise.
52946         (IP_MULTICAST_TTL): Likewise.
52947         (IP_MULTICAST_LOOP): Likewise.
52948         (IP_ADD_MEMBERSHIP): Likewise.
52949         (IP_DROP_MEMBERSHIP): Likewise.
52950         (IP_UNBLOCK_SOURCE): Likewise.
52951         (IP_BLOCK_SOURCE): Likewise.
52952         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
52953         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
52954         (IP_MSFILTER): Likewise.
52955         (MCAST_JOIN_GROUP): Likewise.
52956         (MCAST_BLOCK_SOURCE): Likewise.
52957         (MCAST_UNBLOCK_SOURCE): Likewise.
52958         (MCAST_LEAVE_GROUP): Likewise.
52959         (MCAST_JOIN_SOURCE_GROUP): Likewise.
52960         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
52961         (MCAST_MSFILTER): Likewise.
52962         (IP_MULTICAST_ALL): Likewise.
52963         (IP_UNICAST_IF): Likewise.
52965         * timezone/Makefile: Delete $(have-ksh) check.
52966         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
52967         * timezone/tzselect.ksh: Add +x mode bits.
52969         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
52970         (ANON_INODE_FS_MAGIC): Likewise.
52971         (BDEVFS_MAGIC): Likewise.
52972         (BINFMTFS_MAGIC): Likewise.
52973         (BTRFS_TEST_MAGIC): Likewise.
52974         (CRAMFS_MAGIC_WEND): Likewise.
52975         (DEBUGFS_MAGIC): Likewise.
52976         (ECRYPTFS_SUPER_MAGIC): Likewise.
52977         (EXT3_SUPER_MAGIC): Likewise.
52978         (EXT4_SUPER_MAGIC): Likewise.
52979         (FUTEXFS_SUPER_MAGIC): Likewise.
52980         (HOSTFS_SUPER_MAGIC): Likewise.
52981         (HUGETLBFS_MAGIC): Likewise.
52982         (MINIX3_SUPER_MAGIC): Likewise.
52983         (MTD_INODE_FS_MAGIC): Likewise.
52984         (NILFS_SUPER_MAGIC): Likewise.
52985         (OPENPROM_SUPER_MAGIC): Likewise.
52986         (PIPEFS_MAGIC): Likewise.
52987         (PSTOREFS_MAGIC): Likewise.
52988         (QNX6_SUPER_MAGIC): Likewise.
52989         (RAMFS_MAGIC): Likewise.
52990         (REISERFS_SUPER_MAGIC_STRING): Likewise.
52991         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
52992         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
52993         (SECURITYFS_MAGIC): Likewise.
52994         (SELINUX_MAGIC): Likewise.
52995         (SMACK_MAGIC): Likewise.
52996         (SOCKFS_MAGIC): Likewise.
52997         (SQUASHFS_MAGIC): Likewise.
52998         (STACK_END_MAGIC): Likewise.
52999         (TMPFS_MAGIC): Likewise.
53000         (USBDEVICE_SUPER_MAGIC): Likewise.
53001         (V9FS_MAGIC): Likewise.
53002         (XENFS_SUPER_MAGIC): Likewise.
53003         (CRAMFS_MAGIC): Fix typo in comment.
53004         (EXT2_SUPER_MAGIC): Update comment.
53005         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
53007 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
53009         * sysdeps/arm: Move directory from ports/sysdeps/arm.
53010         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
53011         * sysdeps/unix/sysv/linux/arm: Move directory from
53012         ports/sysdeps/unix/sysv/linux/arm.
53013         * README: Update listing for arm-*-linux-gnueabi.
53015         * README: Remove mention of am33.
53017 2014-02-07  Roland McGrath  <roland@hack.frob.com>
53019         * bits/sigset.h (__sigemptyset): Use a statement expression rather
53020         than the comma operator, to avoid "rhs of comma has no effect"
53021         compiler warnings.
53022         (__sigfillset, __sigandset, __sigorset): Likewise.
53023         * include/signal.h (__sigemptyset): Likewise.
53024         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
53026 2014-02-07  Allan McRae  <allan@archlinux.org>
53028         * version.h (RELEASE): Set to "development".
53029         (VERSION): Set to "2.19.90"
53030         * NEWS: Add 2.20 section.
53032 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
53034         [BZ #16529]
53035         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
53037 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53039         * manual/contrib.texi: Update entry for Carlos O'Donell,
53040         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
53042 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
53044         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
53046         * sysdeps/unix/sysv/linux/kernel-features.h
53047         [__LINUX_KERNEL_VERSION >= 0x020621]
53048         (__ASSUME_PROC_PID_TASK_COMM): Define.
53050 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53052         [BZ #16398]
53053         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
53054         conversion when destination buffer does not have enough space.
53055         * libio/tst-ftell-partial-wide.c: New test case.
53056         * libio/Makefile (tests): Add tst-ftell-partial-wide.
53058         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
53059         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
53060         Leonard and Allan McRae.
53062 2014-02-04  David S. Miller  <davem@davemloft.net>
53064         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
53065         32-bit.
53067 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
53070         New file
53071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
53072         New file
53073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
53074         New file.
53075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
53076         New file.
53077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
53078         New file.
53079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
53080         New file.
53081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
53082         New file.
53083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
53084         New file.
53085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
53086         New file.
53087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
53088         New file.
53089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
53090         New file.
53091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
53092         New file.
53093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
53094         New file.
53096 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53098         * nptl/shlib-versions: Change powerpc*le start to 2.17.
53099         * shlib-versions: Likewise.
53101 2014-02-04  Roland McGrath  <roland@hack.frob.com>
53102             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53104         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
53105         (abilist-pattern): New variable, set to %-le.abilist.
53107         * Makerules (abilist-pattern): New variable.
53108         (vpath): Use $(abilist-pattern) in place of %.abilist.
53109         (check-abi-% pattern rule): Likewise.
53110         (check-abi, update-abi): Likewise.
53112 2014-02-04  Eric Wong  <normalperson@yhbt.net>
53114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53116 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
53118         * manual/startup.texi: Add next, previous, and top entries for
53119         the `Program Arguments' and `Environment Variables' nodes.
53121 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
53123         * manual/macros.texi: Add comments before MTASC-safety macros.
53125         * manual/users.texi: Document MTASC-safety properties.
53127         * manual/threads.texi (pthread_key_create, pthread_key_delete)
53128         (pthread_getspecific, pthread_setspecific): Format with
53129         @deftypefun, and add @safety note.
53130         * manual/signal.texi: Move comments that analyze the above
53131         functions to their home place.
53133 2014-02-03  Allan McRae  <allan@archlinux.org>
53135         * po/sl.po: Update Slovenian translation from translation project.
53137 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
53139         * manual/time.texi (timegm): Add missing blank after @c.
53140         Reported by Joseph Myers <joseph@codesourcery.com>.
53142 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
53144         * manual/check-safety.sh: New.
53145         * manual/Makefile ($(objpfx)stamp-summary): Run it.
53147         * manual/terminal.texi: Document MTASC-safety properties.
53149         * manual/filesys.texi: Document MTASC-safety properties.
53151         * manual/errno.texi: Document MTASC-safety properties.
53153         * manual/intro.texi: Document safety identifiers and
53154         conditionals.
53156         * manual/string.texi (wcstok): Fix prototype.
53157         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
53159         * manual/time.texi: Document MTASC-safety properties.
53161         * manual/string.texi: Document MTASC-safety properties.
53163         * manual/threads.texi: Document MTASC-safety properties.
53165         * manual/stdio.texi: Document MTASC-safety properties.
53167         * manual/syslog.texi: Document MTASC-safety properties.
53169         * manual/sysinfo.texi: Document MTASC-safety properties.
53171         * manual/startup.texi: Document MTASC-safety properties.
53173         * manual/socket.texi: Document MTASC-safety properties.
53175         * manual/signal.texi: Document MTASC-safety properties.
53177 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
53179         * manual/setjmp.texi: Document MTASC-safety properties.
53181         * manual/search.texi: Document MTASC-safety properties.
53183         * manual/resource.texi: Document MTASC-safety properties.
53185         * manual/process.texi: Document MTASC-safety properties.
53187         * manual/platform.texi: Document MTASC-safety properties.
53189         * manual/pipe.texi: Document MTASC-safety properties.
53191         * manual/pattern.texi: Document MTASC-safety properties.
53193         * manual/message.texi: Document MTASC-safety properties.
53195         [BZ #12751]
53196         * manual/memory.texi: Document MTASC-safety properties.
53198         * manual/math.texi: Document MTASC-safety properties.
53200         * manual/locale.texi: Document MTASC-safety properties.
53202         * manual/llio.texi: Document MTASC-safety properties.
53204         * manual/libdl.texi: New.
53206         * manual/lang.texi: Document MTASC-safety properties.
53208         * manual/job.texi: Document MTASC-safety properties.
53210         * manual/getopt.texi: Document MTASC-safety properties.
53212         * manual/ctype.texi: Document MTASC-safety properties.
53214 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
53216         [BZ #16046]
53217         * csu/libc-tls.c (static_map): Remove variable.
53218         (__libc_setup_tls): Use main executable's link map for TLS data.
53219         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
53220         casing for LM_ID_BASE and GL(dl_nns).
53221         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
53222         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
53223         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
53224         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
53225         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
53226         member.
53227         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
53228         l_phnum members.
53230 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
53232         * manual/debug.texi: Document MTASC-safety properties.
53234 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
53236         [BZ #16510]
53237         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
53238         of __x86_64__ when disabling x87 inline functions.
53240 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
53242         * manual/charset.texi: Document MTASC-safety properties.
53244         * manual/crypt.texi: Document MTASC-safety properties.
53246         * manual/conf.texi: Document MTASC-safety properties.
53248         * manual/arith.texi: Document MTASC-safety properties.
53250         * manual/argp.texi: Document MTASC-safety properties.
53252         * manual/macros.texi: Introduce macros to document multi
53253         thread, asynchronous signal and asynchronous cancellation
53254         safety properties.
53255         * manual/intro.texi: Introduce the properties themselves.
53257 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53259         * sysdeps/sh/sh4/Makefile: New file.
53261 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
53263         * math/gen-libm-test.pl ($srcdir): New variable.
53264         ($auto_input): Use it.
53266 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53268         [BZ #16506]
53269         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
53270         access beyond array bounds when parsing netgroups file.
53272         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
53273         the old buffer before realloc.
53275 2014-01-27  Allan McRae  <allan@archlinux.org>
53277         * po/fr.po: Update French translation from translation project.
53279 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53281         * sysdeps/sh/libm-test-ulps: Regenerate.
53283 2014-01-24  David S. Miller  <davem@davemloft.net>
53285         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
53287 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53289         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
53290         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
53292 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53294         [BZ #16474]
53295         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
53296         string pointers after reallocation.
53298 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53300         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
53301         __SH4A__ instead of __SH_FPU_ANY__.
53303 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53305         * sysdeps/sh/fpu_control.h: New file.
53306         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
53307         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
53308         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
53309         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
53310         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
53311         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
53312         * sysdeps/sh/sys/ucontext.h: Remove.
53313         * sysdeps/sh/sys: Remove directory.
53315 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53317         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
53318         s390/sys/ucontext.h.
53319         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
53320         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
53322 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
53324         [BZ #15605]
53325         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
53327 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53329         [BZ #16431]
53330         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53331         Adjust the vDSO correctly for internal calls.
53332         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
53334 2014-01-20  Allan McRae  <allan@archlinux.org>
53336         * po/ca.po: Update Catalan translation from translation project.
53338 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
53340         * sysdeps/s390/sotruss-lib.c: New file.
53342 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53344         [BZ #16430]
53345         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
53346         (__GI___gettimeofday): Alias for a different internal symbol to avoid
53347         local calls issues by not having a PLT stub required for IFUNC calls.
53348         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
53350 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
53352         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
53353         * math/test-fpucw-static.c: Likewise.
53355 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53357         [BZ #16453]
53358         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
53360 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53362         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
53363         implementation for powerpc.
53365 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
53367         [BZ #14782]
53368         * sysdeps/posix/system.c (__libc_system): Do not enable
53369         asynchronous cancellation.
53371 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53373         [BZ #16427]
53374         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
53375         handling only for numbers special also in the IEEE case.
53377 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53379         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53381 2014-01-11  Allan McRae  <allan@archlinux.org>
53383         * po/bg.po: Update Bulgarian translation from translation project.
53385         * po/de.po: Update German translation from translation project.
53387 2014-01-10  Roland McGrath  <roland@hack.frob.com>
53389         * sysdeps/generic/gcc-compat.h: New file.
53391 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53393         * benchtests/asin-inputs: Correct slow inputs.
53394         * benchtests/acos-inputs: Likewise.
53396 2014-01-10  Allan McRae  <allan@archlinux.org>
53398         * po:sv.po: Update Swedish translation from translation project.
53400         * po/vi.po: Update Vietnamese translation from translation project.
53402         * po/eo.po: Update Esperanto translation from translation project.
53404         * po/cs.po: Update Czech translation from translation project.
53406         * po/nl.po: Update Dutch translation from translation project.
53408         * po/pl.po: Update Polish translation from translation project.
53410         * po/ru.po: Update Russian translation from translation project.
53412         * po/uk.po: Update Ukrainian translation from translation project.
53414 2014-01-08  Brooks Moses  <bmoses@google.com>
53416         * elf/dl-load.c: Fix comment typo.
53418 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
53420         * po/header.pot: Rename to...
53421         * po/pot.header: ... this.
53422         * po/Makefile: Use pot.header.
53424 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
53425             Maxim Kuvyrkov  <maxim@kugelworks.com>
53427         [BZ #16394]
53428         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
53429         SRC and DEST against LEN.
53431 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53433         [BZ #16414]
53434         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
53435         implementation.
53436         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
53438 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53442 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
53444         [BZ #16408]
53445         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
53446         for large positive arguments.
53448 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
53450         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
53452         * math/auto-libm-test-in: Mark various tests with
53453         xfail-rounding:ldbl-128ibm.
53454         * math/auto-libm-test-out: Regenerated.
53456         [BZ #16407]
53457         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
53458         Increase overflow threshold.
53460 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
53462         [BZ #14286]
53463         * stdio-common/vfprintf.c: Check for integer overflow.
53465 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53467         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
53468         the first argument and return value of __tls_get_addr_internal.
53470 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53472         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
53473         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
53475 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53477         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
53478         * sysdeps/s390/rtld-global-offsets.sym: New file.
53479         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
53480         GLIBC_2.19 symbol.
53481         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
53482         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
53483         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
53484         ... this.
53485         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
53486         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
53487         ... this.
53488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53489         Regenerate.
53490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53491         Regenerate.
53492         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
53493         halfs of GPRs for high_gprs contexts.
53494         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
53495         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
53496         field.
53497         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
53498         uc_flags field.
53499         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
53500         64 bit versions:
53501         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
53502         for high GPRs (uc_high_gprs) and for future extensions
53503         (__reserved).
53504         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
53505         for future extensions (__reserved).
53506         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
53507         64 bit versions:
53508         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
53509         SC_HIGHGPRS offset definition.
53510         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
53511         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
53513         * Versions.def: Add GLIBC_2.19 for libpthread.
53514         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
53515         siglongjmp for libpthread with GLIBC_2.19 symver.
53516         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
53517         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
53518         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
53519         * sysdeps/s390/__longjmp.c: New file.
53520         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
53521         * sysdeps/s390/longjmp.c: New file.
53522         * sysdeps/s390/setjmp.S: New file.
53523         * sysdeps/s390/sigjmp.S: New file.
53524         * sysdeps/s390/v1-longjmp.c: New file.
53525         * sysdeps/s390/v1-setjmp.h: New file.
53526         * sysdeps/s390/v1-sigjmp.c: New file.
53527         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
53528         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
53529         GLIBC_2.19 version.
53530         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
53531         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
53532         versioned symbols for ____longjmp_chk.
53533         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
53534         Likewise.
53535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53536         Regenerate.
53537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53538         Regenerate.
53539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53540         Regenerate.
53541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53542         Regenerate.
53543         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
53544         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
53545         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
53546         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
53547         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
53548         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
53549         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
53550         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
53551         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
53552         * sysdeps/s390/rtld-__longjmp.c: New file.
53553         * sysdeps/s390/rtld-setjmp.S: New file.
53555 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
53557         [BZ #16400]
53558         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
53559         Return -__logl (x) for small positive arguments without evaluating
53560         a polynomial.
53562 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
53564         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
53565         Rename to ...
53566         (__ptrace_peeksiginfo_args): ... this.
53567         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53568         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53569         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53571 2014-01-06  Allan McRae  <allan@archlinux.org>
53573         * inet/netinet/in.h: Fix typo in comment.
53575 2014-01-05  Andreas Jaeger  <aj@suse.de>
53577         * sysdeps/i386/fpu/libm-test-ulps: Update.
53579 2014-01-05  Allan McRae  <allan@archlinux.org>
53581         * po/libc.pot: Regenerated.
53583         * malloc/memusagestat.c: Fix gettext call formatting.
53585 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
53587         * nscd/nscd.c: Improve usage() output.
53589 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
53591         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
53592         * sysdeps/unix/sysv/linux/configure: Regenerated.
53593         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
53594         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
53596 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
53598         [BZ #16390]
53599         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53600         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
53602 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53604         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
53605         extra tokens at end of #undef directive.
53606         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
53607         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
53608         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
53610 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
53612         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
53614         * math/auto-libm-test-in: Mark various tests with
53615         xfail-rounding:ldbl-128ibm.
53616         * math/auto-libm-test-out: Regenerated.
53618 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
53620         [BZ #16386]
53621         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
53622         numbers with subnormal high part when calculating exponent.
53624         [BZ #16385]
53625         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
53626         fabs.
53628         [BZ #16384]
53629         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
53630         M_LN2l.
53631         (__ieee754_acoshl): Use __log1pl not __log1p.
53633 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
53635         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
53636         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
53637         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
53638         (grow_heap, heap_trim, _int_new_arena, get_free_list)
53639         (reused_arena, arena_get2): Convert to GNU style.
53640         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
53641         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
53642         (memalign_check, __malloc_set_state): Likewise.
53643         * malloc/mallocbug.c (main): Likewise.
53644         * malloc/malloc.c (__malloc_assert, malloc_init_state)
53645         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
53646         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
53647         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
53648         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
53649         (__posix_memalign, malloc_info): Likewise.
53650         * malloc/malloc.h: Likewise.
53651         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
53652         (mallochook, memalignhook, reallochook, mabort): Likewise.
53653         * malloc/mcheck.h: Likewise.
53654         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
53655         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
53656         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
53657         * malloc/morecore.c (__default_morecore): Likewise.
53658         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
53659         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
53660         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
53661         (print_and_abort): Likewise.
53662         * malloc/obstack.h: Likewise.
53663         * malloc/set-freeres.c (__libc_freeres): Likewise.
53664         * malloc/tst-mallocstate.c (main): Likewise.
53665         * malloc/tst-mtrace.c (main): Likewise.
53666         * malloc/tst-realloc.c (do_test): Likewise.
53668 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53670         [BZ #16366]
53671         * nscd/netgroupcache.c (do_notfound): New function.
53672         (addgetnetgrentX): Use it.
53674         [BZ # 16365]
53675         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
53676         NSS_STATUS_NOTFOUND.
53678 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
53680         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53683 2014-01-01  Allan McRae  <allan@archlinux.org>
53685         * scripts/update-copyrights: Update configure input file suffix.
53687         * NEWS: Update copyright year.
53688         * catgets/gencat.c: Likewise.
53689         * csu/version.c: Likewise.
53690         * debug/catchsegv.sh: Likewise.
53691         * debug/pcprofiledump.c: Likewise.
53692         * debug/xtrace.sh: Likewise.
53693         * elf/ldconfig.c: Likewise.
53694         * elf/ldd.bash.in: Likewise.
53695         * elf/pldd.c: Likewise.
53696         * elf/sotruss.ksh: Likewise.
53697         * elf/sprof.c: Likewise.
53698         * iconv/iconv_prog.c: Likewise.
53699         * iconv/iconvconfig.c: Likewise.
53700         * locale/programs/locale.c: Likewise.
53701         * locale/programs/localedef.c: Likewise.
53702         * login/programs/pt_chown.c: Likewise.
53703         * malloc/memusage.sh: Likewise.
53704         * malloc/memusagestat.c: Likewise.
53705         * malloc/mtrace.pl: Likewise.
53706         * manual/libc.texinfo: Likewise.
53707         * nscd/nscd.c: Likewise.
53708         * nss/getent.c: Likewise.
53709         * nss/makedb.c: Likewise.
53710         * posix/getconf.c: Likewise.
53711         * scripts/test-installation.pl: Likewise.
53713         * All files with FSF copyright notices: Update copyright dates
53714         using scripts/update-copyrights.
53715         * intl/plural.c: Regenerated.
53716         * locale/programs/charmap-kw.h: Likewise.
53717         * locale/programs/locfile-kw.h: Likewise.
53719 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
53721         * sysdeps/unix/sysv/linux/configure: Regenerated.
53722         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
53723         the linux/fanotify.h header.
53724         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
53725         HAVE_LINUX_FANOTIFY_H is defined.
53727 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53729         * benchtests/cos-inputs: New inputs.
53730         * benchtests/sin-inputs: Likewise.
53732         * benchtests/atan-inputs: New inputs. Fix name of multiple
53733         precision fallback inputs.
53735         * benchtests/atanh-inputs: New inputs.
53736         * benchtests/tanh-inputs: Likewise.
53738         * benchtests/acosh-inputs: New inputs.
53739         * benchtests/asinh-inputs: Likewise.
53741         * benchtests/cosh-inputs: New inputs.
53742         * benchtests/sinh-inputs: Likewise.
53744         * benchtests/acos-inputs: Add more inputs.
53745         * benchtests/asin-inputs: Likewise.
53747 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
53749         [BZ #16375]
53750         * manual/arith.texi: Fix spelling.
53751         * manual/charset.texi: Likewise.
53752         * manual/errno.texi: Likewise.
53753         * manual/filesys.texi: Likewise.
53754         * manual/lang.texi: Likewise.
53755         * manual/llio.texi: Likewise.
53756         * manual/locale.texi: Likewise.
53757         * manual/message.texi: Likewise.
53758         * manual/resource.texi: Likewise.
53759         * manual/search.texi: Likewise.
53760         * manual/setjmp.texi: Likewise.
53761         * manual/stdio.texi: Likewise.
53762         * manual/string.texi: Likewise.
53763         * manual/sysinfo.texi: Likewise.
53764         * manual/time.texi: Likewise.
53766 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
53768         * po/sl.po: New file.
53770 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
53772         * .gitignore: Add core/.gdbinit/.gdb_history.
53774 2013-12-27  Allan McRae  <allan@archlinux.org>
53776         [BZ #16369]
53777         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
53778         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
53780 2013-12-24  Brooks Moses  <bmoses@google.com>
53782         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
53783         all compilers that claim C++98 compliance, not just GCC.
53784         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
53785         Likewise.
53787 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53789         * NEWS: Restore accidentally deleted bug-fix entries.
53791 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53792             Ondřej Bílka  <neleai@seznam.cz>
53794         [BZ #15073]
53795         * malloc/malloc.c (_int_free): Perform sanity check only if we
53796         have_lock.
53798 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
53800         [BZ #12986]
53801         * manual/stdio.texi (String Input Conversions): Clarify that character
53802         classes are not supported.
53804 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53808 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
53810         [BZ #16337]
53811         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
53812         Calculate results for small negative arguments directly rather
53813         than using reflection formula with special underflow handling.
53815         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
53816         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
53817         sysdeps/unix/bsd/bsd4.4/syscalls.list.
53818         (fchflags): Likewise.
53819         (revoke): Likewise.
53820         (setlogin): Likewise.
53821         (sigaltstack): Likewise.
53822         (wait4): Likewise.
53823         (sigblock): Remove.
53824         (sigsetmask): Likewise.
53825         (wait3): Likewise.
53826         (waitpid): Likewise.
53827         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
53828         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
53829         file.
53830         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
53831         * sysdeps/unix/bsd/Makefile: ... here.
53832         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
53833         * sysdeps/unix/bsd/Versions: ... here.
53834         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
53835         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
53836         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
53837         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
53838         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
53839         * sysdeps/unix/bsd/sigblock.c: ... here.
53840         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
53841         * sysdeps/unix/bsd/sigsetmask.c: ... here.
53842         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
53843         * sysdeps/unix/bsd/sigvec.c: ... here.
53844         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
53845         * sysdeps/unix/bsd/tcdrain.c: ... here.
53846         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
53847         * sysdeps/unix/bsd/tcgetattr.c: ... here.
53848         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
53849         * sysdeps/unix/bsd/tcsetattr.c: ... here.
53850         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
53851         * sysdeps/unix/bsd/wait.c: ... here.
53852         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
53853         * sysdeps/unix/bsd/wait3.c: ... here.
53854         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
53855         * sysdeps/unix/bsd/waitpid.c: ... here.
53857 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
53859         [BZ #16356]
53860         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
53861         round-to-nearest for [!USE_AS_EXPM1L].
53862         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
53863         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
53864         more tests of exp and exp10.  Expect some exp10 tests to miss
53865         exceptions or fail in directed rounding modes.
53866         * math/auto-libm-test-out: Regenerated.
53867         * math/libm-test.inc (exp10_tonearest_test_data): New array.
53868         (exp10_test_tonearest): New function.
53869         (exp10_towardzero_test_data): New array.
53870         (exp10_test_towardzero): New function.
53871         (exp10_downward_test_data): New array.
53872         (exp10_test_downward): New function.
53873         (exp10_upward_test_data): New array.
53874         (exp10_test_upward): New function.
53875         (main): Call the new functions.
53876         * sysdeps/i386/fpu/libm-test-ulps: Update.
53877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53879 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
53881         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
53882         asinh, atan, atan2, atanh, cbrt, cos and cosh.
53883         * math/auto-libm-test-out: Regenerated.
53884         * math/libm-test.inc (acosh_test_data): Add more tests.
53885         (atanh_test_data): Likewise.
53886         (ceil_test_data): Likewise.
53887         (copysign_test_data): Likewise.
53888         * sysdeps/i386/fpu/libm-test-ulps: Update.
53889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53891         * timezone/checktab.awk: Update from tzcode 2013i.
53892         * timezone/private.h: Likewise.
53893         * timezone/scheck.c: Likewise.
53894         * timezone/tzfile.h: Likewise.
53895         * timezone/tzselect.ksh: Likewise.
53896         * timezone/zdump.c: Likewise.
53897         * timezone/zic.c: Likewise.
53899         * math/auto-libm-test-in: Add tests of cpow.
53900         * math/auto-libm-test-out: Regenerated.
53901         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
53902         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53903         mpc_cc_c.
53904         (func_calc_desc): Add mpc_cc_c union field.
53905         (test_functions): Add cpow.
53906         (special_fill_2pi): New function.
53907         (special_real_inputs): Add 2pi.
53908         (calc_generic_results): Handle mpc_cc_c.
53909         * sysdeps/i386/fpu/libm-test-ulps: Update.
53910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53912         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
53913         csqrt, ctan and ctanh.
53914         * math/auto-libm-test-out: Regenerated.
53915         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53916         (TEST_COND_x86): Likewise.
53917         (ccos_test_data): Use AUTO_TESTS_c_c.
53918         (ccosh_test_data): Likewise.
53919         (cexp_test_data): Likewise.
53920         (clog_test_data): Likewise.
53921         (csqrt_test_data): Likewise.
53922         (ctan_test_data): Likewise.
53923         (ctan_tonearest_test_data): Likewise.
53924         (ctan_towardzero_test_data): Likewise.
53925         (ctan_downward_test_data): Likewise.
53926         (ctan_upward_test_data): Likewise.
53927         (ctanh_test_data): Likewise.
53928         (ctanh_tonearest_test_data): Likewise.
53929         (ctanh_towardzero_test_data): Likewise.
53930         (ctanh_downward_test_data): Likewise.
53931         (ctanh_upward_test_data): Likewise.
53932         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53933         mpc_c_c.
53934         (func_calc_desc): Add mpc_c_c union field.
53935         (FUNC_mpc_c_c): New macro.
53936         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
53937         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
53938         ctanh.
53939         (special_fill_min_subnorm_p120): New function.
53940         (special_real_inputs): Add min_subnorm_p120.
53941         (calc_generic_results): Handle mpc_c_c.
53942         * sysdeps/i386/fpu/libm-test-ulps: Update.
53943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53945 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53947         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
53948         (do_sin_slow): New functions.
53949         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
53950         (cslow2, csloww1, csloww2): Use the new functions.
53952         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
53953         Use M to change sign of result instead of X.  Assume X is
53954         positive.
53955         (csloww1): Likewise.
53956         (__sin): Adjust.
53957         (__cos): Adjust.
53959         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
53960         arguments A and DA.
53961         (__sin): Adjust.
53962         (__cos): Likewise.
53964         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
53965         (__cos): Likewise.
53966         (sloww1): Don't adjust sign of DX.
53967         (csloww1): Likewise.
53968         (sloww2): Use X directly and don't adjust sign of DX.
53969         (csloww2): Likewise.
53971 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53973         * math/auto-libm-test-in: Add tests of cabs and carg.
53974         * math/auto-libm-test-out: Regenerated.
53975         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
53976         (carg_test_data): Likewise.
53977         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53978         mpc_c_f.
53979         (func_calc_desc): Add mpc_c_f union field.
53980         (test_functions): Add cabs and carg.
53981         (calc_generic_results): Handle mpc_c_f.
53983         * sysdeps/powerpc/powerpc32/libgcc-compat.S
53984         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
53985         as a macro and a compat symbol.
53986         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
53987         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
53988         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
53989         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
53990         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
53991         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
53992         not use .hidden.
53993         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
53994         Likewise.
53995         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
53996         Likewise.
53997         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
53998         Likewise.
53999         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
54000         Likewise.
54001         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
54002         Likewise.
54003         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
54004         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
54005         from GLIBC_2.3.2.
54007 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54011 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54013         * manual/texinfo.tex: Update to version 2013-11-26.10 with
54014         trailing whitespace removed.
54015         * scripts/config.guess: Update to version 2013-11-29.
54016         * scripts/config.sub: Update to version 2013-10-01.
54018         * math/auto-libm-test-in: Add tests of sincos.
54019         * math/auto-libm-test-out: Regenerated.
54020         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
54021         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54022         mpfr_f_11.
54023         (func_calc_desc): Add mpfr_f_11 union field.
54024         (test_functions): Add sincos.
54025         (calc_generic_results): Handle mpfr_f_11.
54026         * sysdeps/i386/fpu/libm-test-ulps: Update.
54027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54029 2013-12-19  Andreas Schwab  <schwab@suse.de>
54031         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
54032         CALL_MCOUNT.
54033         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54034         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
54035         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
54037 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54039         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
54040         * sysdeps/i386/fpu/libm-test-ulps: Update.
54041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54043         [BZ #16293]
54044         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
54045         round-to-nearest mode when using frndint.
54046         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
54047         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54048         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
54049         Likewise.
54050         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
54051         sinh test to fail.
54052         * math/auto-libm-test-out: Regenerated.
54053         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
54054         (TEST_COND_x86): Likewise.
54055         (expm1_tonearest_test_data): New array.
54056         (expm1_test_tonearest): New function.
54057         (expm1_towardzero_test_data): New array.
54058         (expm1_test_towardzero): New function.
54059         (expm1_downward_test_data): New array.
54060         (expm1_test_downward): New function.
54061         (expm1_upward_test_data): New array.
54062         (expm1_test_upward): New function.
54063         (main): Run the new test functions.
54064         * sysdeps/i386/fpu/libm-test-ulps: Update.
54065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54067         * include/features.h: Update comment documenting feature test
54068         macros.  Mention _DEFAULT_SOURCE in comment.
54069         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
54070         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
54071         _BSD_SOURCE and _SVID_SOURCE.
54072         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
54073         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
54074         !_SVID_SOURCE]: Likewise.
54075         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54076         (__USE_POSIX_IMPLICITLY): Define.
54077         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54078         (_POSIX_SOURCE): Undefine and redefine.
54079         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54080         (_POSIX_C_SOURCE): Likewise.
54081         * manual/creature.texi (_DEFAULT_SOURCE): Document.
54082         (Feature Test Macros): Update documentation of default features.
54084 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54086         * benchtests/Makefile: Add bench-strtok.
54087         * benchtests/bench-strtok.c: New file: strtok benchtest.
54089 2013-12-19  Allan McRae  <allan@archlinux.org>
54091         * manual/install.texi: Suppress menu for plain text output.
54092         * INSTALL: Regenerated.
54094 2013-12-18  Brooks Moses  <bmoses@google.com>
54096         [BZ #15846]
54097         * misc/getauxval.c: Include errno.h.
54098         (__getauxval): Set errno to ENOENT if the requested type is not
54099         found.
54100         * misc/sys/auxv.h (getauxval): Document that it may set errno;
54101         don't declare with __attribute_const__.
54102         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
54103         * manual/startup.texi: Document that getauxval sets errno.
54105 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54107         * math/auto-libm-test-in: Add tests of jn and yn.
54108         * math/auto-libm-test-out: Regenerated.
54109         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
54110         (yn_test_data): Likewise.
54111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54112         mpfr_if_f.
54113         (func_calc_desc): Add mpfr_if_f union field.
54114         (FUNC_mpfr_if_f): New macro.
54115         (test_functions): Add jn and yn.
54116         (calc_generic_results): Assert type of second input for
54117         mpfr_ff_f.  Handle mpfr_if_f.
54118         (output_for_one_input_case): Disable all checking for arguments
54119         fitting floating-point types in case of an integer argument.
54120         * sysdeps/i386/fpu/libm-test-ulps: Update.
54121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54124         Don't expect fegetround reference in libm.so.
54126 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54128         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
54129         $(config-cflags-nofma).
54131 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54133         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
54134         * math/auto-libm-test-out: Regenerated.
54136         [BZ #16338]
54137         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
54138         to determine exponent and adjust argument to have exponent of -1.
54139         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
54140         log2.
54141         * math/auto-libm-test-out: Regenerated.
54142         * sysdeps/i386/fpu/libm-test-ulps: Update.
54143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54145 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
54147         * manual/probes.texi: Remove cases when per-thread arenas are
54148         disabled.
54150 2013-12-18  Andreas Schwab  <schwab@suse.de>
54152         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
54153         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
54154         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
54155         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
54156         * sysdeps/i386/i686/multiarch/Makefile: Update.
54157         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
54159 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54161         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
54162         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
54164 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
54166         [BZ #15968]
54167         Support TZ transition times < 00:00:00.
54168         This is needed for version-3 tz-format files; it supports time
54169         stamps past 2037 for America/Godthab (the only entry in the tz
54170         database for which this change is relevant).
54171         * manual/time.texi (TZ Variable): Document transition times
54172         from -167:59:59 through -00:00:01.
54173         * time/tzset.c (tz_rule): Time of day is now signed.
54174         (__tzset_parse_tz): Parse negative time of day.
54176         Document TZ transition times >= 25:00:00.
54177         * manual/time.texi (TZ Variable): Document transition times from
54178         25:00:00 through 167:59:59.  These are already supported, and this
54179         support will help with version-3 tz-format files.
54181         * manual/time.texi (TZ Variable): Modernize North America example
54182         to reflect current (i.e., 2007-and-later) daylight saving rules.
54184         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
54186 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54188         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
54189         * sysdeps/unix/bsd/bits/stat.h: Likewise.
54190         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
54191         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54192         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
54193         * sysdeps/unix/bsd/bsdstat.h: Likewise.
54194         * sysdeps/unix/bsd/clock.c: Likewise.
54195         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
54196         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
54197         * sysdeps/unix/bsd/init-posix.c: Likewise.
54198         * sysdeps/unix/bsd/poll.c: Likewise.
54199         * sysdeps/unix/bsd/ptsname.c: Likewise.
54200         * sysdeps/unix/bsd/seekdir.c: Likewise.
54201         * sysdeps/unix/bsd/setegid.c: Likewise.
54202         * sysdeps/unix/bsd/seteuid.c: Likewise.
54203         * sysdeps/unix/bsd/setgid.c: Likewise.
54204         * sysdeps/unix/bsd/setrgid.c: Likewise.
54205         * sysdeps/unix/bsd/setruid.c: Likewise.
54206         * sysdeps/unix/bsd/setsid.c: Likewise.
54207         * sysdeps/unix/bsd/setuid.c: Likewise.
54208         * sysdeps/unix/bsd/sigaction.c: Likewise.
54209         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
54210         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
54211         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
54212         * sysdeps/unix/bsd/telldir.c: Likewise.
54213         * sysdeps/unix/bsd/times.c: Likewise.
54214         * sysdeps/unix/bsd/usleep.c: Likewise.
54216         * misc/Makefile (install-lib): Remove libbsd-compat.a.
54217         ($(objpfx)libbsd-compat.a): Remove rule.
54219         * include/features.h (__FAVOR_BSD): Do not define.
54220         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
54221         features conflicting with POSIX.
54222         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
54223         (_BSD_SOURCE): Remove description of not being a subset of other
54224         feature test macros.
54225         * manual/job.texi (getpgrp): Do not document BSD version.
54226         (getpgid): Do not document by reference to BSD getpgrp.
54227         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
54228         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
54229         * signal/signal.h [__FAVOR_BSD]: Likewise.
54230         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
54231         instead of making contents conditional on [__FAVOR_BSD].
54232         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
54234 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54238 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54240         [BZ #16314]
54241         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
54242         values below 2**-450, not 2**-500.
54243         * math/auto-libm-test-in: Don't allow spurious underflow from
54244         hypot.
54245         * math/auto-libm-test-out: Regenerated.
54247         [BZ #16316]
54248         [BZ #16330]
54249         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
54250         values of ha and hb and sort them after adjusting subnormal
54251         arguments.
54252         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
54253         Likewise.
54254         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
54255         values of ea and eb and sort them after adjusting subnormal
54256         arguments.
54257         * math/auto-libm-test-in: Do not expect some hypot tests of
54258         subnormals to fail.  Add more hypot tests.
54259         * math/auto-libm-test-out: Regenerated.
54261 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54263         [BZ #13304]
54264         * sysdeps/sh/s_fma.c: New file.
54265         * sysdeps/sh/s_fmaf.c: New file.
54266         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
54267         version.
54268         * sysdeps/sh/Implies: Add sh/soft-fp.
54270 2013-12-16  Roland McGrath  <roland@hack.frob.com>
54272         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
54273         level of indirection to members `objname', `errstring', `malloced'.
54274         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
54275         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
54276         it as the __longjmp argument (just pass 1 instead).
54277         (_dl_catch_error): Initialize C with argument pointers and address of
54278         volatile local ERRCODE rather than copying values out of C at return.
54280 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
54282         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
54283         * math/auto-libm-test-out: Regenerated.
54284         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
54285         (hypot_test_data): Likewise.
54286         (pow_test_data): Likewise.
54287         (pow_tonearest_test_data): Likewise.
54288         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54289         mpfr_ff_f.
54290         (func_calc_desc): Add mpfr_ff_f union field.
54291         (FUNC_mpfr_ff_f): New macro.
54292         (test_functions): Add atan2, hypot and pow.
54293         (special_fill_min): New function.
54294         (special_fill_minus_min): Likewise.
54295         (special_fill_min_subnorm): Likewise.
54296         (special_fill_minus_min_subnorm): Likewise.
54297         (special_real_inputs): Add min, -min, min_subnorm and
54298         -min_subnorm.
54299         (calc_generic_results): Handle mpfr_ff_f.
54300         * sysdeps/i386/fpu/libm-test-ulps: Update.
54301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54303 2013-12-16  Will Newton  <will.newton@linaro.org>
54305         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
54306         (Aligned Memory Blocks): Add documentation for aligned_alloc
54307         and suggest it as an alternative to posix_memalign.
54308         (Hooks for Malloc): Document __memalign_hook is also called
54309         for aligned_alloc.  (Summary of Malloc): Add summary for
54310         aligned alloc.  Document __memalign_hook is also called
54311         for aligned_alloc.
54313 2013-12-16  Will Newton  <will.newton@linaro.org>
54315         * manual/memory.texi (Malloc Examples): Clarify default
54316         alignment documentation.  Suggest posix_memalign rather
54317         than memalign or valloc.
54318         (Aligned Memory Blocks): Remove suggestion to use memalign
54319         or valloc.  Remove obsolete comment about BSD.
54320         Document memalign errno values and mark the function obsolete.
54321         Document posix_memalign returned error codes.  Mark valloc
54322         as obsolete.  (Hooks for Malloc): __memalign_hook is also
54323         called for posix_memalign and valloc.
54324         (Summary of Malloc): Add posix_memalign to function summary.
54325         __memalign_hook is also called for posix_memalign and valloc.
54327 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54329         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
54330         TAYLOR_SIN.
54331         (__sin): Adjust.
54332         (__cos): Likewise.
54333         (sloww): Use mynumber union.  Expand ternary operator into
54334         if-else statements.
54335         (cslow): use mynumber union.
54337 2013-12-16  Allan McRae  <allan@archlinux.org>
54339         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
54340         * configure: Regenerated.
54342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
54344         [BZ #14120]
54345         * configure.ac: Added --enable-maintainer-mode. Check for
54346         autoconf when enabled.
54347         * configure: Regenerated.
54349         * nscd/nscd.service: New file.
54350         * nscd/nscd.tmpfiles: New file.
54352 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
54354         [BZ #12100]
54355         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
54356         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
54357         * sysdeps/x86_64/multiarch/strstr.c: ... here.
54358         (strstr): Add __strstr_sse2_unaligned ifunc.
54359         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
54360         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
54361         (strcasestr): Remove __strcasestr_sse42 ifunc.
54362         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
54363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54366 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54368         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
54369         * sysdeps/sh/bits/fenv.h: ... here.
54370         * sysdeps/sh/sh4/fpu/bits: Remove directory.
54372 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54374         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
54376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
54377         hypotf multiarch implementations.
54378         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
54379         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
54380         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
54381         multiarch hypot for PPC64.
54382         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
54383         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
54384         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
54385         multiarch hypotf for PPC64.
54387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
54388         modff multiarch implementations.
54389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
54390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
54391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
54392         multiarch modf for PPC64.
54393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
54394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
54395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
54396         multiarch modff for PPC64.
54398         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
54399         and logl multiarch implementations.
54400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
54401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
54402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
54403         multiarch logb for PPC64.
54404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
54405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
54406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
54407         multiarch logb for PPC64.
54408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
54409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
54410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
54411         multiarch logb for PPC64.
54413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
54414         isinff multiarch implementation.
54415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
54416         file.
54417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
54418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
54419         multiarch isinf for PPC64.
54420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
54421         file.
54422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
54423         multiarch isinff for PPC64.
54425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
54426         finitef multiarch implementation.
54427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
54428         file.
54429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
54430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
54431         multiarch finite for PPC64.
54432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
54433         file.
54434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
54435         multiarch finitef for PPC64.
54437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
54438         lrint multiarch implementation.
54439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
54440         file.
54441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
54442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
54443         multiarch llrint for PPC64.
54444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
54445         multiarch lrint for PPC64.
54447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
54448         copysignf multiarch implementation.
54449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
54450         file.
54451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
54452         file.
54453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
54454         multiarch copysign for PPC64.
54455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
54456         multiarch copysignf for PPC64.
54458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
54459         multiarch implementation.
54460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
54461         file.
54462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
54463         file.
54464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
54465         file.
54466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
54467         file.
54468         multiarch llround for PPC64.
54469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
54470         multiarch trunc for PPC64.
54471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
54472         multiarch truncf for PPC64.
54474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
54475         multiarch implementation.
54476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
54477         file.
54478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
54479         file.
54480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
54481         file.
54482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
54483         file.
54484         multiarch llround for PPC64.
54485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
54486         multiarch round for PPC64.
54487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
54488         multiarch roundf for PPC64.
54490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
54491         multiarch implementation.
54492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
54493         file.
54494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
54495         file.
54496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
54497         file.
54498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
54499         file.
54500         multiarch llround for PPC64.
54501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
54502         multiarch floor for PPC64.
54503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
54504         multiarch floorf for PPC64.
54506         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
54507         multiarch implementation.
54508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
54509         file.
54510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
54511         file.
54512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
54513         file.
54514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
54515         file.
54516         multiarch llround for PPC64.
54517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
54518         multiarch ceil for PPC64.
54519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
54520         multiarch ceilf for PPC64.
54522         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54523         multiarch implementation.
54524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
54525         file.
54526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
54527         file.
54528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
54529         file.
54530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
54531         multiarch llround for PPC64.
54532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
54533         multiarch lround for PPC64.
54535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54536         multiarch implementation.
54537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
54538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
54539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
54540         file.
54541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
54542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
54543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
54544         multiarch isnan for PPC64.
54545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
54546         multiarch isnanf for PPC64.
54548         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
54549         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
54550         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
54551         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
54552         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
54553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
54555         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
54556         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54557         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54558         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
54561         multiarch implementations.
54562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54563         (__libc_ifunc_impl_list): Likewise.
54564         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
54565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
54566         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
54567         multiarch stpcpy for PPC64.
54569         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
54570         multiarch implementations.
54571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54572         (__libc_ifunc_impl_list): Likewise.
54573         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
54574         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
54575         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
54576         multiarch strcpy for PPC64.
54578         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
54579         redefine function name.
54580         (_wordcopy_fwd_dest_aligned): Likewise.
54581         (_wordcopy_bwd_aligned): Likewise.
54582         (_wordcopy_bwd_dest_aligned): Likewise.
54583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
54584         multiarch implementations.
54585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54586         (__libc_ifunc_impl_list): Likewise.
54587         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
54588         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
54589         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
54590         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
54591         multiarch wcscpy for PPC64.
54593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
54594         multiarch implementations.
54595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54596         (__libc_ifunc_impl_list): Likewise.
54597         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
54598         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
54599         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
54600         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
54601         multiarch wcscpy for PPC64.
54603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
54604         multiarch implementations.
54605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54606         (__libc_ifunc_impl_list): Likewise.
54607         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
54608         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
54609         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
54610         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
54611         multiarch wcsrchr for PPC64.
54613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
54614         multiarch implementations.
54615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54616         (__libc_ifunc_impl_list): Likewise.
54617         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
54618         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
54619         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
54620         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
54621         multiarch wcschr for PPC64.
54623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
54624         multiarch implementations.
54625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54626         (__libc_ifunc_impl_list): Likewise.
54627         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
54628         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
54629         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
54630         multiarch strchrnul for PPC64.
54632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
54633         implementations.
54634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54635         (__libc_ifunc_impl_list): Likewise.
54636         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
54637         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
54638         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
54639         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
54640         strchr for PPC64.
54642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
54643         implementations.
54644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54645         (__libc_ifunc_impl_list): Likewise.
54646         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
54647         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
54648         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
54649         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
54650         strncmp for PPC64.
54652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
54653         multiarch implementations.
54654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54655         (__libc_ifunc_impl_list): Likewise.
54656         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
54657         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
54658         strncasecmp for PPC64.
54659         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
54660         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
54661         multiarch strncasecmp_l for PPC64.
54663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
54664         multiarch implementations.
54665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54666         (__libc_ifunc_impl_list): Likewise.
54667         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
54668         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
54669         multiarch strcasecmp for PPC64.
54670         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
54671         file.
54672         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
54673         multiarch strcasecmp_l for PPC64.
54675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
54676         implementations.
54677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54678         (__libc_ifunc_impl_list): Likewise.
54679         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
54680         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
54681         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
54682         strnlen for PPC64.
54684         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
54685         implementations.
54686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54687         (__libc_ifunc_impl_list): Likewise.
54688         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
54689         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
54690         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
54691         strlen for PPC64.
54693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
54694         implementations.
54695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54696         (__libc_ifunc_impl_list): Likewise.
54697         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
54698         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
54699         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
54700         rawmemrchr for PPC64.
54702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
54703         implementation.
54704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54705         (__libc_ifunc_impl_list): Likewise.
54706         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
54707         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
54708         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
54709         memrchr for PPC64.
54711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
54712         implementation.
54713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54714         (__libc_ifunc_impl_list): Likewise.
54715         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
54716         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
54717         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
54718         memchr for PPC64.
54720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
54721         implementation.
54722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54723         (__libc_ifunc_impl_list): Likewise.
54724         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
54725         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
54726         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
54727         mempcpy for PPC64.
54729         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
54730         avoid cretion of __bzero symbol.
54731         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
54732         Likewise.
54733         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
54734         Likewise.
54735         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
54736         Likewise.
54737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
54738         multiarch implementations.
54739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54740         (__libc_ifunc_impl_list): Likewise.
54741         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
54742         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
54743         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
54744         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
54745         bzero for PPC32.
54746         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
54747         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
54748         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
54749         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
54750         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
54751         memset for PPC64.
54752         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
54754         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
54755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
54756         implementations.
54757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54758         (__libc_ifunc_impl_list): Likewise.
54759         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
54760         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
54761         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
54762         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
54763         memcmp for PPC64.
54765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
54766         multiarch for POWER/PPC64.
54767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
54768         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
54769         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
54770         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
54771         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
54772         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
54773         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
54774         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
54775         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
54776         memcpy for PPC64.
54778         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
54779         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
54780         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
54781         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
54782         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
54783         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
54784         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
54785         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
54786         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
54787         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
54788         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
54789         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
54790         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
54791         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
54792         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
54793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
54794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
54795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
54796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
54797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
54798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
54799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
54801 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54803         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
54805 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54807         * benchtests/Makefile (bench): Add exp2 and log2.
54808         (LDLIBS-bench-exp2): Add -lm.
54809         (LDLIBS-bench-log2): Likewise.
54810         * benchtests/exp2-inputs: New inputs file.
54811         * benchtests/log2-inputs: New inputs file.
54812         * benchtests/log-inputs: Add new inputs.
54813         * benchtests/tan-inputs: Likewise.
54815 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54817         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
54818         definition...
54819         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
54820         (csloww2): ... from here.
54822         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
54823         instead of structures.
54824         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
54825         (POLYNOMIAL): Likewise.
54826         (TAYLOR_SLOW): Likewise.
54827         (__sin): Likewise.
54828         (__cos): Likewise.
54829         (slow1): Likewise.
54830         (slow2): Likewise.
54831         (sloww): Likewise.
54832         (sloww1); Likewise.
54833         (sloww2): Likewise.
54834         (bsloww1): Likewise.
54835         (bsloww2): Likewise.
54836         (cslow2): Likewise.
54837         (csloww): Likewise.
54838         (csloww1): Likewise.
54839         (csloww2): Likewise.
54841 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
54843         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
54844         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
54845         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
54846         * malloc/hooks.c (realloc_check): Likewise.
54848         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
54849         * malloc/arena.c: Remove PER_THREAD conditional.
54850         [!PER_THREAD]: Remove code.
54851         (ptmalloc_unlock_all2): Likewise.
54852         (ptmalloc_init): Likewise.
54853         (_int_new_arena): Likewise.
54854         (arena_get2): Likewise.
54855         * malloc/hooks.c (__malloc_get_state): Likewise.
54856         (__malloc_set_state): Likewise.
54857         * malloc/malloc.c: Likewise.
54858         (struct malloc_state): Likewise.
54859         (struct malloc_par): Likewise.
54860         (__libc_realloc): Likewise.
54861         (__libc_mallopt): Likewise.
54863 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54865         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
54867 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
54869         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
54870         macro to a function.  Check for zero perturb_byte.
54871         (_int_malloc, _int_free): Remove zero perturb_byte checks.
54873         * malloc/malloc.c: (force_reg): Remove.
54874         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
54875         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
54876         force_reg by atomic_forced_read.
54877         * malloc/arena.c (ptmalloc_init): Likewise.
54878         * malloc/hooks.c (top_check): Likewise.
54880 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54884 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
54886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54888 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
54890         * math/auto-libm-test-in: Add tests of lgamma.
54891         * math/auto-libm-test-out: Regenerated.
54892         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
54893         (M_LOG_2_SQRT_PIl): Likewise.
54894         (lgamma_test_data): Use AUTO_TESTS_f_f1.
54895         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54896         mpfr_f_f1.
54897         (func_calc_desc): Add mpfr_f_f1 union field.
54898         (ARGS1): New macro.
54899         (ARGS2): Likewise.
54900         (ARGS3): Likewise.
54901         (ARGS4): Likewise.
54902         (RET1): Likewise.
54903         (RET2): Likewise.
54904         (CALC): Likewise.
54905         (FUNC): Likewise.
54906         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
54907         (test_functions): Add lgamma.
54908         (calc_generic_results): Handle mpfr_f_f1.
54909         * sysdeps/i386/fpu/libm-test-ulps: Update.
54910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54912 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54914         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
54915         __mpn_add_n for PowerPC64/POWER7.
54916         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
54917         __mpn_sub_n for PowerPC64/POWER7.
54919         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
54920         __mpn_addmul_1 for PowerPC64.
54921         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
54922         __mpn_submul_1 for PowerPC64.
54923         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
54924         for PowerPC64.
54925         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
54926         for PowerPC64.
54928 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
54930         [BZ #15089]
54931         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
54933 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54935         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
54937         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
54938         add multiarch folders.
54939         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
54940         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
54941         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
54942         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
54943         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
54944         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
54945         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
54946         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
54947         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
54948         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
54949         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
54950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
54951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
54952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
54953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
54954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
54955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
54957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54958         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
54959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
54960         New file.
54961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
54962         New file.
54963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
54964         multiarch __ieee754_hypot for PowerPC32.
54965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
54966         New file.
54967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
54968         New file.
54969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
54970         multiarch __ieee754_hypotf for PowerPC32.
54972         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
54973         long_double_symbol only if __logbl is defined.
54974         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
54975         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
54976         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
54977         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
54978         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
54979         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
54980         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
54981         path for implementation.
54982         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
54983         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
54984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
54985         logb, and logbl multiarch implementations for PowerPC32.
54986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
54987         file.
54988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
54989         file.
54990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
54991         multiarch logb for PowerPC32.
54992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
54993         file.
54994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
54995         file.
54996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
54997         multiarch logbf for PowerPC32.
54998         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
54999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
55000         file.
55001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
55002         multiarch logbl implementation for PowerPC32.
55004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
55005         and modff multiarch implementations.
55006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
55007         New file.
55008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
55009         New file.
55010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
55011         multiarch modf for PowerPC32.
55012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
55013         New file.
55014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
55015         New file.
55016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
55017         multiarch modff for PowerPC32.
55019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
55020         and lrintf multiarch implementations.
55021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
55022         New file.
55023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
55024         New file.
55025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
55026         multiarch lrint for PowerPC32.
55027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
55028         file: multiarch lrintf for PowerPC32.
55030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
55031         and lroundf multiarch implementations.
55032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
55033         New file.
55034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
55035         New file.
55036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
55037         New file.
55038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
55039         multiarch lround for PowerPC32.
55040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
55041         file: multiarch lroundf for PowerPC32.
55043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55044         copysign and copysignf multiarch implementations.
55045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
55046         New file.
55047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
55048         New file.
55049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
55050         file: multiarch copysign for PowerPC32.
55051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
55052         file: multiarch copysignf for PowerPC32.
55054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
55055         and truncf multiarch implementations.
55056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
55057         New file.
55058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
55059         file.
55060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
55061         multiarch trunc for PowerPC32.
55062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
55063         New file.
55064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
55065         New file.
55066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
55067         multiarch truncf for PowerPC32.
55069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
55070         and roundf multiarch implementations.
55071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
55072         New file.
55073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
55074         file.
55075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
55076         multiarch round for PowerPC32.
55077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
55078         New file.
55079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
55080         New file.
55081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
55082         multiarch roundf for PowerPC32.
55084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
55085         and floorf multiarch implementations.
55086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
55087         New file.
55088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
55089         file.
55090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
55091         multiarch floor for PowerPC32.
55092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
55093         New file.
55094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
55095         New file.
55096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
55097         multiarch floorf for PowerPC32.
55099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
55100         and ceilf multiarch implementations.
55101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
55102         New file.
55103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
55104         file.
55105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
55106         multiarch ceil for PowerPC32.
55107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
55108         New file.
55109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
55110         file.
55111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
55112         multiarch ceilf for PowerPC32.
55114         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
55115         is defined.
55116         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
55117         FINITEF is defined.
55118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
55119         and finitef multiarch implementations.
55120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
55121         New file.
55122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
55123         file.
55124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
55125         multiarch finite for PowerPC32.
55126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
55127         New file.
55128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
55129         file: multiarch finitef for PowerPC32.
55131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
55132         and isinff multiarch implementations.
55133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
55134         file.
55135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
55136         file.
55137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
55138         multiarch isinf for PowerPC32.
55139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
55140         New file.
55141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
55142         multiarch isinff for PowerPC32.
55144         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
55145         alias when __isnan is defined.
55146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
55147         and isnanf multiarch implementations.
55148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
55149         file.
55150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
55151         file.
55152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
55153         file.
55154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
55155         file.
55156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
55157         multiarch isnan for PowerPC32.
55158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
55159         New file.
55160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
55161         New file.
55162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
55163         multiarch isnanf for PowerPC32.
55165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
55166         and sqrtf multiarch implementations.
55167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
55168         file.
55169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
55170         file.
55171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
55172         multiarch sqrt for PowerPC32.
55173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
55174         file.
55175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
55176         file.
55177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
55178         multiarch sqrtf for PowerPC32.
55180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
55181         and llroundf multiarch implementations.
55182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
55183         New file.
55184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
55185         New file.
55186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
55187         New file.
55188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
55189         file: multiarch llround for PowerPC32.
55190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
55191         file: multiarch llroundf for PowerPC32.
55193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
55194         multiarch PowerPC32 fpu implementations.
55195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
55196         New file.
55197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
55198         New file.
55199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
55200         multiarch llrint for PowerPC32.
55201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
55202         New file.
55203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
55204         New file.
55205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
55206         file.
55208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
55210         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
55211         file.
55212         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
55213         file.
55214         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
55215         file.
55216         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
55217         multiarch wordcopy for PPC32.
55218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55219         wordcopy objects.
55220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55221         (__libc_ifunc_impl_list): Likewise.
55222         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
55223         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
55224         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
55225         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
55226         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
55227         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
55229         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
55230         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
55231         file.
55232         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
55233         file.
55234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
55235         file.
55236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
55237         multiarch wcscpy for PPC32.
55238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55239         multiarch objects.
55240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55241         (__libc_ifunc_impl_list): Likewise.
55242         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55243         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55244         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
55245         sysdeps/powerpc/power6/wcscpy.c.
55247         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
55248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
55249         file.
55250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
55251         file.
55252         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
55253         file.
55254         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
55255         multiarch wcsrchr for PPC32.
55256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55257         multiarch objects.
55258         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55259         (__libc_ifunc_impl_list): Likewise.
55260         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55261         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55262         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
55263         sysdeps/powerpc/power6/wcsrchr.c.
55265         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
55266         file.
55267         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
55268         file.
55269         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
55270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
55271         multiarch wcschr for PPc32.
55272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55273         multiarch objects.
55274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55275         (__libc_ifunc_impl_list): Likewise.
55276         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
55277         * sysdeps/powerpc/power6/wcschr.c: ... to here.
55278         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
55279         sysdeps/powerpc/power6/wcschr.c.
55281         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
55282         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
55283         file.
55284         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
55285         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
55286         file: multiarch strchr for PPC32.
55287         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
55288         multiarch objects.
55289         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55290         (__libc_ifunc_impl_list): Likewise.
55292         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
55293         name.
55294         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
55295         file.
55296         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
55297         file.
55298         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
55299         multiarch strchrnul for PPC32.
55300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
55301         multiarch objects.
55302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55303         (__libc_ifunc_impl_list): Likewise.
55305         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
55306         file.
55307         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
55308         multiarch strncasecmp for PPC32.
55309         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
55310         file.
55311         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
55312         multiarch strncasecmp_l for PPC32.
55313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
55314         strncasecmp multiarch objects.
55315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55316         (__libc_ifunc_impl_list): Likewise.
55318         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
55319         file.
55320         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
55321         multiarch strncasecmp for PPC32.
55322         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
55323         New file.
55324         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
55325         multiarch strcasecmp_l for PPC32.
55326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
55327         multiarch objects.
55328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55329         (__libc_ifunc_impl_list): Likewise.
55331         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
55332         file.
55333         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
55334         file.
55335         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
55336         multiarch strncmp for PPC32.
55337         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
55338         multiarch objects.
55339         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55340         (__libc_ifunc_impl_list): Likewise.
55342         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
55343         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
55344         file.
55345         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
55346         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
55347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
55348         multiarch objects.
55349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55350         (__libc_ifunc_impl_list): Likewise.
55352         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
55353         file.
55354         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
55355         file.
55356         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
55357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
55358         multiarch objects.
55359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55360         (__libc_ifunc_impl_list): Likewise.
55362         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
55363         file.
55364         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
55365         file.
55366         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
55367         multiarch rawmemchr for PPC32.
55368         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
55369         multiarch objects.
55370         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55371         (__libc_ifunc_impl_list): Likewise.
55373         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
55374         file.
55375         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
55376         file.
55377         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
55378         file: memrchr multiarch for PPC32.
55379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
55380         multiarch objects.
55381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55382         (__libc_ifunc_impl_list): Likewise.
55384         * string/memchr.c (__memchr): Using macro to redefine symbol name.
55385         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
55386         file.
55387         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
55388         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
55389         multiarch memchr for PPC32.
55390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
55391         multiarch objects.
55392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55393         (__libc_ifunc_impl_list): Likewise.
55395         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
55396         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
55397         file.
55398         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
55399         file.
55400         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
55401         file: multiarch mempcpy for PPC32.
55402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
55403         multiarch objects.
55404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55405         (__libc_ifunc_impl_list): Likewise.
55407         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
55408         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
55409         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
55410         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
55411         multiarch bzero for PPC32.
55412         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
55413         file.
55414         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
55415         file.
55416         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
55417         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
55418         file: multiarch memset for PPC32.
55419         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
55420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
55421         memset multiarch objects.
55422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55423         (__libc_ifunc_impl_list): Likewise.
55425         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
55426         file.
55427         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
55428         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
55429         memcmp for PPC32.
55430         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
55431         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
55432         multiarch objects.
55433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55434         (__libc_ifunc_impl_list): Likewise.
55436         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
55437         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
55438         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
55439         file.
55440         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
55441         file.
55442         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
55443         file.
55444         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
55445         multiarch memcpy for PPC32.
55446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
55447         multiarch objects.
55448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55449         (__libc_ifunc_impl_list): Likewise.
55451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
55452         support multiarch for POWER/PPC32.
55453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
55454         Likewise.
55455         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
55456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
55457         Implies file to make multiarch folder appers before the fpu and
55458         default folder for power4 configuration.
55460 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55462         * scripts/bench.pl: Append volatile keyword to type.
55464 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55466         * sysdeps/sh/sotruss-lib.c: New file.
55467         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
55469 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55473 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
55475         [BZ #6810]
55476         * math/w_tgamma.c: Include <errno.h>.
55477         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
55478         * math/w_tgammaf.c: Include <errno.h>.
55479         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
55480         * math/w_tgammal.c: Include <errno.h>.
55481         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
55482         * math/auto-libm-test-in: Do not allow missing errno on tgamma
55483         underflow.  Add more tgamma tests.
55484         * math/auto-libm-test-out: Regenerated.
55485         * sysdeps/i386/fpu/libm-test-ulps: Update.
55486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55488         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
55489         sin, sinh, tan, tanh, tgamma, y0 and y1.
55490         * math/auto-libm-test-out: Regenerated.
55491         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55492         (TEST_COND_x86): Likewise.
55493         (M_E2l): Remove macro.
55494         (M_E3l): Likewise.
55495         (M_2_SQRT_PIl): Likewise.
55496         (M_SQRT_PIl): Likewise.
55497         (M_1_DIV_El): Likewise.
55498         (log_test_data): Use AUTO_TESTS_f_f.
55499         (log10_test_data): Likewise.
55500         (log1p_test_data): Likewise.
55501         (log2_test_data): Likewise.
55502         (sin_test_data): Likewise.
55503         (sin_tonearest_test_data): Likewise.
55504         (sin_towardzero_test_data): Likewise.
55505         (sin_downward_test_data): Likewise.
55506         (sin_upward_test_data): Likewise.
55507         (sinh_test_data): Likewise.
55508         (sinh_tonearest_test_data): Likewise.
55509         (sinh_towardzero_test_data): Likewise.
55510         (sinh_downward_test_data): Likewise.
55511         (sinh_upward_test_data): Likewise.
55512         (tan_test_data): Likewise.
55513         (tan_tonearest_test_data): Likewise.
55514         (tan_towardzero_test_data): Likewise.
55515         (tan_downward_test_data): Likewise.
55516         (tan_upward_test_data): Likewise.
55517         (tanh_test_data): Likewise.
55518         (tgamma_test_data): Likewise.
55519         (y0_test_data): Likewise.
55520         (y1_test_data): Likewise.
55521         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
55522         (special_real_inputs): Add pi/4.
55523         * sysdeps/i386/fpu/libm-test-ulps: Update.
55524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55526 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55528         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
55529         "longjmp_target" static probes.
55530         (__longjmp): Rename to __longjmp_symbol.
55531         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55532         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
55533         on which longjmp to generate.
55534         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55535         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
55536         probe.
55537         (__sigsetjmp): Rename to __sigsetjmp_symbol.
55538         (__sigjmp_save): Rename to __sigjmp_save_symbol.
55539         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
55540         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
55541         and __sigjmp_save_symbol based on which sigsetjmp to generated.
55542         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
55544         __longjmp_symbol based on which __longjmp to generate.
55545         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
55546         probe.
55547         (setjmp): Rename to setjmp_symbol.
55548         (__sigsetjmp): Rename to __sigsetjmp_symbol.
55549         (_setjmp): Rename to _setjmp_symbol.
55550         (__sigsetjmp): Rename to __sigsetjmp_symbol.
55551         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
55552         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
55553         which setjmp to generate.
55554         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
55555         "longjmp_target" static probes.
55557 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55559         * benchtests/README: Add note about output arguments.
55560         * benchtests/bench-sincos.c: Remove file.
55561         * benchtests/sincos-inputs: New file.
55562         * scripts/bench.pl: Identify output arguments and define
55563         static variables for them.
55565         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
55567         [BZ #15941]
55568         * Makefile (INSTALL): Add install-plain.texi as the primary
55569         dependency.
55570         * manual/install-plain.texi: New file.
55571         * manual/install.texi: Include node directive only for
55572         non-plaintext output.
55574 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
55576         * stdlib/longlong.h: Update from GCC.
55578         [BZ #6807]
55579         [BZ #15901]
55580         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
55581         * math/w_j0f.c (y0f): Likewise.
55582         * math/w_j0l.c (__y0l): Likewise.
55583         * math/w_j1.c (y1): Likewise.
55584         * math/w_j1f.c (y1f): Likewise.
55585         * math/w_j1l.c (__y1l): Likewise.
55586         * math/w_jn.c (yn): Likewise.
55587         * math/w_jnf.c (ynf): Likewise.
55588         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
55589         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
55590         value for Bessel function domain errors outside _SVID_ mode.
55591         Adjust sign of return value for yn (negative integer, 0).
55592         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
55593         by zero in return for negative x and set sign appropriately for
55594         negative n.
55595         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
55596         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55597         * math/libm-test.inc (y0_test_data): Add more tests and adjust
55598         expectations in error cases.
55599         (y1_test_data): Likewise.
55600         (yn_test_data): Likewise.
55601         * sysdeps/i386/fpu/libm-test-ulps: Update.
55602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55604 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55606         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
55607         "64" to "64-v1".  Add "64-v2".
55608         (abi-64-options): Rename to ...
55609         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
55610         (abi-64-condition): Rename to ...
55611         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
55612         (abi-64-ld-soname): Rename to ...
55613         (abi-64-v1-ld-soname): ... this.
55614         (abi-64-v2-options): Define.
55615         (abi-64-v2-condition): Likewise.
55616         (abi-64-v2-ld-soname): Likewise.
55617         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
55618         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
55619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
55620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
55621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
55623 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55624             Alan Modra  <amodra@gmail.com>
55626         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
55627         New versions for use with the ELFv2 ABI.
55628         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
55629         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
55630         declaration.
55631         (struct La_ppc64v2_retval): Likewise.
55632         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
55633         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
55634         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
55635         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
55636         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
55637         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55638         Do not save or restore CR.
55639         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
55640         (_dl_profile_resolve): Do no save or restore CR.  Support extended
55641         return values for ELFv2 ABI.  Fix location of FPR return registers.
55642         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
55643         updated values for _CALL_ELF == 2.
55644         (La_regs, La_retval, int_retval): Likewise.
55646 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55648         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
55649         (FRAME_MIN_SIZE_PARM): Likewise.
55650         (FRAME_BACKCHAIN): Likewise.
55651         (FRAME_CR_SAVE): Likewise.
55652         (FRAME_LR_SAVE): Likewise.
55653         (FRAME_TOC_SAVE): Likewise.
55654         (FRAME_PARM_SAVE): Likewise.
55655         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
55656         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
55657         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55658         (call_mcount_parm_offset): New macro.
55659         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
55660         (PROF): Use symbolic stack frame offsets.
55661         (TAIL_CALL_SYSCALL_ERROR): Likewise.
55662         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
55663         Redefine in terms of FRAME_MIN_SIZE.
55664         (_dl_runtime_resolve): Use symbolic stack frame offsets.
55665         (_dl_profile_resolve): Likewise.  Update comment.
55666         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
55667         symbols stack frame offsets.
55668         (__sigsetjmp): Likewise.
55669         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
55670         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
55671         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
55672         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
55674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
55675         (FRAME_BACKCHAIN): Remove.
55676         (FRAME_CR_SAVE): Likewise.
55677         (FRAME_LR_SAVE): Likewise.
55678         (FRAME_COMPILER_DW): Likewise.
55679         (FRAME_LINKER_DW): Likewise.
55680         (FRAME_TOC_SAVE): Likewise.
55681         (FRAME_PARM_SAVE): Likewise.
55682         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
55683         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
55684         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
55686         (CHECK_SP): Use symbolic stack frame offsets.
55687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
55688         zone" instead of caller's parameter save area for temp storage.
55689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55690         Likewise.  Also, use symbolic stack frame offsets.
55691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
55692         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
55693         our own stack frame instead of the caller's.
55694         (__socket): Use symbolic stack frame offsets.
55696 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55697             Alan Modra  <amodra@gmail.com>
55699         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
55700         Define.
55701         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
55702         (PPC64_LOCAL_ENTRY_OFFSET): Define.
55703         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
55704         New function.
55705         (elf_machine_fixup_plt): Call it.
55706         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
55707         reloc arguments.
55708         (elf_machine_rela): Update call to elf_machine_plt_conflict.
55709         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55710         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
55711         r2 before calling target.
55713 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55714             Alan Modra  <amodra@gmail.com>
55716         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
55717         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
55718         versions of macros to support ELFv2 ABI.
55719         (LOCALENTRY): New macro.
55720         (ENTRY, EALIGN): Use it.
55721         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
55722         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
55723         fall through into ENTRY entry point.
55724         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
55725         Only define if _CALL_ELF != 2.
55727         (elf_machine_matches_host): Verify ABI version matches.
55728         (RTLD_START): Use LOCALENTRY.
55729         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
55730         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
55731         (PLT_ENTRY_WORDS): New macro.
55732         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
55733         (elf_machine_runtime_setup): Support ELFv2 ABI.
55734         (elf_machine_fixup_plt): Likewise.
55735         (elf_machine_plt_conflict): Likewise.
55736         (resolve_ifunc): Likewise.
55737         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55738         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55739         Likewise.
55740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
55741         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
55742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55743         (makecontext): Support ELFv2 ABI.
55744         * elf/elf.h (EF_PPC64_ABI): Define.
55746 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55748         * sysdeps/powerpc/powerpc64/sysdep.h
55749         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
55750         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
55751         (ENTRY) [ASSEMBLER]: ... but instead here ...
55752         (EALIGN) [ASSEMBLER]: ... and here.
55753         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
55754         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
55755         (ENTRY_2) [!ASSEMBLER]: Use it.
55756         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
55757         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
55758         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55759         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
55760         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
55761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
55762         Use PPC64_LOAD_FUNCPTR.
55764         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
55766 2013-12-04  Alan Modra  <amodra@gmail.com>
55768         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
55769         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
55770         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
55771         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
55773         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
55774         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
55775         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
55776         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
55777         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
55778         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
55780 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55783         (__makecontext): Fix incorrect CFI when backtracing out of
55784         context created via makecontext.
55785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
55786         (__setcontext): Fix incorrect CFI during switch to new context.
55787         (__novec_setcontext): Likewise.
55789 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55791         [BZ #4772]
55792         * time/strptime_l.c (__strptime_internal): Allow modifiers
55793         in strptime.
55794         * time/tst-strptime.c (day_tests): Add testcase.
55796 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55798         * scripts/bench.pl: Skip over blank lines.
55800 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
55802         [BZ #926]
55803         * manual/time.texi (Calendar Time): Clarify what timezone functions
55804         use.
55806 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55810 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55812         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
55813         implementation.
55814         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
55815         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
55816         * debug/memset_chk.c (__memset_chk): Likewise.
55817         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
55818         * debug/strncpy_chk.c: Likewise.
55820 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55822         [BZ #15268]
55823         [BZ #15425]
55824         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
55825         (__ieee754_exp): For possibly underflowing results, check size of
55826         result and force underflow exception if required.
55827         * math/auto-libm-test-in: Add more tests of exp.
55828         * math/auto-libm-test-out: Regenerated.
55829         * sysdeps/i386/fpu/libm-test-ulps: Update.
55830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55832         [BZ #16283]
55833         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
55834         * math/w_exp2f.c (__exp2f): Likewise.
55835         * math/w_exp2l.c (__exp2l): Likewise.
55836         * math/auto-libm-test-in: Do not allow missing errno on exp2
55837         underflow.
55838         * math/auto-libm-test-out: Regenerated.
55840 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
55842         [BZ #16274]
55843         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
55844         handle filename validation.
55845         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
55846         (do_open): Delete.
55848 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55850         [BZ #6786]
55851         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
55852         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
55853         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
55854         <float.h>.
55855         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
55856         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
55857         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
55859         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55860         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
55861         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55862         * math/auto-libm-test-in: Don't allow missing errno from erfc.
55863         Add more erfc tests.
55864         * math/auto-libm-test-out: Regenerated.
55865         * sysdeps/i386/fpu/libm-test-ulps: Update.
55866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55868         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
55869         exp2, expm1, j0 and j1.
55870         * math/auto-libm-test-out: Regenerated.
55871         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
55872         (erfc_test_data): Likewise.
55873         (exp_test_data): Likewise.
55874         (exp_tonearest_test_data): Likewise.
55875         (exp_towardzero_test_data): Likewise.
55876         (exp_downward_test_data): Likewise.
55877         (exp_upward_test_data): Likewise.
55878         (exp10_test_data): Likewise.
55879         (exp2_test_data): Likewise.
55880         (expm1_test_data): Likewise.
55881         (j0_test_data): Likewise.
55882         (j1_test_data): Likewise.
55883         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
55884         (input_flag_type): Add flag_xfail_rounding.
55885         (input_flags): Add xfail-rounding.
55886         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
55887         (output_for_one_input_case): Handle flag_xfail_rounding.
55888         * sysdeps/i386/fpu/libm-test-ulps: Update.
55889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55891 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
55893         [BZ #16289]
55894         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
55895         division by 0.
55897 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55899         [BZ #16195]
55900         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
55901         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
55902         (STAP_PROBE0): New macro.
55903         (STAP_PROBE1): Likewise.
55904         (STAP_PROBE2): Likewise.
55905         (STAP_PROBE3): Likewise.
55906         (STAP_PROBE4): Likewise.
55908 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
55910         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
55912 2013-12-02  Steve Ellcey  <sellcey@mips.com>
55914         * benchtests/Makefile (bench): Add sqrt.
55915         (LDLIBS-bench-sqrt): New.
55916         * benchtests/sqrt-input: New.
55918 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
55920         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
55921         (GAIH_EAI): Likewise.
55922         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
55923         (gaih_inet): Likewise.
55924         (getaddrinfo): Don't use GAIH_EAI.
55926         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
55927         (struct gaih): Remove definition.
55929 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55931         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
55932         Use HERRNOP directly.
55934 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55938 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
55940         * math/gen-auto-libm-tests.c (test_functions): Add more
55941         single-argument functions.
55942         (special_fill_pi_2): New function.
55943         (special_fill_minus_pi_2): Likewise.
55944         (special_fill_pi_6): Likewise.
55945         (special_fill_minus_pi_6): Likewise.
55946         (special_fill_pi_3): Likewise.
55947         (special_fill_2pi_3): Likewise.
55948         (special_fill_e): Likewise.
55949         (special_fill_1_e): Likewise.
55950         (special_fill_e_minus_1): Likewise.
55951         (special_real_inputs): Add more special inputs.
55952         (output_for_one_input_case): Do not require ERANGE on underflow to
55953         zero if round-to-nearest result does not underflow to zero, unless
55954         exact results required.
55955         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
55956         atan, atanh, cbrt, cos and cosh.
55957         * math/auto-libm-test-out: Regenerated.
55958         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
55959         (acos_tonearest_test_data): Likewise.
55960         (acos_towardzero_test_data): Likewise.
55961         (acos_downward_test_data): Likewise.
55962         (acos_upward_test_data): Likewise.
55963         (acosh_test_data): Likewise.
55964         (asin_test_data): Likewise.
55965         (asin_tonearest_test_data): Likewise.
55966         (asin_towardzero_test_data): Likewise.
55967         (asin_upward_test_data): Likewise.
55968         (asinh_test_data): Likewise.
55969         (atan_test_data): Likewise.
55970         (atanh_test_data): Likewise.
55971         (cbrt_test_data): Likewise.
55972         (cos_test_data): Likewise.
55973         (cos_tonearest_test_data): Likewise.
55974         (cos_towardzero_test_data): Likewise.
55975         (cos_downward_test_data): Likewise.
55976         (cos_upward_test_data): Likewise.
55977         (cosh_test_data): Likewise.
55978         (cosh_tonearest_test_data): Likewise.
55979         (cosh_towardzero_test_data): Likewise.
55980         (cosh_downward_test_data): Likewise.
55981         (cosh_upward_test_data): Likewise.
55982         * sysdeps/i386/fpu/libm-test-ulps: Update.
55983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55985 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
55987         [BZ #6787]
55988         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
55989         * math/w_exp10f.c (__exp10f): Likewise.
55990         * math/w_exp10l.c (__exp10l): Likewise.
55991         * math/libm-test.inc (exp10_test_data): Add more tests and expect
55992         errno settings in existing tests.
55994         [BZ #14032]
55995         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
55996         precision control set to double precision.
55997         * sysdeps/i386/fpu/w_sqrt.c: New file.
55998         * math/auto-libm-test-in: Add more tests.
55999         * math/auto-libm-test-out: Update.
56001         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
56002         (sqrt_test_tonearest): New function.
56003         (sqrt_towardzero_test_data): New variable.
56004         (sqrt_test_towardzero): New function.
56005         (sqrt_downward_test_data): New variable.
56006         (sqrt_test_downward): New function.
56007         (sqrt_upward_test_data): New variable.
56008         (sqrt_test_upward): New function.
56009         (main): Call the new functions.
56011         * math/gen-auto-libm-tests.c: New file.
56012         * math/auto-libm-test-in: Likewise.
56013         * math/auto-libm-test-out: New generated file.
56014         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
56015         variables.
56016         (%beautify): Add generated representations of zero.
56017         (top level): Set $auto_input and call parse_auto_input.
56018         (beautify): Remove trailing "f" from hex float constants.
56019         (parse_args): Handle XFAIL_TEST.
56020         (convert_condition): New function.
56021         (or_value): Likewise.
56022         (or_cond_value): Likewise.
56023         (generate_testfile): Handle AUTO_TESTS_* lines.
56024         (parse_auto_input): New function.
56025         * math/libm-test.inc (XFAIL_TEST): New macro.
56026         (ERRNO_UNCHANGED): Update value.
56027         (ERRNO_EDOM): Likewise.
56028         (ERRNO_ERANGE): Likewise.
56029         (IGNORE_RESULT): Likewise.
56030         (TEST_COND_flt_32): New macro.
56031         (TEST_COND_dbl_64): Likewise.
56032         (TEST_COND_ldbl_96_intel): Likewise.
56033         (TEST_COND_ldbl_96_m68k): Likewise.
56034         (TEST_COND_ldbl_128): Likewise.
56035         (TEST_COND_ldbl_128ibm): Likewise.
56036         (TEST_COND_long32): Likewise.
56037         (TEST_COND_long64): Likewise.
56038         (TEST_COND_before_rounding): Likewise.
56039         (TEST_COND_after_rounding): Likewise.
56040         (enable_test): Handle XFAIL_TEST flag.
56041         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
56042         with finite results.
56043         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
56044         auto-libm-test-out.
56046 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56047             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56049         [BZ #16214]
56050         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
56051         __tls_get_addr_internal instead of __tls_get_offset in order to
56052         avoid GOT pointer dependency.  Make rtld export
56053         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
56054         __tls_get_addr since we are a __tls_get_offset platform.
56055         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
56056         GOT pointer being set up before.
56057         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
56059 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
56061         * manual/math.texi (Errors in Math Functions): Document accuracy
56062         goals.
56064         [BZ #15004]
56065         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
56066         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
56067         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56068         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56069         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56070         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56071         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56072         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56073         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56074         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56075         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56076         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56077         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56078         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56079         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56080         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56082         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
56083         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
56084         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
56085         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
56086         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
56087         Likewise.
56088         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
56089         Likewise.
56090         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
56091         Likewise.
56092         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
56093         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
56094         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
56095         atomic-feupdateenv and flt-rounds.
56096         * sysdeps/powerpc/nofpu/Versions (libc): Add
56097         __atomic_feholdexcept, __atomic_feclearexcept,
56098         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
56099         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
56100         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
56101         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
56102         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
56103         here.
56104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
56105         Update.
56107         * manual/arith.texi (FP Exceptions): Document that exceptions may
56108         not be raised when matherr is used.
56109         (Math Error Reporting): Document overflow in directed rounding
56110         modes.  Document that errno may not be set when finite values are
56111         returned on overflow.  Document intent to set errno on underflow
56112         only for underflow to zero.
56114         [BZ #16271]
56115         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
56116         round-to-nearest then adjust result for other rounding modes.
56117         * include/fenv.h (fegetround): Use libm_hidden_proto.
56118         * math/fegetround.c (fegetround): Use libm_hidden_def.
56119         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
56120         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
56121         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56122         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
56123         Likewise.
56124         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
56125         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56126         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
56127         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
56129 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56131         [BZ #16077]
56132         * nss/Versions (libnss_files): Add
56133         _nss_files_gethostbyname3_r.
56134         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
56135         New function.
56136         (HOST_DB_LOOKUP): Remove macro.
56137         (_nss_files_gethostbyname_r): Implement function without the
56138         HOST_DB_LOOKUP macro.
56139         (_nss_files_gethostbyname2_r): Likewise.
56141 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
56143         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
56145 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
56147         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
56148         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
56149         warning.
56151 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56153         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
56154         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
56155         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
56156         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
56157         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
56158         __fe_nomask_env_priv and attribute_hidden.
56159         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
56160         (libc_feupdateenv_test_ppc): Likewise.
56161         (libc_feresetround_ppc): Likewise.
56162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56163         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
56164         compat_symbol macro.
56165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56166         (__fe_nomask_env): Likewise.
56167         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
56169 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56171         * string/Makefile: Remove ifunc tests.
56172         * string/test-string.h: Define TEST_IFUNC.
56173         * string/test-bcopy-ifunc.c: Remove.
56174         * string/test-bzero-ifunc.c: Likewise.
56175         * string/test-memccpy-ifunc.c: Likewise.
56176         * string/test-memchr-ifunc.c: Likewise.
56177         * string/test-memcmp-ifunc.c: Likewise.
56178         * string/test-memcpy-ifunc.c: Likewise.
56179         * string/test-memmem-ifunc.c: Likewise.
56180         * string/test-memmove-ifunc.c: Likewise.
56181         * string/test-mempcpy-ifunc.c: Likewise.
56182         * string/test-memrchr-ifunc.c: Likewise.
56183         * string/test-memset-ifunc.c: Likewise.
56184         * string/test-rawmemchr-ifunc.c: Likewise.
56185         * string/test-stpcpy-ifunc.c: Likewise.
56186         * string/test-stpncpy-ifunc.c: Likewise.
56187         * string/test-strcasecmp-ifunc.c: Likewise.
56188         * string/test-strcasestr-ifunc.c: Likewise.
56189         * string/test-strcat-ifunc.c: Likewise.
56190         * string/test-strchr-ifunc.c: Likewise.
56191         * string/test-strchrnul-ifunc.c: Likewise.
56192         * string/test-strcmp-ifunc.c: Likewise.
56193         * string/test-strcpy-ifunc.c: Likewise.
56194         * string/test-strcspn-ifunc.c: Likewise.
56195         * string/test-strlen-ifunc.c: Likewise.
56196         * string/test-strncasecmp-ifunc.c: Likewise.
56197         * string/test-strncat-ifunc.c: Likewise.
56198         * string/test-strncmp-ifunc.c: Likewise.
56199         * string/test-strncpy-ifunc.c: Likewise.
56200         * string/test-strnlen-ifunc.c: Likewise.
56201         * string/test-strpbrk-ifunc.c: Likewise.
56202         * string/test-strrchr-ifunc.c: Likewise.
56203         * string/test-strspn-ifunc.c: Likewise.
56204         * string/test-strstr-ifunc.c: Likewise.
56206 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56208         * benchtests/Makefile: Remove ifunc tests.
56209         * benchtests/bench-string.h: Define TEST_IFUNC.
56210         * benchtests/bench-bcopy-ifunc.c: Remove.
56211         * benchtests/bench-bzero-ifunc.c: Likewise.
56212         * benchtests/bench-memccpy-ifunc.c: Likewise.
56213         * benchtests/bench-memchr-ifunc.c: Likewise.
56214         * benchtests/bench-memcmp-ifunc.c: Likewise.
56215         * benchtests/bench-memcpy-ifunc.c: Likewise.
56216         * benchtests/bench-memmem-ifunc.c: Likewise.
56217         * benchtests/bench-memmove-ifunc.c: Likewise.
56218         * benchtests/bench-mempcpy-ifunc.c: Likewise.
56219         * benchtests/bench-memrchr-ifunc.c: Likewise.
56220         * benchtests/bench-memset-ifunc.c: Likewise.
56221         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
56222         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
56223         * benchtests/bench-stpcpy-ifunc.c: Likewise.
56224         * benchtests/bench-stpncpy-ifunc.c: Likewise.
56225         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
56226         * benchtests/bench-strcasestr-ifunc.c: Likewise.
56227         * benchtests/bench-strcat-ifunc.c: Likewise.
56228         * benchtests/bench-strchr-ifunc.c: Likewise.
56229         * benchtests/bench-strchrnul-ifunc.c: Likewise.
56230         * benchtests/bench-strcmp-ifunc.c: Likewise.
56231         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
56232         * benchtests/bench-strcpy-ifunc.c: Likewise.
56233         * benchtests/bench-strcspn-ifunc.c: Likewise.
56234         * benchtests/bench-strlen-ifunc.c: Likewise.
56235         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
56236         * benchtests/bench-strncat-ifunc.c: Likewise.
56237         * benchtests/bench-strncmp-ifunc.c: Likewise.
56238         * benchtests/bench-strncpy-ifunc.c: Likewise.
56239         * benchtests/bench-strnlen-ifunc.c: Likewise.
56240         * benchtests/bench-strpbrk-ifunc.c: Likewise.
56241         * benchtests/bench-strrchr-ifunc.c: Likewise.
56242         * benchtests/bench-strsep-ifunc.c: Likewise.
56243         * benchtests/bench-strspn-ifunc.c: Likewise.
56244         * benchtests/bench-strstr-ifunc.c: Likewise.
56246 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56248         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
56250 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56252         * resolv/netdb.h: Use __glibc_reserved instead __unused.
56253         * rt/aio.h: Likewise.
56254         * sysdeps/gnu/bits/utmp.h: Likewise.
56255         * sysdeps/gnu/bits/utmpx.h: Likewise.
56256         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56257         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
56258         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
56259         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
56260         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
56261         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
56262         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
56263         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
56264         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
56265         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
56266         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
56267         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
56268         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
56269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
56270         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56271         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
56272         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
56273         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
56274         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
56275         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
56276         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
56277         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
56278         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
56279         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56280         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
56281         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56282         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
56283         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
56284         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
56285         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
56286         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
56287         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
56288         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
56289         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
56290         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
56291         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
56292         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
56293         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
56294         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
56295         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
56296         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
56297         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56299 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
56301         [BZ #16245]
56302         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
56303         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
56305 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
56307         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
56308         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
56309         Likewise.
56311 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56313         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
56314         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
56315         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
56316         (__fesetround): Remove define.
56317         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
56318         rounding and exceptions handling.
56319         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
56320         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
56321         (__fe_nomask_env): Likewise.
56322         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
56323         __fegetround instead of fegetround.
56324         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56325         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
56327 2013-11-21  Roland McGrath  <roland@hack.frob.com>
56329         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
56330         it's there.
56332         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
56334 2013-11-21  Meador Inge  <meadori@codesourcery.com>
56336         [BZ #11157]
56337         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
56338         (encrypt_r): Likewise.
56339         * malloc/obstack.h (obstack_free): Likewise.
56340         * posix/unistd.h (encrypt): Likewise.
56342 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
56344         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
56345         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
56346         DL_CALL_DT_FINI() that call the functions directly.
56347         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
56348         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
56349         * elf/dl-fini.c: Likewise.
56351 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
56353         * malloc/hooks.c (memalign_check): Add alignment rounding.
56354         * malloc/malloc.c (_mid_memalign): New function.
56355         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
56356         Implement by calling _mid_memalign.
56357         * manual/probes.texi (Memory Allocation Probes): Remove
56358         memory_valloc_retry and memory_pvalloc_retry.
56360 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56362         * locale/programs/locarchive.c (open_archive): Add const
56363         qualifier to ARCHIVEFNAME and copy default fname to
56364         DEFAULT_FNAME.
56366         [BZ #15601]
56367         * libio/tst-widetext.input: Rename Oriya to Odia.
56368         * locale/iso-639.def: Likewise.
56370         * manual/probes.texi (Mathematical Function Probes): Add
56371         documentation for sin, cos, asin and acos probes.
56372         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
56373         (__sin32): Add slowasin probe.
56374         (__cos32): Add slowacos probe.
56375         (__mpsin): Add slowsin probe.
56376         (__mpcos): Add slowcos probe.
56378 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
56380         [BZ #15483]
56381         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
56382         thread-local __sim_exceptions_thread and global
56383         __sim_exceptions_global.
56384         (__sim_disabled_exceptions): Change to thread-local
56385         __sim_disabled_exceptions_thread and global
56386         __sim_disabled_exceptions_global.
56387         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56388         and global __sim_round_mode_global.
56389         (__simulate_exceptions): Use thread-local floating-point state and
56390         set global state from it as needed.
56391         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
56392         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
56393         __sim_round_mode_thread.
56394         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
56395         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
56396         and global __sim_exceptions_global.
56397         (__sim_disabled_exceptions): Change to thread-local
56398         __sim_disabled_exceptions_thread and global
56399         __sim_disabled_exceptions_global.
56400         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56401         and global __sim_round_mode_global.
56402         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
56403         (SIM_SET_GLOBAL): Likewise.
56404         * sysdeps/powerpc/soft-fp/sfp-machine.h
56405         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
56406         __sim_round_mode_thread.
56407         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
56408         __sim_disabled_exceptions_thread.
56409         (__sim_exceptions): Change to __sim_exceptions_thread.
56410         (__sim_disabled_exceptions): Change to
56411         __sim_disabled_exceptions_thread.
56412         (__sim_round_mode): Change to __sim_round_mode_thread.
56413         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
56414         thread-local floating-point state and set global state from it as
56415         needed.
56416         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
56417         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
56418         (__sim_disabled_exceptions): Remove extern declaration.
56419         (feenableexcept): Use thread-local floating-point state and set
56420         global state from it as needed.
56421         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
56422         extern declaration.
56423         (__sim_disabled_exceptions): Likewise.
56424         (__sim_round_mode): Likewise.
56425         (__fegetenv): Use thread-local floating-point state.
56426         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
56427         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56428         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
56429         floating-point state and set global state from it as needed.
56430         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
56431         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
56432         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
56433         Likewise.
56434         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
56435         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
56436         Likewise.
56437         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
56438         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
56439         Use __sim_round_mode_thread.
56440         * math/test-fenv-tls.c: New file.
56441         * math/Makefile (tests): Add test-fenv-tls.
56442         ($(objpfx)test-fenv-tls): Depend on
56443         $(common-objpfx)nptl/libpthread.so.
56445 2013-11-19  Andreas Schwab  <schwab@suse.de>
56447         * locale/programs/locale.c (show_info): Decode wordarray elements.
56448         * locale/categories.def (LC_MONETARY): Add element for
56449         _NL_MONETARY_CRNCYSTR.
56450         * locale/C-monetary.c (conversion_rate): New variable.
56451         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
56452         element.
56454 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
56456         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
56457         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
56459 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56461         * elf/Makefile (tst-auxv): New test.
56462         * elf/tst-auxv.c: New
56463         * elf/rtld.c (dl_main): Adjust AT_EXECFN
56465 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
56467         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
56468         (hidden_proto): Caller changed.
56469         (hidden_tls_proto): New macro.
56470         (libc_hidden_tls_proto): Likewise.
56471         (rtld_hidden_tls_proto): Likewise.
56472         (libm_hidden_tls_proto): Likewise.
56473         (libresolv_hidden_tls_proto): Likewise.
56474         (librt_hidden_tls_proto): Likewise.
56475         (libdl_hidden_tls_proto): Likewise.
56476         (libnss_files_hidden_tls_proto): Likewise.
56477         (libnsl_hidden_tls_proto): Likewise.
56478         (libnss_nisplus_hidden_tls_proto): Likewise.
56479         (libutil_hidden_tls_proto): Likewise.
56481 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
56483         [BZ #10253]
56484         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
56485         (decompose_rpath): Defer expansion to fillin_rpath.
56486         (_dl_init_paths): Pass linkmap to fillin_rpath.
56488 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56490         * benchtests/Makefile: Add strsep.
56491         * benchtests/bench-strsep.c: New file: strsep benchtest.
56492         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
56494 2013-11-18  Andreas Schwab  <schwab@suse.de>
56496         * locale/programs/locale.c (show_info) [case byte]: Check for
56497         '\377' instead of '\177'.
56498         * locale/C-monetary.c (not_available): Always use "\377".
56499         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
56500         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
56501         detect unavailable sign_posn locale elements.
56502         * locale/localeconv.c (__localeconv): For grouping and
56503         mon_grouping handle "\177" and "\377" like no grouping.
56504         (INT_ELEM): New macro.  Use it to set all numeric members.
56505         * locale/programs/ld-monetary.c (monetary_read)
56506         <tok_mon_grouping>: Normalize single -1 to the empty string.
56507         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
56508         Likewise.
56510 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
56512         [BZ #16055]
56513         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
56514         when we match (nil).
56515         * stdio-common/tst-sscanf.c (struct test): Add testcase.
56517 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
56519         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
56520         (NO_TEST_INLINE): Update value.
56521         (ERRNO_UNCHANGED): Likewise.
56522         (ERRNO_EDOM): Likewise.
56523         (ERRNO_ERANGE): Likewise.
56524         (IGNORE_RESULT): Likewise.
56525         (check_float_internal): Check signs of NaN results if
56526         TEST_NAN_SIGN used.
56527         (check_complex): Pass TEST_NAN_SIGN flag through to second
56528         check_float_internal call.
56529         (copysign_test_data): Add tests with quiet NaNs as second
56530         argument.  Use TEST_NAN_SIGN.
56531         (fabs_test_data): Add test of negative quiet NaN argument.  Use
56532         TEST_NAN_SIGN.
56533         (signbit_test_data): Add tests of quiet NaN argument.
56534         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
56536         * math/gen-libm-test.pl (show_exceptions): Take extra argument
56537         $ignore_result.
56538         (parse_args): Handle function results specified as IGNORE.
56539         * math/libm-test.inc (IGNORE_RESULT): New macro.
56540         (check_float_internal): Do not check numerical result if flag
56541         IGNORE_RESULT set.
56542         (check_complex): Pass through IGNORE_RESULT to second
56543         check_float_internal call.
56544         (check_int): Do not check numerical result if flag IGNORE_RESULT
56545         set.
56546         (check_long): Likewise.
56547         (check_bool): Likewise.
56548         (check_longlong): Likewise.
56549         (lrint_test_data): Add tests of infinite and NaN arguments.
56550         (lrint_tonearest_test_data): Likewise.
56551         (lrint_towardzero_test_data): Likewise.
56552         (lrint_downward_test_data): Likewise.
56553         (lrint_upward_test_data): Likewise.
56554         (llrint_test_data): Likewise.
56555         (llrint_tonearest_test_data): Likewise.
56556         (llrint_towardzero_test_data): Likewise.
56557         (llrint_downward_test_data): Likewise.
56558         (llrint_upward_test_data): Likewise.
56559         (lround_test_data): Likewise.
56560         (llround_test_data): Likewise.
56562         * math/libm-test.inc (NO_TEST_INLINE): New macro.
56563         (ERRNO_UNCHANGED): Update value.
56564         (ERRNO_EDOM): Likewise.
56565         (ERRNO_ERANGE): Likewise.
56566         (NO_TEST_INLINE_FLOAT): New macro.
56567         (NO_TEST_INLINE_DOUBLE): Likewise.
56568         (enable_test): New function.
56569         (RUN_TEST_f_f): Check enable_test before running test.
56570         (RUN_TEST_2_f): Likewise.
56571         (RUN_TEST_fff_f): Likewise.
56572         (RUN_TEST_c_f): Likewise.
56573         (RUN_TEST_f_f1): Likewise.
56574         (RUN_TEST_fF_f1): Likewise.
56575         (RUN_TEST_fI_f1): Likewise.
56576         (RUN_TEST_ffI_f1): Likewise.
56577         (RUN_TEST_c_c): Likewise.
56578         (RUN_TEST_cc_c): Likewise.
56579         (RUN_TEST_f_i): Likewise.
56580         (RUN_TEST_f_i_tg): Likewise.
56581         (RUN_TEST_ff_i_tg): Likewise.
56582         (RUN_TEST_f_b): Likewise.
56583         (RUN_TEST_f_b_tg): Likewise.
56584         (RUN_TEST_f_l): Likewise.
56585         (RUN_TEST_f_L): Likewise.
56586         (RUN_TEST_fFF_11): Likewise.
56587         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
56588         conditionals.
56589         (cosh_test_data): Likewise.
56590         (exp_test_data): Likewise.
56591         (expm1_test_data): Likewise.
56592         (hypot_test_data): Likewise.
56593         (pow_test_data): Likewise.
56594         (sinh_test_data): Likewise.
56595         (tanh_test_data): Likewise.
56596         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
56597         flags argument.
56599         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
56600         tests with quiet NaN input and output.
56601         (acosh_test_data): Likewise.
56602         (asin_test_data): Likewise.
56603         (asinh_test_data): Likewise.
56604         (atan_test_data): Likewise.
56605         (atanh_test_data): Likewise.
56606         (atan2_test_data): Likewise.
56607         (cbrt_test_data): Likewise.
56608         (cos_test_data): Likewise.
56609         (cosh_test_data): Likewise.
56610         (erf_test_data): Likewise.
56611         (erfc_test_data): Likewise.
56612         (exp_test_data): Likewise.
56613         (exp10_test_data): Likewise.
56614         (exp2_test_data): Likewise.
56615         (expm1_test_data): Likewise.
56616         (hypot_test_data): Likewise.
56617         (j0_test_data): Likewise.
56618         (j1_test_data): Likewise.
56619         (jn_test_data): Likewise.
56620         (lgamma_test_data): Likewise.
56621         (log_test_data): Likewise.
56622         (log10_test_data): Likewise.
56623         (log1p_test_data): Likewise.
56624         (log2_test_data): Likewise.
56625         (pow_test_data): Likewise.
56626         (scalb_test_data): Likewise.
56627         (sin_test_data): Likewise.
56628         (sincos_test_data): Likewise.
56629         (sinh_test_data): Likewise.
56630         (tan_test_data): Likewise.
56631         (tanh_test_data): Likewise.
56632         (tgamma_test_data): Likewise.
56633         (y0_test_data): Likewise.
56634         (y1_test_data): Likewise.
56635         (yn_test_data): Likewise.
56637         [BZ #16167]
56638         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
56639         argument being NaN and avoid computations with second argument in
56640         that case.
56641         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
56642         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
56643         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
56645 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
56647         * locale/iso-639.def: Add Chitwani Tharu (the).
56649 2013-11-14  Andreas Schwab  <schwab@suse.de>
56651         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
56652         word instead of empty string.
56654 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56657         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
56658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56659         (__fe_nomask_env): Likewise.
56661 2013-11-13  Steve Ellcey  <sellcey@mips.com>
56663         * benchtests/bench-timing.h: Include time.h.
56665 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
56667         [BZ #15997]
56668         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
56669         to 3.4.0 for x32.
56670         * sysdeps/unix/sysv/linux/configure: Regenerated.
56672 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
56674         [BZ #16151]
56675         * stdlib/strtod_l.c (round_and_return): Do not consider
56676         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
56677         exponent one less than half the least subnormal exponent.
56678         * stdlib/test-strtod-round-data: Add more tests.
56679         * stdlib/tst-strtod-round.c (tests): Regenerated.
56681 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56683         [BZ #14143]
56684         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
56685         (__fe_mask_env): Likewise.
56686         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
56687         libm_hidden_proto and add function prototype.
56688         (__fe_mask_env): Add function prototype.
56689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56690         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
56691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56692         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
56693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56694         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
56696 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56698         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
56699         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
56701 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56703         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
56704         of htab_find_slot().
56706 2013-11-11  David S. Miller  <davem@davemloft.net>
56708         [BZ #16150]
56709         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
56710         symbol in the non-vis3 case in static builds.
56711         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
56712         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
56713         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
56714         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
56716 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
56718         [BZ #387]
56719         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
56720         it is empty.
56722 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56724         * benchtests/Makefile: Add bench-strtod.
56725         * benchtests/bench-strtod.c: New file: strtod benchtest
56727 2013-11-11  Andreas Schwab  <schwab@suse.de>
56729         [BZ #16153]
56730         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
56731         terminating NUL in key length.
56733 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56735         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56736         Add artificial ODP entry for vDSO symbol for PPC64.
56737         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
56738         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
56740 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
56742         [BZ #15374]
56743         * nss/getent.c (services_keys): Recognize services starting with digit.
56745 2013-11-06  David S. Miller  <davem@davemloft.net>
56747         [BZ #15985]
56748         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
56749         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
56751 2013-11-06  Will Newton  <will.newton@linaro.org>
56753         * manual/memory.texi (Malloc Examples): Remove register
56754         keyword from examples.
56756 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
56758         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
56760 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
56762         [BZ #6981]
56763         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
56764         depending on [__GCC_IEC_559 > 0].
56765         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
56766         depending on [__GCC_IEC_559_COMPLEX > 0].
56768 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
56770         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
56771         to iso-639.def.
56773 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
56775         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
56777 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
56779         [BZ #16112]
56780         * malloc/malloc (malloc_info): Do not handle first bin as
56781         special case.
56783 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
56785         * locale/iso-639.def: Add Central Nahuatl (nhn).
56787 2013-11-01  Bruno Haible  <bruno@clisp.org>
56789         [BZ #7003]
56790         * manual/math.texi (BSD Random): Specify range upper bound as
56791         in POSIX.
56793 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
56795         * locale/iso-639.def: Add Meadow Mari (mhr).
56797 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
56799         [BZ #14752], [BZ #15763]
56800         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
56801         Validate name.
56802         * rt/tst_shm.c: Add test for escaping directory.
56804 2013-10-31  Andreas Schwab  <schwab@suse.de>
56806         [BZ #15917]
56807         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
56808         followed by 'x' as part of digit sequence.
56809         * stdio-common/tst-sscanf.c (double_tests2): New tests.
56811 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
56813         [BZ #16037]
56814         * configure.ac: allow GNU Make 4.0 and greater.
56815         * configure: Regenerated.
56817 2013-10-30  Will Newton  <will.newton@linaro.org>
56819         [BZ #16038]
56820         * malloc/hooks.c (memalign_check): Limit alignment to the
56821         maximum representable power of two.
56822         * malloc/malloc.c (__libc_memalign): Likewise.
56823         * malloc/tst-memalign.c (do_test): Add test for very
56824         large alignment values.
56825         * malloc/tst-posix_memalign.c (do_test): Likewise.
56827 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56829         [BZ #11087]
56830         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
56831         (munmap_chunk): Likewise.
56832         (mremap_chunk): Likewise.
56834 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56836         [BZ #15799]
56837         * stdlib/div.c (div): Remove obsolete code.
56838         * stdlib/ldiv.c (ldiv): Likewise.
56839         * stdlib/lldiv.c (lldiv): Likewise.
56841 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56843         [BZ #16071]
56844         * nss/nss_files/files-XXX.c (get_contents_ret): New
56845         enumerator.
56846         (get_contents): New function.
56847         (internal_getent): Use it.  Expand size of LINEBUFLEN.
56849 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
56851         * configure.in: Moved to ...
56852         * configure.ac: ... here. Change reference to configure.in
56853         to configure.ac.
56854         * sysdeps/arm/preconfigure.ac: ... here.
56855         configure.in to configure.ac.
56856         * sysdeps/gnu/configure.in: Moved to ...
56857         * sysdeps/gnu/configure.ac: ... here.
56858         * sysdeps/i386/configure.in: Moved to ...
56859         * sysdeps/i386/configure.ac: ... here.
56860         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
56861         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
56862         * sysdeps/mach/configure.in: Moved to ...
56863         * sysdeps/mach/configure.ac: ... here.
56864         * sysdeps/mach/hurd/configure.in: Moved to ...
56865         * sysdeps/mach/hurd/configure.ac: ... here.
56866         * sysdeps/powerpc/configure.in: Moved to ...
56867         * sysdeps/powerpc/configure.ac: ... here.
56868         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
56869         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
56870         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
56871         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
56872         * sysdeps/s390/s390-32/configure.in: Moved to ...
56873         * sysdeps/s390/s390-32/configure.ac: ... here.
56874         * sysdeps/s390/s390-64/configure.in: Moved to ...
56875         * sysdeps/s390/s390-64/configure.ac: ... here.
56876         * sysdeps/sh/configure.in: Moved to ...
56877         * sysdeps/sh/configure.ac: ... here.
56878         * sysdeps/sparc/configure.in: Moved to ...
56879         * sysdeps/sparc/configure.ac: ... here.
56880         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
56881         * sysdeps/unix/sysv/linux/configure.ac: ... here.
56882         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
56883         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
56884         * sysdeps/x86_64/configure.in: Moved to ...
56885         * sysdeps/x86_64/configure.ac: ... here.
56886         * sysdeps/x86_64/preconfigure.in: Moved to ...
56887         * sysdeps/x86_64/preconfigure.ac: ... here.
56888         * aclocal.m4: Change reference to configure.in to configure.ac.
56889         * config.h.in: Likewise.
56890         * manual/install.texi: Likewise.
56891         * manual/maint.texi: Likewise.
56892         * Makefile: Likewise.
56893         * malloc/Makefile: Likewise.
56894         * nscd/Makefile: Likewise.
56895         * Makeconfig: Change reference to configure.in and
56896         preconfigure.in to configure.ac and preconfigure.ac
56897         respectively.
56898         * INSTALL: Regenerated.
56899         * configure: Likewise.
56900         * sysdeps/gnu/configure: Likewise.
56901         * sysdeps/i386/configure: Likewise.
56902         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
56903         * sysdeps/mach/configure: Likewise.
56904         * sysdeps/mach/hurd/configure: Likewise.
56905         * sysdeps/powerpc/configure: Likewise.
56906         * sysdeps/powerpc/powerpc32/configure: Likewise.
56907         * sysdeps/powerpc/powerpc64/configure: Likewise.
56908         * sysdeps/s390/s390-32/configure: Likewise.
56909         * sysdeps/s390/s390-64/configure: Likewise.
56910         * sysdeps/sh/configure: Likewise.
56911         * sysdeps/sparc/configure: Likewise.
56912         * sysdeps/unix/sysv/linux/configure: Likewise.
56913         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
56914         * sysdeps/x86_64/configure: Likewise.
56915         * sysdeps/x86_64/preconfigure: Likewise.
56917 2013-10-29  Andreas Schwab  <schwab@suse.de>
56919         * stdio-common/Makefile (tst-swscanf-ENV): Define.
56921 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56923         * benchtests/pow-inputs: Add new inputs.
56925         * benchtests/exp-inputs: Add new inputs.
56927         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
56928         conditional check for return value.
56929         (__cos32): Likewise.
56931 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56933         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
56934         to provide a boost for large inputs with word alignment.
56935         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
56936         implementation based on optimized PPC64 strcpy.
56937         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
56938         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
56939         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
56940         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
56942 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56944         [BZ #2801]
56945         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
56947 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56949         [BZ #14876]
56950         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
56951         * time/tst-strptime.c (day_tests): Add testcase.
56953 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56955         [BZ #14029]
56956         * manual/pattern.texi: Acknowledge that fnmatch can fail.
56958 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
56960         [BZ #16074]
56961         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
56962         MAP_FAILED on error.
56964 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56966         [BZ #16072]
56967         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
56968         heap for large requests.
56970 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
56972         [BZ #9954]
56973         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
56974         result if the result has no associated interface.
56975         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
56976         interface for all 127.X.Y.Z addresses.
56978 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
56980         * locale/iso-639.def: Add Ligurian (lij)
56982 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
56984         [BZ #15825]
56985         * sunrpc/rpc_main.c: Document rpcgen -5.
56987 2013-10-19  Michael Stahl  <mstahl@redhat.com>
56989         * elf/rtld.c (do_preload): Print the reason why preloading failed.
56991 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56993         [BZ #10278]
56994         * posix/glob.c: Match only directories when trailing slash is present.
56995         * posix/tst-gnuglob.c (my_opendir): Do not open files.
56996         (main): Add testcase.
56998 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57000         [BZ #15670]
57001         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
57003 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
57005         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
57006         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
57007         AUTH_DES and cindex for FIPS 140-2.
57008         (DES Encryption): Add cindex FIPS 46-3.
57010         * locale/locarchive.h (struct locarhandle): Add fname.
57011         * locale/programs/localedef.c (main): Pass ARGV[remaining]
57012         if an optional argument was specified to --list-archive,
57013         otherwise NULL.
57014         * locale/programs/locarchive.c (show_archive_content): Take new
57015         argument fname and pass it via ah.fname to open_archive.
57016         * locale/programs/localedef.h: Update decl.
57017         (open_archive): If AH->fname is non-null, open that file
57018         rather than the default file name, and don't ignore ENOENT.
57019         (create_archive): Set AH.fname to NULL.
57020         (delete_locales_from_archive): Likewise.
57021         (add_locales_to_archive): Likewise.
57022         * locale/programs/locfile.c (write_all_categories): Likewise.
57024 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
57025             Aldy Hernandez  <aldyh@redhat.com>
57027         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
57028         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
57029         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
57030         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
57031         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
57032         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
57033         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
57034         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
57035         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
57036         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
57037         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
57038         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
57039         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
57040         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
57041         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
57042         Likewise.
57043         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
57044         Likewise.
57045         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
57046         Likewise.
57047         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
57048         Likewise.
57049         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
57050         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
57051         Likewise.
57052         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
57053         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
57054         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
57055         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
57056         Likewise.
57057         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
57058         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
57059         * sysdeps/powerpc/preconfigure: Likewise.
57060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
57061         Likewise.
57062         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
57063         Replace contents of file by #include of <fenv_libc.h>.
57064         * sysdeps/powerpc/soft-fp/sfp-machine.h
57065         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
57066         and <sys/prctl.h>.
57067         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
57068         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
57069         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
57070         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
57071         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
57072         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
57073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
57074         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
57075         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
57076         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
57077         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
57078         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
57079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57080         Allow copysignl PLT reference to be missing.
57082 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
57083             Joseph Myers  <joseph@codesourcery.com
57085         [BZ #15948]
57086         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
57087         single character.
57088         (add_to_tablewc): Assert sequence of wide characters is nonempty.
57090 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57092         * elf/tst-tls-dlinfo.c: Don't include tls.h.
57093         * elf/tst-tls1.c: Likewise.
57094         * elf/tst-tls10.h: Likewise.
57095         * elf/tst-tls14.c: Likewise.
57096         * elf/tst-tls2.c: Likewise.
57097         * elf/tst-tls3.c: Likewise.
57098         * elf/tst-tls4.c: Likewise.
57099         * elf/tst-tls5.c: Likewise.
57100         * elf/tst-tls6.c: Likewise.
57101         * elf/tst-tls7.c: Likewise.
57102         * elf/tst-tls8.c: Likewise.
57103         * elf/tst-tls9.c: Likewise.
57104         * elf/tst-tlsmod1.c: Likewise.
57105         * elf/tst-tlsmod13.c: Likewise.
57106         * elf/tst-tlsmod13a.c: Likewise.
57107         * elf/tst-tlsmod14a.c: Likewise.
57108         * elf/tst-tlsmod16a.c: Likewise.
57109         * elf/tst-tlsmod16b.c: Likewise.
57110         * elf/tst-tlsmod2.c: Likewise.
57111         * elf/tst-tlsmod3.c: Likewise.
57112         * elf/tst-tlsmod4.c: Likewise.
57113         * elf/tst-tlsmod5.c: Likewise.
57114         * elf/tst-tlsmod6.c: Likewise.
57116 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
57118         [BZ #12486]
57119         * malloc/malloc.c: remove checks for statistics.
57121 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57123         [BZ #15277]
57124         * inet/inet_net.c (inet_network): Detect additional invalid strings.
57125         * inet/tst-network.c: Add testcase.
57127 2013-10-17  Andreas Schwab  <schwab@suse.de>
57129         [BZ #15218]
57130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
57131         to determine canonical name.
57133 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57135         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
57136         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
57137         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57138         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57139         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57140         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57141         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57142         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57143         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57144         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57145         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57146         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57147         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57148         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57149         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57150         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57151         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57152         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57153         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57154         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57155         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57156         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57157         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57158         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
57159         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
57160         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57161         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57162         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
57163         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57164         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
57165         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57166         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57167         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57168         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57169         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57170         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57171         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57172         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57173         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57174         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57175         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57176         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57177         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57178         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57179         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57180         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57181         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57182         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57183         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57184         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57185         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57186         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57187         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57188         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57189         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57190         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57191         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57192         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57194 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
57196         [BZ #16041]
57197         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
57198         make result into a quiet NaN.
57200 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
57202         * soft-fp/adddf3.c: Fix horizontal whitespace.
57203         * soft-fp/addsf3.c: Likewise.
57204         * soft-fp/addtf3.c: Likewise.
57205         * soft-fp/divdf3.c: Likewise.
57206         * soft-fp/divsf3.c: Likewise.
57207         * soft-fp/divtf3.c: Likewise.
57208         * soft-fp/double.h: Likewise.
57209         * soft-fp/eqdf2.c: Likewise.
57210         * soft-fp/eqsf2.c: Likewise.
57211         * soft-fp/eqtf2.c: Likewise.
57212         * soft-fp/extenddftf2.c: Likewise.
57213         * soft-fp/extended.h: Likewise.
57214         * soft-fp/extendsfdf2.c: Likewise.
57215         * soft-fp/extendsftf2.c: Likewise.
57216         * soft-fp/extendxftf2.c: Likewise.
57217         * soft-fp/fixdfdi.c: Likewise.
57218         * soft-fp/fixdfsi.c: Likewise.
57219         * soft-fp/fixdfti.c: Likewise.
57220         * soft-fp/fixsfdi.c: Likewise.
57221         * soft-fp/fixsfsi.c: Likewise.
57222         * soft-fp/fixsfti.c: Likewise.
57223         * soft-fp/fixtfdi.c: Likewise.
57224         * soft-fp/fixtfsi.c: Likewise.
57225         * soft-fp/fixtfti.c: Likewise.
57226         * soft-fp/fixunsdfdi.c: Likewise.
57227         * soft-fp/fixunsdfsi.c: Likewise.
57228         * soft-fp/fixunsdfti.c: Likewise.
57229         * soft-fp/fixunssfdi.c: Likewise.
57230         * soft-fp/fixunssfsi.c: Likewise.
57231         * soft-fp/fixunssfti.c: Likewise.
57232         * soft-fp/fixunstfdi.c: Likewise.
57233         * soft-fp/fixunstfsi.c: Likewise.
57234         * soft-fp/fixunstfti.c: Likewise.
57235         * soft-fp/floatdidf.c: Likewise.
57236         * soft-fp/floatdisf.c: Likewise.
57237         * soft-fp/floatditf.c: Likewise.
57238         * soft-fp/floatsidf.c: Likewise.
57239         * soft-fp/floatsisf.c: Likewise.
57240         * soft-fp/floatsitf.c: Likewise.
57241         * soft-fp/floattidf.c: Likewise.
57242         * soft-fp/floattisf.c: Likewise.
57243         * soft-fp/floattitf.c: Likewise.
57244         * soft-fp/floatundidf.c: Likewise.
57245         * soft-fp/floatundisf.c: Likewise.
57246         * soft-fp/floatunditf.c: Likewise.
57247         * soft-fp/floatunsidf.c: Likewise.
57248         * soft-fp/floatunsisf.c: Likewise.
57249         * soft-fp/floatunsitf.c: Likewise.
57250         * soft-fp/floatuntidf.c: Likewise.
57251         * soft-fp/floatuntisf.c: Likewise.
57252         * soft-fp/floatuntitf.c: Likewise.
57253         * soft-fp/fmadf4.c: Likewise.
57254         * soft-fp/fmasf4.c: Likewise.
57255         * soft-fp/fmatf4.c: Likewise.
57256         * soft-fp/gedf2.c: Likewise.
57257         * soft-fp/gesf2.c: Likewise.
57258         * soft-fp/getf2.c: Likewise.
57259         * soft-fp/ledf2.c: Likewise.
57260         * soft-fp/lesf2.c: Likewise.
57261         * soft-fp/letf2.c: Likewise.
57262         * soft-fp/muldf3.c: Likewise.
57263         * soft-fp/mulsf3.c: Likewise.
57264         * soft-fp/multf3.c: Likewise.
57265         * soft-fp/negdf2.c: Likewise.
57266         * soft-fp/negsf2.c: Likewise.
57267         * soft-fp/negtf2.c: Likewise.
57268         * soft-fp/op-1.h: Likewise.
57269         * soft-fp/op-2.h: Likewise.
57270         * soft-fp/op-4.h: Likewise.
57271         * soft-fp/op-8.h: Likewise.
57272         * soft-fp/op-common.h: Likewise.
57273         * soft-fp/quad.h: Likewise.
57274         * soft-fp/single.h: Likewise.
57275         * soft-fp/soft-fp.h: Likewise.
57276         * soft-fp/sqrtdf2.c: Likewise.
57277         * soft-fp/sqrtsf2.c: Likewise.
57278         * soft-fp/sqrttf2.c: Likewise.
57279         * soft-fp/subdf3.c: Likewise.
57280         * soft-fp/subsf3.c: Likewise.
57281         * soft-fp/subtf3.c: Likewise.
57282         * soft-fp/truncdfsf2.c: Likewise.
57283         * soft-fp/trunctfdf2.c: Likewise.
57284         * soft-fp/trunctfsf2.c: Likewise.
57285         * soft-fp/trunctfxf2.c: Likewise.
57286         * soft-fp/unorddf2.c: Likewise.
57287         * soft-fp/unordsf2.c: Likewise.
57288         * soft-fp/unordtf2.c: Likewise.
57290 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
57292         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
57293         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
57295 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
57297         * elf/dl-libc.c: Clear initfini list after freeing.
57299 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
57301         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
57302         * soft-fp/addsf3.c: Likewise.
57303         * soft-fp/addtf3.c: Likewise.
57304         * soft-fp/divdf3.c: Likewise.
57305         * soft-fp/divsf3.c: Likewise.
57306         * soft-fp/divtf3.c: Likewise.
57307         * soft-fp/double.h: Likewise.
57308         * soft-fp/eqdf2.c: Likewise.
57309         * soft-fp/eqsf2.c: Likewise.
57310         * soft-fp/eqtf2.c: Likewise.
57311         * soft-fp/extenddftf2.c: Likewise.
57312         * soft-fp/extended.h: Likewise.
57313         * soft-fp/extendsfdf2.c: Likewise.
57314         * soft-fp/extendsftf2.c: Likewise.
57315         * soft-fp/extendxftf2.c: Likewise.
57316         * soft-fp/fixdfdi.c: Likewise.
57317         * soft-fp/fixdfsi.c: Likewise.
57318         * soft-fp/fixdfti.c: Likewise.
57319         * soft-fp/fixsfdi.c: Likewise.
57320         * soft-fp/fixsfsi.c: Likewise.
57321         * soft-fp/fixsfti.c: Likewise.
57322         * soft-fp/fixtfdi.c: Likewise.
57323         * soft-fp/fixtfsi.c: Likewise.
57324         * soft-fp/fixtfti.c: Likewise.
57325         * soft-fp/fixunsdfdi.c: Likewise.
57326         * soft-fp/fixunsdfsi.c: Likewise.
57327         * soft-fp/fixunsdfti.c: Likewise.
57328         * soft-fp/fixunssfdi.c: Likewise.
57329         * soft-fp/fixunssfsi.c: Likewise.
57330         * soft-fp/fixunssfti.c: Likewise.
57331         * soft-fp/fixunstfdi.c: Likewise.
57332         * soft-fp/fixunstfsi.c: Likewise.
57333         * soft-fp/fixunstfti.c: Likewise.
57334         * soft-fp/floatdidf.c: Likewise.
57335         * soft-fp/floatdisf.c: Likewise.
57336         * soft-fp/floatditf.c: Likewise.
57337         * soft-fp/floatsidf.c: Likewise.
57338         * soft-fp/floatsisf.c: Likewise.
57339         * soft-fp/floatsitf.c: Likewise.
57340         * soft-fp/floattidf.c: Likewise.
57341         * soft-fp/floattisf.c: Likewise.
57342         * soft-fp/floattitf.c: Likewise.
57343         * soft-fp/floatundidf.c: Likewise.
57344         * soft-fp/floatundisf.c: Likewise.
57345         * soft-fp/floatunsidf.c: Likewise.
57346         * soft-fp/floatunsisf.c: Likewise.
57347         * soft-fp/floatuntidf.c: Likewise.
57348         * soft-fp/floatuntisf.c: Likewise.
57349         * soft-fp/floatuntitf.c: Likewise.
57350         * soft-fp/fmadf4.c: Likewise.
57351         * soft-fp/fmasf4.c: Likewise.
57352         * soft-fp/fmatf4.c: Likewise.
57353         * soft-fp/gedf2.c: Likewise.
57354         * soft-fp/gesf2.c: Likewise.
57355         * soft-fp/getf2.c: Likewise.
57356         * soft-fp/ledf2.c: Likewise.
57357         * soft-fp/lesf2.c: Likewise.
57358         * soft-fp/letf2.c: Likewise.
57359         * soft-fp/muldf3.c: Likewise.
57360         * soft-fp/mulsf3.c: Likewise.
57361         * soft-fp/multf3.c: Likewise.
57362         * soft-fp/negdf2.c: Likewise.
57363         * soft-fp/negsf2.c: Likewise.
57364         * soft-fp/negtf2.c: Likewise.
57365         * soft-fp/op-1.h: Likewise.
57366         * soft-fp/op-2.h: Likewise.
57367         * soft-fp/op-4.h: Likewise.
57368         * soft-fp/op-8.h: Likewise.
57369         * soft-fp/op-common.h: Likewise.
57370         * soft-fp/quad.h: Likewise.
57371         * soft-fp/single.h: Likewise.
57372         * soft-fp/soft-fp.h: Likewise.
57373         * soft-fp/sqrtdf2.c: Likewise.
57374         * soft-fp/sqrtsf2.c: Likewise.
57375         * soft-fp/sqrttf2.c: Likewise.
57376         * soft-fp/subdf3.c: Likewise.
57377         * soft-fp/subsf3.c: Likewise.
57378         * soft-fp/subtf3.c: Likewise.
57379         * soft-fp/truncdfsf2.c: Likewise.
57380         * soft-fp/trunctfdf2.c: Likewise.
57381         * soft-fp/trunctfsf2.c: Likewise.
57382         * soft-fp/trunctfxf2.c: Likewise.
57383         * soft-fp/unorddf2.c: Likewise.
57384         * soft-fp/unordsf2.c: Likewise.
57385         * soft-fp/unordtf2.c: Likewise.
57387 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
57389         [BZ #15672]
57390         * misc/error.c (error_tail): Fix possible buffer overflow.
57392 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
57394         [BZ #13028]
57395         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
57396         address.
57398 2013-10-14  P. J. McDermott  <pj@pehjota.net>
57400         [BZ #832]
57401         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
57402         testing pipefail option.
57404 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57406         * soft-fp/double.h: Indent preprocessor directives inside #if.
57407         * soft-fp/extended.h: Likewise.
57408         * soft-fp/op-2.h: Likewise.
57409         * soft-fp/op-4.h: Likewise.
57410         * soft-fp/op-common.h: Likewise.
57411         * soft-fp/quad.h: Likewise.
57412         * soft-fp/single.h: Likewise.
57413         * soft-fp/soft-fp.h: Likewise.
57415 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
57417         * iconv/iconv_prog.c: Fix typos.
57418         * stdio-common/psiginfo-data.h: Likewise.
57420 2013-10-12   Reuben Thomas <rrt@sc3d.org>
57422         [BZ #15764]
57423         * locale/setlocale.c: Fix typo.
57425 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57427         [BZ #16036]
57428         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
57429         signaling NaN arguments.
57430         * soft-fp/unordsf2.c (__unordsf2): Likewise.
57431         * soft-fp/unordtf2.c (__unordtf2): Likewise.
57433         [BZ #14910]
57434         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
57435         unordered operands.
57436         * soft-fp/gesf2.c (__gesf2): Likewise.
57437         * soft-fp/getf2.c (__getf2): Likewise.
57438         * soft-fp/ledf2.c (__ledf2): Likewise.
57439         * soft-fp/lesf2.c (__lesf2): Likewise.
57440         * soft-fp/letf2.c (__letf2): Likewise.
57442         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
57443         * soft-fp/eqsf2.c (__eqsf2): Likewise.
57444         * soft-fp/eqtf2.c (__eqtf2): Likewise.
57445         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
57446         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
57447         * soft-fp/fixdfti.c (__fixdfti): Likewise.
57448         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
57449         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
57450         * soft-fp/fixsfti.c (__fixsfti): Likewise.
57451         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
57452         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
57453         * soft-fp/fixtfti.c (__fixtfti): Likewise.
57454         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
57455         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
57456         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
57457         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
57458         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
57459         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
57460         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
57461         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
57462         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
57463         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
57464         * soft-fp/floatdisf.c (__floatdisf): Likewise.
57465         * soft-fp/floatsisf.c (__floatsisf): Likewise.
57466         * soft-fp/floattidf.c (__floattidf): Likewise.
57467         * soft-fp/floattisf.c (__floattisf): Likewise.
57468         * soft-fp/floattitf.c (__floattitf): Likewise.
57469         * soft-fp/floatundidf.c (__floatundidf): Likewise.
57470         * soft-fp/floatundisf.c (__floatundisf): Likewise.
57471         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
57472         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
57473         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
57474         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
57475         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
57476         * soft-fp/gesf2.c (__gesf2): Likewise.
57477         * soft-fp/getf2.c (__getf2): Likewise.
57478         * soft-fp/ledf2.c (__ledf2): Likewise.
57479         * soft-fp/lesf2.c (__lesf2): Likewise.
57480         * soft-fp/letf2.c (__letf2): Likewise.
57482         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
57483         Undefine and redefine.
57484         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
57485         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
57486         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
57487         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
57488         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57489         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
57490         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57491         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
57492         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57493         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
57494         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57495         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
57496         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57497         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
57498         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
57500         [BZ #16032]
57501         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
57502         without decrementing exponent if mantissa >= that for the
57503         denominator, not >.
57504         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
57505         denominator, not >.  Decrement exponent in < case instead of
57506         incrementing in >= case.
57507         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
57508         without decrementing exponent if mantissa >= that for the
57509         denominator, not >.
57511         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
57512         computing saturated result for unsigned overflow.
57514 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57515             Jeff Law  <law@redhat.com>
57517         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
57518         (atan2Mp): Add systemtap probe marker.
57519         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
57520         (__ieee754_log): Add systemtap probe marker.
57521         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
57522         (atanMp): Add systemtap probe marker.
57523         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
57524         (tanMp): Add systemtap probe marker.
57525         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
57526         (__slowexp): Add systemtap probe marker.
57527         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
57528         (__slowpow): Add systemtap probe marker.
57529         * manual/probes.texi: Document probes.
57531 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
57533         [BZ #15362]
57534         * libio/fileops.c (_IO_new_file_write): Return count of bytes
57535         written.
57536         (_IO_new_file_xsputn): Don't return EOF if nothing has been
57537         written.
57538         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
57539         written to buffer but not flushed.
57540         * libio/iofwrite_u.c:  Likewise.
57541         * libio/iopadn.c:  Return bytes returned even if EOF was
57542         encountered.
57543         * libio/iowpadn.c:  Likewise.
57544         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
57545         if _IO_padn does not write the whole buffer.
57546         [!COMPILE_WPRINTF] (PAD): Likewise.
57548 2013-10-10  David S. Miller  <davem@davemloft.net>
57550         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
57551         directory block.
57553 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
57555         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
57556         instead of FSF address.
57557         * soft-fp/fixdfti.c: Likewise.
57558         * soft-fp/fixsfti.c: Likewise.
57559         * soft-fp/fixtfti.c: Likewise.
57560         * soft-fp/fixunsdfti.c: Likewise.
57561         * soft-fp/fixunssfti.c: Likewise.
57562         * soft-fp/fixunstfti.c: Likewise.
57563         * soft-fp/floattidf.c: Likewise.
57564         * soft-fp/floattisf.c: Likewise.
57565         * soft-fp/floattitf.c: Likewise.
57566         * soft-fp/floatuntidf.c: Likewise.
57567         * soft-fp/floatuntisf.c: Likewise.
57568         * soft-fp/floatuntitf.c: Likewise.
57569         * soft-fp/trunctfxf2.c: Likewise.
57571         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
57572         * soft-fp/fixdfti.c: Likewise.
57573         * soft-fp/fixsfti.c: Likewise.
57574         * soft-fp/fixtfti.c: Likewise.
57575         * soft-fp/fixunsdfti.c: Likewise.
57576         * soft-fp/fixunssfti.c: Likewise.
57577         * soft-fp/fixunstfti.c: Likewise.
57578         * soft-fp/floattidf.c: Likewise.
57579         * soft-fp/floattisf.c: Likewise.
57580         * soft-fp/floattitf.c: Likewise.
57581         * soft-fp/floatuntidf.c: Likewise.
57582         * soft-fp/floatuntisf.c: Likewise.
57583         * soft-fp/floatuntitf.c: Likewise.
57584         * soft-fp/trunctfxf2.c: Likewise.
57586 2013-10-10  David S. Miller  <davem@davemloft.net>
57588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57590 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
57592         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57593         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
57594         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
57595         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
57596         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
57597         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
57598         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
57600         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
57601         for NaNs before doing comparisons on argument.
57602         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
57603         Likewise.
57605 2013-10-10  Will Newton  <will.newton@linaro.org>
57607         * malloc/hooks.c (memalign_check): Ensure the value of bytes
57608         passed to _int_memalign does not overflow.
57610 2013-10-10  Torvald Riegel  <triegel@redhat.com>
57612         * scripts/bench.pl: Add include-sources directive.
57613         * benchtests/README: Update documentation.
57615 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
57617         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
57618         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
57619         instead of FP_INIT_ROUNDMODE.
57620         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
57621         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
57623         [BZ #16034]
57624         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
57625         copy class of input value.
57626         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
57627         not handle exceptions.
57628         * soft-fp/negsf2.c (__negsf2): Likewise.
57629         * soft-fp/negtf2.c (__negtf2): Likewise.
57630         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
57632 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
57634         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
57635         semicolon.  From Linux kernel.
57637 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
57639         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
57641 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
57643         [BZ #156]
57644         * manual/socket.texi: Added statement about buffer
57645         for gethostbyname2_r.
57647 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
57649         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
57650         Use .p2align directive instead, throughout.
57651         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57652         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
57653         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
57654         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57655         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57656         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
57657         * sysdeps/x86_64/strchr.S: Likewise.
57658         * sysdeps/x86_64/strrchr.S: Likewise.
57660 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57662         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
57664         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
57666         * sysdeps/generic/math_private.h (__mpsin1): Remove
57667         declaration.
57668         (__mpcos1): Likewise.
57669         (__mpsin): New argument __range_reduce.
57670         (__mpcos): Likewise.
57671         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57672         (slow): Use __mpsin and __mpcos.
57673         (slow1): Likewise.
57674         (slow2): Likewise.
57675         (sloww): Likewise.
57676         (sloww1): Likewise.
57677         (sloww2): Likewise.
57678         (bsloww): Likewise.
57679         (bsloww1): Likewise.
57680         (bsloww2): Likewise.
57681         (cslow2): Likewise.
57682         (csloww): Likewise.
57683         (csloww1): Likewise.
57684         (csloww2): Likewise.
57685         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
57686         range_reduce.  Merge in __mpsin1.
57687         (__mpcos): Likewise.
57688         (__mpsin1): Remove.
57689         (__mpcos1): Likewise.
57691 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
57693         * locale/loadlocale.c (_nl_intern_locale_data): Use
57694         LOCFILE_ALIGNED_P.
57695         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
57696         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
57697         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
57698         obstack data is appropriately aligned.
57699         (obstack_int32_grow_fast): Likewise.
57700         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
57701         * locale/programs/locfile.c (add_locale_uint32): Likewise.
57702         (add_locale_uint32_array): Likewise.
57704 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57706         * benchtests/Makefile: Remove ARGLIST and RET variables.
57707         ($(objpfx)bench-%.c): Pass only function name to the script.
57708         * benchtests/README: Update documentation.
57709         * benchtests/acos-inputs: Add new directives.
57710         * benchtests/acosh-inputs: Likewise.
57711         * benchtests/asin-inputs: Likewise.
57712         * benchtests/asinh-inputs: Likewise.
57713         * benchtests/atan-inputs: Likewise.
57714         * benchtests/atanh-inputs: Likewise.
57715         * benchtests/cos-inputs: Likewise.
57716         * benchtests/cosh-inputs: Likewise.
57717         * benchtests/exp-inputs: Likewise.
57718         * benchtests/log-inputs: Likewise.
57719         * benchtests/pow-inputs: Likewise.
57720         * benchtests/rint-inputs: Likewise.
57721         * benchtests/sin-inputs: Likewise.
57722         * benchtests/sinh-inputs: Likewise.
57723         * benchtests/tan-inputs: Likewise.
57724         * benchtests/tanh-inputs: Likewise.
57725         * scripts/bench.pl: Add support for new directives.
57727 2013-10-07  Alan Modra  <amodra@gmail.com>
57729         * README: Fix careless merge.
57731 2013-10-05  Alan Modra  <amodra@gmail.com>
57733         * NEWS: Mention powerpc64le support and bugs fixed.
57734         * README: Both big-endian and little-endian powerpc64 supported.
57736 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57738         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
57739         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
57740         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
57741         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
57743 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
57745         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
57746         match prototype.
57748 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
57750         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
57751         Move -mhard-float appending from
57752         ports/sysdeps/powerpc/powerpc32/Makefile.
57753         [$(with-fp) = yes] (ASFLAGS): Likewise.
57754         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
57755         * sysdeps/powerpc/nofpu: Move directory from
57756         ports/sysdeps/powerpc/nofpu.
57757         * sysdeps/powerpc/soft-fp: Move directory from
57758         ports/sysdeps/powerpc/soft-fp.
57759         * sysdeps/powerpc/powerpc32/405: Move directory from
57760         ports/sysdeps/powerpc/powerpc32/405.
57761         * sysdeps/powerpc/powerpc32/440: Move directory from
57762         ports/sysdeps/powerpc/powerpc32/440.
57763         * sysdeps/powerpc/powerpc32/464: Move directory from
57764         ports/sysdeps/powerpc/powerpc32/464.
57765         * sysdeps/powerpc/powerpc32/476: Move directory from
57766         ports/sysdeps/powerpc/powerpc32/476.
57767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
57768         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
57769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
57770         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
57771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
57772         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
57773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
57774         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
57775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
57776         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
57777         * README: Update for powerpc-*-linux-gnu software floating point
57778         support in libc.
57780         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
57781         case to powerpc/powerpc32*.
57782         * sysdeps/unix/sysv/linux/configure: Regenerated.
57784         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
57785         (_FPU_MASK_OM): Define as 0x04.
57786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
57787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
57788         0x00c10080.
57789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
57790         0x0000003c.
57791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
57793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
57794         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57795         getcontext_e500.
57796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
57797         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57798         setcontext_e500.
57799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
57800         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
57801         and setcontext_e500.
57803 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
57805         * locale/iso-3166.def: Update iso-1366.def and related occurrences
57807 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57809         * manual/threads.texi (Default Thread Attributes): Fix typo.
57811 2013-10-04  Will Newton  <will.newton@linaro.org>
57813         * malloc/Makefile: Add tst-memalign.
57814         * malloc/tst-memalign.c: New file.
57816         * malloc/tst-posix_memalign.c: Add comments.
57817         (do_test): Add comments and call free on all potentially
57818         allocated pointers. Add space after cast.
57820         * malloc/tst-pvalloc.c: Add comments.
57821         (do_test): Add comments and call free on all potentially
57822         allocated pointers. Remove duplicate check for NULL pointer.
57823         Add space after cast.
57825         * malloc/tst-valloc.c: Add comments.
57826         (do_test): Add comments and call free on all potentially
57827         allocated pointers. Remove duplicate check for NULL pointer.
57828         Add space after cast.
57830 2013-10-04  Alan Modra  <amodra@gmail.com>
57832         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57833         Use stdint types in rather than __attribute__((mode())).
57834         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57836 2013-10-04  Alan Modra  <amodra@gmail.com>
57838         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57839         Correct handling of unaligned relocs for little-endian.
57840         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57842 2013-10-04  Alan Modra  <amodra@gmail.com>
57844         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
57845         * configure: Regenerate.
57846         * nptl/shlib-versions: Powerpc*le starts at 2.18.
57847         * shlib-versions: Likewise.
57849 2013-10-04  Alan Modra  <amodra@gmail.com>
57851         * string/tester.c (test_memrchr): Increment reported test cycle.
57853 2013-10-04  Alan Modra  <amodra@gmail.com>
57855         * string/test-memcpy.c (do_one_test): When reporting errors, print
57856         string address and don't overrun end of string.
57858 2013-10-04  Alan Modra  <amodra@gmail.com>
57860         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
57861         insrdi.  Make better use of reg selection to speed exit slightly.
57862         Schedule entry path a little better.  Remove useless "are we done"
57863         checks on entry to main loop.  Handle wrapping around zero address.
57864         Correct main loop count.  Handle single left-over word from main
57865         loop inline rather than by using loop_small.  Remove extra word
57866         case in loop_small caused by wrong loop count.  Add little-endian
57867         support.
57868         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57869         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
57870         cache hint.
57871         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57872         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
57873         support.  Avoid rlwimi.
57874         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
57876 2013-10-04  Alan Modra  <amodra@gmail.com>
57878         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
57879         insrdi.  Formatting.
57880         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
57881         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57882         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
57883         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57884         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57885         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
57887 2013-10-04  Alan Modra  <amodra@gmail.com>
57889         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
57890         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57891         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
57892         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
57893         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57894         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57895         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57896         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57897         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
57898         use of regs.  Use power7 mtocrf.  Tidy function tails.
57900 2013-10-04  Alan Modra  <amodra@gmail.com>
57902         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
57903         Formatting.  Consistently use rXXX register defines or rN defines.
57904         Use early exit labels that avoid restoring unused non-volatile regs.
57905         Make cr field use more consistent with rWORDn compares.  Rename
57906         regs used as shift registers for unaligned loop, using rN defines
57907         for short lifetime/multiple use regs.
57908         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57909         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
57910         addi 1,1,64 to pop stack frame.  Simplify return value code.
57911         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57913 2013-10-04  Alan Modra  <amodra@gmail.com>
57915         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
57916         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
57917         rather than rlwimi.
57918         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
57919         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
57920         little-endian support.  Correct typos.
57921         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
57922         rather than rlwimi.
57923         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
57924         in loop and entry code to keep "and." results.
57925         (strchr): Add little-endian support.  Comment.  Move cntlzd
57926         earlier in tail.
57927         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
57929 2013-10-04  Alan Modra  <amodra@gmail.com>
57931         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
57932         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
57933         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
57934         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
57936 2013-10-04  Alan Modra  <amodra@gmail.com>
57938         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
57939         (rTMP): Define as r11.
57940         (strcmp): Add little-endian support.  Optimise tail.
57941         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
57942         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57943         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57944         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57945         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57946         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57947         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57949 2013-10-04  Alan Modra  <amodra@gmail.com>
57951         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
57952         little-endian support.  Remove unnecessary "are we done" tests.
57953         Handle "s" wrapping around zero and extremely large "size".
57954         Correct main loop count.  Handle single left-over word from main
57955         loop inline rather than by using small_loop.  Correct comments.
57956         Delete "zero" tail, use "end_max" instead.
57957         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
57959 2013-10-04  Alan Modra  <amodra@gmail.com>
57961         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
57962         support.  Don't branch over align.
57963         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
57964         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
57965         support.  Rearrange tmp reg use to suit.  Comment.
57966         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
57968 2013-10-04  Alan Modra  <amodra@gmail.com>
57970         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
57972 2013-10-04  Alan Modra  <amodra@gmail.com>
57974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
57975         conditional form of branch and link when obtaining pc.
57976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
57978 2013-10-04  Alan Modra  <amodra@gmail.com>
57980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
57981         HIWORD/LOWORD.
57982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
57983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
57985 2013-10-04  Alan Modra  <amodra@gmail.com>
57987         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
57988         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
57989         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
57990         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
57991         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57992         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57993         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
57994         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57995         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
57996         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
57998 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57999             Alistair Popple <alistair@ozlabs.au.ibm.com>
58000             Alan Modra <amodra@gmail.com>
58002         [BZ #15723]
58003         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
58004         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
58005         _dl_hwcap access for little-endian.
58006         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
58007         destroy vmx regs when saving unaligned.
58008         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
58009         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
58010         destroy vmx regs when saving unaligned.
58012 2013-10-04  Alan Modra  <amodra@gmail.com>
58014         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
58015         Don't use a union to pack hi/low value.
58017 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58019         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
58020         for little-endian.
58021         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58022         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
58023         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58024         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58025         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58027 2013-10-04  Alan Modra  <amodra@gmail.com>
58029         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
58030         constants to usual value for .cst8 section, and remove redundant
58031         high address load.
58032         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
58033         constant for 0x1p52.  Load little-endian words of double from
58034         correct stack offsets.
58036 2013-10-04  Alan Modra  <amodra@gmail.com>
58038         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
58039         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
58040         words of double from correct stack offsets.
58041         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
58042         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
58043         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58044         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58045         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58046         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58047         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58048         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
58049         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
58050         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58051         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58052         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58053         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58054         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58055         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58056         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
58057         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
58059 2013-10-04  Alan Modra  <amodra@gmail.com>
58061         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
58062         64-bit int/double union.
58063         (_FPU_SETCW): Likewise.
58064         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
58065         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
58067 2013-10-04  Alan Modra  <amodra@gmail.com>
58069         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
58070         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
58072 2013-10-04  Alan Modra  <amodra@gmail.com>
58074         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
58075         use vector int constants.
58076         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
58078 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58080         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
58081         array with long long.
58082         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
58083         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
58084         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
58085         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
58086         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
58087         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
58088         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
58089         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
58090         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
58091         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
58092         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
58093         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
58094         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
58096 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58098         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
58099         (__signbit): Likewise.  Correct for little-endian.
58100         (__signbitl): Call __signbit.
58101         (lrint): Correct for little-endian.
58102         (lrintf): Call lrint.
58104 2013-10-04  Alan Modra  <amodra@gmail.com>
58106         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
58107         union 32-bit int array member with 64-bit int array.
58108         (t515, tm256): Double rather than long double.
58109         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
58111 2013-10-04  Alan Modra  <amodra@gmail.com>
58113         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
58114         Delete.
58115         (IEEE854_LONG_DOUBLE_BIAS): Delete.
58116         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
58117         version of math_ldbl.h.
58119 2013-10-04  Alan Modra  <amodra@gmail.com>
58121         [BZ #15734], [BZ #15735]
58122         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
58123         all uses of ieee875 long double macros and unions.  Simplify test
58124         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
58125         ldbl_extract_mantissa value for ix,iy exponents.  Properly
58126         normalize after ldbl_extract_mantissa, and don't add hidden bit
58127         already handled.  Don't treat low word of ieee854 mantissa like
58128         low word of IBM long double and mask off bit when testing for
58129         zero.
58130         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
58131         all uses of ieee875 long double macros and unions.  Simplify tests
58132         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
58133         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
58134         two1022, instead use their values.  Recognise that tests for large
58135         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
58136         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
58137         Rewrite all uses of ieee875 long double macros and unions.  Simplify
58138         test for 0.0L and nan.  Correct negation.
58139         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
58140         ieee875 long double macros and unions.  Correct output for large
58141         magnitude x.  Correct absolute value calculation.
58142         (__erfcl): Likewise.
58143         * math/libm-test.inc: Add tests for errors discovered in IBM long
58144         double versions of fmodl, remainderl, erfl and erfcl.
58146 2013-10-04  Alan Modra  <amodra@gmail.com>
58148         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
58149         all uses of ieee854 long double macros and unions.  Simplify tests
58150         for long doubles that are fully specified by the high double.
58151         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
58152         Likewise.
58153         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
58154         Remove dead code too.
58155         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
58156         (__ieee754_ynl): Likewise.
58157         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
58158         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
58159         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
58160         Remove dead code too.
58161         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
58162         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
58163         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
58164         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
58165         Simplify.
58166         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
58167         Simplify.
58168         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
58169         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
58170         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
58171         Comment on variable precision.
58172         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
58173         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58174         Likewise.
58175         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
58176         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58177         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58178         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
58179         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
58181 2013-10-04  Alan Modra  <amodra@gmail.com>
58183         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
58184         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
58185         all uses of ieee854 long double macros and unions.
58186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
58187         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58188         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
58189         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
58190         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
58191         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58192         Likewise.
58193         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
58194         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58195         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
58196         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58197         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
58198         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
58199         Simplify sign and nan test too.
58200         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
58201         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
58202         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
58203         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
58204         Likewise.
58205         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58206         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
58207         Likewise.
58208         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58209         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
58210         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
58211         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
58212         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
58213         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
58215 2013-10-04  Alan Modra  <amodra@gmail.com>
58217         * stdio-common/printf_size.c (__printf_size): Don't use
58218         union ieee854_long_double in fpnum union.
58219         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
58220         signbit macro to retrieve sign from long double.
58221         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
58222         retrieve sign from long double.
58223         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
58224         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
58225         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
58226         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58227         * math/test-misc.c (main): Don't use union ieee854_long_double.
58229 2013-10-04  Alan Modra  <amodra@gmail.com>
58231         [BZ #15680]
58232         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
58233         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
58234         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
58235         calculation.  Remove unnecessary test for denormal exponent.
58236         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
58237         Correct handling of denormals.  Avoid undefined shift behaviour.
58238         Correct normalisation of low mantissa when low double is denormal.
58239         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
58240         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
58241         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
58242         Correct normalisation of low mantissa.  Test for overflow of high
58243         mantissa and normalise.
58244         (ldbl_nearbyint): Use more readable constant for two52.
58245         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
58246         (__mpn_construct_long_double): Fix test for overflow of high
58247         mantissa and correct normalisation.  Avoid undefined shift.
58249 2013-10-04  Alan Modra  <amodra@gmail.com>
58251         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58252         (union ibm_extended_long_double): Define as an array of ieee754_double.
58253         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
58254         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
58255         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
58256         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58257         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58258         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
58259         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58260         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58261         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58262         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
58263         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58265 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
58267         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
58268         page size instead of calling getpagesize.
58270         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
58271         (LOCFILE_ALIGN_MASK): Likewise.
58272         (LOCFILE_ALIGN_UP): Likewise.
58273         (LOCFILE_ALIGNED_P): Likewise.
58274         * locale/programs/ld-collate.c (collate_output): Use the new
58275         macros instead of __alignof__ (int32_t).
58276         * locale/weight.h (findidx): Likewise.
58278 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
58280         [BZ #431]
58281         * manual/string.texi: Fix strncat and wcsncat.
58283 2013-10-03  Brooks Moses  <bmoses@google.com>
58285         [BZ #15915]
58286         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
58287         * Makerules: ...here, and adjust associated comments.
58289 2013-10-02  Will Newton  <will.newton@linaro.org>
58291         * malloc/Makefile: Add tst-pvalloc.
58292         * malloc/tst-pvalloc.c: New file.
58294 2013-10-02  Will Newton  <will.newton@linaro.org>
58296         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
58297         improve test coverage.
58299 2013-10-02  Will Newton  <will.newton@linaro.org>
58301         * malloc/Makefile: Add tst-posix_memalign.
58302         * malloc/tst-posix_memalign.c: New file.
58304 2013-10-01  Eric Blake  <eblake@redhat.com>
58306         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
58307         Use __THROWNL rather than __THROW on static functions.
58309 2013-09-30  Petr Machata  <pmachata@redhat.com>
58311         * elf/elf.h (R_AARCH64_ABS16): New macro.
58312         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
58313         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
58314         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
58315         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
58316         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
58317         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
58318         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
58319         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
58320         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
58321         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
58322         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
58323         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
58324         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
58325         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
58326         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
58327         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
58328         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
58329         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
58330         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
58331         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
58332         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
58333         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
58334         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
58335         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
58336         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
58337         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
58338         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
58339         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
58340         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
58341         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
58342         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
58343         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
58344         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
58345         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
58346         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
58347         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
58348         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
58349         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
58350         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
58351         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
58352         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
58353         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
58354         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
58355         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
58356         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
58357         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
58358         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
58359         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
58360         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
58361         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
58362         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
58363         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
58364         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
58365         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
58366         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
58367         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
58368         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
58369         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
58370         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
58371         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
58372         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
58373         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
58374         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
58375         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
58376         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
58377         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
58378         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
58379         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
58380         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
58381         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
58382         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
58383         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
58384         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
58385         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
58386         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
58387         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
58388         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
58389         (R_AARCH64_TLSDESC_LDR): Likewise.
58390         (R_AARCH64_TLSDESC_ADD): Likewise.
58391         (R_AARCH64_TLSDESC_CALL): Likewise.
58393 2013-09-30  Andreas Schwab  <schwab@suse.de>
58395         [BZ #15048]
58396         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
58397         the nss database lookup.
58398         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58401 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
58403         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
58405 2013-09-28  P. J. McDermott  <pj@pehjota.net>
58407         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
58408         ${Bash-specific parameter/pattern/string} parameter expansion.
58409         * sysdeps/unix/make-syscalls.sh: Likewise.
58411 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58413         * sysdeps/sh/stackguard-macros.h: New file.
58415 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
58417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
58419         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
58420         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
58421         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58422         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
58424 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58426         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
58427         Fix thread ID register.
58429 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
58431         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
58432         [POSIX || UNIX98]: Require rather than permitting all symbols from
58433         <time.h>.
58434         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
58435         element of struct sched_param.
58436         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
58437         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
58438         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
58439         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
58440         constant.
58442 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
58444         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
58445         argument calculation.
58447 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
58449         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
58450         Expect macro.
58451         [POSIX] (pthread_attr_t): Do not require type.
58452         [POSIX] (pthread_cond_t): Likewise.
58453         [POSIX] (pthread_condattr_t): Likewise.
58454         [POSIX] (pthread_key_t): Likewise.
58455         [POSIX] (pthread_mutex_t): Likewise.
58456         [POSIX] (pthread_mutexattr_t): Likewise.
58457         [POSIX] (pthread_once_t): Likewise.
58458         [POSIX] (pthread_t): Likewise.
58459         [POSIX-based standards] (pthread_atfork): Expect function.
58461 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
58462             Richard Sandiford  <richard@codesourcery.com>
58464         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
58465         (swap_endianness_p): New extern variable.
58466         (set_big_endian): New inline function.
58467         (maybe_swap_uint32): Likewise.
58468         (maybe_swap_uint32_array): Likewise.
58469         (maybe_swap_uint32_obstack): Likewise.
58470         * locale/programs/locfile.c: Include <stdbool.h>.
58471         (swap_endianness_p): New variable.
58472         (add_locale_uint32): Call maybe_swap_uint32.
58473         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
58474         (write_locale_data): Call maybe_swap_uint32_array.
58475         * locale/programs/ld-collate.c (obstack_int32_grow): Call
58476         maybe_swap_uint32.
58477         (obstack_int32_grow_fast): Likewise.
58478         (output_weightwc): Call maybe_swap_uint32_obstack.
58479         (collate_output): Likewise.
58480         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
58481         (OPT_LITTLE_ENDIAN): Likewise.
58482         (options): Add --little-endian and --big-endian options.
58483         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
58484         * locale/programs/locarchive.c: Include "locfile.h".
58485         (GET): New macro.
58486         (SET): Likewise.
58487         (INC): Likewise.
58488         (create_archive): Use the new macros to access fields of
58489         structures directly mapped from or written to locale archives.
58490         (oldlocrecentcmp): Likewise.
58491         (enlarge_archive): Likewise.
58492         (insert_name): Likewise.
58493         (add_alias): Likewise.
58494         (add_locale): Likewise.
58495         (delete_locales_from_archive): Likewise.
58496         (show_archive_content): Likewise.
58497         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
58498         locale data.
58500 2013-09-24  Roland McGrath  <roland@hack.frob.com>
58502         * manual/freemanuals.texi: Updated from (newly) canonical copy at
58503         http://www.gnu.org/doc/freemanuals.texi.
58504         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
58506 2013-09-24  Will Newton  <will.newton@linaro.org>
58508         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
58509         macro.
58511 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
58513         * locale/hashval.h (compute_hashval): Interpret bytes of key as
58514         unsigned char.
58516 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
58518         * manual/threads.texi (POSIX Threads): Fix a typo.
58520 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
58522         [BZ #14547]
58523         * string/tst-strcoll-overflow.c: New test case.
58524         * string/Makefile (xtests): Add tst-strcoll-overflow.
58525         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
58526         cache if string sizes may cause integer overflow.
58528         [BZ #14547]
58529         * string/strcoll_l.c (coll_seq): New members rule, idx,
58530         save_idx and back_us.
58531         (get_next_seq_nocache): New function.
58532         (do_compare_nocache): New function.
58533         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
58534         when malloc fails.
58536 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
58538         [BZ #15754]
58539         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
58540         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
58541         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
58543         [BZ #15754]
58544         * elf/Makefile (tests): Add tst-ptrguard1.
58545         (tests-static): Add tst-ptrguard1-static.
58546         (tst-ptrguard1-ARGS): Define.
58547         (tst-ptrguard1-static-ARGS): Define.
58548         * elf/tst-ptrguard1.c: New file.
58549         * elf/tst-ptrguard1-static.c: New file.
58550         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
58551         * sysdeps/i386/stackguard-macros.h: Likewise.
58552         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58553         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58554         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58555         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58556         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58557         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58559 2013-09-23  Hector Marco  <hecmargi@upv.es>
58560             Ismael Ripoll  <iripoll@disca.upv.es>
58561             Carlos O'Donell  <carlos@redhat.com>
58563         [BZ #15754]
58564         * sysdeps/generic/stackguard-macros.h: Define
58565         __pointer_chk_guard_local and POINTER_CHK_GUARD.
58566         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
58567         Define __pointer_chk_guard_local.
58568         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
58569         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
58571 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
58573         [BZ #15859]
58574         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
58576 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
58578         * include/string.h (__ffs): Declare as hidden.
58579         * string/ffs.c (__ffs): Define as hidden.
58580         * sysdeps/i386/ffs.c (__ffs): Likewise.
58581         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
58582         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
58583         * sysdeps/s390/ffs.c (__ffs): Likewise.
58584         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
58586 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
58588         * NEWS: Mention malloc probes.
58590         * malloc/arena.c (new_heap): New memory_heap_new probe.
58591         (grow_heap): New memory_heap_more probe.
58592         (shrink_heap): New memory_heap_less probe.
58593         (heap_trim): New memory_heap_free probe.
58594         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
58595         (systrim): New memory_sbrk_less probe.
58596         * manual/probes.texi: Document them.
58598         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
58599         * manual/probes.texi: Document it.
58601         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
58602         (__libc_realloc): Add memory_realloc_retry probe.
58603         (__libc_memalign): Add memory_memalign_retry probe.
58604         (__libc_valloc): Add memory_valloc_retry probe.
58605         (__libc_pvalloc): Add memory_pvalloc_retry probe.
58606         (__libc_calloc): Add memory_calloc_retry probe.
58607         * manual/probes.texi: Document them.
58609         * malloc/arena.c (get_free_list): Add probe
58610         memory_arena_reuse_free_list.
58611         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
58612         and memory_arena_reuse.
58613         (arena_get2) [!PER_THREAD]: Likewise.
58614         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
58615         memory_arena_reuse_realloc.
58616         * manual/probes.texi: Document them.
58618         * malloc/malloc.c (__libc_free): Add
58619         memory_mallopt_free_dyn_thresholds probe.
58620         (__libc_mallopt): Add multiple memory_mallopt probes.
58621         * manual/probes.texi: Document them.
58623         * malloc/malloc.c: Include stap-probe.h.
58624         (__libc_mallopt): Add memory_mallopt probe.
58625         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
58626         * manual/probes.texi: New.
58627         * manual/Makefile (chapters): Add probes.
58628         * manual/threads.texi: Set next node.
58630 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
58632         [BZ #15963, #13985]
58633         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
58634         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
58635         Add `Chinese' to `nan' entry name.
58637 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58639         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
58640         (POLYNOMIAL): Likewise.
58641         (TAYLOR_SINCOS): Likewise.
58642         (TAYLOR_SLOW): Likewise.
58643         (__sin): Use TAYLOR_SINCOS.
58644         (__cos): Likewise.
58645         (slow): Use TAYLOR_SLOW.
58646         (sloww): Likewise.
58647         (bsloww): Likewise.
58648         (csloww): Likewise.
58650 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58652         * stdlib/strtod_l.c: Fix buffer overrun.
58654 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58656         * benchtests/Makefile (bench): Add sincos.
58657         * benchtests/bench-sincos.c: New file.
58659         * math/libm-test.inc (cos_test_data): New test inputs.
58660         (sin_test_data): Likewise.
58662         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
58663         macro.
58664         (__sin): Use it.
58665         (__cos): Likewise.
58666         (slow1): Likewise.
58667         (slow2): Likewise.
58668         (sloww1): Likewise.
58669         (sloww2): Likewise.
58670         (bsloww1): Likewise.
58671         (bsloww2): Likewise.
58672         (cslow2): Likewise.
58673         (csloww1): Likewise.
58674         (csloww2): Likewise.
58676         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
58677         function.
58678         (__sin): Use it.
58679         (__cos): Likewise.
58681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
58682         gotos.
58683         (__cos): Likewise.
58685 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
58687         * config.h.in (HAVE_MIPS_NAN2008): New macro.
58688         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
58689         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
58690         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
58691         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
58692         * elf/cache.c (print_entry): Handle the new cache flags.
58694 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58695             Aldy Hernandez  <aldyh@redhat.com>
58697         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
58698         Change condition to [_SOFT_FLOAT].
58699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
58700         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
58701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
58702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
58703         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
58704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
58705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
58706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
58707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
58708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
58709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
58710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
58711         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
58712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
58713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
58714         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
58715         declaration.
58717 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58719         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
58720         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58721         (__longjmp): Use LOAD_GP to load saved GPRs.
58722         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
58723         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58724         (__sigsetjmp): Use SAVE_GP to save GPRs.
58726         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
58727         Do not append -msoft-float.
58728         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
58730 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58732         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
58734 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
58736         [BZ #15966]
58737         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
58738         (_FPU_GETCW): Use initial "__" on variable and field names but not
58739         on macro parameter name.
58740         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
58741         parentheses around reference to macro parameter.
58743 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
58745         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
58746         prototype.
58747         (ctype_startup): Use uint32_t in cast and sizeof for
58748         ctype->charnames.
58750 2013-09-11  Jia Liu  <proljc@gmail.com>
58752         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
58753         __daddr_t_defined.
58754         [__FreeBSD__]: Likewise.
58756 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
58758         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
58759         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
58760         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
58761         (strchr): Remove __strchr_sse42 ifunc selection.
58762         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
58763         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
58765 2013-09-11  Will Newton  <will.newton@linaro.org>
58767         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
58768         parameter to RES. Remove hardcoded 1000 value.
58769         * benchtests/bench-skeleton.c (main): Pass RES parameter
58770         to TIMING_INIT and multiply result by 1000.
58772 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58776 2013-09-11  Andreas Schwab  <schwab@suse.de>
58778         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
58779         if not defined.
58780         (O_TMPFILE) [__USE_GNU]: Define.
58781         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
58782         Define.
58784 2013-09-11  Will Newton  <will.newton@linaro.org>
58786         [BZ #15857]
58787         * malloc/malloc.c (__libc_memalign): Check the value of bytes
58788         does not overflow.
58790 2013-09-11  Will Newton  <will.newton@linaro.org>
58792         [BZ #15856]
58793         * malloc/malloc.c (__libc_valloc): Check the value of bytes
58794         does not overflow.
58796 2013-09-11  Will Newton  <will.newton@linaro.org>
58798         [BZ #15855]
58799         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
58800         does not overflow.
58802 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
58804         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
58805         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58806         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58807         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58808         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58810 2013-09-10  Allan McRae  <allan@archlinux.org>
58812         [BZ #15748]
58813         * manual/arith.texi (Parsing of Floats): Clarify
58814         cross-reference.
58816         [BZ #15849]
58817         * manual/install.texi (Running make install): Mention
58818         --enable-pt-chown.
58819         * INSTALL: Regenerated.
58821 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
58823         * csu/init-first.c (_init): Remove the !SHARED condition around
58824         FPU control word initialization.
58825         * elf/dl-support.c (_dl_fpu_control): New variable.
58826         (_dl_aux_init) <AT_FPUCW>: Initialize it.
58827         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
58828         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
58829         * math/test-fpucw-static.c: New file.
58830         * math/test-fpucw-ieee.c: New file.
58831         * math/test-fpucw-ieee-static.c: New file.
58832         * math/Makefile (tests): Add `test-fpucw-ieee' and
58833         `$(tests-static)'.
58834         (tests-static): New variable.
58835         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
58836         dependency to...
58837         [($(build-shared),yes)]
58838         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
58839         ... this.
58840         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
58841         New dependency.
58843 2013-09-09  Allan McRae  <allan@archlinux.org>
58845         [BZ #15939]
58846         * manual/string.texi (Collation Functions): Fix typo in
58847         strcoll example.
58848         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
58850         [BZ #15893]
58851         * stdlib/isomac.c (get_null_defines): Fix memory leak.
58853         [BZ #15892]
58854         * libio/memstream.c (open_memstream): Fix memory leak.
58855         * libio/wmemstream.c (open_wmemstream): Likewise.
58857         [BZ #15895]
58858         * nscd/netgroupcache.c: Fix nesting of ifdefs.
58860 2013-09-09  Will Newton  <will.newton@linaro.org>
58862         * malloc/Makefile: Add tst-realloc to tests.
58863         * malloc/tst-realloc.c: New file.
58865 2013-09-09  Allan McRae  <allan@archlinux.org>
58867         [BZ #15844]
58868         * COPYING: Update from GNU website to fix FSF address.
58869         * COPYING.LIB: Likewise.
58871 2013-09-06  David S. Miller  <davem@davemloft.net>
58873         * po/zh_TW.po: Update Chinese (traditional) translation from
58874         translation project.
58876 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
58877             Joseph Myers  <joseph@codesourcery.com>
58879         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
58880         "localeinfo.h".
58881         (obstack_chunk_alloc): New macro.
58882         (obstack_chunk_free): Likewise.
58883         (record_offset): New function.
58884         (init_locale_data): Likewise.
58885         (align_locale_data): Likewise.
58886         (add_locale_empty): Likewise.
58887         (add_locale_raw_data): Likewise.
58888         (add_locale_raw_obstack): Likewise.
58889         (add_locale_string): Likewise.
58890         (add_locale_wstring): Likewise.
58891         (add_locale_uint32): Likewise.
58892         (add_locale_uint32_array): Likewise.
58893         (add_locale_char): Likewise.
58894         (start_locale_structure): Likewise.
58895         (end_locale_structure): Likewise.
58896         (start_locale_prelude): Likewise.
58897         (end_locale_prelude): Likewise.
58898         (write_locale_data): Take locale_file structure rather than an
58899         iovec.
58900         * locale/programs/locfile.h: Include "obstack.h".
58901         (struct locale_file): Change to store locale file contents instead
58902         of header.
58903         (init_locale_data): New prototype.
58904         (align_locale_data): Likewise.
58905         (add_locale_empty): Likewise.
58906         (add_locale_raw_data): Likewise.
58907         (add_locale_raw_obstack): Likewise.
58908         (add_locale_string): Likewise.
58909         (add_locale_wstring): Likewise.
58910         (add_locale_uint32): Likewise.
58911         (add_locale_uint32_array): Likewise.
58912         (add_locale_char): Likewise.
58913         (start_locale_structure): Likewise.
58914         (end_locale_structure): Likewise.
58915         (start_locale_prelude): Likewise.
58916         (end_locale_prelude): Likewise.
58917         (write_locale_data): Update prototype.
58918         * locale/programs/3level.h (struct TABLE): Remove result field.
58919         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
58920         Use new locale_file interface.
58921         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
58922         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
58923         * locale/programs/ld-address.c (address_output): Use new
58924         locale_file interface.
58925         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
58926         NO_ADD_LOCALE.
58927         (collate_finish): Don't call collseq_table_finalize.
58928         (collate_output): Use new locale_file interface.
58929         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
58930         in file.
58931         (NO_FINALIZE): Change to NO_ADD_LOCALE.
58932         (TABLE): Move defines earlier in file.
58933         (ELEMENT): Likewise.
58934         (DEFAULT): Likewise.
58935         (wctrans_table_add): Move macro and inline function earlier in
58936         file.
58937         (struct wctype_table): Move type earlier in file.
58938         (add_locale_wctype_table): New static prototype.
58939         (struct locale_ctype_t): Use logical types instead of struct iovec
58940         pointers for members.
58941         (ctype_output): Use new locale_file interface.
58942         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
58943         new locale_file interface.
58944         (allocate_arrays): Update for use of new locale_file interface.
58945         * locale/programs/ld-identification.c (identification_output): Use
58946         new locale_file interface.
58947         * locale/programs/ld-measurement.c (measurement_output): Likewise.
58948         * locale/programs/ld-messages.c (messages_output): Likewise.
58949         * locale/programs/ld-monetary.c (monetary_output): Likewise.
58950         * locale/programs/ld-name.c (name_output): Likewise.
58951         * locale/programs/ld-numeric.c (numeric_output): Likewise.
58952         * locale/programs/ld-paper.c (paper_output): Likewise.
58953         * locale/programs/ld-telephone.c (telephone_output): Likewise.
58954         * locale/programs/ld-time.c (time_output): Likewise.
58956 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58958         * benchtests/Makefile: Add memrchr benchmark.
58959         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
58960         benchmark as memrchr.
58961         * benchtests/bench-memrchr-ifunc.c: New file.
58962         * benchtests/bench-memrchr.c: New file.
58964 2013-09-06   Will Newton  <will.newton@linaro.org>
58966         * benchtests/Makefile (string-bench): Add memcpy.
58968 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
58969             Cong Wang  <amwang@redhat.com>
58971         [BZ #15850]
58972         * sysdeps/unix/sysv/linux/bits/in.h
58973         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
58974         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
58975         before __USE_KERNEL_IPV6_DEFS uses.
58976         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
58977         IPPROTO_BEETPH.
58978         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
58979         sockaddr_in6, or ipv6_mreq.
58981 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58983         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
58984         memory access for final bytes in some large inputs.
58985         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
58987 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58989         * string/test-memrchr.c: New file.
58990         * string/test-memrchr-ifunc.c: New file.
58991         * string/Makefile: Add new memrchr testcase.
58993 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
58995         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
58996         fanotify_init returns EPERM.
58998 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59000         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
59001         errors.
59002         (top level): Treat second token from macro or constant entries for
59003         allowed headers as allowed.
59004         * include/complex.h: Condition internal declarations on
59005         [!_ISOMAC].
59006         * include/fenv.h: Condition include of <stdbool.h> and internal
59007         declarations on [!_ISOMAC].
59009 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
59011         [BZ #15923]
59012         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
59014 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59016         * configure.in (--enable-versioning): Remove configure option.
59017         (libc_cv_asm_symver_directive): Remove configure test.
59018         (libc_cv_ld_version_script_option): Likewise.
59019         (VERSIONING): Remove variable and AC_SUBST.
59020         (DO_VERSIONING): Remove AC_DEFINE.
59021         * configure: Regenerated.
59022         * config.h.in (DO_VERSIONING): Remove macro.
59023         * Makerules [$(versioning) = yes]: Change conditionals to
59024         [$(build-shared) = yes].
59025         * config.make.in (versioning): Remove variable.
59026         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
59027         [$(build-shared) = yes].
59028         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
59029         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
59030         * elf/Makefile [$(versioning) = yes]: Change conditionals to
59031         [$(build-shared) = yes].
59032         * extra-lib.mk [$(versioning) = yes]: Likewise.
59033         * hurd/Makefile [$(versioning) = yes]: Likewise.
59034         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
59035         [SHARED].
59036         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
59037         [SHARED].
59038         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59039         [SHARED && !NO_HIDDEN].
59040         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
59041         [SHARED].
59042         [SHARED && DO_VERSIONING]: Likewise..
59043         * libio/Makefile [$(versioning) = yes]: Change conditionals to
59044         [$(build-shared) = yes].
59045         * manual/install.texi (--disable-versioning): Remove
59046         documentation.
59047         * INSTALL: Regenerated.
59048         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
59049         to [SHARED].
59050         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
59051         [$(build-shared) = yes].
59052         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
59053         * sysdeps/i386/i686/multiarch/strstr-c.c
59054         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59055         [SHARED && !NO_HIDDEN].
59056         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
59057         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
59058         * sysdeps/powerpc/powerpc32/dl-machine.c
59059         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
59060         * sysdeps/powerpc/powerpc32/sysdep.h
59061         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
59062         to [SHARED && PIC && !NO_HIDDEN].
59063         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
59064         conditional to [SHARED].
59066 2013-09-04   Will Newton  <will.newton@linaro.org>
59068         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
59069         * benchtests/bench-string.h: Include bench-timing.h instead
59070         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
59071         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
59072         call to HP_TIMING_DIFF_INIT.
59073         * benchtests/bench-memccpy.c: Use bench-timing.h macros
59074         instead of hp-timing.h macros.
59075         * benchtests/bench-memchr.c: Likewise.
59076         * benchtests/bench-memcmp.c: Likewise.
59077         * benchtests/bench-memcpy.c: Likewise.
59078         * benchtests/bench-memmem.c: Likewise.
59079         * benchtests/bench-memmove.c: Likewise.
59080         * benchtests/bench-memset.c: Likewise.
59081         * benchtests/bench-rawmemchr.c: Likewise.
59082         * benchtests/bench-strcasecmp.c: Likewise.
59083         * benchtests/bench-strcasestr.c: Likewise.
59084         * benchtests/bench-strcat.c: Likewise.
59085         * benchtests/bench-strchr.c: Likewise.
59086         * benchtests/bench-strcmp.c: Likewise.
59087         * benchtests/bench-strcpy.c: Likewise.
59088         * benchtests/bench-strcpy_chk.c: Likewise.
59089         * benchtests/bench-strlen.c: Likewise.
59090         * benchtests/bench-strncasecmp.c: Likewise.
59091         * benchtests/bench-strncat.c: Likewise.
59092         * benchtests/bench-strncmp.c: Likewise.
59093         * benchtests/bench-strncpy.c: Likewise.
59094         * benchtests/bench-strnlen.c: Likewise.
59095         * benchtests/bench-strpbrk.c: Likewise.
59096         * benchtests/bench-strrchr.c: Likewise.
59097         * benchtests/bench-strspn.c: Likewise.
59098         * benchtests/bench-strstr.c: Likewise.
59100 2013-09-04  Will Newton  <will.newton@linaro.org>
59102         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
59104 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
59106         [BZ #15427]
59107         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
59108         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
59109         * math/libm-test.inc (lgamma_test_data): Add more tests.
59110         * sysdeps/i386/fpu/libm-test-ulps: Update.
59111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59113 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
59115         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
59116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59117         Add ifunc.
59118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59119         Add strcmp-sse2-unaligned
59120         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
59122 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59124         * Versions.def (libc): Add GLIBC_2.19.
59126 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59128         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
59129         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
59131 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
59133         [BZ #14155]
59134         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
59135         intermediate calculations in recurrence.
59136         (__ieee754_ynf): Likewise.
59137         * math/libm-test.inc (jn_test_data): Do not allow spurious
59138         underflow exception.  Add more tests.
59139         (yn_test_data): Add more tests.
59140         * sysdeps/i386/fpu/libm-test-ulps: Update.
59141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59143 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
59145         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
59147 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59149         * csu/init-first.c: Fix then/than typos.
59150         * locale/programs/ld-collate.c: Likewise.
59151         * locale/programs/linereader.h: Likewise.
59152         * manual/charset.texi: Likewise.
59153         * manual/filesys.texi: Likewise.
59154         * manual/stdio.texi: Likewise.
59155         * manual/string.texi: Likewise.
59156         * stdlib/fmtmsg.c: Likewise.
59157         * sysdeps/i386/stpncpy.S: Likewise.
59158         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59159         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59160         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59161         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59163 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59165         * elf/dl-open.c: Fix typos.
59166         * iconvdata/gbbig5.c: Likewise.
59167         * iconvdata/iso-2022-jp.c: Likewise.
59168         * iconv/gconv_int.h: Likewise.
59169         * iconv/loop.c: Likewise.
59170         * nis/rpcsvc/nis.h: Likewise.
59171         * resolv/ns_name.c: Likewise.
59172         * stdio-common/vfscanf.c: Likewise.
59173         * streams/stropts.h: Likewise.
59174         * sunrpc/rpc_thread.c: Likewise.
59175         * sysdeps/i386/strpbrk.S: Likewise.
59176         * sysdeps/ieee754/k_standard.c: Likewise.
59177         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59178         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59179         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
59180         * sysdeps/mach/hurd/profil.c: Likewise.
59181         * sysdeps/s390/dl-procinfo.h: Likewise.
59182         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
59183         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
59184         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
59185         * sysdeps/x86_64/dl-trampoline.S: Likewise.
59186         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59188 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
59190         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
59191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
59193 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
59195         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
59196         aix specific files.
59197         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
59198         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
59199         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
59200         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
59201         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
59202         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
59203         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
59204         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
59206 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59207             Roland McGrath  <roland@hack.frob.com>
59209         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
59210         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
59212 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59214         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
59215         __executable_start symbol instead of _start.
59217 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59219         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
59220         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
59221         Move macros to...
59222         * sysdeps/gnu/ldsodefs.h: ... this new file.
59224         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
59225         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
59226         instead of ELFOSABI_LINUX.
59228         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
59229         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
59230         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
59231         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
59232         Likewise.
59233         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
59234         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
59235         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
59236         Likewise.
59237         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59238         (ibm_extended_long_double): Add ieee_nan member.
59239         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
59240         (do_test): New function.
59242         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
59243         TEST_TRUNC.
59244         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
59245         functions, renamed from truncdfsf_test, trunctfsf_test,
59246         trunctfdf_test.
59247         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
59248         functions.
59249         (do_test): Run all these.
59251 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
59253         * argp/argp-help.c: Fix typos.
59254         * argp/argp-parse.c: Likewise.
59255         * debug/backtracesyms.c: Likewise.
59256         * elf/elf.h: Likewise.
59257         * malloc/malloc.c: Likewise.
59258         * nis/nis_print.c: Likewise.
59259         * resolv/res_comp.c: Likewise.
59260         * stdlib/stdlib.h: Likewise.
59261         * sunrpc/clnt_tcp.c: Likewise.
59262         * sunrpc/clnt_udp.c: Likewise.
59263         * sunrpc/clnt_unix.c: Likewise.
59264         * sysdeps/unix/bsd/ptsname.c: Likewise.
59265         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
59266         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
59267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
59268         Likewise.
59269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
59270         Likewise.
59271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
59272         Likewise.
59273         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59275 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59277         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
59278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59280 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
59282         [BZ #15897]
59283         * dlfcn/Makefile (tests): Add bug-dl-leaf.
59284         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
59285         ($(objpfx)bug-dl-leaf): New rule.
59286         ($(objpfx)bug-dl-leaf.so): Likewise.
59287         ($(objpfx)bug-dl-leaf.out): Likewise.
59288         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
59289         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
59290         * dlfcn/bug-dl-leaf.c: New test.
59291         * dlfcn/bug-dl-leaf-lib.c: Likewise.
59292         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
59293         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
59294         (dlclose): Likewise.
59295         (dlmopen): Likewise.
59297 2013-08-27  Roland McGrath  <roland@hack.frob.com>
59299         * include/netdb.h [!_ISOMAC]:
59300         Don't include <tls.h>.
59301         (h_errno, __libc_h_errno): Move declaration and macros out of
59302         [_LIBC_REENTRANT].
59304         * include/resolv.h [_RESOLV_H_]:
59305         Don't include <tls.h>.
59306         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
59307         * resolv/res_libc.c: Don't include <tls.h>.
59308         (_res): Use __attribute__ ((nocommon)) in place of
59309         __attribute__ ((section (".bss"))).
59311         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
59312         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
59314         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
59316         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
59317         only under [SIOCGIFCONF && SIOCGIFNETMASK].
59319         * resolv/res_mkquery.c: Include <sys/time.h>.
59321         * inet/ifreq.c: Moved to ...
59322         * sysdeps/unix/ifreq.c: ... here.
59323         * inet/ifreq.c: New file, true stub version.
59325         * socket/sa_len.c: New file.
59326         * socket/Makefile (aux): Add it.
59327         * sysdeps/unix/sysv/linux/Makefile
59328         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
59329         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
59330         and #include <socket/sa_len.c>.
59331         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
59332         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
59334         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
59335         * bits/socket.h: ... here.
59337         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
59338         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
59339         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
59341 2013-08-27  Andreas Schwab  <schwab@suse.de>
59343         [BZ #15736]
59344         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
59345         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
59346         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
59347         * string/test-strcasecmp.c (test_main): Run tests in several
59348         locales.
59349         * string/test-strncasecmp.c (test_main): Likewise.
59351         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
59352         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
59353         to __strcasecmp_nonascii and __strncasecmp_nonascii.
59354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
59355         (__strncasecmp_ssse3) [PIC]: Likewise.
59357 2013-08-26  Roland McGrath  <roland@hack.frob.com>
59359         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
59361         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
59362         instead of explicitly declaring xdecrypt.
59363         * nis/nss_nis/nis-publickey.c: Likewise.
59365 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59367         [BZ #15890]
59368         * nscd/aicache.c: Include res_hconf.h.
59369         (addhstaiX): Initialize res_hconf.
59371 2013-08-26  Andreas Schwab  <schwab@suse.de>
59373         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
59374         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
59376 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59378         * nscd/aicache.c (addhstaiX): Fix indentation.
59380 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
59382         * configure.ac: Quote $build_pt_chown test.
59383         * configure: Regenerated.
59385 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
59387         [BZ #15532]
59388         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
59389         * math/s_cexpf.c (__cexpf): Likewise.
59390         * math/s_cexpl.c (__cexpl): Likewise.
59391         * math/libm-test.inc (cexp_test_data): Correct expected return
59392         value for NaN + i0.  Add another test.
59394 2013-08-22  David S. Miller  <davem@davemloft.net>
59396         * po/ca.po: Update Catalan translation from translation project.
59397         * po/uk.po: Add Ukrainian translations from translation project.
59399 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
59401         [BZ #15797]
59402         * math/s_fdim.c (__fdim): Check for infinite arguments if result
59403         is infinite, not alongside NaN test.
59404         * math/s_fdimf.c (__fdimf): Likewise.
59405         * math/s_fdiml.c (__fdiml): Likewise.
59406         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
59407         errno is unchanged.
59409 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
59411         * argp/argp-help.c: Fix typos.
59412         * crypt/speeds.c: Likewise.
59413         * csu/check_fds.c: Likewise.
59414         * elf/dl-load.c: Likewise.
59415         * elf/dl-open.c: Likewise.
59416         * elf/reldep3.c: Likewise.
59417         * elf/reldep.c: Likewise.
59418         * elf/sprof.c: Likewise.
59419         * iconv/iconv_charmap.c: Likewise.
59420         * iconv/skeleton.c: Likewise.
59421         * iconv/strtab.c: Likewise.
59422         * io/lockf64.c: Likewise.
59423         * libio/libioP.h: Likewise.
59424         * resolv/gai_notify.c: Likewise.
59425         * resolv/ns_name.c: Likewise.
59426         * resolv/ns_samedomain.c: Likewise.
59427         * resolv/res_send.c: Likewise.
59428         * stdlib/random.c: Likewise.
59429         * sunrpc/rpc/xdr.h: Likewise.
59430         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
59431         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59432         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59433         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59434         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59435         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59436         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59437         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59438         * sysdeps/mach/hurd/check_fds.c: Likewise.
59439         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59440         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59441         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59442         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59443         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59444         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59445         * sysdeps/pthread/aio_notify.c: Likewise.
59446         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
59447         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
59448         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
59449         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59450         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59452 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59454         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
59455         version if bit_Slow_SSE4_2 is set.
59456         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59457         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59459 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59461         [BZ #15867]
59462         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
59463         trampoline stack frame information.
59464         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
59465         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
59466         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
59467         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
59468         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
59469         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59470         (_libc_vdso_platform_setup): Initialize the signal trampolines.
59471         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
59472         sa_flags value.
59473         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
59474         interrupting a syscall and set with option SA_SIGINFO.
59476 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
59478         [BZ #15531]
59479         * math/s_cproj.c (__cproj): Only return an infinity if one part of
59480         argument is infinite.
59481         * math/s_cprojf.c (__cprojf): Likewise.
59482         * math/s_cprojl.c (__cprojl): Likewise.
59483         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
59484         * math/libm-test.inc (cproj_test_data): Add more tests.
59486         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
59488         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
59489         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
59490         size.  Use __ffs to determine corresponding shift.
59492 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
59493             Roland McGrath  <roland@hack.frob.com>
59495         * Makefile (INSTALL): Remove trailing blank lines from output of
59496         makeinfo.
59498 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59500         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
59501         Align 32 bit compat elf_greg to 8 bytes.
59503 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
59505         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
59507 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59509         * string/strcoll_l.c (coll_seq): New structure.
59510         (get_next_seq_cached): New function.
59511         (get_next_seq): New function.
59512         (do_compare): New function.
59513         (STRCOLL): Use GNU style definition.  Simplify implementation
59514         by using get_next_seq, get_next_seq_cached and do_compare.
59516 2013-08-16  Florian Weimer  <fweimer@redhat.com>
59518         [BZ #14699]
59519         CVE-2013-4237
59520         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
59521         member.
59522         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
59523         member.
59524         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
59525         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
59526         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
59527         conditional.
59528         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
59529         GETDENTS_64BIT_ALIGNED.
59530         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59531         * manual/filesys.texi (Reading/Closing Directory): Document
59532         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
59533         strongly.
59534         * manual/conf.texi (Limits for Files): Add portability note to
59535         NAME_MAX, PATH_MAX.
59536         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
59538 2013-08-13  Andreas Schwab  <schwab@suse.de>
59540         [BZ #15749]
59541         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
59542         of fabs.
59543         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
59544         LDBL_MAX_EXP >= 16384]: Add tests for it.
59546 2013-08-12  David S. Miller  <davem@davemloft.net>
59548         * version.h (RELEASE): Set to "development".
59549         (VERSION): Set to "2.18.90".
59550         * NEWS: Add 2.19 section.
59552 2013-08-03  David S. Miller  <davem@davemloft.net>
59554         * po/ko.po: Update Korean translation from translation project.
59556 2013-08-01  David S. Miller  <davem@davemloft.net>
59558         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
59559         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
59560         Bilka.
59562 2013-07-30  David S. Miller  <davem@davemloft.net>
59564         * po/fr.po: Update French translation from translation project.
59566 2013-07-28  David S. Miller  <davem@davemloft.net>
59568         * po/cs.po: Update Czech translation from translation project.
59570         * po/sv.po: Update Swedish translation from translation project.
59572 2013-07-27  David S. Miller  <davem@davemloft.net>
59574         * po/eo.po: Update Esperanto translation from translation project.
59576         * po/vi.po: Update Vietnamese translation from translation project.
59578         * po/de.po: Update German translation from translation project.
59580 2013-07-26  David S. Miller  <davem@davemloft.net>
59582         * po/bg.po: Update Bulgarian translation from translation project.
59584         * po/nl.po: Update Dutch translation from translation project.
59585         * po/pl.po: Update Polish translation from translation project.
59586         * po/ru.po: Update Russian translation from translation project.
59588 2013-07-24  David S. Miller  <davem@davemloft.net>
59590         * po/libc.pot: Update.
59592 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59594         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
59595         variable page size.
59596         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
59597         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
59598         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
59600 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59602         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
59604 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59605             Andreas Schwab  <schwab@suse.de>
59606             Roland McGrath  <roland@hack.frob.com>
59607             Joseph Myers  <joseph@codesourcery.com>
59608             Carlos O'Donell  <carlos@redhat.com>
59610         [BZ #15755]
59611         * config.h.in: Define HAVE_PT_CHOWN.
59612         * config.make.in (build-pt-chown): New variable.
59613         * configure.in (--enable-pt_chown): New configure option.
59614         * configure: Regenerate.
59615         * login/Makefile: Include Makeconfig.  Build pt_chown only if
59616         build-pt-chown is enabled.
59617         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
59618         pt_chown to fix pty ownership.
59619         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
59620         CLOSE_ALL_FDS.
59621         * manual/install.texi (Configuring and compiling): Mention
59622         --enable-pt_chown. Add @findex for grantpt.
59623         * INSTALL: Regenerate.
59625 2013-07-20  David S. Miller  <davem@davemloft.net>
59627         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
59628         difference between 32-bit and 64-bit.
59630 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
59632         [BZ #15711]
59633         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
59634         Avoid system header dependency with -ffreestanding.
59635         ($(objpfx)bits/syscall%d): Likewise.
59637 2013-07-13  David S. Miller  <davem@davemloft.net>
59639         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
59640         underflows from atanl/atan2l due to bug 15319.
59641         (casinh_test_data): Likewise.
59643 2013-07-07  David S. Miller  <davem@davemloft.net>
59645         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
59647 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
59649         * sysdeps/i386/fpu/libm-test-ulps: Update.
59650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59652 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59654         * configure.in (--enable-lock-elision): Fix message text.
59655         * INSTALL: Regenerate.
59656         * configure: Regenerate.
59658 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59662 2013-07-03  Andreas Jaeger  <aj@suse.de>
59664         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
59665         define.
59666         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
59667         (ptrace_peeksiginfo_args): Add.
59668         (__ptrace_peeksiginfo_flags): Add.
59669         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59670         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59671         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59673 2013-07-03  Allan McRae  <allan@archlinux.org>
59675         * sysdeps/i386/fpu/libm-test-ulps: Update.
59677 2013-07-02  David S. Miller  <davem@davemloft.net>
59679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59681 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
59683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59685 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59687         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
59688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59690 2013-07-02  Andi Kleen <ak@linux.intel.com>
59692         * config.h.in (ENABLE_LOCK_ELISION): Add.
59693         * configure.in (--enable-lock-elision): Add option.
59694         * manual/install.texi: Document --enable lock elision.
59695         * configure: Regenerate
59696         * INSTALL: Regenerate.
59698 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
59700         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
59701         SSE4.2 strcasecmp for libc.a.
59702         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
59704 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59706         [BZ #13304]
59707         * soft-fp/op-common.h (_FP_FMA): New macro.
59708         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
59709         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
59710         (_FP_MUL_MEAT_1_imm): ... here.
59711         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
59712         (_FP_MUL_MEAT_1_wide): ... here.
59713         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
59714         (_FP_MUL_MEAT_1_hard): ... here.
59715         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
59716         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
59717         (_FP_MUL_MEAT_2_wide): ... here.
59718         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
59719         (_FP_MUL_MEAT_2_wide_3mul): ... here.
59720         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
59721         (_FP_MUL_MEAT_2_gmp): ... here.
59722         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
59723         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
59724         (_FP_MUL_MEAT_4_wide): ... here.
59725         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
59726         (_FP_MUL_MEAT_4_gmp): ... here.
59727         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
59728         (_FP_WFRACBITS_DW_S): Likewise.
59729         (_FP_WFRACXBITS_DW_S): Likewise.
59730         (_FP_HIGHBIT_DW_S): Likewise.
59731         (FP_FMA_S): Likewise.
59732         (_FP_FRAC_HIGH_DW_S): Likewise.
59733         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
59734         (_FP_WFRACBITS_DW_D): Likewise.
59735         (_FP_WFRACXBITS_DW_D): Likewise.
59736         (_FP_HIGHBIT_DW_D): Likewise.
59737         (FP_FMA_D): Likewise.
59738         (_FP_FRAC_HIGH_DW_D): Likewise.
59739         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
59740         (_FP_WFRACBITS_DW_E): Likewise.
59741         (_FP_WFRACXBITS_DW_E): Likewise.
59742         (_FP_HIGHBIT_DW_E): Likewise.
59743         (FP_FMA_E): Likewise.
59744         (_FP_FRAC_HIGH_DW_E): Likewise.
59745         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
59746         (_FP_WFRACBITS_DW_Q): Likewise.
59747         (_FP_WFRACXBITS_DW_Q): Likewise.
59748         (_FP_HIGHBIT_DW_Q): Likewise.
59749         (FP_FMA_Q): Likewise.
59750         (_FP_FRAC_HIGH_DW_Q): Likewise.
59751         * soft-fp/fmasf4.c: New file.
59752         * soft-fp/fmadf4.c: Likewise.
59753         * soft-fp/fmatf4.c: Likewise.
59755 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59758         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
59759         Silvermont.
59760         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
59761         macro.
59762         (index_Slow_SSE4_2): Likewise.
59763         (index_Prefer_PMINUB_for_stringop): Likewise.
59764         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
59765         bit_Slow_SSE4_2 is set.
59766         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59767         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59769 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59771         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
59772         rtld_global._dl_hwcap2.
59773         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
59774         POWER8.
59775         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
59776         POWER8 feature descriptions defined in _dl_hwcap2.
59777         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
59778         string handling for POWER8 feature bits.
59779         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
59780         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
59781         _dl_powerpc_cap_flags.
59782         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
59783         * sysdeps/powerpc/rtld-global-offsets.sym
59784         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
59785         _dl_hwcap2 in the rtld_global_ro structure.
59787 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59789         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
59790         hardware capabilities in support of AT_HWCAP2.
59791         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
59792         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
59793         GLRO(dl_hwcap2).
59794         (_dl_show_auxv): Add support for calling _dl_procinfo to display
59795         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
59796         explicitly the unknown a_type display mechanism is used.
59797         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
59798         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
59799         struct member.
59800         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
59801         to macro prototype for AT_HWCAP2 support.
59802         * sysdeps/i386/dl-procinfo.h: Likewise.
59803         * sysdeps/s390/dl-procinfo.h: Likewise.
59804         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
59805         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
59806         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
59807         return -1 for unknown a_type display fallback.
59808         * sysdeps/sparc/dl-procinfo.h: Likewise.
59809         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
59810         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
59812 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
59814         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
59815         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
59817 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
59819         [BZ #12492]
59820         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
59821         mprotect making __stack_prot writable.
59823 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
59824             Joseph Myers  <joseph@codesourcery.com>
59826         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
59827         as being properly aligned.
59829 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
59831         * dlfcn/modstatic5.c: New file.
59832         * dlfcn/tststatic5.c: New file.
59833         * dlfcn/Makefile (tests): Add tststatic5.
59834         (tests-static): Likewise.
59835         (modules-names): Add modstatic5.
59836         (tststatic5-ENV): New variable.
59837         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
59839         [BZ #15022]
59840         * elf/dl-support.c (_dl_main_map): New variable.
59841         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
59842         (_dl_nns, _dl_load_adds): Set to 1.
59843         (_dl_initial_searchlist): Refer to _dl_main_map.
59844         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
59845         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
59846         call to _dl_get_origin.
59847         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
59848         around call_map.
59849         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
59850         * dlfcn/modstatic3.c: New file.
59851         * dlfcn/tststatic3.c: New file.
59852         * dlfcn/tststatic4.c: New file.
59853         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
59854         (tests-static): Likewise.
59855         (modules-names): Add modstatic3.
59856         (tststatic3-ENV, tststatic4-ENV): New variables.
59857         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
59858         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
59860 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
59862         * configure.in (CC): Require GCC version 4.4 or later.
59863         * configure: Regenerated.
59864         * manual/install.texi (Tools for Compilation): Update GCC version
59865         requirement.
59866         * INSTALL: Regenerated.
59868 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59870         [BZ #15674]
59871         * string/test-memcmp.c (check2): New.
59872         (main): Call check2.
59874         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
59876 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
59878         [BZ #15022]
59879         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
59880         over to...
59881         (dl_open_worker) [!SHARED]: ... here.
59883 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59885         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
59887 2013-06-25  Richard Henderson  <rth@redhat.com>
59889         * locale/programs/locarchive.c: Include <libc-internal.h>
59891 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
59893         * manual/texinfo.tex: Update to version 2013-06-21.17, with
59894         trailing whitespace removed.
59896 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59898         [BZ #10283]
59899         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
59900         * locale/programs/locarchive.c: Include libc-mmap.h.
59901         (prepare_address_space): Take two new outputs (the mmap base and len).
59902         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
59903         values.
59904         (create_archive): Declare new mmap base and len values for
59905         prepare_address_space, and store the result in ah.
59906         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
59907         (enlarge_archive): If ah->mmap_base is not NULL, use that and
59908         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59909         Declare new mmap base and len values for
59910         prepare_address_space, and store the result in new_ah.
59911         (open_archive): Declare new mmap base and len values for
59912         prepare_address_space, and store the result in ah.
59913         (close_archive): If ah->mmap_base is not NULL, use that and
59914         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59915         * sysdeps/generic/libc-mmap.h: New file.
59917 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59919         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
59920         (ALIGN_UP): Likewise.
59921         (PTR_ALIGN_DOWN): Likewise.
59922         (PTR_ALIGN_UP): Likewise.
59924 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59926         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
59927         entry mapped to PPC_PLATFORM_POWER8.
59928         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
59929         POWER8.
59930         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
59931         (_dl_string_platform): Add case for exporting platform position for
59932         POWER8.
59933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
59934         search path to sysdeps/powerpc/powerpc32/power8 directory.
59935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
59936         search path to sysdeps/powerpc/powerpc64/power8 directory.
59937         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
59938         power7 directories.
59939         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
59940         power7 directories.
59942 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59944         * INSTALL: Regenerate.
59946         * nscd/connections.c (nscd_init): Fix comment.
59948 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
59950         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
59952         [BZ #15667]
59953         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
59954         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
59956 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59958         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
59959         DL_DST_REQ_STATIC.
59960         (DL_DST_REQ_STATIC): Remove macro.
59962 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
59964         [BZ #7006]
59965         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
59966         with a shift of 0 bits.
59968 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59970         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
59971         $(tststatic-ENV).
59973 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59975         [BZ #15655]
59976         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
59978 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59980         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
59981         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
59982         accepts -fno-tree-loop-distribute-patterns.
59983         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
59984         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
59985         recursive call.
59986         * string/memset.c (memset): Likewise.
59987         * string/test-memmove.c (simple_memmove): Disable loop transformation
59988         to library calls.
59989         * string/test-memset.c (simple_memset): Likewise.
59990         * benchtests/bench-memmove.c (simple_memmove): Likewise.
59991         * benchtests/bench-memset.c (simple_memset): Likewise.
59992         * configure: Regenerated.
59994 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
59996         * math/test-misc.c (main): Ignore fesetround failure when failures
59997         of subsequent rounding tests would be ignored.
59999         [BZ #15654]
60000         * math/fedisblxcpt.c (fedisableexcept): Return 0.
60001         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
60002         * math/fegetenv.c (__fegetenv): Return 0.
60003         * math/fegetexcept.c (fegetexcept): Return 0.
60004         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
60005         FE_TONEAREST.
60006         * math/feholdexcpt.c (feholdexcept): Return 0.
60007         * math/fesetenv.c (__fesetenv): Return 0.
60008         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
60009         argument FE_TONEAREST.
60010         * math/feupdateenv.c (__feupdateenv): Return 0.
60011         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
60013 2013-06-18  Roland McGrath  <roland@hack.frob.com>
60015         * elf/rtld-Rules (rtld-compile-command.S): New variable.
60016         (rtld-compile-command.s, rtld-compile-command.c): New variables.
60017         ($(objpfx)rtld-%.os rules): Use them.
60019 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60021         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
60022         fields.
60024 2013-06-17  Roland McGrath  <roland@hack.frob.com>
60026         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
60027         length of target pattern, then descending length of dependency pattern.
60028         * configure.in (AWK): Require gawk 3.1.2 or newer.
60029         * manual/install.texi (Tools for Compilation): Say that we do.
60030         * configure: Regenerated.
60032         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
60033         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
60034         * scripts/sysd-rules.awk: ... this new script.
60035         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
60036         than a glob-style pattern.
60038 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
60040         * math/test-misc.c (main): Do not treat incorrectly rounded
60041         conversions as failure unless ROUNDING_TESTS passes.
60043 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
60045         [BZ #15631]
60046         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
60047         restore exception state around main square root computation, then
60048         check for inexactness explicitly.
60050         * math/libm-test.inc (fma_test_data): Add another test.
60052 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60054         * manual/threads.texi (Non-POSIX Extensions): New document
60055         node.  Document pthread_getattr_default_np and
60056         pthread_setattr_default_np.
60058         * Versions.def (libpthread): Add GLIBC_2.18.
60059         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
60060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60061         Likewise.
60062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60063         Likewise.
60064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60065         Likewise.
60066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60067         Likewise.
60068         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
60069         Likewise.
60070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60071         Likewise.
60072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60073         Likewise.
60074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60075         Likewise.
60076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60077         Likewise.
60079 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60082         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
60084 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60085             H.J. Lu  <hjl.tools@gmail.com>
60087         [BZ #15627]
60088         * sysdeps/x86_64/rtld-memset.c: Remove file.
60089         * sysdeps/x86_64/rtld-memset.S: New file.
60091 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
60093         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
60094         (test_in_one_mode): Take arguments for whether the rounding mode
60095         is supported for each floating-point type.
60096         (do_test): Pass new arguments to test_in_one_mode using
60097         ROUNDING_TESTS.
60099 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60101         * posix/tst-waitid.c (do_test): Distinguish different instances of
60102         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
60103         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
60104         before entering the kernel for waitpid.
60106 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60108         * NEWS: Fix note on clock function precision.  Text by Roland
60109         McGrath.
60111 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60113         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
60114         it into place only when and if the sanity check passes.
60116 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
60118         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
60119         output for whether conversion result is exact.  Take argument
60120         indicating whether type is IBM long double.
60121         (round_for_all): Change need_exact field to ibm_ld.
60122         * stdlib/tst-strtod-round.c (struct exactness): New type.
60123         (struct test): Change bool ld_ok field to struct exactness exact.
60124         (TEST): Update all definitions for change to field.
60125         (tests): Regenerate array contents.
60126         (test_in_one_mode): Take pointer to new field instead of old ld_ok
60127         field value.  Check for IBM long double here.
60128         (do_test): Update calls to test_in_one_mode.
60130 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60132         [BZ #12515]
60133         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
60134         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
60136 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60138         [BZ #15605]
60139         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
60140         generated by the compiler on loop optimizations.
60141         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
60142         general definitions.
60144 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
60146         * math/bug-nextafter.c: Include <math-tests.h>.
60147         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60148         the relevant type.
60149         * math/bug-nexttoward.c: Include <math-tests.h>.
60150         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60151         the relevant type.
60152         * math/test-misc.c: Include <math-tests.h>.
60153         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60154         the relevant type.
60156 2013-06-12  Andreas Jaeger  <aj@suse.de>
60158         * po/ia.po: Update Interlingua translation from translation
60159         project.
60161 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60163         * include/fenv.h: Include stdbool.h.
60164         (struct rm_ctx): New structure.
60165         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
60166         Define macro.
60167         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
60168         (SET_RESTORE_ROUNDF): Likewise.
60169         (SET_RESTORE_ROUNDL): Likewise.
60170         (SET_RESTORE_ROUND_NOEX): Likewise.
60171         (SET_RESTORE_ROUND_NOEXF): Likewise.
60172         (SET_RESTORE_ROUND_NOEXL): Likewise.
60173         (SET_RESTORE_ROUND_53BIT): Likewise.
60174         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
60175         (libc_feresetround_noexf_ctx): Likewise.
60176         (libc_feresetround_noexl_ctx): Likewise.
60177         (libc_feholdsetround_53bit_ctx): Likewise.
60178         (libc_feresetround_53bit_ctx): Likewise.
60179         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
60180         (libc_feholdexcept_setround_sse_ctx): New function.
60181         (libc_fesetenv_sse_ctx): Likewise.
60182         (libc_feupdateenv_sse_ctx): Likewise.
60183         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
60184         (libc_feholdexcept_setround_387_ctx): Likewise.
60185         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
60186         (libc_feholdsetround_387_prec_ctx): Likewise.
60187         (libc_feholdsetround_387_ctx): Likewise.
60188         (libc_feholdsetround_387_53bit_ctx): Likewise.
60189         (libc_feholdsetround_sse_ctx): Likewise.
60190         (libc_feresetround_sse_ctx): Likewise.
60191         (libc_feresetround_387_ctx): Likewise.
60192         (libc_feupdateenv_387_ctx): Likewise.
60193         (libc_feholdexcept_setroundf_ctx): Define macro.
60194         (libc_fesetenvf_ctx): Likewise.
60195         (libc_feupdateenvf_ctx): Likewise.
60196         (libc_feholdsetroundf_ctx): Likewise.
60197         (libc_feresetroundf_ctx): Likewise.
60198         (libc_feholdexcept_setround_ctx): Likewise.
60199         (libc_fesetenv_ctx): Likewise.
60200         (libc_feupdateenv_ctx): Likewise.
60201         (libc_feholdsetround_ctx): Likewise.
60202         (libc_feresetround_ctx): Likewise.
60203         (libc_feholdexcept_setroundl_ctx): Likewise.
60204         (libc_feupdateenvl_ctx): Likewise.
60205         (libc_feholdsetroundl_ctx): Likewise.
60206         (libc_feresetroundl_ctx): Likewise.
60207         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
60208         (libc_feresetround_53bit_ctx): Likewise.
60210 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60212         * locale/iso-639.def: Convert to UTF-8.
60214 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
60216         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
60217         (EXCEPTION_TESTS_double): Likewise.
60218         (EXCEPTION_TESTS_long_double): Likewise.
60219         (EXCEPTION_TESTS): Likewise.
60220         * math/libm-test.inc (test_exceptions): Only test exceptions if
60221         EXCEPTION_TESTS (FLOAT).
60223 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60225         * benchtests/Makefile (string-bench): Add strcpy_chk and
60226         stpcpy_chk.
60227         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
60228         * benchtests/bench-stpcpy_chk.c: New file.
60229         * benchtests/bench-strcpy_chk-ifunc.c: New file.
60230         * benchtests/bench-strcpy_chk.c: New file.
60231         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
60232         code.
60233         (do_test): Likewise.
60235 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60237         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
60238         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
60239         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
60240         with tabs where appropriate.
60241         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
60242         dl-procinfo.h.
60243         [PPC_PLATFORM_PPC440]: Likewise.
60244         [PPC_PLATFORM_PPC464]: Likewise.
60245         [PPC_PLATFORM_PPC476]: Likewise.
60246         (_dl_string_platform): Add support for detecting ppc405, ppc440,
60247         ppc464, and ppc476 platform strings merging from ports/
60248         dl-procinfo.h.
60250 2013-06-11  Andreas Schwab  <schwab@suse.de>
60252         [BZ #14991]
60253         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
60254         (from_ucs4_idx): Regenerate.
60255         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
60256         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
60257         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
60258         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
60259         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
60260         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
60261         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
60262         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
60263         from FROM_LOOP and TO_LOOP specific macros.
60264         (BODY): Handle combining characters.
60265         * iconvdata/BIG5HKSCS.irreversible: Update.
60266         * iconvdata/BIG5HKSCS.precomposed: New file.
60267         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
60268         characters.
60269         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
60271 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60273         * include/sys/time.h: Fix indentation and add copyright header.
60275         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
60276         (do_test): Likewise.
60277         * string/test-memchr.c (do_one_test): Likewise.
60278         (do_test): Likewise.
60279         * string/test-memcmp.c (do_one_test): Likewise.
60280         (do_test): Likewise.
60281         * string/test-memcpy.c (do_one_test): Likewise.
60282         (do_test): Likewise.
60283         * string/test-memmem.c (do_one_test): Likewise.
60284         (do_test): Likewise.
60285         (do_random_tests): Likewise.
60286         * string/test-memmove.c (do_one_test): Likewise.
60287         (do_test): Likewise.
60288         * string/test-memset.c (do_one_test): Likewise.
60289         (do_test): Likewise.
60290         * string/test-rawmemchr.c (do_one_test): Likewise.
60291         (do_test): Likewise.
60292         * string/test-strcasecmp.c (do_one_test): Likewise.
60293         (do_test): Likewise.
60294         * string/test-strcasestr.c (do_one_test): Likewise.
60295         (do_test): Likewise.
60296         * string/test-strcat.c (do_one_test): Likewise.
60297         (do_test): Likewise.
60298         * string/test-strchr.c (do_one_test): Likewise.
60299         (do_test): Likewise.
60300         * string/test-strcmp.c (do_one_test): Likewise.
60301         (do_test): Likewise.
60302         * string/test-strcpy.c (do_one_test): Likewise.
60303         (do_test): Likewise.
60304         * string/test-string.h: Likewise.
60305         (test_init): Likewise.
60306         * string/test-strlen.c (do_one_test): Likewise.
60307         (do_test): Likewise.
60308         * string/test-strncasecmp.c (do_one_test): Likewise.
60309         (do_test): Likewise.
60310         * string/test-strncat.c (do_one_test): Likewise.
60311         (do_test): Likewise.
60312         * string/test-strncmp.c (do_one_test): Likewise.
60313         (do_test_limit): Likewise.
60314         (do_test): Likewise.
60315         * string/test-strncpy.c (do_one_test): Likewise.
60316         (do_test): Likewise.
60317         * string/test-strnlen.c (do_one_test): Likewise.
60318         (do_test): Likewise.
60319         * string/test-strpbrk.c (do_one_test): Likewise.
60320         (do_test): Likewise.
60321         * string/test-strrchr.c (do_one_test): Likewise.
60322         (do_test): Likewise.
60323         * string/test-strspn.c (do_one_test): Likewise.
60324         (do_test): Likewise.
60325         * string/test-strstr.c (do_one_test): Likewise.
60326         (do_test): Likewise.
60328         * benchtests/Makefile (string-bench): Add string benchmarks.
60329         * benchtests/bench-bcopy-ifunc.c: New file.
60330         * benchtests/bench-bcopy.c: New file.
60331         * benchtests/bench-bzero-ifunc.c: New file.
60332         * benchtests/bench-bzero.c: New file.
60333         * benchtests/bench-memccpy-ifunc.c: New file.
60334         * benchtests/bench-memccpy.c: New file.
60335         * benchtests/bench-memchr-ifunc.c: New file.
60336         * benchtests/bench-memchr.c: New file.
60337         * benchtests/bench-memcmp-ifunc.c: New file.
60338         * benchtests/bench-memcmp.c: New file.
60339         * benchtests/bench-memmem-ifunc.c: New file.
60340         * benchtests/bench-memmem.c: New file.
60341         * benchtests/bench-memmove-ifunc.c: New file.
60342         * benchtests/bench-memmove.c: New file.
60343         * benchtests/bench-mempcpy-ifunc.c: New file.
60344         * benchtests/bench-mempcpy.c: New file.
60345         * benchtests/bench-memset-ifunc.c: New file.
60346         * benchtests/bench-memset.c: New file.
60347         * benchtests/bench-rawmemchr-ifunc.c: New file.
60348         * benchtests/bench-rawmemchr.c: New file.
60349         * benchtests/bench-stpcpy-ifunc.c: New file.
60350         * benchtests/bench-stpcpy.c: New file.
60351         * benchtests/bench-stpncpy-ifunc.c: New file.
60352         * benchtests/bench-stpncpy.c: New file.
60353         * benchtests/bench-strcasecmp-ifunc.c: New file.
60354         * benchtests/bench-strcasecmp.c: New file.
60355         * benchtests/bench-strcasestr-ifunc.c: New file.
60356         * benchtests/bench-strcasestr.c: New file.
60357         * benchtests/bench-strcat-ifunc.c: New file.
60358         * benchtests/bench-strcat.c: New file.
60359         * benchtests/bench-strchr-ifunc.c: New file.
60360         * benchtests/bench-strchr.c: New file.
60361         * benchtests/bench-strchrnul-ifunc.c: New file.
60362         * benchtests/bench-strchrnul.c: New file.
60363         * benchtests/bench-strcmp-ifunc.c: New file.
60364         * benchtests/bench-strcmp.c: New file.
60365         * benchtests/bench-strcpy-ifunc.c: New file.
60366         * benchtests/bench-strcpy.c: New file.
60367         * benchtests/bench-strcspn-ifunc.c: New file.
60368         * benchtests/bench-strcspn.c: New file.
60369         * benchtests/bench-strlen-ifunc.c: New file.
60370         * benchtests/bench-strlen.c: New file.
60371         * benchtests/bench-strncasecmp-ifunc.c: New file.
60372         * benchtests/bench-strncasecmp.c: New file.
60373         * benchtests/bench-strncat-ifunc.c: New file.
60374         * benchtests/bench-strncat.c: New file.
60375         * benchtests/bench-strncmp-ifunc.c: New file.
60376         * benchtests/bench-strncmp.c: New file.
60377         * benchtests/bench-strncpy-ifunc.c: New file.
60378         * benchtests/bench-strncpy.c: New file.
60379         * benchtests/bench-strnlen-ifunc.c: New file.
60380         * benchtests/bench-strnlen.c: New file.
60381         * benchtests/bench-strpbrk-ifunc.c: New file.
60382         * benchtests/bench-strpbrk.c: New file.
60383         * benchtests/bench-strrchr-ifunc.c: New file.
60384         * benchtests/bench-strrchr.c: New file.
60385         * benchtests/bench-strspn-ifunc.c: New file.
60386         * benchtests/bench-strspn.c: New file.
60387         * benchtests/bench-strstr-ifunc.c: New file.
60388         * benchtests/bench-strstr.c: New file.
60390         * benchtests/Makefile: Disable parallel execution of targets.
60391         (string-bench): Add memcpy.
60392         (benchset): New variable to store a list of benchmark sets.
60393         (bench-func): Renamed from bench.
60394         (bench-set): New target.
60395         (bench): Depend on bench-func and bench-set.
60396         * benchtests/README: Add section on benchmark sets.
60397         * benchtests/bench-memcpy-ifunc.c: New file.
60398         * benchtests/bench-memcpy.c: New file.
60399         * benchtests/bench-string.h: New file.
60401 2013-06-11  Andreas Schwab  <schwab@suse.de>
60403         [BZ #15577]
60404         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
60405         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
60406         values in the triple.
60407         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
60408         terminator in the group key.
60410 2013-06-11  Andreas Jaeger  <aj@suse.de>
60412         * po/zh_TW.po: Update Chinese (traditional) translation from
60413         translation project.
60415 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60417         * include/time.h (__clock_gettime): Add libc_hidden_proto.
60418         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
60419         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
60420         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60421         (clock_getcpuclockid): Likewise.
60422         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
60423         Add weak_alias and libc_hidden_def.
60424         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
60425         * rt/clock_gettime.c (clock_gettime): Rename to
60426         __clock_gettime.  Add weak_alias and libc_hidden_def.
60427         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
60428         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
60429         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
60430         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
60431         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
60432         Likewise.
60433         * rt/clock_settime.c (clock_settime): Rename to
60434         __clock_settime.  Add weak_alias and libc_hidden_def.
60435         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
60437 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
60439         * mach/err_boot.sub: Remove trailing whitespace.
60440         * mach/err_ipc.sub: Likewise.
60441         * mach/err_mach.sub: Likewise.
60443         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
60444         (ROUNDING_TESTS_double): Likewise.
60445         (ROUNDING_TESTS_long_double): Likewise.
60446         (ROUNDING_TESTS): Likewise.
60447         * math/libm-test.inc: Include <math-tests.h>.
60448         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
60449         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60450         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60451         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60453 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60455         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
60456         of assigning.
60458 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
60460         * sysdeps/gnu/errlist.awk: Do not generate space at end of
60461         otherwise empty TRANS lines.
60462         * sysdeps/gnu/errlist.c: Regenerated.
60464         * catgets/gencat.c (error_print): Use (void) in function
60465         definition.
60466         * crypt/crypt_util.c (__init_des): Likewise.
60467         * crypt/speeds.c (Stop): Likewise.
60468         (main): Likewise.
60469         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
60470         * inet/ruserpass.c (token): Likewise.
60471         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
60472         * intl/localealias.c (extend_alias_table): Likewise.
60473         * intl/plural-exp.c (init_germanic_plural): Likewise.
60474         * libio/fcloseall.c (__fcloseall): Likewise.
60475         * libio/genops.c (_IO_flush_all): Likewise.
60476         (_IO_flush_all_linebuffered): Likewise.
60477         (_IO_cleanup): Likewise.
60478         (_IO_iter_begin): Likewise.
60479         (_IO_iter_end): Likewise.
60480         (_IO_list_lock): Likewise.
60481         (_IO_list_unlock): Likewise.
60482         (_IO_list_resetlock): Likewise.
60483         * libio/getchar.c (getchar): Likewise.
60484         * libio/getchar_u.c (getchar_unlocked): Likewise.
60485         * libio/getwchar.c (getwchar): Likewise.
60486         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
60487         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
60488         * login/getpt.c (__getpt): Likewise.
60489         * login/tst-utmp.c (main): Likewise.
60490         * malloc/hooks.c (__malloc_check_init): Likewise.
60491         * malloc/malloc.c (__malloc_stats): Likewise.
60492         * malloc/mtrace.c (tr_break): Likewise.
60493         (mtrace): Likewise.
60494         (muntrace): Likewise.
60495         * misc/fstab.c (endfsent): Likewise.
60496         * misc/getclktck.c (__getclktck): Likewise.
60497         * misc/getdtsz.c (__getdtablesize): Likewise.
60498         * misc/gethostid.c (gethostid): Likewise.
60499         * misc/getpagesize.c (__getpagesize): Likewise.
60500         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
60501         (__get_nprocs): Likewise.
60502         (__get_phys_pages): Likewise.
60503         (__get_avphys_pages): Likewise.
60504         * misc/getttyent.c (getttyent): Likewise.
60505         (setttyent): Likewise.
60506         (endttyent): Likewise.
60507         * misc/getusershell.c (getusershell): Likewise.
60508         (endusershell): Likewise.
60509         (setusershell): Likewise.
60510         (initshells): Likewise.
60511         * misc/hsearch.c (__hdestroy): Likewise.
60512         * misc/sync.c (sync): Likewise.
60513         * misc/syslog.c (closelog_internal): Likewise.
60514         (closelog): Likewise.
60515         * misc/ttyslot.c (ttyslot): Likewise.
60516         * misc/vhangup.c (vhangup): Likewise.
60517         * posix/fork.c (__fork): Likewise.
60518         * posix/getegid.c (__getegid): Likewise.
60519         * posix/geteuid.c (__geteuid): Likewise.
60520         * posix/getgid.c (__getgid): Likewise.
60521         * posix/getpid.c (__getpid): Likewise.
60522         * posix/getppid.c (__getppid): Likewise.
60523         * posix/getuid.c (__getuid): Likewise.
60524         * posix/pause.c (pause): Likewise.
60525         * posix/setpgrp.c (setpgrp): Likewise.
60526         * posix/setsid.c (__setsid): Likewise.
60527         * posix/test-vfork.c (noop): Likewise.
60528         * resolv/gethnamaddr.c (_endhtent): Likewise.
60529         (_gethtent): Likewise.
60530         (ht_endhostent): Likewise.
60531         (gethostent): Likewise.
60532         (dns_service): Likewise.
60533         * stdlib/drand48.c (drand48): Likewise.
60534         * stdlib/lrand48.c (lrand48): Likewise.
60535         * stdlib/mrand48.c (mrand48): Likewise.
60536         * stdlib/rand.c (rand): Likewise.
60537         * stdlib/random.c (__random): Likewise.
60538         * stdlib/setenv.c (clearenv): Likewise.
60539         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
60540         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
60541         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
60542         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
60543         (__get_nprocs): Likewise.
60544         (__get_phys_pages): Likewise.
60545         (__get_avphys_pages): Likewise.
60546         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
60547         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
60548         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
60549         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
60550         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
60551         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
60552         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
60553         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
60554         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
60555         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
60556         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
60557         * sysdeps/mach/hurd/sync.c (sync): Likewise.
60558         * sysdeps/posix/clock.c (clock): Likewise.
60559         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
60560         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
60561         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
60562         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
60563         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
60564         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
60565         (__get_nprocs_conf): Likewise.
60566         (__get_phys_pages): Likewise.
60567         (__get_avphys_pages): Likewise.
60568         * time/clock.c (clock): Likewise.
60569         * time/tzset.c (__tzname_max): Likewise.
60571 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
60573         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
60574         (__bswap_32): Do not use "register".
60575         * crypt/crypt.c (_ufc_doit_r): Likewise.
60576         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
60577         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
60578         * gmon/gmon.c (__monstartup): Likewise.
60579         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
60580         * hurd/hurdmalloc.c (more_memory): Likewise.
60581         (malloc): Likewise.
60582         (free): Likewise.
60583         (realloc): Likewise.
60584         (malloc_fork_prepare): Likewise.
60585         (malloc_fork_parent): Likewise.
60586         (malloc_fork_child): Likewise.
60587         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
60588         (_svcauth_des): Likewise.
60589         * inet/inet_lnaof.c (inet_lnaof): Likewise.
60590         * inet/inet_net.c (inet_network): Likewise.
60591         * inet/inet_netof.c (inet_netof): Likewise.
60592         * inet/rcmd.c (__validuser2_sa): Likewise.
60593         * io/fts.c (fts_open): Likewise.
60594         (fts_load): Likewise.
60595         (fts_close): Likewise.
60596         (fts_read): Likewise.
60597         (fts_children): Likewise.
60598         (fts_build): Likewise.
60599         (fts_stat): Likewise.
60600         (fts_sort): Likewise.
60601         (fts_alloc): Likewise.
60602         (fts_lfree): Likewise.
60603         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
60604         (_IO_file_xsgetn): Likewise.
60605         (_IO_file_xsgetn_mmap): Likewise.
60606         * libio/iofopncook.c (_IO_cookie_read): Likewise.
60607         (_IO_cookie_write): Likewise.
60608         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
60609         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
60610         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
60611         * malloc/obstack.c (_obstack_begin): Likewise.
60612         (_obstack_begin_1): Likewise.
60613         (_obstack_newchunk): Likewise.
60614         (_obstack_allocated_p): Likewise.
60615         (obstack_free): Likewise.
60616         (_obstack_memory_used): Likewise.
60617         * misc/getttyent.c (getttynam): Likewise.
60618         (getttyent): Likewise.
60619         (skip): Likewise.
60620         (value): Likewise.
60621         * misc/getusershell.c (initshells): Likewise.
60622         * misc/syslog.c (__vsyslog_chk): Likewise.
60623         * misc/ttyslot.c (ttyslot): Likewise.
60624         * nis/nis_hash.c (__nis_hash): Likewise.
60625         * posix/fnmatch_loop.c (FCT): Likewise.
60626         * posix/getconf.c (print_all): Likewise.
60627         (main): Likewise.
60628         * posix/getopt.c (exchange): Likewise.
60629         * posix/glob.c (globfree): Likewise.
60630         (prefix_array): Likewise.
60631         (__glob_pattern_type): Likewise.
60632         * resolv/arpa/nameser.h (NS_GET16): Likewise.
60633         (NS_GET32): Likewise.
60634         (NS_PUT16): Likewise.
60635         (NS_PUT32): Likewise.
60636         * resolv/gethnamaddr.c (getanswer): Likewise.
60637         (gethostbyname2): Likewise.
60638         (gethostbyaddr): Likewise.
60639         (_gethtent): Likewise.
60640         (_gethtbyname2): Likewise.
60641         (_gethtbyaddr): Likewise.
60642         * resolv/ns_print.c (dst_s_get_int16): Likewise.
60643         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
60644         * resolv/res_init.c (__res_vinit): Likewise.
60645         (net_mask): Likewise.
60646         * resolv/res_mkquery.c (outchar): Likewise.
60647         (PRINT): Likewise.
60648         * stdio-common/printf_fp.c (outchar): Likewise.
60649         (PRINT): Likewise.
60650         * stdio-common/printf_fphex.c (outchar): Likewise.
60651         (PRINT): Likewise.
60652         * stdio-common/printf_size.c (outchar): Likewise.
60653         (PRINT): Likewise.
60654         * stdio-common/test_rdwr.c (main): Likewise.
60655         * stdio-common/tfformat.c (matches): Likewise.
60656         * stdio-common/vfprintf.c (outchar): Likewise.
60657         (printf_unknown): Likewise.
60658         (buffered_vfprintf): Likewise.
60659         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
60660         * stdio-common/xbug.c (AppendToBuffer): Likewise.
60661         (ReadFile): Likewise.
60662         * stdlib/qsort.c (SWAP): Likewise.
60663         (_quicksort): Likewise.
60664         * stdlib/setenv.c (__add_to_environ): Likewise.
60665         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
60666         * stdlib/strtol_l.c (__strtol_l): Likewise.
60667         * stdlib/tst-strtod.c (main): Likewise.
60668         * stdlib/tst-strtol.c (main): Likewise.
60669         * stdlib/tst-strtoll.c (main): Likewise.
60670         * string/bits/string2.h (__strcmp_cc): Likewise.
60671         (__strcmp_cg): Likewise.
60672         (__strcspn_c1): Likewise.
60673         (__strcspn_c2): Likewise.
60674         (__strcspn_c3): Likewise.
60675         (__strspn_c1): Likewise.
60676         (__strspn_c2): Likewise.
60677         (__strspn_c3): Likewise.
60678         (__strsep_1c): Likewise.
60679         (__strsep_2c): Likewise.
60680         (__strsep_3c): Likewise.
60681         * string/memccpy.c (__memccpy): Likewise.
60682         * string/stpcpy.c (__stpcpy): Likewise.
60683         * string/strcmp.c (strcmp): Likewise.
60684         * string/strrchr.c (strrchr): Likewise.
60685         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
60686         Likewise.
60687         * sysdeps/mach/hurd/getcwd.c
60688         (_hurd_canonicalize_directory_name_internal): Likewise.
60689         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
60690         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
60691         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
60692         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
60693         Likewise, in both definitions.
60694         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
60695         definitions.
60696         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
60697         64] (__bswap_64): Likewise.
60698         * time/test_time.c (main): Likewise.
60699         * time/tzfile.c (__tzfile_read): Likewise.
60700         (__tzfile_compute): Likewise.
60701         * time/tzset.c (__tzset_parse_tz): Likewise.
60702         (tzset_internal): Likewise.
60703         (compute_change): Likewise.
60704         * wcsmbs/wcscat.c (__wcscat): Likewise.
60705         * wcsmbs/wcschr.c (wcschr): Likewise.
60706         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
60707         * wcsmbs/wcscspn.c (wcscspn): Likewise.
60708         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
60709         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
60710         * wcsmbs/wcsspn.c (wcsspn): Likewise.
60711         * wcsmbs/wcsstr.c (wcsstr): Likewise.
60712         * wcsmbs/wmemchr.c (wmemchr): Likewise.
60713         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60714         * wcsmbs/wmemset.c (wmemset): Likewise.
60716 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
60718         * scripts/config.guess: Update to version 2013-05-16.
60719         * scripts/config.sub: Update to version 2013-04-24.
60720         * scripts/install-sh: Update to version 2011-11-20.07.
60721         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
60722         * scripts/move-if-change: Update to version 2012-01-06 07:23.
60724 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
60726         * debug/fgetws_u_chk.c: Fix leading whitespaces.
60727         * elf/sln.c: Likewise.
60728         * hurd/hurd/ioctl.h: Likewise.
60729         * hurd/hurdmalloc.c: Likewise.
60730         * hurd/xattr.c: Likewise.
60731         * include/shlib-compat.h: Likewise.
60732         * inet/ruserpass.c: Likewise.
60733         * libio/iofgets_u.c: Likewise.
60734         * libio/iofgetws_u.c: Likewise.
60735         * locale/programs/ld-identification.c: Likewise.
60736         * locale/programs/ld-time.c: Likewise.
60737         * mach/msg-destroy.c: Likewise.
60738         * nss/nss_files/files-netgrp.c: Likewise.
60739         * resolv/res_data.c: Likewise.
60740         * soft-fp/op-1.h: Likewise.
60741         * soft-fp/op-2.h: Likewise.
60742         * soft-fp/op-4.h: Likewise.
60743         * soft-fp/op-common.h: Likewise.
60744         * stdio-common/printf_fphex.c: Likewise.
60745         * stdlib/strtod_l.c: Likewise.
60746         * sunrpc/rpc/clnt.h: Likewise.
60747         * sysdeps/generic/framestate.c: Likewise.
60748         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60749         * sysdeps/i386/bsd-setjmp.S: Likewise.
60750         * sysdeps/i386/__longjmp.S: Likewise.
60751         * sysdeps/i386/setjmp.S: Likewise.
60752         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60753         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60754         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60755         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60756         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60757         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60758         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60759         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60760         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60761         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60762         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60763         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60764         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60765         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60766         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60767         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60768         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60769         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
60770         * sysdeps/ieee754/support.c: Likewise.
60771         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60772         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
60773         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
60774         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
60775         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
60776         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
60777         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
60778         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
60779         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
60780         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
60781         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
60782         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
60783         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
60784         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
60785         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
60786         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
60787         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
60790 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
60792         * posix/transbug.c: Remove executable mode.
60794 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
60796         * crypt/speeds.c: Remove trailing whitespace.
60797         * dlfcn/default.c: Likewise.
60798         * elf/ifuncdep2.c: Likewise.
60799         * elf/ifuncmain1.c: Likewise.
60800         * elf/ifuncmain1vis.c: Likewise.
60801         * elf/testobj.h: Likewise.
60802         * elf/tst-stackguard1.c: Likewise.
60803         * gmon/sys/gmon.h: Likewise.
60804         * hurd/hurdmsg.c: Likewise.
60805         * hurd/new-fd.c: Likewise.
60806         * hurd/ports-get.c: Likewise.
60807         * iconvdata/ibm1008_420.c: Likewise.
60808         * inet/tst-getni1.c: Likewise.
60809         * inet/tst-getni2.c: Likewise.
60810         * libio/ioungetc.c: Likewise.
60811         * libio/wfiledoalloc.c: Likewise.
60812         * manual/libm-err-tab.pl: Likewise.
60813         * math/w_dremf.c: Likewise.
60814         * misc/ftruncate.c: Likewise.
60815         * posix/bug-glob2.c: Likewise.
60816         * posix/tst-pcre.c: Likewise.
60817         * posix/wait4.c: Likewise.
60818         * resolv/README: Likewise.
60819         * resolv/res_debug.h: Likewise.
60820         * resolv/tst-inet_ntop.c: Likewise.
60821         * setjmp/bug269-setjmp.c: Likewise.
60822         * soft-fp/extended.h: Likewise.
60823         * soft-fp/op-1.h: Likewise.
60824         * soft-fp/op-2.h: Likewise.
60825         * soft-fp/op-4.h: Likewise.
60826         * soft-fp/op-8.h: Likewise.
60827         * soft-fp/testit.c: Likewise.
60828         * stdio-common/bug16.c: Likewise.
60829         * stdlib/random.c: Likewise.
60830         * sunrpc/rpcsvc/rquota.x: Likewise.
60831         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
60832         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60833         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60834         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60835         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60836         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60837         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60838         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60839         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60840         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60841         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60842         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60843         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60844         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60845         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60846         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60847         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60848         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60849         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60850         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60851         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60852         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60853         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
60854         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60855         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60856         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60857         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60858         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60859         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60860         * sysdeps/ieee754/s_lib_version.c: Likewise.
60861         * sysdeps/mach/hurd/check_fds.c: Likewise.
60862         * sysdeps/mach/hurd/getsockname.c: Likewise.
60863         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
60864         * sysdeps/mach/hurd/recvfrom.c: Likewise.
60865         * sysdeps/powerpc/bits/link.h: Likewise.
60866         * sysdeps/powerpc/dl-procinfo.c: Likewise.
60867         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
60868         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
60869         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
60870         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60871         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60872         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
60873         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60874         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
60875         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60876         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
60877         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60878         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
60879         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60880         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60881         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60882         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60883         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60884         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60885         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60886         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60887         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
60888         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60889         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60890         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
60891         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60892         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60893         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60894         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60895         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60896         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60897         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60898         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60899         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60900         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
60901         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60902         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
60903         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60904         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
60905         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
60906         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
60907         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
60908         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
60909         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
60910         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60911         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
60912         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
60913         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60914         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
60915         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
60916         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60917         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60918         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60919         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60920         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
60921         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
60922         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
60923         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60924         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
60925         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
60926         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
60927         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
60928         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
60929         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60930         * sysdeps/powerpc/sysdep.h: Likewise.
60931         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60932         * sysdeps/s390/s390-64/sub_n.S: Likewise.
60933         * sysdeps/sh/dl-trampoline.S: Likewise.
60934         * sysdeps/sh/memset.S: Likewise.
60935         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
60936         * sysdeps/sh/strlen.S: Likewise.
60937         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
60938         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
60939         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
60940         * sysdeps/sparc/sparc32/rem.S: Likewise.
60941         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
60942         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
60943         * sysdeps/sparc/sparc32/strchr.S: Likewise.
60944         * sysdeps/sparc/sparc32/udiv.S: Likewise.
60945         * sysdeps/sparc/sparc32/urem.S: Likewise.
60946         * sysdeps/sparc/sparc64/add_n.S: Likewise.
60947         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60948         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
60949         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
60950         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
60951         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
60952         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
60953         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
60954         * sysdeps/unix/bsd/times.c: Likewise.
60955         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
60956         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
60957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
60958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
60959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
60960         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
60961         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60962         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
60963         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
60964         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
60965         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
60966         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60967         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
60968         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60969         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60970         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
60971         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60972         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
60973         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
60974         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
60975         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
60976         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
60977         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60978         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
60979         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
60980         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
60981         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
60982         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60983         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
60984         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
60985         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
60986         * sysdeps/x86_64/strcspn.S: Likewise.
60988 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60990         * locale/C-translit.h: Revert #include <stdint.h> because this is a
60991         generated file.  Regenerate properly from gen-translit.pl.
60992         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
60993         locale/C-translit.h.
60995 2013-06-05  Andreas Schwab  <schwab@suse.de>
60997         [BZ #15100]
60998         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
60999         week as 6 instead of -1.
61000         * time/tst-strptime.c (day_tests): Add test case.
61002 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61004         * sysdeps/generic/math_private.h
61005         (libc_feholdexcept_setround_53bit): Replace with
61006         libc_feholdsetround_53bit.
61007         (libc_feupdateenv_53bit): Replace with
61008         libc_feresetround_53bit.
61009         (SET_RESTORE_ROUND_53BIT): Adjust.
61011 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61013         * string/test-strchrnul.c: Add copyright header.
61015         * posix/tst-getaddrinfo4.c: Increase test timeout.
61017 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
61019         [BZ #15536]
61020         * math/libm-test.inc (MAX_EXP): Remove
61021         (MIN_EXP): Define.
61022         (ulp): Use MIN_EXP - MANT_DIG.
61023         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
61025 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
61027         * po/be.po: Revert last change.
61028         * po/zh_CN.po: Likewise.
61029         * po/header.pot: Likewise.
61031 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
61033         * Makefile ($(common-objpfx)linkobj/libc.so): Define
61034         link-libc-deps to empty as target-specific variable.
61035         * Makerules (link-libc-args): New variable.
61036         (libc-for-link): Likewise.
61037         (link-libc-deps): Likewise.
61038         (lib%.so): Depend on $(link-libc-deps).  Link with
61039         $(link-libc-args).
61040         (build-module): Link with $(link-libc-args).
61041         (build-module-asneeded): Likewise.
61042         (build-module-helper-objlist): Filter out $(link-libc-deps) from
61043         list of objects.
61044         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
61045         target-specific variable.
61046         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
61047         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
61048         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
61049         libc.
61050         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
61051         libc and ld.so.
61052         ($(objpfx)libpcprofile.so): Likewise.
61053         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
61054         libc_nonshared.a.
61055         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
61056         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
61057         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
61058         $(link-libc-deps).
61059         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
61060         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
61061         * login/Makefile ($(objpfx)libutil.so): Likewise.
61062         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
61063         * math/Makefile ($(objpfx)libm.so): Likewise.
61064         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
61065         $(objpfx)libnsl.so): Define libc-for-link as target-specific
61066         variable instead of depending directly on libc.
61067         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
61068         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
61069         $(link-libc-deps).
61070         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
61071         libc.
61072         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
61073         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
61074         ($(objpfx)libanl.so): Likewise.
61075         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
61076         ld.so.
61077         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
61078         $(link-libc-deps).
61079         * sysdeps/i386/fpu/Makefile: Remove file.
61080         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
61081         ($(objpfx)libm.so): Remove dependency on ld.so.
61083 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
61085         [BZ # 15553]
61086         * nis/yp_xdr.c (XDRMAXNAME): Define.
61087         (XDRMAXRECORD): Define.
61088         (xdr_domainname): Use XDRMAXNAME.
61089         (xdr_mapname): Likewise.
61090         (xdr_peername): Likewise.
61091         (xdr_keydat): Use XDRMAXRECORD.
61092         (xdr_valdat): Likewise.
61094 2013-05-30  Jeff Law  <law@redhat.com>
61096         [BZ #14256]
61097         * manual/errno.texi (ESTALE): Update to account for more than
61098         just NFS file systems.
61099         * sysdeps/gnu/errlist.c: Regenerated.
61101 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61103         [BZ #15465]
61104         * elf/Makefile (tests): Add tst-null-argv.
61105         (modules-names):  Add tst-null-argv-lib.
61106         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
61107         (tst-null-argv-ENV): Set environment for tst-null-argv.
61108         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
61109         (RTLD_PROGNAME): New macro.
61110         * elf/tst-null-argv.c: New test case.
61111         * elf/tst-null-argv-lib.c: Library for test case.
61112         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
61113         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
61114         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
61115         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
61116         * elf/dl-init.c (call_init): Likewise.
61117         (_dl_init): Likewise.
61118         * elf/dl-load.c (print_search_path): Likewise.
61119         (_dl_map_object): Likewise.
61120         * elf/dl-lookup.c (do_lookup_x): Likewise.
61121         (add_dependency): Likewise.
61122         (_dl_lookup_symbol_x): Likewise.
61123         (_dl_debug_bindings): Likewise.
61124         * elf/dl-open.c (_dl_show_scope): Likewise.
61125         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
61126         * elf/dl-version.c (match_symbol): Likewise.
61127         (_dl_check_map_versions): Likewise.
61128         * elf/rtld.c (dl_main): Likewise.
61129         (print_unresolved): Use RTLD_PROGNAME.
61130         (print_missing_version): Likewise.
61131         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
61132         (elf_machine_rela): Likewise.
61133         * sysdeps/powerpc/powerpc32/dl-machine.c
61134         (__process_machine_rela): Likewise.
61135         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61136         Likewise.
61137         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61138         Likewise.
61139         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
61140         Likewise.
61141         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61142         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
61143         Likewise.
61144         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
61145         Likewise.
61146         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61148 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
61150         * po/be.po: Add descriptive title.
61151         * po/zh_CN.po: Likewise.
61152         * po/header.pot: Likewise.
61154 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
61156         * locale/programs/locarchive.c (create_archive): Inlucde fname in
61157         error message.
61158         (enlarge_archive): Likewise.
61160 2013-05-28  Ben North  <ben@redfrontdoor.org>
61162         * manual/arith.texi (frexp): It is the magnitude of the return
61163         value which lies in [0.5, 1), not the return value itself.
61165 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61169 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
61171         * stdio-common/bug26.c (main): Correct fscanf template.
61173         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
61174         declare _dl_skip_args.
61176         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
61177         Don't declare.
61179         * manual/platform.texi: Add missing @end deftypefun.
61181 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61183         [BZ #15529]
61184         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
61185         bit of mantissa of 2^16382.
61186         * math/libm-test.inc (hypot_test_data): Add more tests.
61188         * math/libm-test.inc: Add drem and pow10 to list of tested
61189         functions.
61190         (pow10_test): New function.
61191         (drem_test): Likewise.
61192         (drem_test_tonearest): Likewise.
61193         (drem_test_towardzero): Likewise.
61194         (drem_test_downward): Likewise.
61195         (drem_test_upward): Likewise.
61196         (main): Call the new functions.
61198         * math/libm-test.inc (finite_test_data): Remove.
61199         (finite_test): Run tests from isfinite_test_data.
61200         (gamma_test_data): Remove.
61201         (gamma_test): Run tests from lgamma_test_data.
61202         * sysdeps/i386/fpu/libm-test-ulps: Update.
61203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61205 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61207         * manual/platform.texi: Add PowerPC PPR function set documentation.
61208         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
61209         implementation.
61211 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
61213         * math/libm-test.inc (MAX_EXP): Define.
61214         (ULPDIFF): Define.
61215         (ulp): New function.
61216         (check_float_internal): Use ULPDIFF.
61217         (cpow_test): Disable failing test.
61218         (check_ulp): Test ulp() implementation.
61219         (main): Call check_ulp before starting tests.
61221 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61223         * math/gen-libm-test.pl (generate_testfile): Do not handle
61224         START_DATA and END_DATA.
61225         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
61226         END_DATA.
61227         (acos_tonearest_test_data): Likewise.
61228         (acos_towardzero_test_data): Likewise.
61229         (acos_downward_test_data): Likewise.
61230         (acos_upward_test_data): Likewise.
61231         (acosh_test_data): Likewise.
61232         (asin_test_data): Likewise.
61233         (asin_tonearest_test_data): Likewise.
61234         (asin_towardzero_test_data): Likewise.
61235         (asin_downward_test_data): Likewise.
61236         (asin_upward_test_data): Likewise.
61237         (asinh_test_data): Likewise.
61238         (atan_test_data): Likewise.
61239         (atanh_test_data): Likewise.
61240         (atan2_test_data): Likewise.
61241         (cabs_test_data): Likewise.
61242         (cacos_test_data): Likewise.
61243         (cacosh_test_data): Likewise.
61244         (carg_test_data): Likewise.
61245         (casin_test_data): Likewise.
61246         (casinh_test_data): Likewise.
61247         (catan_test_data): Likewise.
61248         (catanh_test_data): Likewise.
61249         (cbrt_test_data): Likewise.
61250         (ccos_test_data): Likewise.
61251         (ccosh_test_data): Likewise.
61252         (ceil_test_data): Likewise.
61253         (cexp_test_data): Likewise.
61254         (cimag_test_data): Likewise.
61255         (clog_test_data): Likewise.
61256         (clog10_test_data): Likewise.
61257         (conj_test_data): Likewise.
61258         (copysign_test_data): Likewise.
61259         (cos_test_data): Likewise.
61260         (cos_tonearest_test_data): Likewise.
61261         (cos_towardzero_test_data): Likewise.
61262         (cos_downward_test_data): Likewise.
61263         (cos_upward_test_data): Likewise.
61264         (cosh_test_data): Likewise.
61265         (cosh_tonearest_test_data): Likewise.
61266         (cosh_towardzero_test_data): Likewise.
61267         (cosh_downward_test_data): Likewise.
61268         (cosh_upward_test_data): Likewise.
61269         (cpow_test_data): Likewise.
61270         (cproj_test_data): Likewise.
61271         (creal_test_data): Likewise.
61272         (csin_test_data): Likewise.
61273         (csinh_test_data): Likewise.
61274         (csqrt_test_data): Likewise.
61275         (ctan_test_data): Likewise.
61276         (ctan_tonearest_test_data): Likewise.
61277         (ctan_towardzero_test_data): Likewise.
61278         (ctan_downward_test_data): Likewise.
61279         (ctan_upward_test_data): Likewise.
61280         (ctanh_test_data): Likewise.
61281         (ctanh_tonearest_test_data): Likewise.
61282         (ctanh_towardzero_test_data): Likewise.
61283         (ctanh_downward_test_data): Likewise.
61284         (ctanh_upward_test_data): Likewise.
61285         (erf_test_data): Likewise.
61286         (erfc_test_data): Likewise.
61287         (exp_test_data): Likewise.
61288         (exp_tonearest_test_data): Likewise.
61289         (exp_towardzero_test_data): Likewise.
61290         (exp_downward_test_data): Likewise.
61291         (exp_upward_test_data): Likewise.
61292         (exp10_test_data): Likewise.
61293         (exp2_test_data): Likewise.
61294         (expm1_test_data): Likewise.
61295         (fabs_test_data): Likewise.
61296         (fdim_test_data): Likewise.
61297         (finite_test_data): Likewise.
61298         (floor_test_data): Likewise.
61299         (fma_test_data): Likewise.
61300         (fma_towardzero_test_data): Likewise.
61301         (fma_downward_test_data): Likewise.
61302         (fma_upward_test_data): Likewise.
61303         (fmax_test_data): Likewise.
61304         (fmin_test_data): Likewise.
61305         (fmod_test_data): Likewise.
61306         (fpclassify_test_data): Likewise.
61307         (frexp_test_data): Likewise.
61308         (gamma_test_data): Likewise.
61309         (hypot_test_data): Likewise.
61310         (ilogb_test_data): Likewise.
61311         (isfinite_test_data): Likewise.
61312         (isgreater_test_data): Likewise.
61313         (isgreaterequal_test_data): Likewise.
61314         (isinf_test_data): Likewise.
61315         (isless_test_data): Likewise.
61316         (islessequal_test_data): Likewise.
61317         (islessgreater_test_data): Likewise.
61318         (isnan_test_data): Likewise.
61319         (isnormal_test_data): Likewise.
61320         (issignaling_test_data): Likewise.
61321         (isunordered_test_data): Likewise.
61322         (j0_test_data): Likewise.
61323         (j1_test_data): Likewise.
61324         (jn_test_data): Likewise.
61325         (ldexp_test_data): Likewise.
61326         (lgamma_test_data): Likewise.
61327         (lrint_test_data): Likewise.
61328         (lrint_tonearest_test_data): Likewise.
61329         (lrint_towardzero_test_data): Likewise.
61330         (lrint_downward_test_data): Likewise.
61331         (lrint_upward_test_data): Likewise.
61332         (llrint_test_data): Likewise.
61333         (llrint_tonearest_test_data): Likewise.
61334         (llrint_towardzero_test_data): Likewise.
61335         (llrint_downward_test_data): Likewise.
61336         (llrint_upward_test_data): Likewise.
61337         (log_test_data): Likewise.
61338         (log10_test_data): Likewise.
61339         (log1p_test_data): Likewise.
61340         (log2_test_data): Likewise.
61341         (logb_test_data): Likewise.
61342         (logb_downward_test_data): Likewise.
61343         (lround_test_data): Likewise.
61344         (llround_test_data): Likewise.
61345         (modf_test_data): Likewise.
61346         (nearbyint_test_data): Likewise.
61347         (nextafter_test_data): Likewise.
61348         (nexttoward_test_data): Likewise.
61349         (pow_test_data): Likewise.
61350         (pow_tonearest_test_data): Likewise.
61351         (pow_towardzero_test_data): Likewise.
61352         (pow_downward_test_data): Likewise.
61353         (pow_upward_test_data): Likewise.
61354         (remainder_test_data): Likewise.
61355         (remainder_tonearest_test_data): Likewise.
61356         (remainder_towardzero_test_data): Likewise.
61357         (remainder_downward_test_data): Likewise.
61358         (remainder_upward_test_data): Likewise.
61359         (remquo_test_data): Likewise.
61360         (rint_test_data): Likewise.
61361         (rint_tonearest_test_data): Likewise.
61362         (rint_towardzero_test_data): Likewise.
61363         (rint_downward_test_data): Likewise.
61364         (rint_upward_test_data): Likewise.
61365         (round_test_data): Likewise.
61366         (scalb_test_data): Likewise.
61367         (scalbn_test_data): Likewise.
61368         (scalbln_test_data): Likewise.
61369         (signbit_test_data): Likewise.
61370         (sin_test_data): Likewise.
61371         (sin_tonearest_test_data): Likewise.
61372         (sin_towardzero_test_data): Likewise.
61373         (sin_downward_test_data): Likewise.
61374         (sin_upward_test_data): Likewise.
61375         (sincos_test_data): Likewise.
61376         (sinh_test_data): Likewise.
61377         (sinh_tonearest_test_data): Likewise.
61378         (sinh_towardzero_test_data): Likewise.
61379         (sinh_downward_test_data): Likewise.
61380         (sinh_upward_test_data): Likewise.
61381         (sqrt_test_data): Likewise.
61382         (tan_test_data): Likewise.
61383         (tan_tonearest_test_data): Likewise.
61384         (tan_towardzero_test_data): Likewise.
61385         (tan_downward_test_data): Likewise.
61386         (tan_upward_test_data): Likewise.
61387         (tanh_test_data): Likewise.
61388         (tgamma_test_data): Likewise.
61389         (trunc_test_data): Likewise.
61390         (y0_test_data): Likewise.
61391         (y1_test_data): Likewise.
61392         (yn_test_data): Likewise.
61393         (significand_test_data): Likewise.
61395         * math/gen-libm-test.pl (@functions): Remove variable.
61396         (generate_testfile): Don't handle START and END lines.
61397         * math/libm-test.inc (START): New macro.
61398         (END): Likewise.
61399         (END_COMPLEX): Likewise.
61400         (acos_test): Use END macro without arguments.
61401         (acos_test_tonearest): Likewise.
61402         (acos_test_towardzero): Likewise.
61403         (acos_test_downward): Likewise.
61404         (acos_test_upward): Likewise.
61405         (acosh_test): Likewise.
61406         (asin_test): Likewise.
61407         (asin_test_tonearest): Likewise.
61408         (asin_test_towardzero): Likewise.
61409         (asin_test_downward): Likewise.
61410         (asin_test_upward): Likewise.
61411         (asinh_test): Likewise.
61412         (atan_test): Likewise.
61413         (atanh_test): Likewise.
61414         (atan2_test): Likewise.
61415         (cabs_test): Likewise.
61416         (cacos_test): Use END_COMPLEX macro without arguments.
61417         (cacosh_test): Likewise.
61418         (carg_test): Use END macro without arguments.
61419         (casin_test): Use END_COMPLEX macro without arguments.
61420         (casinh_test): Likewise.
61421         (catan_test): Likewise.
61422         (catanh_test): Likewise.
61423         (cbrt_test): Use END macro without arguments.
61424         (ccos_test): Use END_COMPLEX macro without arguments.
61425         (ccosh_test): Likewise.
61426         (ceil_test): Use END macro without arguments.
61427         (cexp_test): Use END_COMPLEX macro without arguments.
61428         (cimag_test): Use END macro without arguments.
61429         (clog_test): Use END_COMPLEX macro without arguments.
61430         (clog10_test): Likewise.
61431         (conj_test): Likewise.
61432         (copysign_test): Use END macro without arguments.
61433         (cos_test): Likewise.
61434         (cos_test_tonearest): Likewise.
61435         (cos_test_towardzero): Likewise.
61436         (cos_test_downward): Likewise.
61437         (cos_test_upward): Likewise.
61438         (cosh_test): Likewise.
61439         (cosh_test_tonearest): Likewise.
61440         (cosh_test_towardzero): Likewise.
61441         (cosh_test_downward): Likewise.
61442         (cosh_test_upward): Likewise.
61443         (cpow_test): Use END_COMPLEX macro without arguments.
61444         (cproj_test): Likewise.
61445         (creal_test): Use END macro without arguments.
61446         (csin_test): Use END_COMPLEX macro without arguments.
61447         (csinh_test): Likewise.
61448         (csqrt_test): Likewise.
61449         (ctan_test): Likewise.
61450         (ctan_test_tonearest): Likewise.
61451         (ctan_test_towardzero): Likewise.
61452         (ctan_test_downward): Likewise.
61453         (ctan_test_upward): Likewise.
61454         (ctanh_test): Likewise.
61455         (ctanh_test_tonearest): Likewise.
61456         (ctanh_test_towardzero): Likewise.
61457         (ctanh_test_downward): Likewise.
61458         (ctanh_test_upward): Likewise.
61459         (erf_test): Use END macro without arguments.
61460         (erfc_test): Likewise.
61461         (exp_test): Likewise.
61462         (exp_test_tonearest): Likewise.
61463         (exp_test_towardzero): Likewise.
61464         (exp_test_downward): Likewise.
61465         (exp_test_upward): Likewise.
61466         (exp10_test): Likewise.
61467         (exp2_test): Likewise.
61468         (expm1_test): Likewise.
61469         (fabs_test): Likewise.
61470         (fdim_test): Likewise.
61471         (finite_test): Likewise.
61472         (floor_test): Likewise.
61473         (fma_test): Likewise.
61474         (fma_test_towardzero): Likewise.
61475         (fma_test_downward): Likewise.
61476         (fma_test_upward): Likewise.
61477         (fmax_test): Likewise.
61478         (fmin_test): Likewise.
61479         (fmod_test): Likewise.
61480         (fpclassify_test): Likewise.
61481         (frexp_test): Likewise.
61482         (gamma_test): Likewise.
61483         (hypot_test): Likewise.
61484         (ilogb_test): Likewise.
61485         (isfinite_test): Likewise.
61486         (isgreater_test): Likewise.
61487         (isgreaterequal_test): Likewise.
61488         (isinf_test): Likewise.
61489         (isless_test): Likewise.
61490         (islessequal_test): Likewise.
61491         (islessgreater_test): Likewise.
61492         (isnan_test): Likewise.
61493         (isnormal_test): Likewise.
61494         (issignaling_test): Likewise.
61495         (isunordered_test): Likewise.
61496         (j0_test): Likewise.
61497         (j1_test): Likewise.
61498         (jn_test): Likewise.
61499         (ldexp_test): Likewise.
61500         (lgamma_test): Likewise.
61501         (lrint_test): Likewise.
61502         (lrint_test_tonearest): Likewise.
61503         (lrint_test_towardzero): Likewise.
61504         (lrint_test_downward): Likewise.
61505         (lrint_test_upward): Likewise.
61506         (llrint_test): Likewise.
61507         (llrint_test_tonearest): Likewise.
61508         (llrint_test_towardzero): Likewise.
61509         (llrint_test_downward): Likewise.
61510         (llrint_test_upward): Likewise.
61511         (log_test): Likewise.
61512         (log10_test): Likewise.
61513         (log1p_test): Likewise.
61514         (log2_test): Likewise.
61515         (logb_test): Likewise.
61516         (logb_test_downward): Likewise.
61517         (lround_test): Likewise.
61518         (llround_test): Likewise.
61519         (modf_test): Likewise.
61520         (nearbyint_test): Likewise.
61521         (nextafter_test): Likewise.
61522         (nexttoward_test): Likewise.
61523         (pow_test): Likewise.
61524         (pow_test_tonearest): Likewise.
61525         (pow_test_towardzero): Likewise.
61526         (pow_test_downward): Likewise.
61527         (pow_test_upward): Likewise.
61528         (remainder_test): Likewise.
61529         (remainder_test_tonearest): Likewise.
61530         (remainder_test_towardzero): Likewise.
61531         (remainder_test_downward): Likewise.
61532         (remainder_test_upward): Likewise.
61533         (remquo_test): Likewise.
61534         (rint_test): Likewise.
61535         (rint_test_tonearest): Likewise.
61536         (rint_test_towardzero): Likewise.
61537         (rint_test_downward): Likewise.
61538         (rint_test_upward): Likewise.
61539         (round_test): Likewise.
61540         (scalb_test): Likewise.
61541         (scalbn_test): Likewise.
61542         (scalbln_test): Likewise.
61543         (signbit_test): Likewise.
61544         (sin_test): Likewise.
61545         (sin_test_tonearest): Likewise.
61546         (sin_test_towardzero): Likewise.
61547         (sin_test_downward): Likewise.
61548         (sin_test_upward): Likewise.
61549         (sincos_test): Likewise.
61550         (sinh_test): Likewise.
61551         (sinh_test_tonearest): Likewise.
61552         (sinh_test_towardzero): Likewise.
61553         (sinh_test_downward): Likewise.
61554         (sinh_test_upward): Likewise.
61555         (sqrt_test): Likewise.
61556         (tan_test): Likewise.
61557         (tan_test_tonearest): Likewise.
61558         (tan_test_towardzero): Likewise.
61559         (tan_test_downward): Likewise.
61560         (tan_test_upward): Likewise.
61561         (tanh_test): Likewise.
61562         (tgamma_test): Likewise.
61563         (trunc_test): Likewise.
61564         (y0_test): Likewise.
61565         (y1_test): Likewise.
61566         (yn_test): Likewise.
61567         (significand_test): Likewise.
61569 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
61571         [BZ #15381]
61572         * libio/genops.c (_IO_no_init): Initialize wide struct info.
61574 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61576         [BZ #14894]
61577         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
61578         __ppc_mdoio and __ppc_mdoom.
61579         * manual/platform.texi: Document new functions __ppc_yield,
61580         __ppc_mdoio and __ppc_mdoom.
61582 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
61584         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
61585         (main): Mention "tls" pseudo-hwcap is legacy.
61586         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
61588 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
61590         * math/gen-libm-test.pl (parse_args): Output only string of
61591         arguments as text for test name, not full call or descriptions of
61592         tests for extra outputs.
61593         (generate_testfile): Do not pass function name to parse_args.
61594         Generate this_func variable from START.
61595         * math/libm-test.inc (struct test_f_f_data): Rename test_name
61596         field to arg_str.
61597         (struct test_ff_f_data): Likewise.
61598         (test_ff_f_data_nexttoward): Likewise.
61599         (struct test_fi_f_data): Likewise.
61600         (struct test_fl_f_data): Likewise.
61601         (struct test_if_f_data): Likewise.
61602         (struct test_fff_f_data): Likewise.
61603         (struct test_c_f_data): Likewise.
61604         (struct test_f_f1_data): Likewise.  Remove field extra_name.
61605         (struct test_fF_f1_data): Likewise.
61606         (struct test_ffI_f1_data): Likewise.
61607         (struct test_c_c_data): Rename test_name field to arg_str.
61608         (struct test_cc_c_data): Likewise.
61609         (struct test_f_i_data): Likewise.
61610         (struct test_ff_i_data): Likewise.
61611         (struct test_f_l_data): Likewise.
61612         (struct test_f_L_data): Likewise.
61613         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
61614         and extra2_name.
61615         (COMMON_TEST_SETUP): New macro.
61616         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
61617         (COMMON_TEST_CLEANUP): Likewise.
61618         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
61619         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
61620         macros.
61621         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
61622         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
61623         macros.
61624         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
61625         (RUN_TEST_fff_f): Take argument string.  Call new setup and
61626         cleanup macros.
61627         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
61628         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
61629         macros.
61630         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
61631         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
61632         macros.
61633         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61634         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
61635         cleanup macros.
61636         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61637         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
61638         cleanup macros.
61639         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61640         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
61641         cleanup macros.
61642         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61643         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
61644         macros.
61645         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
61646         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
61647         macros.
61648         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
61649         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
61650         macros.
61651         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
61652         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
61653         cleanup macros.
61654         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
61655         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
61656         cleanup macros.
61657         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
61658         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
61659         macros.
61660         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
61661         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
61662         cleanup macros.
61663         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
61664         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
61665         macros.
61666         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
61667         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
61668         macros.
61669         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
61670         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
61671         cleanup macros.
61672         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
61674 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
61676         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
61677         to _sifields.sigfault.
61678         (si_addr_lsb): Define new macro.
61679         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61680         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61681         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
61683 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
61685         [BZ #15441]
61686         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
61687         returns -1.
61688         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
61689         null return -1.
61690         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
61691         loading the domain.
61693 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
61695         * math/gen-libm-test.pl (parse_args): Do not include expected
61696         result in test name.
61697         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
61698         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61699         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61700         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61701         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61704 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61706         * benchtests/Makefile: Sort function entries.
61708         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
61709         tanh, asinh, acosh, atanh.
61710         * benchtests/acos-inputs: New file.
61711         * benchtests/acosh-inputs: New file.
61712         * benchtests/asin-inputs: New file.
61713         * benchtests/asinh-inputs: New file.
61714         * benchtests/atanh-inputs: New file.
61715         * benchtests/cosh-inputs: New file.
61716         * benchtests/log-inputs: New file.
61717         * benchtests/sinh-inputs: New file.
61718         * benchtests/tanh-inputs: New file.
61720 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
61722         [BZ #15339]
61723         * posix/tst-getaddrinfo4.c: New test.
61724         * posix/Makefile (tests): Add it.
61726 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61728         [BZ #15339]
61729         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
61730         when no services were used.
61731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
61732         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
61734 2013-05-21  Andreas Schwab  <schwab@suse.de>
61736         [BZ #15014]
61737         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
61738         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
61739         successful.
61740         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
61741         redundant variable declarations and reallocation of buffer when
61742         parsing as IPv6 address.  Always set NSS status when called from
61743         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
61744         buffer too small.  Correct computation of needed size.
61745         * nss/Makefile (tests): Add test-digits-dots.
61746         * nss/test-digits-dots.c: New test.
61748 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61750         * benchtests/Makefile: Remove instructions for adding
61751         benchmark tests.
61752         * benchtests/README: New file to explain how to execute and
61753         enhance the benchmark tests.
61755 2013-05-21  Andreas Schwab  <schwab@suse.de>
61757         [BZ #15493]
61758         * setjmp/Makefile (tests): Add tst-sigsetjmp.
61759         * setjmp/tst-sigsetjmp.c: New test.
61761 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61763         * sysdeps/x86_64/memset.S (memset): New implementation.
61764         (__bzero): Likewise.
61765         (__memset_tail): New function.
61767 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61769         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
61770         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
61771         __memcpy_sse2_unaligned ifunc selection.
61772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61773         Add memcpy-sse2-unaligned.S.
61774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61775         Add: __memcpy_sse2_unaligned.
61777 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
61779         [BZ #15490]
61780         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61781         math_force_eval before restoring floating-point envrionment.
61782         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
61783         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
61784         Likewise.
61785         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
61786         <math_private.h>.
61787         (__nearbyintl): Use math_force_eval before restoring
61788         floating-point environment.
61789         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
61791         * math/gen-libm-test.pl (special_functions): Remove.
61792         (parse_args): Don't handle TEST_extra.  Handle functions with no
61793         return value.
61794         * math/libm-test.inc (struct test_sincos_data): Replace with
61795         struct test_fFF_11_data.
61796         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
61797         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
61798         (sincos_test_data): Change element type to struct
61799         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
61800         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
61801         RUN_TEST_LOOP_sincos.
61802         * math/README.libm-test: Don't mention special handling of
61803         individual functions.
61804         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
61805         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61806         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61807         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61808         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61811         * math/gen-libm-test.pl (get_variable): Remove function.
61812         (parse_args): Don't show pointer parameters to call in test
61813         names.  Use "extra output N" in test names for extra outputs
61814         rather than naming variables.
61816 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
61818         [BZ #15488]
61819         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
61820         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
61821         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
61822         double tests.
61823         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
61824         disable.
61825         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
61826         check_long_double.
61828         * math/gen-libm-test.pl (@tests): Remove variable.
61829         ($count): Likewise.
61830         (new_test): Remove function.
61831         (show_exceptions): New function.
61832         (special_functions): Use show_exceptions instead of new_test.
61833         (parse_args): Likewise.
61834         (generate_testfile): Pass only function name in generated call to
61835         print_max_error or print_complex_max_error.
61836         (get_ulps): Do not handle complex tests specially.
61837         (output_test): Rename to ...
61838         (get_all_ulps_for_test): ... this.  Return a string rather than
61839         printing to a file.  Require ulps to be present.
61840         (output_ulps): Generate arrays rather than #defines.
61841         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
61842         (struct ulp_data): New type.
61843         (BUILD_COMPLEX_ULP): Remove macro.
61844         (compare_ulp_data): New function.
61845         (find_ulps): Likewise.
61846         (find_test_ulps): Likewise.
61847         (find_function_ulps): Likewise.
61848         (find_complex_function_ulps): Likewise.
61849         (print_max_error): Determine allowed ulps using
61850         find_function_ulps.
61851         (print_complex_max_error): Determine allowed ulps using
61852         find_complex_function_ulps.
61853         (check_float_internal): Determine max ulps using find_test_ulps.
61854         (check_float): Do not take max_ulp parameter.  Update call to
61855         check_float_internal.
61856         (check_complex): Likewise.
61857         (check_int): Do not take max_ulp parameter.
61858         (check_long): Likewise.
61859         (check_bool): Likewise.
61860         (check_longlong): Likewise.
61861         (struct test_f_f_data): Remove max_ulp field.
61862         (struct test_ff_f_data): Likewise.
61863         (struct test_ff_f_data_nexttoward): Likewise.
61864         (struct test_fi_f_data): Likewise.
61865         (struct test_fl_f_data): Likewise.
61866         (struct test_if_f_data): Likewise.
61867         (struct test_fff_f_data): Likewise.
61868         (struct test_c_f_data): Likewise.
61869         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
61870         (struct test_fF_f1_data): Likewise.
61871         (struct test_ffI_f1_data): Likewise.
61872         (struct test_c_c_data): Remove max_ulp field.
61873         (struct test_cc_c_data): Likewise.
61874         (struct test_f_i_data): Likewise.
61875         (struct test_ff_i_data): Likewise.
61876         (struct test_f_l_data): Likewise.
61877         (struct test_f_L_data): Likewise.
61878         (struct test_sincos_data): Likewise.
61879         (RUN_TEST_f_f): Do not handle ulps.
61880         (RUN_TEST_LOOP_f_f): Likewise.
61881         (RUN_TEST_2_f): Likewise.
61882         (RUN_TEST_LOOP_2_f): Likewise.
61883         (RUN_TEST_fff_f): Likewise.
61884         (RUN_TEST_LOOP_fff_f): Likewise.
61885         (RUN_TEST_c_f): Likewise.
61886         (RUN_TEST_LOOP_c_f): Likewise.
61887         (RUN_TEST_f_f1): Likewise.
61888         (RUN_TEST_LOOP_f_f1): Likewise.
61889         (RUN_TEST_fF_f1): Likewise.
61890         (RUN_TEST_LOOP_fF_f1): Likewise.
61891         (RUN_TEST_fI_f1): Likewise.
61892         (RUN_TEST_LOOP_fI_f1): Likewise.
61893         (RUN_TEST_ffI_f1): Likewise.
61894         (RUN_TEST_LOOP_ffI_f1): Likewise.
61895         (RUN_TEST_c_c): Likewise.
61896         (RUN_TEST_LOOP_c_c): Likewise.
61897         (RUN_TEST_cc_c): Likewise.
61898         (RUN_TEST_LOOP_cc_c): Likewise.
61899         (RUN_TEST_f_i): Likewise.
61900         (RUN_TEST_LOOP_f_i): Likewise.
61901         (RUN_TEST_f_i_tg): Likewise.
61902         (RUN_TEST_LOOP_f_i_tg): Likewise.
61903         (RUN_TEST_ff_i_tg): Likewise.
61904         (RUN_TEST_LOOP_ff_i_tg): Likewise.
61905         (RUN_TEST_f_b): Likewise.
61906         (RUN_TEST_LOOP_f_b): Likewise.
61907         (RUN_TEST_f_b_tg): Likewise.
61908         (RUN_TEST_LOOP_f_b_tg): Likewise.
61909         (RUN_TEST_f_l): Likewise.
61910         (RUN_TEST_LOOP_f_l): Likewise.
61911         (RUN_TEST_f_L): Likewise.
61912         (RUN_TEST_LOOP_f_L): Likewise.
61913         (RUN_TEST_sincos): Likewise.
61914         (RUN_TEST_LOOP_sincos): Likewise.
61916 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
61918         [BZ #15480]
61919         [BZ #15485]
61920         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
61921         main case of finite arguments, set rounding mode to FE_TONEAREST
61922         and discard exceptions.
61923         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
61924         exceptions.
61925         (remainder_tonearest_test_data): New variable.
61926         (remainder_test_tonearest): New function.
61927         (remainder_towardzero_test_data): New variable.
61928         (remainder_test_towardzero): New function.
61929         (remainder_downward_test_data): New variable.
61930         (remainder_test_downward): New function.
61931         (remainder_upward_test_data): New variable.
61932         (remainder_test_upward): New function.
61933         (main): Call the new test functions.
61935         * math/libm-test.inc (struct test_f_f1_data): Remove field
61936         extra_init.
61937         (struct test_fF_f1_data): Likewise.
61938         (struct test_ffI_f1_data): Likewise.
61939         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
61940         based on value of EXTRA_EXPECTED.
61941         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61942         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
61943         EXTRA_VAR based on value of EXTRA_EXPECTED.
61944         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61945         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
61946         EXTRA_VAR based on value of EXTRA_EXPECTED.
61947         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61948         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
61949         EXTRA_VAR based on value of EXTRA_EXPECTED.
61950         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61951         * math/gen-libm-test.pl (parse_args): Don't output initializers
61952         for extra output values.
61954         * math/libm-test.inc (check_int): Expect result to be exactly
61955         equal to expected value and do not handle ulps.
61956         (check_long): Likewise.
61957         (check_longlong): Likewise.
61959         * math/libm-test.inc (ceil_test_data): Test for "inexact"
61960         exceptions.
61961         (cimag_test_data): Likewise.
61962         (conj_test_data): Likewise.
61963         (copysign_test_data): Likewise.
61964         (cproj_test_data): Likewise.
61965         (creal_test_data): Likewise.
61966         (fabs_test_data): Likewise.
61967         (fdim_test_data): Likewise.
61968         (finite_test_data): Likewise.
61969         (floor_test_data): Likewise.
61970         (fmax_test_data): Likewise.
61971         (fmin_test_data): Likewise.
61972         (fmod_test_data): Likewise.
61973         (fpclassify_test_data): Likewise.
61974         (frexp_test_data): Likewise.
61975         (ilogb_test_data): Likewise.
61976         (isfinite_test_data): Likewise.
61977         (isgreater_test_data): Likewise.
61978         (isgreaterequal_test_data): Likewise.
61979         (isinf_test_data): Likewise.
61980         (isless_test_data): Likewise.
61981         (islessequal_test_data): Likewise.
61982         (islessgreater_test_data): Likewise.
61983         (isnan_test_data): Likewise.
61984         (isnormal_test_data): Likewise.
61985         (issignaling_test_data): Likewise.
61986         (isunordered_test_data): Likewise.
61987         (ldexp_test_data): Likewise.
61988         (lrint_test_data): Likewise.
61989         (lrint_test_data) [TEST_FLOAT]: Disable one test.
61990         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
61991         (lrint_tonearest_test_data): Test for "inexact" exceptions.
61992         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61993         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
61994         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61995         test input.
61996         (lrint_towardzero_test_data): Test for "inexact" exceptions.
61997         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61998         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
61999         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
62000         that test input.
62001         (lrint_downward_test_data): Test for "inexact" exceptions.
62002         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62003         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
62004         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62005         test input.
62006         (lrint_upward_test_data): Test for "inexact" exceptions.
62007         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
62008         test input.
62009         (llrint_test_data): Test for "inexact" exceptions.
62010         (llrint_test_data) [TEST_FLOAT]: Disable one test.
62011         (llrint_tonearest_test_data): Test for "inexact" exceptions.
62012         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62013         (llrint_towardzero_test_data): Test for "inexact" exceptions.
62014         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62015         (llrint_downward_test_data): Test for "inexact" exceptions.
62016         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62017         (llrint_upward_test_data): Test for "inexact" exceptions.
62018         (logb_test_data): Likewise.
62019         (logb_downward_test_data): Likewise.
62020         (nextafter_test_data): Likewise.
62021         (nexttoward_test_data): Likewise.
62022         (remainder_test_data): Likewise.
62023         (remquo_test_data): Likewise.
62024         (scalbn_test_data): Likewise.
62025         (scalbln_test_data): Likewise.
62026         (signbit_test_data): Likewise.
62027         (sqrt_test_data): Likewise.
62028         (significand_test_data): Likewise.
62030 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62032         [BZ #15424]
62033         * benchtests/bench-modf.c (struct args): Mark arg0 as
62034         volatile.
62035         * scripts/bench.pl: Mark members of struct args as volatile.
62037 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62039         [BZ # 15497]
62040         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
62041         negative infinity on POWER6 or lower.
62042         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
62044 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
62046         [BZ #15442]
62047         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
62048         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
62049         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
62050         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
62051         (_FP_SETQNAN): New macro.
62052         (_FP_SETQNAN_SEMIRAW): Likewise.
62053         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
62054         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
62055         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
62056         (FP_EXTEND): Use _FP_FRAC_SNANP.
62057         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
62058         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
62059         into account.
62060         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62061         New macro.
62062         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62063         Likewise.
62065 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62067         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
62068         with DIVIDE_BY_ZERO_EXCEPTION.
62069         (gamma_test_data): Likewise.
62070         (lgamma_test_data): Likewise.
62071         (log_test_data): Likewise.
62072         (log10_test_data): Likewise.
62073         (log2_test_data): Likewise.
62074         (tgamma_test_data): Likewise.
62076         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
62077         (acos_test_tonearest): Likewise.
62078         (acos_test_towardzero): Likewise.
62079         (acos_test_downward): Likewise.
62080         (acos_test_upward): Likewise.
62081         (acosh_test): Likewise.
62082         (asin_test): Likewise.
62083         (asin_test_tonearest): Likewise.
62084         (asin_test_towardzero): Likewise.
62085         (asin_test_downward): Likewise.
62086         (asin_test_upward): Likewise.
62087         (asinh_test): Likewise.
62088         (atan_test): Likewise.
62089         (atanh_test): Likewise.
62090         (atan2_test): Likewise.
62091         (cabs_test): Likewise.
62092         (cacos_test): Likewise.
62093         (cacosh_test): Likewise.
62094         (casin_test): Likewise.
62095         (casinh_test): Likewise.
62096         (catan_test): Likewise.
62097         (catanh_test): Likewise.
62098         (cbrt_test): Likewise.
62099         (ccos_test): Likewise.
62100         (ccosh_test): Likewise.
62101         (cexp_test): Likewise.
62102         (clog_test): Likewise.
62103         (clog10_test): Likewise.
62104         (cos_test): Likewise.
62105         (cos_test_tonearest): Likewise.
62106         (cos_test_towardzero): Likewise.
62107         (cos_test_downward): Likewise.
62108         (cos_test_upward): Likewise.
62109         (cosh_test): Likewise.
62110         (cosh_test_tonearest): Likewise.
62111         (cosh_test_towardzero): Likewise.
62112         (cosh_test_downward): Likewise.
62113         (cosh_test_upward): Likewise.
62114         (cpow_test): Likewise.
62115         (csin_test): Likewise.
62116         (csinh_test): Likewise.
62117         (csqrt_test): Likewise.
62118         (ctan_test): Likewise.
62119         (ctan_test_tonearest): Likewise.
62120         (ctan_test_towardzero): Likewise.
62121         (ctan_test_downward): Likewise.
62122         (ctan_test_upward): Likewise.
62123         (ctanh_test): Likewise.
62124         (ctanh_test_tonearest): Likewise.
62125         (ctanh_test_towardzero): Likewise.
62126         (ctanh_test_downward): Likewise.
62127         (ctanh_test_upward): Likewise.
62128         (erf_test): Likewise.
62129         (erfc_test): Likewise.
62130         (exp_test): Likewise.
62131         (exp_test_tonearest): Likewise.
62132         (exp_test_towardzero): Likewise.
62133         (exp_test_downward): Likewise.
62134         (exp_test_upward): Likewise.
62135         (exp10_test): Likewise.
62136         (exp2_test): Likewise.
62137         (expm1_test): Likewise.
62138         (fmod_test): Likewise.
62139         (gamma_test): Likewise.
62140         (hypot_test): Likewise.
62141         (j0_test): Likewise.
62142         (j1_test): Likewise.
62143         (jn_test): Likewise.
62144         (lgamma_test): Likewise.
62145         (log_test): Likewise.
62146         (log10_test): Likewise.
62147         (log1p_test): Likewise.
62148         (log2_test): Likewise.
62149         (logb_test_downward): Likewise.
62150         (pow_test): Likewise.
62151         (pow_test_tonearest): Likewise.
62152         (pow_test_towardzero): Likewise.
62153         (pow_test_downward): Likewise.
62154         (pow_test_upward): Likewise.
62155         (remainder_test): Likewise.
62156         (remquo_test): Likewise.
62157         (sin_test): Likewise.
62158         (sin_test_tonearest): Likewise.
62159         (sin_test_towardzero): Likewise.
62160         (sin_test_downward): Likewise.
62161         (sin_test_upward): Likewise.
62162         (sincos_test): Likewise.
62163         (sinh_test): Likewise.
62164         (sinh_test_tonearest): Likewise.
62165         (sinh_test_towardzero): Likewise.
62166         (sinh_test_downward): Likewise.
62167         (sinh_test_upward): Likewise.
62168         (sqrt_test): Likewise.
62169         (tan_test): Likewise.
62170         (tan_test_tonearest): Likewise.
62171         (tan_test_towardzero): Likewise.
62172         (tan_test_downward): Likewise.
62173         (tan_test_upward): Likewise.
62174         (tanh_test): Likewise.
62175         (tgamma_test): Likewise.
62176         (y0_test): Likewise.
62177         (y1_test): Likewise.
62178         (yn_test): Likewise.
62180         * math/gen-libm-test.pl (adjust_arg): Remove function.
62181         (special_function): Remove argument $in_func.  Only handle
62182         generating output for tables of tests, not inside functions.
62183         (parse_args): Likewise.
62184         (generate_testfile): Remove variable $in_func.  Update call to
62185         parse_args.
62186         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
62187         (MINUS_ZERO_INIT): Rename macro to minus_zero.
62188         (PLUS_INFTY_INIT): Rename macro to plus_infty.
62189         (MINUS_INFTY_INIT): Rename macro to minus_infty.
62190         (QNAN_VALUE_INIT): Rename macro to qnan_value.
62191         (MAX_VALUE_INIT): Rename macro to max_value.
62192         (MIN_VALUE_INIT): Rename macro to min_value.
62193         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
62194         (plus_zero): Remove variable.
62195         (minus_zero): Likewise.
62196         (plus_infty): Likewise.
62197         (minus_infty): Likewise.
62198         (qnan_value): Likewise.
62199         (max_value): Likewise.
62200         (min_value): Likewise.
62201         (min_subnorm_value): Likewise.
62203 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62205         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
62206         uint64_t or uint32_t usage.
62207         * crypt/sha256-block.c: Likewise.
62208         * crypt/sha256-crypt.c: Likewise.
62209         * crypt/sha256.c: Likewise.
62210         * crypt/sha512-block.c: Likewise.
62211         * crypt/sha512-crypt.c: Likewise.
62212         * crypt/sha512.c: Likewise.
62213         * debug/backtrace-tst.c: Likewise.
62214         * debug/pcprofiledump.c: Likewise.
62215         * elf/cache.c: Likewise.
62216         * elf/dl-cache.c: Likewise.
62217         * elf/dl-misc.c: Likewise.
62218         * elf/dl-profile.c: Likewise.
62219         * elf/dl-support.c: Likewise.
62220         * elf/ldconfig.c: Likewise.
62221         * elf/sprof.c: Likewise.
62222         * iconv/dummy-repertoire.c: Likewise.
62223         * iconv/iconv_charmap.c: Likewise.
62224         * iconv/skeleton.c: Likewise.
62225         * iconvdata/8bit-generic.c: Likewise.
62226         * iconvdata/cp737.h: Likewise.
62227         * iconvdata/cp775.h: Likewise.
62228         * iconvdata/ibm1008.h: Likewise.
62229         * iconvdata/ibm1025.h: Likewise.
62230         * iconvdata/ibm1046.h: Likewise.
62231         * iconvdata/ibm1097.h: Likewise.
62232         * iconvdata/ibm1112.h: Likewise.
62233         * iconvdata/ibm1122.h: Likewise.
62234         * iconvdata/ibm1123.h: Likewise.
62235         * iconvdata/ibm1124.h: Likewise.
62236         * iconvdata/ibm1129.h: Likewise.
62237         * iconvdata/ibm1130.h: Likewise.
62238         * iconvdata/ibm1132.h: Likewise.
62239         * iconvdata/ibm1133.h: Likewise.
62240         * iconvdata/ibm1137.h: Likewise.
62241         * iconvdata/ibm1140.h: Likewise.
62242         * iconvdata/ibm1141.h: Likewise.
62243         * iconvdata/ibm1142.h: Likewise.
62244         * iconvdata/ibm1143.h: Likewise.
62245         * iconvdata/ibm1144.h: Likewise.
62246         * iconvdata/ibm1145.h: Likewise.
62247         * iconvdata/ibm1146.h: Likewise.
62248         * iconvdata/ibm1147.h: Likewise.
62249         * iconvdata/ibm1148.h: Likewise.
62250         * iconvdata/ibm1149.h: Likewise.
62251         * iconvdata/ibm1153.h: Likewise.
62252         * iconvdata/ibm1154.h: Likewise.
62253         * iconvdata/ibm1155.h: Likewise.
62254         * iconvdata/ibm1156.h: Likewise.
62255         * iconvdata/ibm1157.h: Likewise.
62256         * iconvdata/ibm1158.h: Likewise.
62257         * iconvdata/ibm1160.h: Likewise.
62258         * iconvdata/ibm1161.h: Likewise.
62259         * iconvdata/ibm1162.h: Likewise.
62260         * iconvdata/ibm1163.h: Likewise.
62261         * iconvdata/ibm1164.h: Likewise.
62262         * iconvdata/ibm1166.h: Likewise.
62263         * iconvdata/ibm1167.h: Likewise.
62264         * iconvdata/ibm12712.h: Likewise.
62265         * iconvdata/ibm1390.h: Likewise.
62266         * iconvdata/ibm1399.h: Likewise.
62267         * iconvdata/ibm16804.h: Likewise.
62268         * iconvdata/ibm4517.h: Likewise.
62269         * iconvdata/ibm4899.h: Likewise.
62270         * iconvdata/ibm4909.h: Likewise.
62271         * iconvdata/ibm4971.h: Likewise.
62272         * iconvdata/ibm5347.h: Likewise.
62273         * iconvdata/ibm803.h: Likewise.
62274         * iconvdata/ibm856.h: Likewise.
62275         * iconvdata/ibm901.h: Likewise.
62276         * iconvdata/ibm902.h: Likewise.
62277         * iconvdata/ibm9030.h: Likewise.
62278         * iconvdata/ibm9066.h: Likewise.
62279         * iconvdata/ibm921.h: Likewise.
62280         * iconvdata/ibm922.h: Likewise.
62281         * iconvdata/ibm9448.h: Likewise.
62282         * iconvdata/isiri-3342.h: Likewise.
62283         * iconvdata/jis0201.h: Likewise.
62284         * include/link.h: Likewise.
62285         * include/netdb.h: Likewise.
62286         * inet/check_native.c: Likewise.
62287         * inet/check_pf.c: Likewise.
62288         * inet/getipv4sourcefilter.c: Likewise.
62289         * inet/getnameinfo.c: Likewise.
62290         * inet/getsourcefilter.c: Likewise.
62291         * inet/htonl.c: Likewise.
62292         * inet/setipv4sourcefilter.c: Likewise.
62293         * inet/setsourcefilter.c: Likewise.
62294         * inet/test-inet6_opt.c: Likewise.
62295         * inet/tst-network.c: Likewise.
62296         * locale/C-collate.c: Likewise.
62297         * locale/C-ctype.c: Likewise.
62298         * locale/C-time.c: Likewise.
62299         * locale/C-translit.h: Likewise.
62300         * locale/loadarchive.c: Likewise.
62301         * locale/programs/3level.h: Likewise.
62302         * locale/programs/charmap.c: Likewise.
62303         * locale/programs/charmap.h: Likewise.
62304         * locale/programs/ld-address.c: Likewise.
62305         * locale/programs/ld-collate.c: Likewise.
62306         * locale/programs/ld-ctype.c: Likewise.
62307         * locale/programs/ld-identification.c: Likewise.
62308         * locale/programs/ld-measurement.c: Likewise.
62309         * locale/programs/ld-messages.c: Likewise.
62310         * locale/programs/ld-monetary.c: Likewise.
62311         * locale/programs/ld-name.c: Likewise.
62312         * locale/programs/ld-numeric.c: Likewise.
62313         * locale/programs/ld-paper.c: Likewise.
62314         * locale/programs/ld-telephone.c: Likewise.
62315         * locale/programs/ld-time.c: Likewise.
62316         * locale/programs/linereader.c: Likewise.
62317         * locale/programs/locale.c: Likewise.
62318         * locale/programs/locarchive.c: Likewise.
62319         * locale/programs/locfile.h: Likewise.
62320         * locale/programs/repertoire.c: Likewise.
62321         * locale/programs/simple-hash.c: Likewise.
62322         * locale/programs/simple-hash.h: Likewise.
62323         * malloc/memusage.c: Likewise.
62324         * malloc/memusagestat.c: Likewise.
62325         * nis/nis_defaults.c: Likewise.
62326         * nis/nis_hash.c: Likewise.
62327         * nis/nis_print.c: Likewise.
62328         * nis/nis_xdr.c: Likewise.
62329         * nscd/connections.c: Likewise.
62330         * nscd/hstcache.c: Likewise.
62331         * nscd/nscd_gethst_r.c: Likewise.
62332         * nscd/nscd_getserv_r.c: Likewise.
62333         * nscd/nscd_helper.c: Likewise.
62334         * nscd/servicescache.c: Likewise.
62335         * nss/makedb.c: Likewise.
62336         * nss/nss_db/db-XXX.c: Likewise.
62337         * nss/nss_db/db-initgroups.c: Likewise.
62338         * nss/nss_db/db-netgrp.c: Likewise.
62339         * nss/nss_files/files-network.c: Likewise.
62340         * nss/nss_files/files-parse.c: Likewise.
62341         * posix/bug-regex5.c: Likewise.
62342         * posix/fnmatch_loop.c: Likewise.
62343         * posix/regcomp.c: Likewise.
62344         * posix/regexec.c: Likewise.
62345         * posix/tst-rfc3484-2.c: Likewise.
62346         * posix/tst-rfc3484-3.c: Likewise.
62347         * posix/tst-rfc3484.c: Likewise.
62348         * resolv/nss_dns/dns-canon.c: Likewise.
62349         * resolv/nss_dns/dns-network.c: Likewise.
62350         * resolv/res_init.c: Likewise.
62351         * resolv/res_mkquery.c: Likewise.
62352         * resolv/tst-aton.c: Likewise.
62353         * stdlib/cxa_atexit.c: Likewise.
62354         * stdlib/cxa_finalize.c: Likewise.
62355         * stdlib/gen-fpioconst.c: Likewise.
62356         * stdlib/strtol_l.c: Likewise.
62357         * string/tst-endian.c: Likewise.
62358         * sunrpc/auth_des.c: Likewise.
62359         * sunrpc/clnt_udp.c: Likewise.
62360         * sunrpc/rtime.c: Likewise.
62361         * sunrpc/svcauth_des.c: Likewise.
62362         * sunrpc/xdr.c: Likewise.
62363         * sunrpc/xdr_intXX_t.c: Likewise.
62364         * sunrpc/xdr_rec.c: Likewise.
62365         * sysdeps/generic/ldconfig.h: Likewise.
62366         * sysdeps/generic/ldsodefs.h: Likewise.
62367         * sysdeps/generic/memusage.h: Likewise.
62368         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62369         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
62370         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
62371         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62372         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62374         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62375         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62376         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62377         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62378         * sysdeps/posix/getaddrinfo.c: Likewise.
62379         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62380         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62381         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
62382         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62383         * sysdeps/powerpc/test-gettimebase.c: Likewise.
62384         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
62385         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
62386         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
62387         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
62388         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
62389         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62390         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62391         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
62392         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
62393         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
62394         * sysdeps/x86_64/dl-tls.h: Likewise.
62395         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
62396         * time/alt_digit.c: Likewise.
62397         * time/era.c: Likewise.
62398         * wcsmbs/tst-c16c32-1.c: Likewise.
62400 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62402         * math/libm-test.inc (struct test_sincos_data): New type.
62403         (RUN_TEST_LOOP_sincos): New macro.
62404         (sincos_test_data): New variable.
62405         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
62407 2013-05-16  Richard Henderson  <rth@redhat.com>
62409         * math/atest-exp2.c (LIMB64): New macro.
62410         (CONSTSZ): New macro.
62411         (mp_exp1, mp_exp_m1, mp_log2): New variables.
62412         (hexdig): Move ...
62413         (print_mpn_fp): ... to function scope.
62414         (read_mpn_hex): Remove.
62415         (get_log2): Remove.
62416         (exp2_mpn): Use mp_log2.
62417         (main): Use mp_exp1.
62419 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62421         * math/libm-test.inc: Remove comment about not testing "inexact"
62422         exceptions.
62423         (INEXACT_EXCEPTION): New macro.
62424         (NO_INEXACT_EXCEPTION): Likewise.
62425         (INVALID_EXCEPTION_OK): Update value.
62426         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62427         (OVERFLOW_EXCEPTION_OK): Likewise.
62428         (UNDERFLOW_EXCEPTION_OK): Likewise.
62429         (IGNORE_ZERO_INF_SIGN): Likewise.
62430         (ERRNO_UNCHANGED): Likewise.
62431         (ERRNO_EDOM): Likewise.
62432         (ERRNO_ERANGE): Likewise.
62433         (test_exceptions): Handle testing "inexact" exceptions.
62434         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
62435         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
62436         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
62437         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
62438         INEXACT_EXCEPTION.
62439         (rint_towardzero_test_data): Likewise.
62440         (rint_downward_test_data): Likewise.
62441         (rint_upward_test_data): Likewise.
62443         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
62444         with OVERFLOW_EXCEPTION.
62445         (exp10_test_data): Likewise.
62446         (exp2_test_data): Likewise.
62447         (expm1_test_data): Likewise.
62448         (lgamma_test_data): Likewise.
62449         (pow_test_data): Likewise.
62450         (tgamma_test_data): Likewise.
62451         (yn_test_data): Remove duplicate test of overflow.
62453         * math/libm-test.inc (struct test_cc_c_data): New type.
62454         (RUN_TEST_LOOP_cc_c): New macro.
62455         (cpow_test_data): New variable.
62456         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
62458         * math/libm-test.inc (struct test_f_L_data): New type.
62459         (RUN_TEST_LOOP_f_L): New macro.
62460         (llrint_test_data): New variable.
62461         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
62462         (llrint_tonearest_test_data): New variable.
62463         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
62464         (llrint_towardzero_test_data): New variable.
62465         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
62466         (llrint_downward_test_data): New variable.
62467         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
62468         (llrint_upward_test_data): New variable.
62469         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
62470         (llround_test_data): New variable.
62471         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
62473 2013-05-13  Peter Collingbourne  <pcc@google.com>
62475         * math/atest-exp2.c (get_log2): Remove const attribute.
62477 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
62479         * math/libm-test.inc (struct test_f_l_data): New type.
62480         (RUN_TEST_LOOP_f_l): New macro.
62481         (lrint_test_data): New variable.
62482         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
62483         (lrint_tonearest_test_data): New variable.
62484         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
62485         (lrint_towardzero_test_data): New variable.
62486         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
62487         (lrint_downward_test_data): New variable.
62488         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
62489         (lrint_upward_test_data): New variable.
62490         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
62491         (lround_test_data): New variable.
62492         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
62494 2013-05-15  Peter Collingbourne  <pcc@google.com>
62496         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
62497         (EXTRACT_WORDS64) Use where appropriate.
62498         (INSERT_WORDS64) Likewise.
62500         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
62501         constraints with x constraints.
62502         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
62504         * malloc/obstack.c (_obstack_compat): Add initializer.
62506 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62508         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
62509         si_trapno and add si_addr_lsb to _sifields.sigfault.
62510         (si_trapno): Remove macro.
62511         (si_addr_lsb): Define new macro.
62512         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62514 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
62516         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
62517         instead of TEST_f_l.
62518         (llrint_test_tonearest): Likewise.
62519         (llrint_test_towardzero): Likewise.
62520         (llrint_test_downward): Likewise.
62521         (llrint_test_upward): Likewise.
62522         (llround_test): Likewise.
62524         * math/libm-test.inc (struct test_f_i_data): Add comment.
62525         (RUN_TEST_LOOP_f_b): New macro.
62526         (RUN_TEST_LOOP_f_b_tg): Likewise.
62527         (finite_test_data): New variable.
62528         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
62529         (isfinite_test_data): New variable.
62530         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62531         (isinf_test_data): New variable.
62532         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62533         (isnan_test_data): New variable.
62534         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62535         (isnormal_test_data): New variable.
62536         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62537         (issignaling_test_data): New variable.
62538         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62539         (signbit_test_data): New variable.
62540         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
62542         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
62543         with INVALID_EXCEPTION.
62544         (acosh_test_data): Likewise.
62545         (asin_test_data): Likewise.
62546         (atanh_test_data): Likewise.
62547         (fmod_test_data): Likewise.
62548         (log_test_data): Likewise.
62549         (log10_test_data): Likewise.
62550         (log2_test_data): Likewise.
62551         (pow_test_data): Likewise.
62552         (sqrt_test_data): Likewise.
62553         (y0_test_data): Likewise.
62554         (y1_test_data): Likewise.
62555         (yn_test_data): Likewise.
62557         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
62558         function contents.
62560         * math/libm-test.inc (struct test_ff_i_data): New type.
62561         (RUN_TEST_LOOP_ff_i_tg): New macro.
62562         (isgreater_test_data): New variable.
62563         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62564         (isgreaterequal_test_data): New variable.
62565         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62566         (isless_test_data): New variable.
62567         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62568         (islessequal_test_data): New variable.
62569         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62570         (islessgreater_test_data): New variable.
62571         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62572         (isunordered_test_data): New variable.
62573         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
62575 2013-05-14  David S. Miller  <davem@davemloft.net>
62577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62579 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
62581         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
62583         * math/libm-test.inc (struct test_fF_f1_data): Change type of
62584         extra_test to int.
62585         (struct test_f_i_data): Change type of max_ulp to int.
62587         * math/libm-test.inc (test_ffI_f1_data): New type.
62588         (RUN_TEST_LOOP_ffI_f1): New macro.
62589         (remquo_test_data): New variable.
62590         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
62592         * setjmp/tst-setjmp-fp.c: New file.
62593         * setjmp/Makefile (tests): Add tst-setjmp-fp.
62594         (link-libm): New variable.
62595         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
62597         * math/libm-test.inc (struct test_f_i_data): New type.
62598         (RUN_TEST_LOOP_f_i): New macro.
62599         (RUN_TEST_LOOP_f_i_tg): Likewise.
62600         (fpclassify_test_data): New variable.
62601         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
62602         (ilogb_test_data): New variable.
62603         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
62605         * math/libm-test.inc (scalbln_test): Correct function name in END
62606         call.
62608         * math/libm-test.inc (struct test_f_f1_data): Add comment.
62609         (RUN_TEST_LOOP_fI_f1): New macro.
62610         (frexp_test_data): New variable.
62611         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
62613         * math/libm-test.inc (struct test_fF_f1_data): New type.
62614         (RUN_TEST_LOOP_fF_f1): New macro.
62615         (modf_test_data): New variable.
62616         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
62618         * math/libm-test.inc (struct test_f_f1_data): New type.
62619         (RUN_TEST_LOOP_f_f1): New macro.
62620         (gamma_test_data): New variable.
62621         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
62622         (lgamma_test_data): New variable.
62623         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
62625 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
62627         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
62628         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
62629         (main): Comment "tls" pseudo-hwcap.
62631 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
62633         * math/libm-test.inc (struct test_fl_f_data): New type.
62634         (RUN_TEST_LOOP_fl_f): New variable.
62635         (scalbln_test_data): New variable.
62636         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
62638         * math/libm-test.inc (struct test_fi_f_data): New type.
62639         (RUN_TEST_LOOP_fi_f): New macro.
62640         (ldexp_test_data): New variable.
62641         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
62642         (scalbn_test_data): New variable.
62643         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
62645         * math/libm-test.inc (struct test_c_f_data): New type.
62646         (RUN_TEST_LOOP_c_f): New macro.
62647         (cabs_test_data): New variable.
62648         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
62649         (carg_test_data): New variable.
62650         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
62651         (cimag_test_data): New variable.
62652         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
62653         (creal_test_data): New variable.
62654         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
62656         * math/libm-test.inc (struct test_if_f_data): New type.
62657         (RUN_TEST_LOOP_if_f): New macro.
62658         (jn_test_data): New variable.
62659         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
62660         (yn_test_data): New variable.
62661         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
62663         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
62665 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62667         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
62668         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
62670 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62672         * benchtests/Makefile (CPPFLAGS-nonlib): Add
62673         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
62674         (bench-deps): Add bench-timing.h.
62675         * benchtests-bench-skeleton.c: Include bench-timing.h.
62676         (main): Use TIMING_* macros instead of clock_gettime.
62677         * benchtests/bench-timing.h: New file.
62679         [BZ #14582]
62680         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
62681         Renamed from _LIB_VERSION.
62682         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
62684 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
62686         * math/libm-test.inc (struct test_fff_f_data): New type.
62687         (RUN_TEST_LOOP_fff_f): New macro.
62688         (fma_test_data): New variable.
62689         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
62690         (fma_towardzero_test_data): New variable.
62691         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
62692         (fma_downward_test_data): New variable.
62693         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
62694         (fma_upward_test_data): New variable.
62695         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
62697         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
62698         (struct test_c_c_data): New type.
62699         (RUN_TEST_LOOP_c_c): New macro.
62700         (cacos_test_data): New variable.
62701         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
62702         (cacosh_test_data): New variable.
62703         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
62704         (casin_test_data): New variable.
62705         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
62706         (casinh_test_data): New variable.
62707         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
62708         (catan_test_data): New variable.
62709         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
62710         (catanh_test_data): New variable.
62711         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
62712         (ccos_test_data): New variable.
62713         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
62714         (ccosh_test_data): New variable.
62715         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
62716         (cexp_test_data): New variable.
62717         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
62718         (clog_test_data): New variable.
62719         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
62720         (clog10_test_data): New variable.
62721         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
62722         (conj_test_data): New variable.
62723         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
62724         (cproj_test_data): New variable.
62725         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
62726         (csin_test_data): New variable.
62727         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
62728         (csinh_test_data): New variable.
62729         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
62730         (csqrt_test_data): New variable.
62731         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
62732         (ctan_test_data): New variable.
62733         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
62734         (ctan_tonearest_test_data): New variable.
62735         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62736         (ctan_towardzero_test_data): New variable.
62737         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62738         (ctan_downward_test_data): New variable.
62739         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62740         (ctan_upward_test_data): New variable.
62741         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62742         (ctanh_test_data): New variable.
62743         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
62744         (ctanh_tonearest_test_data): New variable.
62745         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62746         (ctanh_towardzero_test_data): New variable.
62747         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62748         (ctanh_downward_test_data): New variable.
62749         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62750         (ctanh_upward_test_data): New variable.
62751         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62752         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
62753         of BUILD_COMPLEX.
62755         * math/libm-test.inc (struct test_ff_f_data): New type.
62756         (struct test_ff_f_data_nexttoward): Likewise.
62757         (RUN_TEST_LOOP_2_f): New macro.
62758         (RUN_TEST_LOOP_ff_f): Likewise.
62759         (atan2_test_data): New variable.
62760         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
62761         (copysign_test_data): New variable.
62762         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
62763         (fdim_test_data): New variable.
62764         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
62765         (fmax_test_data): New variable.
62766         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
62767         (fmin_test_data): New variable.
62768         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
62769         (fmod_test_data): New variable.
62770         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
62771         (hypot_test_data): New variable.
62772         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
62773         (nextafter_test_data): New variable.
62774         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
62775         (nexttoward_test_data): New variable.
62776         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
62777         (pow_test_data): New variable.
62778         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
62779         (pow_tonearest_test_data): New variable.
62780         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
62781         (pow_towardzero_test_data): New variable.
62782         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
62783         (pow_downward_test_data): New variable.
62784         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
62785         (pow_upward_test_data): New variable.
62786         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
62787         (remainder_test_data): New variable.
62788         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
62789         (scalb_test_data): New variable.
62790         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
62791         * sysdeps/i386/fpu/libm-test-ulps: Update.
62793 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
62795         * math/libm-test.inc (fma_test): Use max_value instead of local
62796         variable fltmax.
62797         (nextafter_test): Likewise.
62799         * math/libm-test.inc (acos_towardzero_test_data): New variable.
62800         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62801         (acos_downward_test_data): New variable.
62802         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62803         (acos_upward_test_data): New variable.
62804         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62805         (acosh_test_data): New variable.
62806         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
62807         (asin_test_data): New variable.
62808         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
62809         (asin_tonearest_test_data): New variable.
62810         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62811         (asin_towardzero_test_data): New variable.
62812         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62813         (asin_downward_test_data): New variable.
62814         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62815         (asin_upward_test_data): New variable.
62816         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62817         (asinh_test_data): New variable.
62818         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
62819         (atan_test_data): New variable.
62820         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
62821         (atanh_test_data): New variable.
62822         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
62823         (cbrt_test_data): New variable.
62824         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
62825         (ceil_test_data): New variable.
62826         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
62827         (cos_test_data): New variable.
62828         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
62829         (cos_tonearest_test_data): New variable.
62830         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62831         (cos_towardzero_test_data): New variable.
62832         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62833         (cos_downward_test_data): New variable.
62834         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62835         (cos_upward_test_data): New variable.
62836         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62837         (cosh_test_data): New variable.
62838         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
62839         (cosh_tonearest_test_data): New variable.
62840         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62841         (cosh_towardzero_test_data): New variable.
62842         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62843         (cosh_downward_test_data): New variable.
62844         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62845         (cosh_upward_test_data): New variable.
62846         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62847         (erf_test_data): New variable.
62848         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
62849         (erfc_test_data): New variable.
62850         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
62851         (exp_test_data): New variable.
62852         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
62853         (exp_tonearest_test_data): New variable.
62854         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62855         (exp_towardzero_test_data): New variable.
62856         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62857         (exp_downward_test_data): New variable.
62858         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62859         (exp_upward_test_data): New variable.
62860         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62861         (exp10_test_data): New variable.
62862         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
62863         (exp2_test_data): New variable.
62864         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
62865         (expm1_test_data): New variable.
62866         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
62867         (fabs_test_data): New variable.
62868         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
62869         (floor_test_data): New variable.
62870         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
62871         (j0_test_data): New variable.
62872         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
62873         (j1_test_data): New variable.
62874         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
62875         (log_test_data): New variable.
62876         (log_test): Run tests with RUN_TEST_LOOP_f_f.
62877         (log10_test_data): New variable.
62878         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
62879         (log1p_test_data): New variable.
62880         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
62881         (log2_test_data): New variable.
62882         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
62883         (logb_test_data): New variable.
62884         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
62885         (logb_downward_test_data): New variable.
62886         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62887         (nearbyint_test_data): New variable.
62888         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
62889         (rint_test_data): New variable.
62890         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
62891         (rint_tonearest_test_data): New variable.
62892         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62893         (rint_towardzero_test_data): New variable.
62894         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62895         (rint_downward_test_data): New variable.
62896         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62897         (rint_upward_test_data): New variable.
62898         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62899         (round_test_data): New variable.
62900         (round_test): Run tests with RUN_TEST_LOOP_f_f.
62901         (sin_test_data): New variable.
62902         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
62903         (sin_tonearest_test_data): New variable.
62904         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62905         (sin_towardzero_test_data): New variable.
62906         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62907         (sin_downward_test_data): New variable.
62908         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62909         (sin_upward_test_data): New variable.
62910         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62911         (sinh_test_data): New variable.
62912         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
62913         (sinh_tonearest_test_data): New variable.
62914         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62915         (sinh_towardzero_test_data): New variable.
62916         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62917         (sinh_downward_test_data): New variable.
62918         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62919         (sinh_upward_test_data): New variable.
62920         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62921         (sqrt_test_data): New variable.
62922         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
62923         (tan_test_data): New variable.
62924         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
62925         (tan_tonearest_test_data): New variable.
62926         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62927         (tan_towardzero_test_data): New variable.
62928         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62929         (tan_downward_test_data): New variable.
62930         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62931         (tan_upward_test_data): New variable.
62932         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62933         (tanh_test_data): New variable.
62934         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
62935         (tgamma_test_data): New variable.
62936         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
62937         (trunc_test_data): New variable.
62938         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
62939         (y0_test_data): New variable.
62940         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
62941         (y1_test_data): New variable.
62942         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
62943         (significand_test_data): New variable.
62944         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
62946 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
62948         [BZ #12387]
62949         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
62951 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62953         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
62955 2013-05-10  Andreas Jaeger  <aj@suse.de>
62957         [BZ #15448]
62958         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
62959         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
62961 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62963         * math/gen-libm-test.pl (adjust_arg): New function.
62964         (special_functions): Handle generating output in both functions
62965         and arrays.
62966         (parse_args): Likewise.
62967         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
62968         $in_func argument to parse_args.
62969         * math/libm-test.inc (struct test_f_f_data): New type.
62970         (IF_ROUND_INIT_): New macro.
62971         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
62972         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62973         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62974         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62975         (ROUND_RESTORE_): Likewise.
62976         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
62977         (ROUND_RESTORE_FE_TONEAREST): Likewise.
62978         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
62979         (ROUND_RESTORE_FE_UPWARD): Likewise.
62980         (RUN_TEST_LOOP_f_f): New macro.
62981         (acos_test_data): New variable.
62982         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
62983         (acos_tonearest_test_data): New variable.
62984         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62986 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62988         * benchtests/bench-skeleton.c (startup): Fix coding style.
62990 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62992         [BZ #6809]
62993         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
62994         negative infinity argument.
62995         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
62996         negative infinity argument.
62997         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
62998         negative infinity argument.
62999         * math/libm-test.inc (tgamma_test): Expect errno to be set for
63000         domain errors.
63002 2013-05-10  Florian Weimer  <fweimer@redhat.com>
63004         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
63005         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
63006         * iconv/iconv_prog.c (main): Likewise.
63007         * locale/programs/charmap-dir.c (charmap_readdir)
63008         (fopen_uncompressed): Likewise.
63009         * locale/programs/locfile.c (siblings_uncached)
63010         (write_locale_data): Use lstat64 instead of lstat.
63011         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
63012         stat.
63014 2013-05-10  Andreas Jaeger  <aj@suse.de>
63016         [BZ #15395]
63017         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
63018         localization.
63019         Include <locale.h>.
63021 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
63023         * elf/dl-close.c (_dl_close_worker): Add comments.
63025 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
63027         [BZ #15359]
63028         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
63029         high part of pi/2.
63030         (__ieee754_rem_pio2l): Update comments.
63032         [BZ #15429]
63033         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
63034         high part of pi/2.
63035         (__ieee754_rem_pio2l): Update comments.
63037         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
63038         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
63040         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
63041         M_PI_4l.
63043         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
63044         (M_PI_34_LOG10El): Likewise.
63045         (M_PI2_LOG10El): Likewise.
63046         (M_PI4_LOG10El): Likewise.
63047         (M_PI_LOG10El): Likewise.
63049 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63053 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
63055         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
63056         (MINUS_ZERO_INIT): Likewise.
63057         (PLUS_INFTY_INIT): Likewise.
63058         (MINUS_INFTY_INIT): Likewise.
63059         (QNAN_VALUE_INIT): Likewise.
63060         (MAX_VALUE_INIT): Likewise.
63061         (MIN_VALUE_INIT): Likewise.
63062         (MIN_SUBNORM_VALUE_INIT): Likewise.
63063         (plus_zero): Initialize with PLUS_ZERO_INIT.
63064         (minus_zero): Initialize with MINUS_ZERO_INIT.
63065         (plus_infty): Initialize with PLUS_INFTY_INIT.
63066         (minus_infty): Initialize with MINUS_INFTY_INIT.
63067         (qnan_value): Initialize with QNAN_VALUE_INIT.
63068         (max_value): Initialize with MAX_VALUE_INIT.
63069         (min_value): Initialize with MIN_VALUE_INIT.
63070         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
63072         * math/libm-test.inc (RUN_TEST_if_f): New macro.
63073         (jn_test): Use TEST_if_f instead of TEST_ff_f.
63074         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
63075         (yn_test): Use TEST_if_f instead of TEST_ff_f.
63077         * math/libm-test.inc (RUN_TEST_f_f): New macro.
63078         (RUN_TEST_2_f): Likewise.
63079         (RUN_TEST_ff_f): Likewise.
63080         (RUN_TEST_fi_f): Likewise.
63081         (RUN_TEST_fl_f): Likewise.
63082         (RUN_TEST_fff_f): Likewise.
63083         (RUN_TEST_c_f): Likewise.
63084         (RUN_TEST_f_f1): Likewise.
63085         (RUN_TEST_fF_f1): Likewise.
63086         (RUN_TEST_fI_f1): Likewise.
63087         (RUN_TEST_ffI_f1): Likewise.
63088         (RUN_TEST_c_c): Likewise.
63089         (RUN_TEST_cc_c): Likewise.
63090         (RUN_TEST_f_i): Likewise.
63091         (RUN_TEST_f_i_tg): Likewise.
63092         (RUN_TEST_ff_i_tg): Likewise.
63093         (RUN_TEST_f_b): Likewise.
63094         (RUN_TEST_f_b_tg): Likewise.
63095         (RUN_TEST_f_l): Likewise.
63096         (RUN_TEST_f_L): Likewise.
63097         (RUN_TEST_sincos): Likewise.
63098         * math/gen-libm-test.pl (new_test): Take new argument to indicate
63099         whether to show exceptions.  Do not include ");\n" in return
63100         value.
63101         (special_functions): Output call to RUN_TEST_sincos instead of
63102         check_float calls.  Update calls to new_test.
63103         (parse_args): Output call to single RUN_TEST_* macro instead of
63104         check_* calls and other assignments.  Update calls to new_test.
63106         [BZ #2546]
63107         [BZ #2560]
63108         [BZ #5159]
63109         [BZ #15426]
63110         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
63111         input to result for tgamma overflow.
63112         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
63113         (gamma_coeff): New variable.
63114         (NCOEFF): New macro.
63115         (gamma_positive): New function.
63116         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
63117         underflow here.  Use gamma_positive instead of exp (lgamma) for
63118         other arguments.
63119         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
63120         (gamma_coeff): New variable.
63121         (NCOEFF): New macro.
63122         (gammaf_positive): New function.
63123         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
63124         underflow here.  Use gamma_positive instead of exp (lgamma) for
63125         other arguments.
63126         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
63127         (gamma_coeff): New variable.
63128         (NCOEFF): New macro.
63129         (gammal_positive): New function.
63130         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
63131         underflow here.  Use gamma_positive instead of exp (lgamma) for
63132         other arguments.
63133         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
63134         (gamma_coeff): New variable.
63135         (NCOEFF): New macro.
63136         (gammal_positive): New function.
63137         (__ieee754_gammal_r): Handle positive infinity, overflow and
63138         underflow here.  Handle NaN the same as positive infinity.  Remove
63139         check x < 0xffffffff for negative integers.  Use gamma_positive
63140         instead of exp (lgamma) for other arguments.
63141         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
63142         (gamma_coeff): New variable.
63143         (NCOEFF): New macro.
63144         (gammal_positive): New function.
63145         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
63146         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
63147         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
63148         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
63149         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
63150         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
63151         * sysdeps/generic/math_private.h (__gamma_productf): New
63152         prototype.
63153         (__gamma_product): Likewise.
63154         (__gamma_productl): Likewise.
63155         * math/Makefile (libm-calls): Add gamma_product.
63156         * math/libm-test.inc (tgamma_test): Add more tests.
63157         * sysdeps/i386/fpu/libm-test-ulps: Update.
63158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63160 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
63162         * benchtests/bench-skeleton.c (main): Preheat CPU.
63164 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
63166         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
63168 2013-05-07  Roland McGrath  <roland@hack.frob.com>
63170         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
63171         and _dl_skip_args_internal.
63173 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
63175         * manual/message.texi (Message Translation): Talk about users.
63176         Message to key mapping impacts design.
63178 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63180         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
63182         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
63184         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
63185         * sysdeps/wordsize-64/glob64.c: ... here.
63187         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
63188         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
63189         New macros.
63191         * debug/getlogin_r_chk.c: Moved to ...
63192         * login/getlogin_r_chk.c: ... here.
63193         * debug/Makefile (routines): Move getlogin_r_chk to ...
63194         * login/Makefile (routines): ... here.
63195         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
63196         * login/Versions (libc: GLIBC_2.4): ... here.
63198         * io/poll.c (__poll): Renamed from poll.
63199         Add libc_hidden_def.
63200         (poll): Define as weak alias.
63202         * debug/ptsname_r_chk.c: Moved to ...
63203         * login/ptsname_r_chk.c: ... here.
63204         * debug/Makefile (routines): Move ptsname_r_chk to ...
63205         * login/Makefile (routines): ... here.
63206         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
63207         * login/Versions (libc: GLIBC_2.4): ... here.
63209         * posix/getlogin.c: Moved to ...
63210         * login/getlogin.c: ... here.
63211         * posix/getlogin_r.c: Moved to ...
63212         * login/getlogin_r.c: ... here.
63213         * posix/getlogin_r.c: Moved to ...
63214         * login/getlogin_r.c: ... here.
63215         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
63216         * login/Makefile (routines): ... here.
63217         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
63218         * login/Versions (libc: GLIBC_2.0): ... here.
63220         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
63221         (setrlimit): Define as weak alias.
63223         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
63224         Call __ names for open, ftruncate, and close.
63225         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
63226         (truncate): Define as weak alias.
63228 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
63230         * math/gen-libm-test.pl (parse_args): Initialize x before each
63231         test of frexp, modf and remquo.
63233         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
63234         test signgam value.
63236 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63238         [BZ #15418]
63239         [BZ #15419]
63240         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
63241         internal tests.
63242         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63244 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63246         * elf/dl-writev.h: New file.
63247         * elf/dl-misc.c: Include it.
63248         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
63249         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
63251 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
63253         * math/libm-test.inc (noXFails): Remove variable.
63254         (noXPasses): Likewise.
63255         (BUILD_COMPLEX_INT): Remove macro.
63256         (print_screen): Remove xfail argument.
63257         (print_screen_max_error): Likewise.
63258         (update_stats): Likewise.
63259         (print_max_error): Likewise.  Update calls to other affected
63260         functions.
63261         (print_complex_max_error): Likewise.
63262         (test_single_exception): Update calls to print_screen.
63263         (test_single_errno): Likewise.
63264         (check_float_internal): Remove xfail argument.  Update calls to
63265         other affected functions.
63266         (check_float): Likewise.
63267         (check_complex): Likewise.
63268         (check_int): Likewise.
63269         (check_long): Likewise.
63270         (check_bool): Likewise.
63271         (check_longlong): Likewise.
63272         (main): Don't print noXFails and noXPasses.
63273         * math/gen-libm-test.pl (top level): Don't mention expected
63274         failure handling in comment.
63275         (new_test): Don't handle expected failures.
63276         (parse_args): Don't mention expected failure handling in comment.
63277         (generate_testfile): Don't handle expected failures.
63278         (parse_ulps): Likewise.
63279         (print_ulps_file): Likewise.
63280         (get_failure): Remove function.
63281         (output_test): Don't handle expected failures.
63282         * make/README.libm-test: Don't mention expected failure handling.
63284         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
63285         (minus_zero): Likewise.
63286         (plus_infty): Likewise.
63287         (minus_infty): Likewise.
63288         (qnan_value): Likewise.
63289         (max_value): Likewise.
63290         (min_value): Likewise.
63291         (min_subnorm_value): Likewise.
63292         (initialize): Do not initialize those variables dynamically.
63294 2013-05-03  Roland McGrath  <roland@hack.frob.com>
63296         * io/open.c (__open_2): Moved to ...
63297         * io/open_2.c: ... this new file.
63298         * io/open64.c (__open64_2): Moved to ...
63299         * io/open64_2.c: ... this new file.
63300         * io/openat.c (__openat_2): Moved to ...
63301         * io/openat_2.c: ... this new file.
63302         * io/openat64.c (__openat64_2): Moved to ...
63303         * io/openat64_2.c: ... this new file.
63304         * io/Makefile (routines): Add them.
63305         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
63306         * sysdeps/unix/sysv/linux/open_2.c: File removed.
63307         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
63308         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
63309         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
63310         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
63311         (__openat64): Add hidden_ver.
63312         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
63313         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
63315         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
63316         Separately conditionalize setting of GLRO(dl_sysinfo) so
63317         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
63318         as well, but the actual setting is only under [NEED_DL_SYSINFO].
63320 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63322         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
63323         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
63324         definition.
63325         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
63326         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63327         (_libc_vdso_platform_setup): Add __vdso_time initialization.
63328         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
63329         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
63331 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
63333         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
63334         test signgam value.
63336         * math/libm-test.inc (hypot_test): Do not use
63337         IGNORE_ZERO_INF_SIGN.
63339 2013-05-03  Andreas Jaeger  <aj@suse.de>
63341         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
63342         Linux 3.9.
63343         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
63344         (PF_MAX): Adjust for VSOCK change.
63346 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63350 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
63352         [BZ #15264]
63353         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
63354         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
63355         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
63357 2013-05-02  David S. Miller  <davem@davemloft.net>
63359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63361 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
63363         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
63365 2013-05-01  Roland McGrath  <roland@hack.frob.com>
63367         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
63369 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
63371         [BZ #14952]
63372         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
63373         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63374         Use __attribute__ ((__gnu_inline__)).
63375         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63376         Don't use __attribute__ ((__gnu_inline__)).
63378 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
63380         [BZ #15423]
63381         * math/s_catan.c (__catan): Handle small real or imaginary part of
63382         input specially to avoid spurious underflow.
63383         * math/s_catanf.c (__catanf): Likewise.
63384         * math/s_catanh.c (__catanh): Likewise.
63385         * math/s_catanhf.c (__catanhf): Likewise.
63386         * math/s_catanhl.c (__catanhl): Likewise.
63387         * math/s_catanl.c (__catanl): Likewise.
63388         * math/libm-test.inc (catan_test): Add more tests.
63389         (catanh_test): Likewise.
63390         * sysdeps/i386/fpu/libm-test-ulps: Update.
63391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63393 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63397 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
63399         [BZ #15416]
63400         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
63401         accurately for denominator in atan2.
63402         * math/s_catanf.c (__catanf): Likewise.
63403         * math/s_catanh.c (__catanh): Likewise.
63404         * math/s_catanhf.c (__catanhf): Likewise.
63405         * math/s_catanhl.c (__catanhl): Likewise.
63406         * math/s_catanl.c (__catanl): Likewise.
63407         * math/libm-test.inc (catan_test): Add more tests.
63408         (catanh_test): Likewise.
63409         * sysdeps/i386/fpu/libm-test-ulps: Update.
63410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63412 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63414         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
63416         * benchtests/Makefile (bench): Remove slow benchmarks.
63417         * benchtests/atan-inputs: Add slow benchmark inputs.
63418         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
63419         (BENCH_FUNC): Accept variant offset.
63420         (VARIANT): Define.
63421         * benchtests/bench-skeleton.c (main): Run benchmark for each
63422         variant.
63423         * benchtests/cos-inputs: Add slow benchmark inputs.
63424         * benchtests/exp-inputs: Likewise.
63425         * benchtests/pow-inputs: Likewise.
63426         * benchtests/sin-inputs: Likewise.
63427         * benchtests/slowatan-inputs: Remove.
63428         * benchtests/slowatan.c: Remove.
63429         * benchtests/slowcos-inputs: Remove.
63430         * benchtests/slowcos.c: Remove.
63431         * benchtests/slowexp-inputs: Remove.
63432         * benchtests/slowexp.c: Remove.
63433         * benchtests/slowpow-inputs: Remove.
63434         * benchtests/slowpow.c: Remove.
63435         * benchtests/slowsin-inputs: Remove.
63436         * benchtests/slowsin.c: Remove.
63437         * benchtests/slowtan-inputs: Remove.
63438         * benchtests/slowtan.c: Remove.
63439         * benchtests/tan-inputs: Add slow benchmark inputs.
63440         * scripts/bench.pl: Parse comments and directives.
63442         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
63443         in CPPFLAGS.
63444         ($(objpfx)bench-%.c): Remove *-ITER.
63445         * benchtests/bench-modf.c: Remove definition of ITER.
63446         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
63447         (main): Loop for DURATION seconds instead of fixed number of
63448         iterations.
63449         * scripts/bench.pl: Don't expect iterations in parameters.
63451 2013-04-29  Roland McGrath  <roland@hack.frob.com>
63453         * io/fchdir.c (__fchdir): Renamed from fchdir.
63454         (fchdir): Define as weak alias.
63456 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
63458         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
63459         (ERRNO_EDOM): Likewise.
63460         (ERRNO_ERANGE): Likewise.
63461         (noErrnoTests): New variable.
63462         (init_max_error): Set errno to 0.
63463         (test_single_errno): New function.
63464         (test_errno): Likewise.
63465         (check_float_internal): Call test_errno.  Set errno to 0.
63466         (check_complex): Refer to errno tests in comment.
63467         (check_int): Call test_errno.  Set errno to 0.
63468         (check_long): Likewise.
63469         (check_bool): Likewise.
63470         (check_longlong): Likewise.
63471         (cos_test): Use ERRNO_* flags for errno tests instead of
63472         check_int.
63473         (expm1_test): Likewise.
63474         (fmod_test): Likewise.
63475         (ilogb_test): Likewise.
63476         (lgamma_test): Likewise.
63477         (pow_test): Likewise.
63478         (remainder_test): Likewise.
63479         (sin_test): Likewise.
63480         (tan_test): Likewise.
63481         (yn_test): Likewise.
63482         (initialize): Set errno to 0.
63483         (main): Print number of errno tests.
63484         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
63486 2013-04-29  Andreas Jaeger  <aj@suse.de>
63488         [BZ #15084]
63489         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
63490         and RES_USEVC.
63492         [BZ #15085]
63493         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
63494         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
63495         unimplemented.
63497         [BZ #15380]
63498         * stdlib/random.c (__initstate): Return NULL if
63499         __initstate fails.
63501         [BZ #15086]
63502         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
63503         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
63504         RES_SNGLKUPREOP.
63506 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63510 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
63512         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
63513         of individual tests.
63514         (casin_test): Likewise.
63515         (casinh_test): Likewise.
63517 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
63519         [BZ #15409]
63520         * math/s_catan.c (__catan): Handle arguments with large real or
63521         imaginary part separately without squaring.
63522         * math/s_catanf.c (__catanf): Likewise.
63523         * math/s_catanh.c (__catanh): Likewise.
63524         * math/s_catanhf.c (__catanhf): Likewise.
63525         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
63526         and redefine.
63527         (__catanhl): Handle arguments with large real or imaginary part
63528         separately without squaring.
63529         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
63530         and redefine.
63531         (__catanl): Handle arguments with large real or imaginary part
63532         separately without squaring.
63533         * math/libm-test.inc (catan_test): Add more tests.
63534         (catanh_test): Likewise.
63535         * sysdeps/i386/fpu/libm-test-ulps: Update.
63536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63538 2013-04-27  Andreas Jaeger  <aj@suse.de>
63540         [BZ #15007]
63541         * stdlib/stdlib.h: Update guards for qecvt.
63542         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
63543         <stdlib.h>.
63545 2013-04-27  Allan McRae  <allan@archlinux.org>
63547         * sysdeps/i386/fpu/libm-test-ulps: Update.
63549 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
63551         [BZ #15406]
63552         * math/s_catan.c: Include <float.h>.
63553         (__catan): Ensure underflow exception occurs for underflowed
63554         result.
63555         * math/s_catanf.c: Include <float.h>.
63556         (__catanf): Ensure underflow exception occurs for underflowed
63557         result.
63558         * math/s_catanh.c: Include <float.h>.
63559         (__catanh): Ensure underflow exception occurs for underflowed
63560         result.
63561         * math/s_catanhf.c: Include <float.h>.
63562         (__catanhf): Ensure underflow exception occurs for underflowed
63563         result.
63564         * math/s_catanhl.c: Include <float.h>.
63565         (__catanhl): Ensure underflow exception occurs for underflowed
63566         result.
63567         * math/s_catanl.c: Include <float.h>.
63568         (__catanl): Ensure underflow exception occurs for underflowed
63569         result.
63570         * math/libm-test.inc (catan_test): Add more tests.
63571         (catanh_test): Likewise.
63573         [BZ #15405]
63574         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
63575         underflowed result.
63576         * math/s_ccoshf.c (__ccoshf): Likewise.
63577         * math/s_ccoshl.c (__ccoshl): Likewise.
63578         * math/s_csin.c (__csin): Likewise.
63579         * math/s_csinf.c (__csinf): Likewise.
63580         * math/s_csinh.c (__csinh): Likewise.
63581         * math/s_csinhf.c (__csinhf): Likewise.
63582         * math/s_csinhl.c (__csinhl): Likewise.
63583         * math/s_csinl.c (__csinl): Likewise.
63584         * math/libm-test.inc (ccos_test): Add more tests.
63585         (ccosh_test): Likewise.
63586         (csin_test): Likewise.
63587         (csinh_test): Likewise.
63589 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63591         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
63592         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
63593         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
63594         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
63595         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
63596         powerpc/power5+/fpu folders.
63597         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
63600 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63604 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
63606         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
63607         additions to variable.
63608         [$(config-machine) = x86_64] (modules-names): Likewise.
63609         ($(objpfx)tst-audit3): Remove dependency.
63610         ($(objpfx)tst-audit3.out): Likewise.
63611         ($(objpfx)tst-audit4): Likewise.
63612         ($(objpfx)tst-audit4.out): Likewise.
63613         ($(objpfx)tst-audit5): Likewise.
63614         ($(objpfx)tst-audit5.out): Likewise.
63615         ($(objpfx)tst-audit6): Likewise.
63616         ($(objpfx)tst-audit6.out): Likewise.
63617         ($(objpfx)tst-audit7): Likewise.
63618         ($(objpfx)tst-audit7.out): Likewise.
63619         (tst-audit3-ENV): Remove variable.
63620         (tst-audit4-ENV): Likewise.
63621         (tst-audit5-ENV): Likewise.
63622         (tst-audit6-ENV): Likewise.
63623         (tst-audit7-ENV): Likewise.
63624         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
63625         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
63626         addition to variable.
63627         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
63628         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
63629         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
63630         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
63631         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
63632         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
63633         tst-audit3, tst-audit4 and tst-audit5.
63634         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
63635         tst-audit6 and tst-audit7.
63636         [$(subdir) = elf] (modules-names): Add audit modules for those
63637         tests.
63638         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
63639         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
63640         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
63641         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
63642         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
63643         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
63644         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
63645         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
63646         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
63647         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
63648         [$(subdir) = elf] (tst-audit3-ENV): New variable.
63649         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
63650         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
63651         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
63652         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
63653         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
63654         Likewise.
63655         [$(subdir) = elf && $(config-cflags-avx) = yes]
63656         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
63657         [$(subdir) = elf && $(config-cflags-avx) = yes]
63658         (CFLAGS-tst-auditmod4a.c): Likewise.
63659         [$(subdir) = elf && $(config-cflags-avx) = yes]
63660         (CFLAGS-tst-auditmod4b.c): Likewise.
63661         [$(subdir) = elf && $(config-cflags-avx) = yes]
63662         (CFLAGS-tst-auditmod6b.c): Likewise.
63663         [$(subdir) = elf && $(config-cflags-avx) = yes]
63664         (CFLAGS-tst-auditmod6c.c): Likewise.
63665         [$(subdir) = elf && $(config-cflags-avx) = yes]
63666         (CFLAGS-tst-auditmod7b.c): Likewise.
63667         * elf/tst-audit3.c: Move to ...
63668         * sysdeps/x86_64/tst-audit3.c: ... here.
63669         * elf/tst-audit4.c: Move to ...
63670         * sysdeps/x86_64/tst-audit4.c: ... here.
63671         * elf/tst-audit5.c: Move to ...
63672         * sysdeps/x86_64/tst-audit5.c: ... here.
63673         * elf/tst-audit6.c: Move to ...
63674         * sysdeps/x86_64/tst-audit6.c: ... here.
63675         * elf/tst-audit7.c: Move to ...
63676         * sysdeps/x86_64/tst-audit7.c: ... here.
63677         * elf/tst-auditmod3a.c: Move to ...
63678         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
63679         * elf/tst-auditmod3b.c: Move to ...
63680         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
63681         * elf/tst-auditmod4a.c: Move to ...
63682         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
63683         * elf/tst-auditmod4b.c: Move to ...
63684         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
63685         * elf/tst-auditmod5a.c: Move to ...
63686         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
63687         * elf/tst-auditmod5b.c: Move to ...
63688         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
63689         * elf/tst-auditmod6a.c: Move to ...
63690         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
63691         * elf/tst-auditmod6b.c: Move to ...
63692         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
63693         * elf/tst-auditmod6c.c: Move to ...
63694         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
63695         * elf/tst-auditmod7a.c: Move to ...
63696         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
63697         * elf/tst-auditmod7b.c: Move to ...
63698         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
63700 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
63702         [BZ #15366]
63703         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
63704         define unconditionally.
63705         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
63706         define unconditionally.
63707         (INT8_C, INT16_C, etc.): Likewise.
63709 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
63711         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
63712         __ehdr_start with hidden visibility.
63714         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
63716 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
63718         * math/libm-test.inc (cos_test): Use accurate hex constants.
63719         (sincost_test): Likewise.
63721 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
63723         * math/libm-test.inc (catan_test): Add more tests.
63724         (catanh_test): Likewise.
63726         * math/s_catanf.c (__catanf): Use suffixed floating-point
63727         constants.
63728         * math/s_catanhf.c (__catanhf): Likewise.
63729         * math/s_catanhl.c (__catanhl): Likewise.
63730         * math/s_catanl.c (__catanl): Likewise.
63732         [BZ #15394]
63733         * math/s_catan.c (__catan): Calculate imaginary part of result
63734         with log1p not log unless computing log of number close to 0.
63735         * math/s_catanf.c (__catanf): Likewise.
63736         * math/s_catanl.c (__catanl): Likewise.
63737         * math/s_catanh.c (__catanh): Calculate real part of result with
63738         log1p not log unless computing log of number close to 0.
63739         * math/s_catanhf.c (__catanhf): Likewise.
63740         * math/s_catanhl.c (__catanhl): Likewise.
63741         * math/libm-test.inc (catan_test): Add more tests.
63742         (catanh_test): Likewise.
63743         * sysdeps/i386/fpu/libm-test-ulps: Update.
63744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63746 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63748         * benchtests/Makefile: Mention files in which fast and slow
63749         paths of math functions are implemented.
63751 2013-04-23  Roland McGrath  <roland@hack.frob.com>
63753         * sysdeps/posix/timespec_get.c: New file.
63755 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63757         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
63758         POWER.
63759         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
63760         for POWER.
63761         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
63762         powerpc/power5/fpu folders.
63763         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
63764         * benchtests/Makefile: Add modf testcase.
63765         * benchtests/bench-modf.c: New file: Benchmark test for mo
63767 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63769         [BZ #14888]
63770         * time/Makefile (tests): Add tst-strptime-whitespace.
63771         * time/strptime_l.c (get_number): Use ISSPACE.
63772         (__strptime_internal): Likewise.
63773         * time/tst-strptime-whitespace.c: New test case.
63775 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
63777         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
63778         member.
63779         (_nss_files_init): Set it here.
63781 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
63783         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
63784         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
63785         unsigned.
63787 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
63789         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
63791 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63793         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
63794         size just once.
63796 2013-04-21  David S. Miller  <davem@davemloft.net>
63798         * po/ru.po: Update Russion translation from translation project.
63800 2013-04-17  Adam Conrad  <adconrad@0c3.net>
63802         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
63803         and setfsgid.
63805 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
63807         * configure.in: Remove i386 configure warning. Remove i386 case.
63808         * configure: Regenerate.
63809         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
63810         Add example to error message.
63811         * sysdeps/i386/configure: Regenerate.
63813 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63815         * benchtests/Makefile (bench): Add cos, tan, slowcos and
63816         slowtan.
63817         * benchtests/cos-inputs: New file.
63818         * benchtests/slowcos-inputs: New file.
63819         * benchtests/slowcos.c: New file.
63820         * benchtests/slowtan-inputs: New file.
63821         * benchtests/slowtan.c: New file.
63822         * benchtests/tan-inputs: New file.
63824 2013-04-16  Roland McGrath  <roland@hack.frob.com>
63826         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
63827         considered kosher.
63829 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63831         * benchtests/Makefile: Include cppflags-iterator.mk to add
63832         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
63834         * Makefile.in (bench-clean): New target.
63835         * benchtests/Makefile (bench-clean): Likewise.
63837 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
63839         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
63841 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
63843         * stdio-common/tstdiomisc.c: Fix coding-style violation.
63845 2013-04-15  Andreas Schwab  <schwab@suse.de>
63847         * nscd/grpcache.c (cache_addgr): Properly check for short write.
63848         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63849         * nscd/pwdcache.c (cache_addpw): Likewise.
63850         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
63851         more than recsize.
63853 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63855         * benchtests/Makefile (bench): Write all output to
63856         bench-out.tmp together.
63858 2013-04-15  Andreas Schwab  <schwab@suse.de>
63860         * nscd/nscd.c (main): Don't fork again after closing files.
63862 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63864         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
63866         * benchtests/Rules (bench-deps): Collect dependencies into a
63867         single variable.  Add Makefile to dependencies.
63868         ($(objpfx)bench-%.c): Depend on bench-deps.
63870 2013-04-12  Roland McGrath  <roland@hack.frob.com>
63871             Xavier Roche  <roche+kml2@exalead.com>
63873         [BZ #15361]
63874         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
63875         just that it's a file descriptor.
63876         * manual/llio.texi (Synchronizing AIO Operations): Update description
63877         for EBADF error from aio_fsync.
63879 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63881         * Rules (bench): Move target definition...
63882         * benchtests/Makefile: ... here.
63884 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
63886         * math/libm-test.inc (cos_test): Fix PI/2 test.
63887         (sincos_test): Likewise.
63888         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
63889         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
63891 2013-04-11  Andreas Schwab  <schwab@suse.de>
63893         [BZ #13988]
63894         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
63895         accept exponent character only when digits were seen.
63896         * stdio-common/Makefile (tests): Add bug26.
63897         * stdio-common/bug26.c: New file.
63899         [BZ #14293]
63900         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
63901         non-freeable.
63903 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63905         * Makeconfig (rtld-prefix): Define built linker prefix.
63906         * Rules (run-bench): Use it.
63907         * math/Makefile (run-regen-ulps): Likewise.
63909         * Rules (bench): Remove eval.
63911 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63912             Roland McGrath  <roland@hack.frob.com>
63913             Ondrej Bilka  <neleai@seznam.cz>
63915         [BZ #15346]
63916         * time/getdate.c: Include ctype.h and alloca.h.
63917         (__getdate_r): Trim leading and trailing spaces of input.
63918         * time/tst-getdate.c (tests): Add tests with leading and
63919         trailing spaces.
63921 2013-04-08  Roland McGrath  <roland@hack.frob.com>
63923         [BZ #14280]
63924         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
63925         when computing value.
63927 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63929         * math/README.libm-test (How can I generate "libm-test-ulps"?):
63930         Use testrun.sh to run libm tests.
63932         [BZ #15309]
63933         * elf/dl-open.c (dl_open_worker): memset all of seen array.
63935 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
63937         [BZ #15264]
63938         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
63940 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63942         * Makefile.in (regen-ulps): New target.
63943         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
63944         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
63945         [ifneq (no,$(PERL)] (regen-ulps): New target.
63946         [ifeq (no,$(PERL)] (regen-ulps): New target.
63947         * math/libm-test.inc (ulps_file_name): Define.
63948         (output_dir): New variable.
63949         (options): Add "output-dir" option.
63950         (parse_opt): Handle 'o' case.
63951         (main): If output_dir is non-NULL use it as a prefix
63952         otherwise use "".
63953         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
63955 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63957         [BZ #10060, #10062]
63958         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
63959         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
63960         fail configure if __sync_val_compare_and_swap is not inlined.
63961         * sysdeps/i386/configure: Regenerate.
63962         * configure.in: Build for i686 when configured for i386.
63963         * configure: Regenerate.
63964         * README: Remove i386 reference.
63966 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63968         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
63969         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63971 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63973         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
63974         (lmsnanval): New variables.
63975         (F): Add conversion tests.
63976         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
63977         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
63979         * stdio-common/tstdiomisc.c (F): Properly collect individual
63980         tests' results.
63982         [BZ #14686, #15336]
63983         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
63984         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
63985         Instead, use input NaN values or generate a qNaN by arithmetic
63986         operation.  Also fix bugs to comply with the standard.
63987         * math/libm-test.inc (remainder_test): Add more tests.
63989         [BZ #15335, #15342]
63990         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
63991         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
63992         input NaN values or generate a qNaN by arithmetic operation.
63994         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
63995         unreachable code.
63997         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
63998         definitions.
64000 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
64002         [BZ #14478]
64003         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
64004         underflowed result.
64005         * math/s_cexpf.c (__cexpf): Likewise.
64006         * math/s_cexpl.c (__cexpl): Likewise.
64007         * math/libm-test.inc (cexp_test): Add more tests.
64009 2013-04-03  Andreas Schwab  <schwab@suse.de>
64011         [BZ #15330]
64012         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
64013         order arrays from heap if bigger than alloca cutoff.
64015 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
64017         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
64018         (SNAN_TESTS_double): Refer to GCC PR56831.
64019         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
64020         GCC PR56828.
64022 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64024         * Rules (bench): Move bench.out after the run is complete.
64026         * Rules (bench): Echo currently running benchmark.
64028         * benchtests/Makefile (bench): Add atan and slowatan.
64029         * benchtests/atan-inputs: New file.
64030         * benchtests/slowatan-inputs: New file.
64031         * benchtests/slowatan.c: New file.
64033         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
64034         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
64035         its value.
64037         [BZ #15305]
64038         * sysdeps/unix/sysv/linux/kernel-features.h
64039         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
64040         __ASSUME_XFS_RESTRICTED_CHOWN.
64041         * sysdeps/unix/sysv/linux/pathconf.c
64042         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
64043         Save and restore errno.
64045 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
64047         [BZ #15327]
64048         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
64049         arguments using __kernel_casinh.
64050         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
64051         arguments using __kernel_casinhf.
64052         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
64053         arguments using __kernel_casinhl.
64054         * math/libm-test.inc (cacosh_test): Add more tests.
64055         * sysdeps/i386/fpu/libm-test-ulps: Update.
64056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64058 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64060         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
64061         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
64063         * bench/Makefile (bench): Add sin and slowsin.
64064         * benchtests/sin-inputs: New file.
64065         * benchtests/slowsin-inputs: New file.
64066         * benchtests/slowsin.c: New file.
64068         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
64069         (bench): Add slowexp and slowpow.
64070         (exp-ITER): Increase iterations.
64071         (pow-ITER): Likewise.
64072         * benchtests/exp-inputs: Change input.
64073         * benchtests/pow-inputs: Likewise.
64074         * benchtests/slowexp-inputs: New file.
64075         * benchtests/slowexp.c: New file.
64076         * benchtests/slowpow-inputs: New file.
64077         * benchtests/slowpow.c: New file.
64079 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64081         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
64082         instructions.
64083         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64084         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
64085         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
64086         * benchtests/Makefile: Add rint benchtest.
64087         * benchtests/rint-inputs: Input for rint benchtest.
64089 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64091         * Versions.def (libm): Add GLIBC_2.18.
64092         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
64093         hidden libm prototypes.
64094         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
64095         * math/Makefile (libm-calls): Add s_issignaling.
64096         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
64097         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
64098         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
64099         declaration.
64100         * math/math.h [__USE_GNU] (issignaling): New macro.
64101         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
64102         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
64103         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
64104         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
64105         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
64106         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
64107         * manual/arith.texi (issignaling): New section.
64108         * manual/libm-err-tab.pl (@all_functions): Update comment.
64109         * math/gen-libm-test.pl (parse_args): Apply special handling for
64110         issignaling.
64111         * math/libm-test.inc (print_float, issignaling_test): New
64112         functions.
64113         (check_float_internal): Add issignaling checks.
64114         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
64115         default definition.
64116         * sysdeps/powerpc/math-tests.h: New file.
64117         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
64118         tests.
64119         * math/test-snan.c (TEST_FUNC): Likewise.
64121 2013-03-30  David S. Miller  <davem@davemloft.net>
64123         * po/de.po: Update from translation team.
64125 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
64127         [BZ #10357]
64128         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64129         imaginary part less than 1.0 and real part less than 0.5
64130         specially.
64131         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64132         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64133         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
64134         (cacos_test): Add more tests.
64135         (casin_test): Likewise.
64136         (casinh_test): Likewise.
64137         * sysdeps/i386/fpu/libm-test-ulps: Update.
64138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64140 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64142         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
64143         ONE with its value.
64145         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
64146         (__pow_mp): Replace ONE and MONE with their values.
64147         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64148         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
64149         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64150         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
64151         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64152         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64154         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
64156         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
64157         (__pow_mp): Replace ZERO and MZERO with their values.
64158         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64159         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64160         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64162         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64163         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
64164         (__sqr): Likewise.
64166         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
64168         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
64170 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64172         * include/stdlib.h [!SHARED] (__call_tls_dtors):
64173         Declare with __attribute__ ((weak)).
64174         * stdlib/exit.c (__libc_atexit) [!SHARED]:
64175         Call __call_tls_dtors only if it's not NULL.
64177 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64179         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
64180         didn't do it already, then set _dl_phdr and _dl_phnum based on the
64181         magic __ehdr_start linker symbol if it's defined.
64182         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
64183         them up here if it was already done.
64185         * elf/dl-support.c (_dl_phdr): Make pointer to const.
64186         (_dl_aux_init): Use const in cast when setting it.
64187         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
64188         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
64189         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
64191         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
64192         Declare them here.
64193         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
64194         * csu/libc-tls.c: Nor here.
64195         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
64197         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
64198         (__libc_message): Never call vsyslog.
64200 2013-03-28  Alan Modra  <amodra@gmail.com>
64202         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
64203         Define as empty.
64204         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
64205         Likewise.
64207 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64209         [BZ #15214]
64210         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
64211         underflow.
64212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64214 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64216         [BZ #15304]
64217         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
64218         Don't add gid passed as argument.
64220         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
64222 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
64224         [BZ #15307]
64225         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64226         imaginary part between 1.0 and 1.5 and real part less than 0.5
64227         specially.
64228         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64229         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64230         * math/libm-test.inc (cacos_test): Add more tests.
64231         (casin_test): Likewise.
64232         (casinh_test): Likewise.
64233         * sysdeps/i386/fpu/libm-test-ulps: Update.
64234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64236 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64238         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
64239         constants.
64240         (norm): Likewise.
64241         (denorm): Likewise.
64242         (__dbl_mp): Likewise.
64243         (add_magnitudes): Likewise.
64244         (sub_magnitudes): Likewise.
64245         (__add): Likewise.
64246         (__sub): Likewise.
64247         (__mul): Likewise.
64248         (__sqr): Likewise.
64249         (__inv): Likewise.
64250         (__dvd): Likewise.
64252         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
64253         commented code.
64254         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
64255         (__dubcos): Likewise.
64256         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
64257         (__ieee754_acos): Likewise.
64258         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64259         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
64260         (__exp1): Likewise.
64261         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64262         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64263         (log1): Likewise.
64264         (my_log2): Likewise.
64265         (checkint): Likewise.
64266         * sysdeps/ieee754/dbl-64/e_remainder.c
64267         (__ieee754_remainder): Likewise.
64268         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
64270         (bsloww): Likewise.
64271         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64273         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64274         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
64275         MANTISSA_STORE_T to store computations on mantissa.  Use
64276         macros for rounding and division.
64277         (denorm): Likewise.
64278         (__dbl_mp): Likewise.
64279         (add_magnitudes): Likewise.
64280         (sub_magnitudes): Likewise.
64281         (__mul): Likewise.
64282         (__sqr): Likewise.
64283         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64284         powers of two in terms of TWOPOW macro.
64285         (mp_no): Make type of mantissa as MANTISSA_T.
64286         [!RADIXI]: Define RADIXI.
64287         [!TWO52]: Define TWO52.
64288         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64290 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64292         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
64293         llroundl symbol when building for PPC32.
64295 2013-03-24  Mark H Weaver  <mhw@netris.org>
64297         * manual/arith.texi (Normalization Functions): Fix prototypes for
64298         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
64300 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64302         [BZ #13889]
64303         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
64304         high value to check if expl overflow.
64305         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
64306         to check for underflow and overflow.
64307         * math/libm-test.inc: Add exp test.
64309 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
64311         [BZ #11120]
64312         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
64313         with NOT_IN_libc.
64315 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64317         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
64318         symbol.
64320 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64322         * math/gen-libm-test.pl (parse_args, special_functions): Properly
64323         wrap blocks consisting of several statements.
64325         * sysdeps/generic/math-tests.h: New file.
64326         * sysdeps/i386/fpu/math-tests.h: Likewise.
64327         * math/test-snan.c: Include it.
64328         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
64330 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64332         [BZ #15285]
64333         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
64334         (__ieee754_j0l): Do not improve calculations using cos of twice
64335         input for inputs above LDBL_MAX / 2.0L.
64336         (__ieee754_y0l): Likewise.
64337         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
64338         (__ieee754_j1l): Do not improve calculations using cos of twice
64339         input for inputs above LDBL_MAX / 2.0L.
64340         (__ieee754_y1l): Likewise.
64341         * math/libm-test.inc (j0_test): Add another test.
64342         (j1_test): Likewise.
64343         (y0_test): Likewise.
64344         (y1_test): Likewise.
64345         * sysdeps/i386/fpu/libm-test-ulps: Update.
64347 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64349         * Rules ($(objpfx)bench-%.c): Include code from a C source
64350         file.
64352 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64354         [BZ #15287]
64355         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64356         imaginary part 1.0 and real part less than 0.5 specially.
64357         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64358         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64359         * math/libm-test.inc (cacos_test): Add more tests.
64360         (casin_test): Likewise.
64361         (casinh_test): Likewise.
64362         * sysdeps/i386/fpu/libm-test-ulps: Update.
64363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64365 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64367         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
64368         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
64370 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
64372         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
64373         * config.make.in (config-cflags-sse4): Remove variable.
64374         (config-cflags-avx): Likewise.
64375         (config-cflags-sse2avx): Likewise.
64376         (config-cflags-novzeroupper): Likewise.
64377         (config-asflags-i686): Likewise.
64378         (have-mfma4): Likewise.
64379         (have-as-vis3): Likewise.
64380         (MIG): Likewise.
64381         * configure.in (MIG): Do not AC_SUBST.
64382         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
64383         (libc_cv_cc_sse4): Do not AC_SUBST.
64384         (libc_cv_cc_avx): Likewise.
64385         (libc_cv_cc_sse2avx): Likewise.
64386         (libc_cv_cc_novzeroupper): Likewise.
64387         (libc_cv_cc_fma4): Likewise.
64388         (libc_cv_as_i686): Likewise.
64389         (libc_cv_sparc_as_vis3): Likewise.
64390         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
64391         LIBC_CONFIG_VAR.
64392         (config-asflags-i686): Likewise.
64393         (config-cflags-avx): Likewise.
64394         (config-cflags-sse2avx): Likewise.
64395         (have-mfma4): Likewise.
64396         (config-cflags-novzeroupper): Likewise.
64397         * sysdeps/mach/configure.in (MIG): Likewise.
64398         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
64399         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
64400         LIBC_CONFIG_VAR.
64401         (config-cflags-avx): Likewise.
64402         (config-cflags-sse2avx): Likewise.
64403         (have-mfma4): Likewise.
64404         (config-cflags-novzeroupper): Likewise.
64405         * configure: Regenerated.
64406         * sysdeps/i386/configure: Likewise.
64407         * sysdeps/mach/configure: Likewise.
64408         * sysdeps/sparc/configure: Likewise.
64409         * sysdeps/x86_64/configure: Likewise.
64411 2013-03-20  Roland McGrath  <roland@hack.frob.com>
64413         [BZ #14812]
64414         * locale/programs/localedef.c (options): Put N_ translation marker
64415         on argument names, not just descriptions.
64417 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64419         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
64421 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
64423         [BZ #14176]
64424         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
64426 2013-03-19  Roland McGrath  <roland@hack.frob.com>
64428         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
64429         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
64430         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
64431         [!BEFORE_ABORT] (before_abort): New function.
64432         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
64433         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
64434         (writev_for_fatal): New function.
64435         (WRITEV_FOR_FATAL): New macro; call that.
64436         (backtrace_and_maps): New function.
64437         (BEFORE_ABORT): New macro; call that.
64438         (struct str_list): Type removed.
64439         (__libc_message, __libc_fatal): Functions removed.
64440         Include <sysdeps/posix/libc_fatal.c> instead.
64442 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
64444         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
64445         constants.
64446         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
64447         double constants.
64449 2013-03-19  Andreas Schwab  <schwab@suse.de>
64451         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
64452         * sysdeps/gnu/configure: Regenerate.
64454         * configure.in: Substitute libc_cv_rtlddir.
64455         * configure: Regenerate.
64456         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
64457         * Makeconfig (rtlddir, inst_rtlddir): New variables.
64458         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
64459         * elf/Makefile (install-others, CFLAGS-interp.c)
64460         (ldso_install, common-ldd-rewrite): Likewise.
64461         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
64462         $(inst_slibdir)/$(rtld-installed-name).
64463         * scripts/rellns-sh: Add -p option.
64464         * Makerules (make-shlib-link): Use rellns-sh to get relative name
64465         for source.
64467 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64469         * manual/nptl.texi: Renamed to ...
64470         * manual/threads.texi: ... this.
64471         * manual/Makefile (chapters): Update.
64473 2013-03-18  Roland McGrath  <roland@hack.frob.com>
64475         [BZ #14812]
64476         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
64477         on argument names, not just descriptions.
64478         * malloc/memusagestat.c (options): Likewise.
64479         * nss/getent.c (options): Likewise.
64481 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
64483         [BZ #14812]
64484         * iconv/iconv_prog.c (options): Put N_ translation marker
64485         on argument names, not just descriptions.
64486         * iconv/iconvconfig.c (options): Likewise.
64488 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
64490         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
64491         implementation which is faster on all x86_64 architectures.
64492         Tested on AMD, Intel Nehalem, SNB, IVB.
64493         * sysdeps/x86_64/strnlen.S: Likewise.
64495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64496         Remove all multiarch strlen and strnlen versions.
64497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
64498         Remove strlen and strnlen related parts.
64500         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
64501         Inline strlen part.
64502         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
64504         * sysdeps/x86_64/multiarch/strlen.S: Remove.
64505         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
64506         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
64507         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
64508         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64509         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
64511 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
64513         * manual/memory.texi (Malloc Tunable Parameters):
64514         Sort parameters alphabetically. Add comments for missing entries.
64516 2013-03-17  David S. Miller  <davem@davemloft.net>
64518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64520 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
64522         [BZ #15283]
64523         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
64524         for arguments at most half maximum finite value.
64525         * math/libm-test.inc (j0_test): Add more tests.
64526         (j1_test): Likewise.
64527         (y0_test): Likewise.
64528         (y1_test): Likewise.
64529         * sysdeps/i386/fpu/libm-test-ulps: Update.
64530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64532         [BZ #14155]
64533         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
64534         1 / x and functions P and Q for arguments above 0x1p256L.
64535         (__ieee754_y0l): Likewise.
64536         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
64537         (__ieee754_y1l): Likewise.
64538         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
64539         (j1_test): Likewise.
64540         (y0_test): Likewise.
64541         (y1_test): Likewise.
64543 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
64545         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
64546         variable.
64548 2013-03-15  Roland McGrath  <roland@hack.frob.com>
64550         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
64551         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
64552         zero since it's initialized to EXEC_PAGESIZE.
64554         * sysdeps/unix/sysv/linux/ldsodefs.h
64555         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
64556         * sysdeps/generic/ldsodefs.h: ... here.
64558 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
64560         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
64562         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
64563         math/test-snan.c.
64564         * math/test-snan.c: Renamed from
64565         sysdeps/powerpc/fpu/test-powerpc-snan.c.
64566         * math/Makefile (tests): Add test-snan.
64567         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
64568         test-powerpc-snan.
64570         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
64571         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
64572         functions.
64573         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
64574         __builtin_nan family of functions.
64575         * math/libm-test.inc (initialize): Initialize qnan_value with
64576         __builtin_nan family of functions.
64577         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
64578         Remove variables.
64579         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
64580         Remove functions.
64581         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
64582         storage class.  Initialize qNaN_var and sNaN_var with
64583         __builtin_nan and __builtin_nans families of functions,
64584         respectively.
64586         * math/libm-test.inc (acosh_test): Also test with qNaN input.
64587         (sqrt_test): Remove duplicate test with qNaN input.
64588         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
64589         (round_test, signbit_test, significand_test): Note missing +/-Inf
64590         as well as qNaN tests.
64592         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
64593         qNaN_var.  Fix a few strings, too.
64594         * math/libm-test.inc (nan_value): Rename to qnan_value.
64595         * math/gen-libm-test.pl (%beautify): Adjust to that.
64596         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
64597         * math/test-misc.c (main): Likewise.
64598         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
64599         to __qnan_bytes, and __qnan_union, respectively.
64600         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
64601         Likewise.
64602         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
64603         and lqnanval, respectively.
64604         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
64605         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
64606         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
64607         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
64609         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
64610         * math/test-misc.c (main) [__x86_64__]: Enable test for long
64611         doubles.
64613         * math/test-misc.c (main): Fix copy'n'pastos.
64614         * misc/tst-efgcvt.c (special): Likewise.
64616         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
64617         Remove declarations.
64619 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64621         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
64622         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
64623         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
64624         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
64626 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64628         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
64629         macro to return vdso values correctly in IFUNC implementations.
64630         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
64631         Optimization by using IFUNC.
64633 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64634             Richard Henderson  <rth@redhat.com>
64635             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64637         * Makefile.in (bench): New target.
64638         * NEWS: Mention the benchmark framework.
64639         * Rules (bench): Likewise.
64640         (binaries-bench): Generate binaries for functions to
64641         benchmark.
64642         * benchtests/Makefile: New makefile for benchmark tests.
64643         * benchtests/bench-skeleton.c: New skeleton file for benchmark
64644         programs.
64645         * benchtests/exp-inputs: New input file for EXP function.
64646         * benchtests/pow-inputs: New input file for POW function.
64647         * scripts/bench.pl: New script to generate source files for
64648         benchmark programs.
64650 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64652         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64653         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
64654         computations on mantissa.  Use macros for rounding and
64655         division.
64656         (denorm): Likewise.
64657         (__dbl_mp): Likewise.
64658         (add_magnitudes): Likewise.
64659         (sub_magnitudes): Likewise.
64660         (__mul): Likewise.
64661         (__sqr): Likewise.
64662         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64663         powers of two in terms of TWOPOW macro.
64664         (mp_no): Make type of mantissa as MANTISSA_T.
64665         [!RADIXI]: Define RADIXI.
64666         [!TWO52]: Define TWO52.
64667         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64669         * manual/nptl.texi (cindex): Modify threads to pthreads.
64671 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
64673         * sysdeps/x86_64/preconfigure: Regenerated.
64675 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
64677         [BZ #14155]
64678         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
64679         0x1p28 and above.
64680         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
64681         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
64682         0x1p28 and above.
64683         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
64684         * math/libm-test.inc (j0_test): Do not allow one spurious
64685         underflow exception.
64686         (y1_test): Likewise.
64688 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64690         * manual/Makefile (chapters): Add nptl.
64691         * manual/debug.texi (Debugging Support): Add link to Threads
64692         chapter.
64693         * manual/nptl.texi: New file.
64695         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
64697 2013-03-14  Petr Baudis  <pasky@ucw.cz>
64699         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
64700         for non-NULL pointer before the memory validity test. Pointed
64701         out by Holger Brunck <holger.brunck@keymile.com>.
64703 2013-03-13  Andreas Schwab  <schwab@suse.de>
64705         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
64706         instead of .os.
64708 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
64710         * timezone/zic.c: Update from tzcode 2013b.
64712 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
64714         * manual/install.texi (Configuring and compiling):
64715         Mention i686 and i586.
64716         * INSTALL: Regenerate.
64718 2013-03-12  Roland McGrath  <roland@hack.frob.com>
64720         * sysdeps/init_array/elf-init.c: New file.
64721         * csu/elf-init.c
64722         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
64723         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
64725         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
64726         __gmon_start__ as global, but as static with a .preinit_array pointer.
64727         * sysdeps/init_array/gmon-start.c: New file.  Use that.
64728         * sysdeps/init_array/crti.S: New file, empty except for comments.
64729         * sysdeps/init_array/crtn.S: Likewise.
64731 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
64733         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
64734         definining bcopy.
64735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64736         Remove Prefer_SSE_for_memop.
64737         * sysdeps/x86_64/multiarch/init-arch.h: Remove
64738         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
64739         HAS_PREFER_SSE_FOR_MEMOP.
64740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
64741         memset-x86-64.
64742         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64743         Remove bzero, memset ifunc support.
64744         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
64745         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
64746         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64747         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64749 2013-03-11  Andreas Schwab  <schwab@suse.de>
64751         [BZ #15234]
64752         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
64753         by SHLIB_COMPAT.
64754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
64755         (GLIBC_2.16): Remove pthread_atfork.
64757 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
64759         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
64760         (ptestcases.h): Likewise.
64762 2013-03-08  Roland McGrath  <roland@hack.frob.com>
64764         * Makeconfig ($(common-objpfx)config.status): Depend on
64765         sysdeps/*/preconfigure{,.in} too.
64767 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
64769         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
64770         (__free_hook): Use void * instead of __malloc_ptr_t.
64771         (__malloc_hook): Likewise.
64772         (__realloc_hook): Likewise.
64773         (__memalign_hook): Likewise.
64774         (__after_morecore_hook): Likewise.
64775         * malloc/arena.c (save_malloc_hook): Likewise.
64776         (save_free_hook): Likewise.
64777         * malloc/hooks.c (malloc_hook_ini): Likewise.
64778         (realloc_hook_ini): Likewise.
64779         (memalign_hook_ini): Likewise.
64780         * malloc/malloc.c (malloc_hook_ini): Likewise.
64781         (realloc_hook_ini): Likewise.
64782         (memalign_hook_ini): Likewise.
64783         (__free_hook): Likewise.
64784         (__malloc_hook): Likewise.
64785         (__realloc_hook): Likewise.
64786         (__memalign_hook): Likewise.
64787         (__libc_malloc): Likewise.
64788         (__libc_free): Likewise.
64789         (__libc_realloc): Likewise.
64790         (__libc_memalign): Likewise.
64791         (__libc_valloc): Likewise.
64792         (__libc_pvalloc): Likewise.
64793         (__libc_calloc): Likewise.
64794         (__posix_memalign): Likewise.
64795         * malloc/morecore.c (__sbrk): Likewise.
64796         (__default_morecore): Likewise.
64798         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
64800         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
64801         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
64802         __malloc_ptrdiff_t.
64804         * malloc/malloc.h (__malloc_size_t): Remove macro.
64805         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
64806         __malloc_size_t.
64807         (old_memalign_hook): Likewise.
64808         (old_realloc_hook): Likewise.
64809         (struct hdr): Likewise.
64810         (flood): Likewise.
64811         (mallochook): Likewise.
64812         (memalignhook): Likewise.
64813         (reallochook): Likewise.
64814         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
64815         (tr_old_realloc_hook): Likewise.
64816         (tr_old_memalign_hook): Likewise.
64817         (tr_mallochook): Likewise.
64818         (tr_reallochook): Likewise.
64819         (tr_memalignhook): Likewise.
64821 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64823         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
64824         default_ldbl_pack and using as default implementation.
64825         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
64826         implementation.
64827         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
64828         redundant definition.
64829         (ldbl_insert_mantissa): Likewise.
64830         (ldbl_canonicalize): Likewise.
64831         (ldbl_nearbyint): Likewise.
64832         (ldbl_pack): Rename to ldbl_pack_ppc.
64833         (ldbl_unpack): Rename to ldbl_unpack_ppc.
64834         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
64835         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
64837 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
64840         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
64841         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
64842         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
64843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
64844         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
64845         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
64846         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
64848 2013-03-07  Andreas Jaeger  <aj@suse.de>
64850         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64851         bits/mman-linux.h.
64853 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64855         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
64856         Include mpa.h and declare __MPEXP.
64857         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
64858         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64859         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64860         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
64861         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64862         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64863         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
64865         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
64866         (__slowpow): Use long double EXPL and LOGL functions to
64867         compute POW.
64868         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64869         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64870         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
64871         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64872         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64873         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
64875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
64876         intermediate variable to calculate exponent.
64877         (__sqr): Likewise.
64878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64879         Likewise.
64880         (__sqr): Likewise.
64882         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
64883         [!NO__SQR]: Define __sqr.
64884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
64885         and NO__SQR.  Remove all code except __mul and __sqr.  Include
64886         sysdeps/ieee754/dbl-64/mpa.c.
64887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64889         [BZ #12723]
64890         * posix/Makefile (tests): Add tst-pathconf.
64891         * posix/tst-pathconf.c: New test case.
64892         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
64893         _PC_PIPE_BUF.
64894         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
64896 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
64898         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
64900 2013-03-06  Andreas Jaeger  <aj@suse.de>
64902         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
64903         definition via __MAP_ANONYMOUS.
64905         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
64906         it's not part of Linux headers.
64908         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
64909         (MAP_HUGE_MASK): Define.
64911         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64912         Define.
64913         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64914         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64915         Define.
64916         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64917         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64918         Define.
64919         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64920         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
64921         Define.
64922         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64924         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
64925         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
64926         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
64927         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
64928         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
64929         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
64931         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64932         Handle f2fs.
64934         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64935         Handle f2fs and efivarfs.
64937         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
64938         f2fs.
64940         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
64941         (EFIVARFS_MAGIC): Add.
64942         (F2FS_LINK_MAX): Add.
64944 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64946         * stdio-common/vfprintf.c: Replace __builtin_expect with
64947         __glibc_unlikely.
64949 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
64951         [BZ #13550]
64952         * sysdeps/generic/bp-sym.h: Remove file.
64953         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
64954         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
64955         <bp-sym.h> and <bp-asm.h>.
64956         (__longjmp): Don't use BP_SYM.
64957         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
64958         and <bp-asm.h>.
64959         (memcpy): Don't use BP_SYM.
64960         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
64961         <bp-sym.h> and <bp-asm.h>.
64962         (memcpy): Don't use BP_SYM.
64963         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
64964         <bp-asm.h>.
64965         (memcpy): Don't use BP_SYM.
64966         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
64967         <bp-asm.h>.
64968         (memset): Don't use BP_SYM.
64969         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64970         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64971         (__bzero): Don't use BP_SYM.
64972         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64973         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64974         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
64975         <bp-sym.h> and <bp-asm.h>.
64976         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64977         pointers.
64978         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
64979         <bp-sym.h> and <bp-asm.h>.
64980         (memcpy): Don't use BP_SYM.
64981         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
64982         <bp-sym.h> and <bp-asm.h>.
64983         (memset): Don't use BP_SYM.
64984         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64985         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64986         (__bzero): Don't use BP_SYM.
64987         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64988         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64989         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
64990         <bp-sym.h> and <bp-asm.h>.
64991         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64992         pointers.
64993         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
64994         <bp-sym.h> and <bp-asm.h>.
64995         (memcpy): Don't use BP_SYM.
64996         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
64997         <bp-sym.h> and <bp-asm.h>.
64998         (memset): Don't use BP_SYM.
64999         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65000         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65001         (__bzero): Don't use BP_SYM.
65002         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65003         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65004         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
65005         <bp-sym.h> and <bp-asm.h>.
65006         (__memchr): Don't use BP_SYM.
65007         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
65008         <bp-sym.h> and <bp-asm.h>.
65009         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65010         pointers.
65011         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
65012         <bp-sym.h> and <bp-asm.h>.
65013         (memcpy): Don't use BP_SYM.
65014         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
65015         <bp-sym.h> and <bp-asm.h>.
65016         (__mempcpy): Don't use BP_SYM.
65017         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
65018         <bp-sym.h> and <bp-asm.h>.
65019         (__memrchr): Don't use BP_SYM.
65020         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
65021         <bp-sym.h> and <bp-asm.h>.
65022         (memset): Don't use BP_SYM.
65023         (__bzero): Likewise.
65024         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
65025         <bp-sym.h> and <bp-asm.h>.
65026         (__rawmemchr): Don't use BP_SYM.
65027         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
65028         <bp-sym.h> and <bp-asm.h>.
65029         (__STRCMP): Don't use BP_SYM.
65030         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
65031         <bp-sym.h> and <bp-asm.h>.
65032         (strchr): Don't use BP_SYM.
65033         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
65034         <bp-sym.h> and <bp-asm.h>.
65035         (__strchrnul): Don't use BP_SYM.
65036         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
65037         <bp-sym.h> and <bp-asm.h>.
65038         (strlen): Don't use BP_SYM.
65039         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
65040         <bp-sym.h> and <bp-asm.h>.
65041         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65042         pointers.
65043         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
65044         <bp-sym.h> and <bp-asm.h>.
65045         (__strnlen): Don't use BP_SYM.
65046         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
65047         <bp-sym.h> and <bp-asm.h>.
65048         (__GI__setjmp): Don't use BP_SYM.
65049         (_setjmp): Likewise.
65050         (__sigsetjmp): Likewise.
65051         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
65052         (L(start_addresses)): Don't use BP_SYM.
65053         (_start): Likewise.
65054         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
65055         <bp-asm.h>.
65056         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
65057         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
65058         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65059         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65060         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
65061         <bp-asm.h>.
65062         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
65063         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
65064         about bounded pointers.
65065         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65066         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65067         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
65068         <bp-asm.h>.
65069         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65070         about bounded pointers.  Remove GKM FIXME comments.
65071         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65072         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
65073         <bp-asm.h>.
65074         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
65075         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
65076         Remove GKM FIXME comments.
65077         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65078         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65079         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
65080         <bp-asm.h>.
65081         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65082         about bounded pointers.  Remove GKM FIXME comment.
65083         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
65084         and <bp-asm.h>.
65085         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65086         pointers.
65087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
65088         <bp-sym.h> and <bp-asm.h>.
65089         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
65091         <bp-sym.h> and <bp-asm.h>.
65092         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65093         comment.
65095 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65097         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
65098         call free(NULL).
65100 2013-03-05  David S. Miller  <davem@davemloft.net>
65102         * po/es.po: Update from translation team.
65104 2013-03-05  Andreas Jaeger  <aj@suse.de>
65106         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
65107         <bits/mman-linux.h>.
65108         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65109         is fine.
65110         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
65111         <bits/mman-linux.h> to end of file.
65112         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65113         is fine.
65114         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
65115         <bits/mman-linux.h> to end of file.
65116         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65117         is fine.
65118         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
65119         <bits/mman-linux.h> to end of file.
65121         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
65122         (MCL_CURRENT, MCL_FUTURE): Define here.
65124 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65126         [BZ #15232]
65127         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
65128         attribute_hidden.
65129         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65131 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65133         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
65134         fourth parameter needed for rt_sigprocmask syscall.
65135         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
65136         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65137         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
65138         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65139         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65140         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
65142 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
65144         [BZ #13550]
65145         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
65146         comment about bounded pointers.
65147         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
65148         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
65150 2013-03-04  Andreas Jaeger  <aj@suse.de>
65152         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
65153         common definitions.
65155         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
65156         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
65157         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
65158         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65159         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65160         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65162 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65164         [BZ #15055]
65165         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
65166         __ieee754_sqrl instead of __sqrl.
65168 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
65170         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
65171         * sysdeps/powerpc/fpu_control.h: ... here.
65172         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
65173         * sysdeps/powerpc/bits/fenvinline.h: ... here.
65174         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
65175         * sysdeps/powerpc/bits/mathinline.h: ... here.
65177 2013-03-01  Roland McGrath  <roland@hack.frob.com>
65179         * elf/dl-hwcaps.c (_dl_important_hwcaps):
65180         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
65181         to just [NEED_DL_SYSINFO_DSO].
65182         * elf/dl-support.c: Likewise.
65183         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
65184         * elf/rtld.c (dl_main): Likewise.
65185         * elf/setup-vdso.h (setup_vdso): Likewise.
65186         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
65187         * sysdeps/unix/sysv/linux/dl-sysdep.c
65188         (_dl_discover_osversion): Likewise.
65190 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
65192         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
65193         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65195 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
65197         * NEWS: Mention libm performance improvements and non-x86 PI
65198         futex support.
65200         * csu/libc-start.c (__pthread_initialize_minimal): Change
65201         function arguments.
65202         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65204 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
65206         [BZ #13550]
65207         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
65208         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
65209         <bp-sym.h> and <bp-asm.h>.
65210         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65211         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
65212         and <bp-asm.h>.
65213         (memcpy): Don't use BP_SYM.
65214         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
65215         <bp-asm.h>.
65216         (__mpn_add_n): Don't use BP_SYM.
65217         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
65218         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
65219         and <bp-asm.h>.
65220         (__mpn_addmul_1): Don't use BP_SYM.
65221         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65222         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
65223         <bp-sym.h>.
65224         (_setjmp): Don't use BP_SYM.
65225         (__novmx_setjmp): Likewise.
65226         (__GI__setjmp): Likewise.
65227         (__vmx_setjmp): Likewise.
65228         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
65229         <bp-sym.h>.
65230         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
65231         (__bzero): Don't use BP_SYM.
65232         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65233         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65234         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
65235         <bp-sym.h> and <bp-asm.h>.
65236         (memcpy): Don't use BP_SYM.
65237         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
65238         <bp-sym.h> and <bp-asm.h>.
65239         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65240         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
65241         <bp-sym.h> and <bp-asm.h>.
65242         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65243         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
65244         <bp-asm.h>.
65245         (__mpn_lshift): Don't use BP_SYM.
65246         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65247         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
65248         <bp-asm.h>.
65249         (memset): Don't use BP_SYM.
65250         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65251         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65252         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
65253         <bp-asm.h>.
65254         (__mpn_mul_1): Don't use BP_SYM.
65255         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65256         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
65257         <bp-sym.h> and <bp-asm.h>.
65258         (memcmp): Don't use BP_SYM.
65259         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
65260         <bp-sym.h> and <bp-asm.h>.
65261         (memcpy): Don't use BP_SYM.
65262         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
65263         <bp-sym.h> and <bp-asm.h>.
65264         (memset): Don't use BP_SYM.
65265         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
65266         <bp-sym.h> and <bp-asm.h>.
65267         (strncmp): Don't use BP_SYM.
65268         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
65269         <bp-sym.h> and <bp-asm.h>.
65270         (memcpy): Don't use BP_SYM.
65271         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
65272         <bp-sym.h> and <bp-asm.h>.
65273         (memset): Don't use BP_SYM.
65274         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
65275         <bp-sym.h> and <bp-asm.h>.
65276         (__memchr): Don't use BP_SYM.
65277         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
65278         <bp-sym.h> and <bp-asm.h>.
65279         (memcmp): Don't use BP_SYM.
65280         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
65281         <bp-sym.h> and <bp-asm.h>.
65282         (memcpy): Don't use BP_SYM.
65283         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
65284         <bp-sym.h> and <bp-asm.h>.
65285         (__mempcpy): Don't use BP_SYM.
65286         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
65287         <bp-sym.h> and <bp-asm.h>.
65288         (__memrchr): Don't use BP_SYM.
65289         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
65290         <bp-sym.h> and <bp-asm.h>.
65291         (memset): Don't use BP_SYM.
65292         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
65293         <bp-sym.h> and <bp-asm.h>.
65294         (__rawmemchr): Don't use BP_SYM.
65295         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
65296         <bp-sym.h> and <bp-asm.h>.
65297         (__STRCMP): Don't use BP_SYM.
65298         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
65299         <bp-sym.h> and <bp-asm.h>.
65300         (strchr): Don't use BP_SYM.
65301         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
65302         <bp-sym.h> and <bp-asm.h>.
65303         (__strchrnul): Don't use BP_SYM.
65304         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
65305         <bp-sym.h> and <bp-asm.h>.
65306         (strlen): Don't use BP_SYM.
65307         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
65308         <bp-sym.h> and <bp-asm.h>.
65309         (strncmp): Don't use BP_SYM.
65310         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
65311         <bp-sym.h> and <bp-asm.h>.
65312         (__strnlen): Don't use BP_SYM.
65313         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
65314         <bp-asm.h>.
65315         (__mpn_rshift): Don't use BP_SYM.
65316         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65317         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
65318         <bp-sym.h> and <bp-asm.h>.
65319         (__sigsetjmp): Don't use BP_SYM.
65320         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
65321         (L(start_addresses)): Don't use BP_SYM.
65322         (_start): Likewise.
65323         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
65324         <bp-asm.h>.
65325         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
65326         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65327         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65328         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
65329         <bp-asm.h>.
65330         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
65331         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65332         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65333         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
65334         <bp-asm.h>.
65335         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65336         comments.
65337         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65338         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
65339         <bp-asm.h>.
65340         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
65341         FIXME comments.
65342         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65343         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65344         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
65345         <bp-asm.h>.
65346         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65347         comment.
65348         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
65349         and <bp-asm.h>.
65350         (strncmp): Don't use BP_SYM,
65351         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
65352         <bp-asm.h>.
65353         (__mpn_sub_n): Don't use BP_SYM.
65354         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65355         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
65356         and <bp-asm.h>.
65357         (__mpn_submul_1): Don't use BP_SYM.
65358         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
65360         <bp-sym.h> and <bp-asm.h>.
65361         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
65363         <bp-sym.h> and <bp-asm.h>.
65364         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65365         comment.
65367 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
65370         Use ZK to minimize writes to Z.
65371         (sub_magnitudes): Simplify code a bit.
65372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
65373         Use ZK to minimize writes to Z.
65374         (sub_magnitudes): Simplify code a bit.
65376 2013-02-27  Roland McGrath  <roland@hack.frob.com>
65378         * csu/gmon-start.c: Add special exception to license text.
65380 2013-02-27  Richard Henderson  <rth@redhat.com>
65382         * scripts/config.guess: Update from config.git.
65383         * scripts/config.sub: Likewise.
65385 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65387         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
65389         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
65391         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
65393         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
65395         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
65397 2013-02-26  Roland McGrath  <roland@hack.frob.com>
65399         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
65400         [$(build-shared = yes].
65402 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65404         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
65405         (__mul): Reduce iterations for calculating mantissa.
65407         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
65408         MPTWO.
65409         (__mpranred): Likewise.
65411         [BZ #15160]
65412         * malloc/memusagestat.c (main): Draw graphs for heap and stack
65413         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
65415 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
65417         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
65418         Define __attribute__.
65420 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65422         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
65423         unused.
65424         * posix/regex_internal.h (__attribute): Remove.
65425         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
65426         (re_string_context_at): Likewise.
65427         (bitset_not): Use __attribute__ and mark function as possibly
65428         unused.
65429         (bitset_merge): Likewise.
65430         (bitset_mask): Likewise.
65431         (re_string_char_size_at): Likewise.
65432         (re_string_wchar_at): Likewise.
65433         (re_string_elem_size_at): Likewise.
65435 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65437         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
65438         code.
65439         (cc32): Likewise.
65441         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
65442         (__acr): Likewise.
65443         (__cpy): Likewise.
65444         (norm): Likewise.
65445         (denorm): Likewise.
65446         (__dbl_mp): Likewise.
65447         (add_magnitudes): Likewise.
65448         (sub_magnitudes): Likewise.
65449         (__mul): Likewise.
65450         (__inv): Likewise.
65452         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
65453         style.
65455         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
65456         style.
65458         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
65459         code.
65461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
65462         up changes with default code.
65463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
65464         Likewise.
65466 2013-02-24  Allan McRae  <allan@archlinux.org>
65468         * manual/socket.texi (The Internet Namespace): Order menu items
65469         to match that in the file.
65471         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
65472         node listing of the info page menu.
65474 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
65476         [BZ #13550]
65477         * sysdeps/i386/bp-asm.h: Remove file.
65478         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
65479         (PARMS): Do not use macros from bp-asm.h.
65480         (S1): Likewise.
65481         (S2): Likewise.
65482         (SIZE): Likewise.
65483         (__mpn_add_n): Do not use BP_SYM
65484         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
65485         "bp-asm.h".
65486         (PARMS): Do not use macros from bp-asm.h.
65487         (S1): Likewise.
65488         (SIZE): Likewise.
65489         (__mpn_addmul_1): Do not use BP_SYM
65490         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
65491         "bp-asm.h".
65492         (PARMS): Do not use macros from bp-asm.h.
65493         (SIGMSK): Likewise.
65494         (_setjmp): Likewise.  Do not use BP_SYM.
65495         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
65496         "bp-asm.h".
65497         (PARMS): Do not use macros from bp-asm.h.
65498         (SIGMSK): Likewise.
65499         (setjmp): Likewise.  Do not use BP_SYM.
65500         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
65501         "bp-asm.h".
65502         (PARMS): Do not use macros from bp-asm.h.
65503         (__frexp): Do not use BP_SYM.
65504         (frexp): Likewise.
65505         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
65506         "bp-asm.h".
65507         (PARMS): Do not use macros from bp-asm.h.
65508         (__frexpf): Do not use BP_SYM.
65509         (frexpf): Likewise.
65510         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
65511         "bp-asm.h".
65512         (PARMS): Do not use macros from bp-asm.h.
65513         (__frexpl): Do not use BP_SYM.
65514         (frexpl): Likewise.
65515         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
65516         "bp-asm.h".
65517         (PARMS): Do not use macros from bp-asm.h.
65518         (__remquo): Do not use BP_SYM.
65519         (remquo): Likewise.
65520         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
65521         "bp-asm.h".
65522         (PARMS): Do not use macros from bp-asm.h.
65523         (__remquof): Do not use BP_SYM.
65524         (remquof): Likewise.
65525         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
65526         "bp-asm.h".
65527         (PARMS): Do not use macros from bp-asm.h.
65528         (__remquol): Do not use BP_SYM.
65529         (remquol): Likewise.
65530         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
65531         "bp-asm.h".
65532         (PARMS): Do not use macros from bp-asm.h.
65533         (DEST): Likewise.
65534         (SRC): Likewise.
65535         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
65536         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
65537         "bp-asm.h".
65538         (PARMS): Do not use macros from bp-asm.h.
65539         (strlen): Do not use BP_SYM.
65540         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
65541         "bp-asm.h".
65542         (PARMS): Do not use macros from bp-asm.h.
65543         (S1): Likewise.
65544         (S2): Likewise.
65545         (SIZE): Likewise.
65546         (__mpn_add_n): Do not use BP_SYM.
65547         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
65548         "bp-asm.h".
65549         (PARMS): Do not use macros from bp-asm.h.
65550         (S1): Likewise.
65551         (SIZE): Likewise.
65552         (__mpn_addmul_1): Do not use BP_SYM.
65553         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
65554         weak_alias.
65555         (bzero): Likewise.
65556         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
65557         "bp-asm.h".
65558         (PARMS): Do not use macros from bp-asm.h.
65559         (S): Likewise.
65560         (SIZE): Likewise.
65561         (__mpn_lshift): Do not use BP_SYM.
65562         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
65563         "bp-asm.h".
65564         (PARMS): Do not use macros from bp-asm.h.
65565         (DEST): Likewise.
65566         (SRC): Likewise.
65567         (LEN): Likewise.
65568         (memcpy): Likewise.  Do not use BP_SYM.
65569         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
65570         libc_hidden_def and weak_alias.
65571         (mempcpy): Do not use BP_SYM in weak_alias.
65572         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
65573         "bp-asm.h".
65574         (PARMS): Do not use macros from bp-asm.h.
65575         (DEST): Likewise.
65576         (LEN): Likewise.
65577         [!BZERO_P] (CHR): Likewise.
65578         (memset): Likewise.  Do not use BP_SYM.
65579         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
65580         "bp-asm.h".
65581         (PARMS): Do not use macros from bp-asm.h.
65582         (S1): Likewise.
65583         (SIZE): Likewise.
65584         (__mpn_mul_1): Do not use BP_SYM.
65585         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
65586         "bp-asm.h".
65587         (PARMS): Do not use macros from bp-asm.h.
65588         (S): Likewise.
65589         (SIZE): Likewise.
65590         (__mpn_rshift): Do not use BP_SYM.
65591         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
65592         "bp-asm.h".
65593         (PARMS): Do not use macros from bp-asm.h.
65594         (STR): Likewise.
65595         (CHR): Likewise.
65596         (strchr): Likewise.  Do not use BP_SYM.
65597         (index): Do not use BP_SYM in weak_alias.
65598         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
65599         "bp-asm.h".
65600         (PARMS): Do not use macros from bp-asm.h.
65601         (DEST): Likewise.
65602         (SRC): Likewise.
65603         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
65604         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
65605         "bp-asm.h".
65606         (PARMS): Do not use macros from bp-asm.h.
65607         (strlen): Do not use BP_SYM.
65608         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
65609         "bp-asm.h".
65610         (PARMS): Do not use macros from bp-asm.h.
65611         (S1): Likewise.
65612         (S2): Likewise.
65613         (SIZE): Likewise.
65614         (__mpn_sub_n): Do not use BP_SYM.
65615         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
65616         "bp-asm.h".
65617         (PARMS): Do not use macros from bp-asm.h.
65618         (S1): Likewise.
65619         (SIZE): Likewise.
65620         (__mpn_submul_1): Do not use BP_SYM.
65621         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
65622         "bp-asm.h".
65623         (PARMS): Do not use macros from bp-asm.h.
65624         (S1): Likewise.
65625         (S2): Likewise.
65626         (SIZE): Likewise.
65627         (__mpn_add_n): Do not use BP_SYM.
65628         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
65629         weak_alias.
65630         (bzero): Likewise.
65631         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
65632         "bp-asm.h".
65633         (PARMS): Do not use macros from bp-asm.h.
65634         (BLK2): Likewise.
65635         (LEN): Likewise.
65636         (memcmp): Do not use BP_SYM.
65637         (bcmp): Do not use BP_SYM in weak_alias.
65638         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
65639         "bp-asm.h".
65640         (PARMS): Do not use macros from bp-asm.h.
65641         (DEST): Likewise.
65642         (SRC): Likewise.
65643         (LEN): Likewise.
65644         (memcpy): Likewise.  Do not use BP_SYM.
65645         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
65646         "bp-asm.h".
65647         (PARMS): Do not use macros from bp-asm.h.
65648         (DEST): Likewise.
65649         (SRC): Likewise.
65650         (LEN): Likewise.
65651         (memmove): Likewise.  Do not use BP_SYM.
65652         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
65653         "bp-asm.h".
65654         (PARMS): Do not use macros from bp-asm.h.
65655         (DEST): Likewise.
65656         (SRC): Likewise.
65657         (LEN): Likewise.
65658         (__mempcpy): Likewise.  Do not use BP_SYM.
65659         (mempcpy): Do not use BP_SYM in weak_alias.
65660         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
65661         "bp-asm.h".
65662         (PARMS): Do not use macros from bp-asm.h.
65663         (DEST): Likewise.
65664         (LEN): Likewise.
65665         [!BZERO_P] (CHR): Likewise.
65666         (memset): Likewise.  Do not use BP_SYM.
65667         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
65668         "bp-asm.h".
65669         (PARMS): Do not use macros from bp-asm.h.
65670         (STR2): Likewise.
65671         (strcmp): Do not use BP_SYM.
65672         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
65673         "bp-asm.h".
65674         (PARMS): Do not use macros from bp-asm.h.
65675         (STR): Likewise.
65676         (DELIM): Likewise.
65677         [USE_AS_STRTOK_R] (SAVE): Likewise.
65678         (FUNCTION): Likewise.  Do not use BP_SYM.
65679         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
65680         aliases.
65681         (strtok_r): Likewise.
65682         (__GI___strtok_r): Likewise.
65683         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65684         (PARMS): Do not use macros from bp-asm.h.
65685         (S): Likewise.
65686         (SIZE): Likewise.
65687         (__mpn_lshift): Do not use BP_SYM.
65688         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65689         (PARMS): Do not use macros from bp-asm.h.
65690         (STR): Likewise.
65691         (CHR): Likewise.
65692         (__memchr): Do not use BP_SYM.
65693         (memchr): Do not use BP_SYM in weak_alias.
65694         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65695         (PARMS): Do not use macros from bp-asm.h.
65696         (BLK2): Likewise.
65697         (LEN): Likewise.
65698         (memcmp): Do not use BP_SYM.
65699         (bcmp): Do not use BP_SYM in weak_alias.
65700         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
65701         (PARMS): Do not use macros from bp-asm.h.
65702         (S1): Likewise.
65703         (SIZE): Likewise.
65704         (__mpn_mul_1): Do not use BP_SYM.
65705         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
65706         "bp-asm.h".
65707         (PARMS): Do not use macros from bp-asm.h.
65708         (STR): Likewise.
65709         (CHR): Likewise.
65710         (__rawmemchr): Do not use BP_SYM.
65711         (rawmemchr): Do not use BP_SYM in weak_alias.
65712         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65713         (PARMS): Do not use macros from bp-asm.h.
65714         (S): Likewise.
65715         (SIZE): Likewise.
65716         (__mpn_rshift): Do not use BP_SYM.
65717         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65718         (PARMS): Do not use macros from bp-asm.h.
65719         (SIGMSK): Likewise.
65720         (__sigsetjmp): Likewise.  Do not use BP_SYM.
65721         * sysdeps/i386/start.S: Do not include "bp-sym.h".
65722         (_start): Do not use BP_SYM.
65723         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
65724         (PARMS): Do not use macros from bp-asm.h.
65725         (DEST): Likewise.
65726         (SRC): Likewise.
65727         (__stpcpy): Likewise.  Do not use BP_SYM.
65728         (stpcpy): Do not use BP_SYM in weak_alias.
65729         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
65730         "bp-asm.h".
65731         (PARMS): Do not use macros from bp-asm.h.
65732         (DEST): Likewise.
65733         (SRC): Likewise.
65734         (LEN): Likewise.
65735         (__stpncpy): Likewise.  Do not use BP_SYM.
65736         (stpncpy): Do not use BP_SYM in weak_alias.
65737         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65738         (PARMS): Do not use macros from bp-asm.h.
65739         (STR): Likewise.
65740         (CHR): Likewise.
65741         (strchr): Likewise.  Do not use BP_SYM.
65742         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
65743         "bp-asm.h".
65744         (PARMS): Do not use macros from bp-asm.h.
65745         (STR): Likewise.
65746         (CHR): Likewise.
65747         (__strchrnul): Likewise.  Do not use BP_SYM.
65748         (strchrnul): Do not use BP_SYM in weak_alias.
65749         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
65750         "bp-asm.h".
65751         (PARMS): Do not use macros from bp-asm.h.
65752         (STOP): Likewise.
65753         (strcspn): Do not use BP_SYM.
65754         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
65755         "bp-asm.h".
65756         (PARMS): Do not use macros from bp-asm.h.
65757         (STR): Likewise.
65758         (STOP): Likewise.
65759         (strpbrk): Likewise.  Do not use BP_SYM.
65760         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
65761         "bp-asm.h".
65762         (PARMS): Do not use macros from bp-asm.h.
65763         (STR): Likewise.
65764         (CHR): Likewise.
65765         (strrchr): Likewise.  Do not use BP_SYM.
65766         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
65767         (PARMS): Do not use macros from bp-asm.h.
65768         (SKIP): Likewise.
65769         (strspn): Do not use BP_SYM.
65770         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
65771         (PARMS): Do not use macros from bp-asm.h.
65772         (STR): Likewise.
65773         (DELIM): Likewise.
65774         (SAVE): Likewise.
65775         (FUNCTION): Likewise.  Do not use BP_SYM.
65776         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
65777         aliases.
65778         (strtok_r): Likewise.
65779         (__GI___strtok_r): Likewise.
65780         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
65781         (PARMS): Do not use macros from bp-asm.h.
65782         (S1): Likewise.
65783         (S2): Likewise.
65784         (SIZE): Likewise.
65785         (__mpn_sub_n): Do not use BP_SYM.
65786         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
65787         "bp-asm.h".
65788         (PARMS): Do not use macros from bp-asm.h.
65789         (S1): Likewise.
65790         (SIZE): Likewise.
65791         (__mpn_submul_1): Do not use BP_SYM.
65792         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
65793         <bp-sym.h>.
65794         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
65795         and <bp-asm.h>.
65796         (PARMS): Do not use macros from bp-asm.h.
65797         (FLAGS): Likewise.
65798         (PTID): Likewise.
65799         (TLS): Likewise.
65800         (CTID): Likewise.
65801         (__clone): Do not use BP_SYM.
65802         (clone): Do not use BP_SYM in weak_alias.
65803         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
65804         and <bp-asm.h>.
65805         (PARMS): Do not use macros from bp-asm.h.
65806         (LEN): Likewise.
65807         (__mmap64): Do not use BP_SYM.
65808         (mmap64): Do not use BP_SYM in weak_alias.
65809         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65810         <bp-sym.h> and <bp-asm.h>.
65811         (PARMS): Do not use macros from bp-asm.h.
65812         (__posix_fadvise64_l64): Do not use BP_SYM.
65813         * sysdeps/unix/sysv/linux/i386/semtimedop.S
65814         (PARMS): Do not use macros from bp-asm.h.
65815         (NSOPS): Likewise.
65816         (semtimedop): Do not use BP_SYM.
65817         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
65818         and <bp-asm.h>.
65820 2013-02-21  Allan McRae  <allan@archlinux.org>
65822         * manual/message.texi (Charset conversion in gettext):
65823         Move @end statement to beginning of line.
65825 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
65828         static.
65829         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65830         Likewise.
65832         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
65833         (denorm): Likewise.
65834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
65835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
65837 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65839         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
65840         tail-call to the resolved function if pltexit isn't needed.
65842 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
65845         or Y being zero as being unlikely.
65846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65847         Likewise.
65849 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
65851         * manual/nss.texi (System Databases and Name Service Switch):
65852         Remove frobnicate @pxref.
65854 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65856         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65857         __attribute__ ((unused)) to __attribute__ ((__unused__)).
65859 2013-02-20  Petr Machata  <pmachata@redhat.com>
65861         * elf/elf.h (R_ARM_TARGET1): New macro.
65862         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
65863         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
65864         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
65865         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
65866         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
65867         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
65868         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
65869         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
65870         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
65871         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
65872         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
65873         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
65874         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
65875         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
65876         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
65877         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
65878         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
65879         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
65880         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
65881         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
65882         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
65883         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
65884         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
65885         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
65886         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
65887         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
65888         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
65889         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
65890         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
65891         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
65892         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
65893         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
65894         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
65895         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
65896         (R_ARM_THM_GOT_BREL12): Likewise.
65897         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
65898         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
65899         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
65900         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
65901         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
65902         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
65903         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
65904         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
65905         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
65907 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65909         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65910         __attribute_used__ to __attribute__ ((unused)).
65912 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65914         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
65915         powerpc mpa.c.
65916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
65917         comment formatting.
65918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
65920 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
65922         [BZ #13550]
65923         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
65924         Remove macro.
65925         (ENTER): Remove both macro definitions.
65926         (LEAVE): Likewise.
65927         (CHECK_BOUNDS_LOW): Likewise.
65928         (CHECK_BOUNDS_HIGH): Likewise.
65929         (CHECK_BOUNDS_BOTH): Likewise.
65930         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
65931         (RETURN_BOUNDED_POINTER): Likewise.
65932         (RETURN_NULL_BOUNDED_POINTER): Likewise.
65933         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
65934         (POP_ERRNO_LOCATION_RETURN): Likewise.
65935         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
65936         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65937         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
65938         macros.
65939         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65940         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
65941         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
65942         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
65943         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
65944         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
65945         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
65946         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
65947         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
65948         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
65949         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
65950         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
65951         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65952         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
65953         removed macros.
65954         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65955         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
65956         macros.
65957         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65958         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
65959         * sysdeps/i386/i586/memset.S (memset): Likewise.
65960         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
65961         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65962         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
65963         macros.
65964         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65965         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
65966         Change uses of L(2) to L(out).
65967         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
65968         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
65969         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
65970         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65971         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
65972         removed macros.
65973         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65974         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
65975         macros.
65976         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65977         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
65978         (RETURN): Do not use macro LEAVE.
65979         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
65980         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
65981         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
65982         * sysdeps/i386/i686/memset.S (memset): Likewise.
65983         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
65984         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
65985         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65986         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
65987         Likewise.
65988         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65989         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
65990         L(1_2) and L(1_3) into L(1).
65991         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65992         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
65993         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65994         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
65995         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65996         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
65997         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
65998         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65999         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
66000         macros.
66001         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
66002         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66003         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
66004         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
66005         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
66006         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66007         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
66008         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
66009         * sysdeps/i386/strcspn.S (strcspn): Likewise.
66010         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
66011         * sysdeps/i386/strrchr.S (strrchr): Likewise.
66012         * sysdeps/i386/strspn.S (strspn): Likewise.
66013         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
66014         conditional code.
66015         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66016         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
66017         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66018         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
66019         L(1_3) into L(1_1).
66020         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
66021         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66022         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
66023         macros.
66024         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66026 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
66028         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
66029         macro.
66031 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66033         * math/atest-exp.c (exp_mpn): Remove ROUND.
66034         * math/atest-exp2.c (exp_mpn): Likewise.
66035         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
66037         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
66038         * stdlib/tst-tls-atexit-lib.c: Likewise.
66039         * stdlib/tst-tls-atexit.c: Likewise.
66041 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66043         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
66044         and __attribute_alloc_size__.
66046 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66048         * include/programs/xmalloc.h: Change __attribute_alloc_size to
66049         __attribute_alloc_size__.
66050         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
66051         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
66053 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66055         * include/programs/xmalloc.h: New file.
66056         * catgets/gencat.c: Include it.
66057         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
66058         * elf/pldd.c: Likewise.
66059         * iconv/iconv_charmap.c: Likewise.
66060         * iconv/iconvconfig.c: Likewise.
66061         * iconv/strtab.c: Likewise.
66062         * locale/programs/locale.c: Likewise.
66063         * locale/programs/localedef.h: Likewise.
66064         * locale/programs/simple-hash.c: Likewise.
66065         * nscd/nscd.h: Likewise.
66066         * nss/makedb.c: Likewise.
66067         * sysdeps/generic/ldconfig.h: Likewise.
66069 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66071         * Versions.def: Add GLIBC_2.18.
66072         * include/link.h (struct link_map): New member l_tls_dtor_count.
66073         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
66074         (__call_tls_dtors): Likewise.
66075         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
66076         __cxa_thread_atexit_impl.
66077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66078         Likewise.
66079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66080         Likewise.
66081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
66082         Likewise.
66083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
66084         Likewise.
66085         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
66087         Likewise.
66088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
66089         Likewise.
66090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66092         Likewise.
66093         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
66094         (tests): Add test case tst-tls-atexit.
66095         (modules-names): Add shared library for tst-tls-atexit.
66096         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
66097         (GLIBC_PRIVATE): Add __call_tls_dtors.
66098         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
66099         for libstdc++.
66100         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
66101         * stdlib/tst-tls-atexit.c: New test case.
66102         * stdlib/tst-tls-atexit-lib.c: New test case.
66104         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
66106         * elf/Versions (ld): Add _dl_find_dso_for_object.
66107         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
66108         * elf/dl-open.c (_dl_find_dso_for_object): New function.
66109         (dl_open_worker): Use _dl_find_dso_for_object.
66110         * elf/dl-sym.c (do_sym): Likewise.
66111         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
66113 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66115         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
66116         Syntactic changes only.
66117         (_dl_runtime_profile): Do a tail-call to the resolved function.
66119 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
66121         [BZ #13550]
66122         * sysdeps/x86_64/bp-asm.h: Remove file.
66123         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
66124         <bp-sym.h> and <bp-asm.h>.
66125         (__clone): Do not use BP_SYM.
66126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
66127         <bp-sym.h> and <bp-asm.h>.
66128         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66129         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
66130         "bp-asm.h".
66131         (_setjmp): Do not use BP_SYM.
66132         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
66133         "bp-asm.h".
66134         (setjmp): Do not use BP_SYM.
66135         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
66136         libc_hidden_def.
66137         (mempcpy): Do not use BP_SYM in weak_alias.
66138         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
66139         "bp-asm.h".
66140         (strchr): Do not use BP_SYM.
66141         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
66142         "bp-asm.h".
66143         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
66144         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
66145         (_start): Do not use BP_SYM.
66146         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
66147         "bp-asm.h".
66148         (strcat): Do not use BP_SYM.
66149         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
66150         "bp-asm.h".
66151         (STRCMP): Do not use BP_SYM.
66152         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
66153         "bp-asm.h".
66154         (STRCPY): Do not use BP_SYM.
66155         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
66156         "bp-asm.h".
66157         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
66158         "bp-asm.h".
66159         (FUNCTION): Do not use BP_SYM.
66160         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
66161         weak_alias.
66162         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
66164 2013-02-17  Andreas Jaeger  <aj@suse.de>
66166         * time/Versions: Sort entries.
66167         * string/Versions: Likewise.
66168         * resolv/Versions: Likewise.
66169         * posix/Versions: Likewise.
66170         * iconv/Versions: Likewise.
66171         * elf/Versions: Likewise.
66172         * wcsmbs/Versions: Likewise.
66174 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66176         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
66177         loop termination condition.
66179         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
66180         variable to calculate EZ.
66181         (__sqr): Likewise.
66183         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
66184         the lower precision input.
66186 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
66188         [BZ #13550]
66189         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
66190         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
66191         (run-via-rtld-prefix): Do not handle %-bp tests.
66192         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
66193         (all-object-suffixes): Remove .ob.
66194         (bppfx): Remove variable.
66195         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
66196         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
66197         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
66198         [$(build-bounded) = yes] (libtype.ob): Likewise.
66199         * Makerules (elide-routines.ob): Remove variable.
66200         (do-tests-clean): Do not handle *-bp.out.
66201         (common-mostlyclean): Do not handle *-bp and *-bp.out.
66202         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
66203         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
66204         (tests): Do not include $(tests-bp.out).
66205         (xtests): Do not include $(xtests-bp.out).
66206         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
66207         [$(build-bounded) = yes] ($(addprefix
66208         $(objpfx),$(binaries-bounded))): Remove rule.
66209         ($(objpfx)%-bp.out): Remove rule.
66210         * config.make.in (build-bounded): Remove variable.
66211         * crypt/Makefile [$(build-bounded) = yes]
66212         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
66213         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
66214         append to variable.
66215         [$(build-bounded) = yes] (install-lib): Likewise.
66216         [$(build-bounded) = yes] (generated): Likewise.
66217         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
66218         Remove rule.
66219         * intl/Makefile [$(build-bounded) = yes]
66220         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
66221         * math/Makefile [$(build-bounded) = yes]
66222         ($(tests:%=$(objpfx)%-bp): Likewise.
66223         * misc/Makefile [$(build-bounded) = yes]
66224         ($(objpfx)tst-tsearch-bp): Likewise.
66225         * nptl/Makeconfig (bounded-thread-library): Remove variable.
66226         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
66227         Remove dependency.
66228         * string/Makefile (o-objects.ob): Remove variable.
66229         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
66230         (CFLAGS-.ob): Remove variable.
66231         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
66232         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
66233         both definitions of variable.
66234         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
66235         (ASFLAGS-.ob): Remove variable.
66237 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
66239         [BZ #13550]
66240         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
66241         Remove __BOUNDED_POINTERS__ from condition.
66242         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
66243         * string/bits/string2.h [!__NO_STRING_INLINES &&
66244         !__BOUNDED_POINTERS__]: Likewise.
66245         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
66246         Likewise.
66247         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
66248         Remove conditional code.
66249         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
66250         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
66251         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
66252         condition.
66254         [BZ #13550]
66255         * csu/libc-start.c: Do not include <bp-sym.h>.
66256         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
66257         * elf/dl-open.c: Do not include <bp-sym.h>.
66258         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
66259         * math/fegetenv.c: Do not include <bp-sym.h>.
66260         (fegetenv): Do not use BP_SYM in versioned symbols.
66261         * nptl/sysdeps/pthread/bits/libc-lockP.h
66262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
66263         <bp-sym.h>.
66264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66265         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
66266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66267         (__pthread_mutex_destroy): Likewise.
66268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66269         (__pthread_mutex_lock): Likewise.
66270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66271         (__pthread_mutex_trylock): Likewise.
66272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66273         (__pthread_mutex_unlock): Likewise.
66274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66275         (__pthread_mutexattr_init): Likewise.
66276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66277         (__pthread_mutexattr_destroy): Likewise.
66278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66279         (__pthread_mutexattr_settype): Likewise.
66280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66281         (__pthread_rwlock_init): Likewise.
66282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66283         (__pthread_rwlock_destroy): Likewise.
66284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66285         (__pthread_rwlock_rdlock): Likewise.
66286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66287         (__pthread_rwlock_tryrdlock): Likewise.
66288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66289         (__pthread_rwlock_wrlock): Likewise.
66290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66291         (__pthread_rwlock_trywrlock): Likewise.
66292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66293         (__pthread_rwlock_unlock): Likewise.
66294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66295         (__pthread_key_create): Likewise.
66296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66297         (__pthread_setspecific): Likewise.
66298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66299         (__pthread_getspecific): Likewise.
66300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
66301         Likewise.
66302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66303         (_pthread_cleanup_push_defer): Likewise.
66304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66305         (_pthread_cleanup_pop_restore): Likewise.
66306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66307         (pthread_setcancelstate): Likewise.
66308         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
66309         <bp-sym.h>.
66310         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
66311         (memchr): Do not use BP_SYM in weak_alias.
66312         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
66313         (fegetenv): Do not use BP_SYM in versioned symbols.
66314         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
66315         (fesetenv): Do not use BP_SYM in versioned symbols.
66316         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66317         (feupdateenv): Do not use BP_SYM in versioned symbols.
66318         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66319         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66320         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
66321         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
66322         (open64): Do not use BP_SYM in weak_alias.
66323         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
66324         (fegetenv): Do not use BP_SYM in versioned symbols.
66325         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
66326         (fesetenv): Do not use BP_SYM in versioned symbols.
66327         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66328         (feupdateenv): Do not use BP_SYM in versioned symbols.
66329         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
66330         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
66331         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
66332         (feraiseexcept): Do not use BP_SYM in versioned symbols.
66333         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66334         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66335         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
66336         <bp-sym.h>.
66337         (__libc_start_main): Do not use BP_SYM.
66339 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
66342         redundant return line.
66343         (norm): Likewise.
66344         (denorm): Likewise.
66345         (dbl_mp): Likewise.
66346         (sub_magnitudes): Likewise.
66347         (__add): Likewise.
66348         (__sub): Likewise.
66349         (__mul): Likewise.
66350         (__inv): Likewise.
66351         (__dvd): Likewise.
66352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
66353         (norm): Likewise.
66354         (denorm): Likewise.
66355         (dbl_mp): Likewise.
66356         (sub_magnitudes): Likewise.
66357         (__add): Likewise.
66358         (__sub): Likewise.
66359         (__mul): Likewise.
66360         (__inv): Likewise.
66361         (__dvd): Likewise.
66363         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
66364         instead of __mul.
66365         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66366         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
66367         (cc32): Likewise.
66369         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
66370         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
66371         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
66372         of __mul for squares.
66373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
66374         function
66375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
66376         Likewise.
66377         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
66378         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66380 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
66382         [BZ #13550]
66383         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
66384         code.
66385         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
66386         prototype or function definition.  Rename ubp_* variables and
66387         parameters.  Remove argv definitions conditional on
66388         [__BOUNDED_POINTERS__].
66389         * debug/backtrace.c (__backtrace): Do not use __unbounded.
66390         * elf/dl-runtime.c (_dl_fixup): Likewise.
66391         * include/set-hooks.h (RUN_HOOK): Likewise.
66392         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
66393         definition.
66394         * string/strcpy.c (strcpy): Do not use __unbounded.
66395         * sysdeps/generic/frame.h (struct layout): Likewise.
66396         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
66397         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
66398         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
66399         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
66400         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
66401         (__backtrace): Likewise.
66402         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
66403         use __ptrvalue.
66404         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
66405         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
66406         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
66407         Likewise.
66408         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
66409         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
66410         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
66411         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66412         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
66413         Do not use __unbounded.
66414         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
66415         Rename __unboundedrlimits parameter to rlimits in prototype.
66416         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
66417         Do not use __unbounded.
66418         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
66419         not use __ptrvalue.
66420         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66421         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
66422         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66423         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
66424         __ptrvalue or __unbounded.
66425         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
66426         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
66427         use __unbounded.
66428         (__new_msgctl): Do not use __ptrvalue.
66429         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
66430         __unbounded.
66431         (__libc_msgrcv): Do not use __ptrvalue.
66432         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
66433         startup_info): Do not use __unbounded.
66434         (__libc_start_main): Likewise.  Rename ubp_* variables and
66435         parameters.  Remove argv definitions conditional on
66436         [__BOUNDED_POINTERS__].
66437         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
66438         __ptrvalue.
66439         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
66440         use __unbounded.
66441         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
66442         or __ptrvalue.
66443         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
66444         use __unbounded.
66445         (__new_shmctl): Do not use __ptrvalue.
66446         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
66447         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
66448         Likewise.
66449         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
66450         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
66451         (__libc_sigaction): Likewise.
66452         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
66453         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
66454         Likewise.
66455         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66457 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
66459         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
66461         * string/mempcpy.c: Implement by calling memcpy.
66463 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
66465         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
66467         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
66468         evaluation.
66470         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
66471         values in the mantissa.
66473         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
66474         minimize writes to Z.
66475         (sub_magnitudes): Simplify code a bit.
66477 2013-02-12  Roland McGrath  <roland@hack.frob.com>
66479         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
66480         from the message.  The linker prefixes all warnings with that already.
66482 2013-02-12  Andreas Schwab  <schwab@suse.de>
66484         [BZ #15078]
66485         * posix/regexec.c (extend_buffers): Add parameter min_len.
66486         (check_matching): Pass minimum needed length.
66487         (clean_state_log_if_needed): Likewise.
66488         (get_subexp): Likewise.
66489         * posix/Makefile (tests): Add bug-regex34.
66490         (bug-regex34-ENV): Define.
66491         * posix/bug-regex34.c: New file.
66493         [BZ #11561]
66494         * posix/regcomp.c (parse_bracket_exp): When looking up collating
66495         elements compare against the byte sequence of it, not its name.
66496         * posix/Makefile (tests): Add bug-regex35.
66497         (bug-regex35-ENV): Define.
66498         * posix/bug-regex35.c: New file.
66500 2013-02-11  Tom de Vries  <tom@codesourcery.com>
66502         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
66503         comment.
66504         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
66505         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
66506         (CHECK_EOL): Add undef.
66508 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
66510         * bits/stdlib-bsearch.h: New file.
66511         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
66512         * stdlib/stdlib.h: Likewise.
66514 2013-02-11  Roland McGrath  <roland@hack.frob.com>
66516         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
66517         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
66518         declaration.
66519         * manual/search.texi (Array Search Function): Add missing const in
66520         lfind prototype.
66521         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
66522         declaration to use rlim_t.
66523         (Basic Scheduling Functions): Remove erroneous const from
66524         sched_getparam prototype.  Remove erroneous * from
66525         sched_get_priority_max and sched_get_priority_min prototypes.
66526         (Resource Usage): Fix summary @comment on vtimes to refer to
66527         sys/vtimes.h rather than vtimes.h.
66528         Add missing *s in vtimes prototype.
66529         (Limits on Resources): Fix ulimit prototype to return long int.
66530         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
66531         prototypes to use long int rather than double.
66532         (BSD Random): Fix initstate and setstate to use char *, not void *.
66533         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
66534         prototype to make second argument 'struct aiocb64 *const[]'.
66535         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
66536         (Status of AIO Operations): Remove erroneous const in aio_return and
66537         aio_return64 prototypes.
66538         (Synchronizing I/O): Fix sync prototype to return void.
66539         * manual/startup.texi (Suboptions): Remove an erroneous const in
66540         getsubopt prototype.
66541         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
66542         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
66543         use size_t rather than int.
66544         (Scanning All Users): Likewise for getpwent_r.
66545         (Setting Groups): Add missing const to setgroups prototype.
66546         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
66547         * manual/socket.texi (Host Names): Fix gethostbyaddr and
66548         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
66549         'const void *' rather than 'const char *'.
66550         (Host Address Functions): Likewise for inet_ntop.
66551         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
66552         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
66553         ssize_t for return value.
66554         (Sending Data): Likewise for send, sendto, sendmsg.
66555         (Socket Option Functions): Add a missing const in setsockopt prototype.
66556         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
66557         use wchar_t for the argument.
66558         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
66559         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
66560         take no arguments.
66561         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
66562         double/float/long double for second argument.
66563         Fix return types of significand, significandf, significandl.
66564         * manual/filesys.texi (Setting Permissions): Use mode_t for second
66565         argument in fchmod prototype.
66566         (File Owner): Use uid_t and gid_t in fchown prototype.
66567         (File Times): Add const to utimes, futimes, and lutimes prototypes.
66568         (Making Special Files): Use mode_t and dev_t in mknod prototype.
66569         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
66570         use 'const struct dirent **' as argument types to CMP function pointer
66571         argument.
66572         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
66573         (File Times): Fix summary magic @comment for struct utimbuf and utime
66574         to refer to utime.h, not time.h.
66575         * manual/string.texi (Argz Functions): Add missing const in
66576         argz_extract and argz_next prototypes.
66577         (Finding Tokens in a String): Likewise for basename.
66578         (String/Array Comparison): Fix typo in wcscasecmp prototype.
66579         (Copying and Concatenation): Fix typo in wmemmove prototype.
66580         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
66581         (Signal Stack): Remove erroneous const in sigstack prototype.
66582         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
66583         prototype.
66584         (Simple Calendar Time): Likewise for stime.
66585         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
66586         prototype.
66587         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
66588         say sys/sysctl.h instead.
66589         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
66590         and vsyslog prototypes.
66592 2013-02-11  Tom de Vries  <tom@codesourcery.com>
66594         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
66595         Remove.
66597 2013-02-11  Roland McGrath  <roland@hack.frob.com>
66599         * misc/sys/mman.h: Fix typo in mremap comment.
66601 2013-02-08  Roland McGrath  <roland@hack.frob.com>
66603         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
66604         the '\0' terminator.
66606 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66608         [BZ #13550]
66609         * debug/segfault.c: Don't include <bp-checks.h>.
66610         * sysdeps/generic/bp-checks.h: Remove file.
66611         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
66612         (__GETDENTS): Don't use CHECK_N.
66613         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
66614         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
66615         (__getgroups): Don't use CHECK_N.
66616         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
66617         (setgroups): Don't use CHECK_N.
66618         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
66619         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
66620         (__libc_msgrcv): Don't use CHECK_N.
66621         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
66622         (__libc_msgsnd): Don't use CHECK_N.
66623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
66624         <bp-checks.h>.
66625         (__libc_pread): Don't use CHECK_N.
66626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
66627         include <bp-checks.h>.
66628         (__libc_pread64): Don't use CHECK_N.
66629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
66630         include <bp-checks.h>.
66631         (__libc_pwrite): Don't use CHECK_N.
66632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
66633         include <bp-checks.h>.
66634         (__libc_pwrite64): Don't use CHECK_N.
66635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
66636         <bp-checks.h>.
66637         (__libc_pread): Don't use CHECK_N.
66638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
66639         include <bp-checks.h>.
66640         (__libc_pread64): Don't use CHECK_N.
66641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
66642         include <bp-checks.h>.
66643         (__libc_pwrite): Don't use CHECK_N.
66644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
66645         include <bp-checks.h>.
66646         (__libc_pwrite64): Don't use CHECK_N.
66647         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
66648         (do_pread): Don't use CHECK_N.
66649         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
66650         (do_pread64): Don't use CHECK_N.
66651         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
66652         (do_pwrite): Don't use CHECK_N.
66653         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
66654         (do_pwrite64): Don't use CHECK_N.
66655         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
66656         (__libc_readv): Don't use CHECK_N.
66657         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
66658         (semop): Don't use CHECK_N.
66659         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
66660         <bp-checks.h>.
66661         (semtimedop): Don't use CHECK_N.
66662         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
66663         (__libc_pread): Don't use CHECK_N.
66664         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
66665         <bp-checks.h>.
66666         (__libc_pread64): Don't use CHECK_N.
66667         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
66668         <bp-checks.h>.
66669         (__libc_pwrite): Don't use CHECK_N.
66670         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
66671         <bp-checks.h>.
66672         (__libc_pwrite64): Don't use CHECK_N.
66673         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
66674         <bp-checks.h>.
66675         (__libc_msgrcv): Don't use CHECK_N.
66676         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
66677         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
66678         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
66679         (__libc_writev): Don't use CHECK_N.
66681 2013-02-08  Roland McGrath  <roland@hack.frob.com>
66683         * string/strcpy.c: Removed unused variable.
66685         * Makeconfig (+sysdep-includes): Define with := rather than =.
66686         Use an existing include/ subdir of each sysdeps dir before it.
66688 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66690         * nscd/connection.c (register_traced_file): Comment function.
66691         [HAVE_INOTIFY] (union __inev): Define.
66692         [HAVE_INOTIFY] (inotify_check_files): New function.
66693         [HAVE_INOTIFY] (clear_db_cache): Likewise.
66694         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
66695         clear_db_cache.
66696         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
66698 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66700         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
66701         loaded if not already and that a failure is permanent.
66703 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66705         [BZ #15006]
66706         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
66707         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
66709 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66711         [BZ #13550]
66712         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
66713         (CHECK_1_NULL_OK): Likewise.
66714         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
66715         (__fxstat): Do not use CHECK_1.
66716         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
66717         <bp-checks.h>.
66718         (___fxstat64): Do not use CHECK_1.
66719         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
66720         <bp-checks.h>.
66721         (__fxstatat): Do not use CHECK_1.
66722         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
66723         <bp-checks.h>.
66724         (__fxstatat64): Do not use CHECK_1.
66725         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
66726         <bp-checks.h>.
66727         (__fxstat): Do not use CHECK_1.
66728         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
66729         <bp-checks.h>.
66730         (__fxstatat): Do not use CHECK_1.
66731         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66732         <bp-checks.h>.
66733         (__getresgid): Do not use CHECK_1.
66734         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66735         <bp-checks.h>.
66736         (__getresuid): Do not use CHECK_1.
66737         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
66738         <bp-checks.h>.
66739         (__lxstat): Do not use CHECK_1.
66740         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66741         <bp-checks.h>.
66742         (__old_msgctl): Do not use CHECK_1.
66743         (__new_msgctl): Likewise.
66744         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
66745         <bp-checks.h>.
66746         (__new_setrlimit): Do not use CHECK_1.
66747         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66748         <bp-checks.h>.
66749         (__old_shmctl): Do not use CHECK_1.
66750         (__new_shmctl): Likewise.
66751         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
66752         <bp-checks.h>.
66753         (__xstat): Do not use CHECK_1.
66754         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
66755         (__lxstat): Do not use CHECK_1.
66756         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
66757         <bp-checks.h>.
66758         (___lxstat64): Do not use CHECK_1.
66759         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
66760         (__old_msgctl): Do not use CHECK_1.
66761         (__new_msgctl): Likewise.
66762         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
66763         <bp-checks.h>.
66764         (__gettimeofday): Do not use CHECK_1.
66765         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
66766         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
66767         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
66768         <bp-checks.h>.
66769         (__gettimeofday): Do not use CHECK_1.
66770         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
66771         (__old_shmctl): Do not use CHECK_1_NULL_OK.
66772         (__new_shmctl): Do not use CHECK_1.
66773         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
66774         <bp-checks.h>.
66775         (do_sigtimedwait): Do not use CHECK_1.
66776         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
66777         <bp-checks.h>.
66778         (do_sigwaitinfo): Do not use CHECK_1.
66779         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
66780         <bp-checks.h>.
66781         (msgctl): Do not use CHECK_1.
66782         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
66783         <bp-checks.h>.
66784         (shmctl): Do not use CHECK_1.
66785         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
66786         (ustat): Do not use CHECK_1.
66787         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
66788         <bp-checks.h>.
66789         (__fxstat): Do not use CHECK_1.
66790         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
66791         <bp-checks.h>.
66792         (__fxstatat): Do not use CHECK_1.
66793         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
66794         <bp-checks.h>.
66795         (__lxstat): Do not use CHECK_1.
66796         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
66797         <bp-checks.h>.
66798         (__xstat): Do not use CHECK_1.
66799         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
66800         (__xstat): Do not use CHECK_1.
66801         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
66802         (___xstat64): Do not use CHECK_1.
66804         [BZ #13550]
66805         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
66806         definitions.
66807         (CHECK_BOUNDS_HIGH): Likewise.
66808         * string/strcpy.c: Do not include <bp-checks.h>.
66809         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
66811 2013-02-07  Roland McGrath  <roland@hack.frob.com>
66813         * nscd/nscd-client.h (__nscd_drop_map_ref):
66814         Add __attribute__ ((unused)).
66815         * nis/nss-nisplus.h (niserr2nss): Likewise.
66817         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
66818         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
66820         * csu/libc-tls.c (init_static_tls, init_slotinfo):
66821         Remove inline keyword.
66822         * include/rounding-mode.h (round_away): Likewise.
66823         * libio/wfileops.c (adjust_wide_data): Likewise.
66824         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
66825         (__m128i_strloadu_tolower): Likewise.
66826         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
66827         (__m128i_strloadu_tolower): Likewise.
66828         * time/mktime.c (ydhms_diff): Likewise.
66829         * locale/elem-hash.h (elem_hash): Likewise.
66830         * locale/setlocale.c (setdata): Likewise.
66831         * posix/regex_internal.h (re_string_char_size_at): Likewise.
66832         (re_string_wchar_at): Likewise.
66833         (bitset_not, bitset_merge, bitset_mask): Likewise.
66834         [!(__GNUC__ > 3)] (inline): Remove macro.
66835         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
66836         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
66837         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
66838         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
66839         * string/memcmp.c (memcmp_bytes): Likewise.
66840         * locale/programs/locarchive.c (compute_hashval): Likewise.
66841         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
66842         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
66843         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
66844         * nss/getent.c (print_rpc, print_protocols): Likewise.
66845         (print_passwd, print_group, print_aliases): Likewise.
66846         * nis/nss-nisplus.h (niserr2nss): Likewise.
66847         * nscd/connections.c (restart_p): Likewise.
66848         Change return type to bool.
66850 2013-02-05  Roland McGrath  <roland@hack.frob.com>
66852         * Makeconfig (all-Depend-files): Add existing
66853         $(sorted-subdirs:=/Depend) files.
66854         (all-subdirs): Remove nss.
66855         * sysdeps/unix/inet/Subdirs: Add it here instead.
66856         * hesiod/Depend: New file.
66858         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
66859         instead of calling alloca.
66861         * io/lseek.c (__lseek): Rename to __libc_lseek.
66862         Define __lseek as an alias.
66864         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
66866 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
66868         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
66869         else clause and remove check for non-standard endianness.
66871 2013-02-04  David S. Miller  <davem@davemloft.net>
66873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66875 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
66877         [BZ #13550]
66878         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
66879         (__ubp_memchr): Remove prototype.
66880         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
66881         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66882         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
66883         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66884         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
66885         Remove alias.
66886         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
66887         (__ubp_memchr): Likewise.
66888         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
66889         (__ubp_memchr): Likewise.
66890         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
66891         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
66892         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
66893         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
66894         CHECK_STRING.
66895         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
66896         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
66897         (__getcwd): Do not use CHECK_STRING.
66898         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66899         <bp-checks.h>.
66900         (__real_chown): Do not use CHECK_STRING.
66901         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
66902         <bp-checks.h>.
66903         (fchownat): Do not use CHECK_STRING.
66904         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
66905         CHECK_STRING.
66906         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66907         <bp-checks.h>.
66908         (__lchown): Do not use CHECK_STRING.
66909         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66910         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66911         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66912         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
66913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66914         include <bp-checks.h>.
66915         (truncate64): Do not use CHECK_STRING.
66916         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66917         <bp-checks.h>.
66918         (__real_chown): Do not use CHECK_STRING.
66919         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66920         <bp-checks.h>.
66921         (__lchown): Do not use CHECK_STRING.
66922         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66923         <bp-checks.h>.
66924         (__chown): Do not use CHECK_STRING.
66925         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
66926         <bp-checks.h>.
66927         (truncate64): Do not use CHECK_STRING.
66928         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
66929         Likewise.
66930         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
66931         (__xmknod): Do not use CHECK_STRING.
66932         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
66933         <bp-checks.h>.
66934         (__xmknodat): Do not use CHECK_STRING.
66935         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66936         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
66938 2013-02-04  Andreas Schwab  <schwab@suse.de>
66940         [BZ #14142]
66941         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
66942         * include/netdb.h: Likewise for h_errno.
66943         * elf/tst-stackguard1.c: Include <tls.h>.
66945 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
66947         * elf/link.h (struct link_map): Extend the l_addr comment.
66948         * include/link.h (struct link_map): Likewise.
66950 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
66952         [BZ #13550]
66953         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
66954         (BOUNDED_1): Remove macro.
66955         * debug/backtrace.c: Don't include <bp-checks.h>.
66956         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
66957         (__backtrace): Likewise.
66958         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
66959         <bp-checks.h>.
66960         (__backtrace): Don't use BOUNDED_1.
66961         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
66962         <bp-checks.h>.
66963         (__backtrace): Don't use BOUNDED_1.
66964         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
66965         (__backtrace): Don't use BOUNDED_1.
66966         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
66967         (shmat): Don't use BOUNDED_N.
66969 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
66971         [BZ #13550]
66972         * sysdeps/generic/bp-start.h: Remove file.
66973         * csu/libc-start.c: Don't include <bp-start.h>.
66974         (LIBC_START_MAIN): Set up __environ directly instead of using
66975         INIT_ARGV_and_ENVIRON.
66976         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
66977         <bp-start.h>.
66979         [BZ #13550]
66980         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
66981         definitions.
66982         (CHECK_FCNTL): Likewise.
66983         (CHECK_N_PAGES): Likewise.
66985         [BZ #13550]
66986         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
66987         definitions.
66988         (CHECK_SIGSET_NULL_OK): Likewise.
66989         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
66990         <bp-checks.h>.
66991         (sigpending): Don't use CHECK_SIGSET.
66992         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
66993         <bp-checks.h>.
66994         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66995         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
66996         <bp-checks.h>.
66997         (do_sigsuspend): Don't use CHECK_SIGSET.
66998         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
66999         use CHECK_SIGSET.
67000         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
67001         (do_sigwait): Don't use CHECK_SIGSET.
67002         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
67003         use CHECK_SIGSET.
67004         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
67005         include <bp-checks.h>.
67006         (sigpending): Don't use CHECK_SIGSET.
67007         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
67008         include <bp-checks.h>.
67009         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67010         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
67011         <bp-checks.h>.
67012         (sigpending): Don't use CHECK_SIGSET.
67013         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
67014         <bp-checks.h>.
67015         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67017         [BZ #13550]
67018         * sysdeps/generic/bp-semctl.h: Remove file.
67019         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
67020         <bp-checks.h> and <bp-semctl.h>.
67021         (__old_semctl): Don't use CHECK_SEMCTL.
67022         (__new_semctl): Likewise.
67023         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
67024         and <bp-semctl.h>.
67025         (__old_semctl): Don't use CHECK_SEMCTL.
67026         (__new_semctl): Likewise.
67027         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
67028         <bp-checks.h> and <bp-semctl.h>.
67029         (__old_semctl): Don't use CHECK_SEMCTL.
67030         (__new_semctl): Likewise.
67031         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
67032         <bp-checks.h> and <bp-semctl.h>.
67033         (semctl): Don't use CHECK_SEMCTL.
67035         [BZ #13550]
67036         * Makerules (elide-bp-thunks): Remove variable.
67037         (elide-routines.oS): Don't use $(elide-bp-thunks).
67038         (elide-routines.os): Likewise.
67039         (elide-routines.o): Likewise.
67040         (elide-routines.op): Likewise.
67041         (elide-routines.og): Likewise.
67042         (objects): Don't use $(bp-thunks).
67043         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
67044         include.
67045         (common-generated): Do not add s-proto-bp.d.
67046         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
67047         (int): Likewise.
67048         (typ): Likewise.
67049         Do not generate makefile rules for bounded-pointer thunks.
67050         * sysdeps/generic/bp-thunks.h: Remove file.
67051         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
67052         * sysdeps/unix/s-proto-bp.S: Likewise.
67054         [BZ #15062]
67055         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
67056         parts of result separately when argument is not close to line from
67057         -i to i and one part of argument is small.
67058         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67059         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67060         * math/libm-test.inc (cacos_test): Add more tests.
67061         (casin_test): Likewise.
67062         (casinh_test): Likewise.
67063         * sysdeps/i386/fpu/libm-test-ulps: Update.
67064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67066 2013-01-31  David S. Miller  <davem@davemloft.net>
67068         * po/de.po: Update from translation team.
67070 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
67072         * time/tzfile.c: Include stdint.h for SIZE_MAX.
67074 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
67076         * configure.in (_AC_PROG_CC_C89): New definition.
67077         * configure: Regenerate.
67079         * configure.in (AC_PROG_CPP): New definition.
67080         * configure: Regenerate.
67082 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67084         * debug/tst-backtrace.h: New file.
67085         * debug/tst-backtrace2.c: Include tst-backtrace.h.
67086         (ret): Remove variable.
67087         (x): Likewise.
67088         (FAIL): Remove macro.
67089         (NO_INLINE): Likewise.
67090         (fn1): Use match function instead of strstr.
67091         * debug/tst-backtrace3.c: Include tst-backtrace.h.
67092         (ret): Remove variable.
67093         (x): Likewise.
67094         (FAIL): Remove macro.
67095         (NO_INLINE): Likewise.
67096         (fn): Use match function instead of strstr.
67097         * debug/tst-backtrace4.c: Include tst-backtrace.h.
67098         (ret): Remove variable.
67099         (x): Likewise.
67100         (FAIL): Remove macro.
67101         (NO_INLINE): Likewise.
67102         (handle_signal): Use match function instead of strstr.
67103         * debug/tst-backtrace5.c: Include tst-backtrace.h.
67104         (ret): Remove variable.
67105         (x): Likewise.
67106         (FAIL): Remove macro.
67107         (NO_INLINE): Likewise.
67108         (handle_signal): Use match function instead of strstr.
67110 2013-01-23  Roland McGrath  <roland@hack.frob.com>
67112         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
67114 2013-01-23  David S. Miller  <davem@davemloft.net>
67116         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
67117         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
67118         argument of CAS if possible.
67119         * sysdeps/sparc/sparc64/bits/atomic.h
67120         (__arch_compare_and_exchange_val_32_acq): Likewise.
67121         (__arch_compare_and_exchange_val_64_acq): Likewise.
67123 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
67125         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
67126         * sysdeps/posix/ulimit.c: ... this.
67127         Include <limits.h>.
67128         * sysdeps/unix/bsd/ulimit.c: Remove file.
67130 2013-01-23  Adam Conrad  <adconrad@0c3.net>
67132         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
67133         (LDFLAGS-tst-array5): Likewise.
67135 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67137         [BZ #15036]
67138         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
67139         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
67140         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
67141         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
67143 2013-01-21  David S. Miller  <davem@davemloft.net>
67145         * sysdeps/sparc/backtrace.c: New file.
67146         * sysdeps/sparc/sparc32/backtrace.h: New file.
67147         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
67148         * sysdeps/sparc/sparc64/backtrace.h: New file.
67149         * sysdeps/sparc/sparc64/backtrace.c: Delete.
67150         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
67151         -funwind-tables.
67153 2013-01-21  Andreas Schwab  <schwab@suse.de>
67155         [BZ #15020]
67156         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
67157         closed its stdout.
67159 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
67161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
67162         "mpa2.h".
67163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67165 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
67166             Mark Mitchell  <mark@codesourcery.com>
67167             Tom de Vries  <tom@codesourcery.com>
67168             Paul Pluzhnikov  <ppluzhnikov@google.com>
67170         * debug/tst-backtrace2.c: New file.
67171         * debug/tst-backtrace3.c: Likewise.
67172         * debug/tst-backtrace4.c: Likewise.
67173         * debug/tst-backtrace5.c: Likewise.
67174         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
67175         (CFLAGS-tst-backtrace3.c): Likewise.
67176         (CFLAGS-tst-backtrace4.c): Likewise.
67177         (CFLAGS-tst-backtrace5.c): Likewise.
67178         (LDFLAGS-tst-backtrace2): Likewise.
67179         (LDFLAGS-tst-backtrace3): Likewise.
67180         (LDFLAGS-tst-backtrace4): Likewise.
67181         (LDFLAGS-tst-backtrace5): Likewise.
67182         (tests): Add new tests tst-backtrace2, tst-backtrace3,
67183         tst-backtrace4 and tst-backtrace5.
67185 2013-01-18  Anton Blanchard  <anton@samba.org>
67186             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67188         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
67189         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
67190         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
67191         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
67192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67193         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
67194         "+r" and remove output regs list as redundant.  Add explicit inline
67195         asm to specify register of return val to work around compiler codegen
67196         bug.  Remove (int) cast on return value.  Add return type parameter to
67197         use in macro so that this macro does not truncate return value for
67198         64-bit values.
67199         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
67200         pass to INTERNAL_VSYSCALL_NCS.
67201         (INLINE_VSYSCALL): Add 'long int' as return type to
67202         INTERNAL_VSYSCALL_NCS macro invocation.
67203         (INTERNAL_VSYSCALL): Add 'long int' as return type to
67204         INTERNAL_VSYSCALL_NCS macro invocation.
67205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67207 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67209         [BZ #14496]
67210         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
67211         Fix application of SIMD FP exception mask.
67213         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
67214         mp_no from a power of two.
67215         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
67216         __mpexp_twomm1.  Use __pow_mp.
67218         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
67219         multiplication.
67221 2013-01-17  David S. Miller  <davem@davemloft.net>
67223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67225 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67227         [BZ #15023]
67228         * include/complex.h: Condition contents on [!_COMPLEX_H].
67229         (__kernel_casinhf): New prototype.
67230         (__kernel_casinh): Likewise.
67231         (__kernel_casinhl): Likewise.
67232         * math/Makefile (libm_calls): Add k_casinh.
67233         * math/k_casinh.c: New file.
67234         * math/k_casinhf.c: Likewise.
67235         * math/k_casinhl.c: Likewise.
67236         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
67237         finite nonzero arguments.
67238         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
67239         finite nonzero arguments.
67240         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
67241         finite nonzero arguments.
67242         * math/s_casinh.c: Do not include <float.h>.
67243         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
67244         * math/s_casinhf.c: Do not include <float.h>.
67245         (__casinhf): Move code for finite nonzero arguments to
67246         k_casinhf.c.
67247         * math/s_casinhl.c: Do not include <float.h>.
67248         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
67249         redefine.
67250         (__casinhl): Move code for finite nonzero arguments to
67251         k_casinhl.c.
67252         * math/libm-test.inc (cacos_test): Add more tests.
67253         * sysdeps/i386/fpu/libm-test-ulps: Update.
67254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67256 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
67258         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
67259         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
67260         [!HAVE_MREMAP]: Remove [defined linux] case.
67261         * malloc/arena.c: Do not include <malloc-sysdep.h>.
67263 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67265         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
67267 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
67269         * elf/elf.h (R_386_SIZE32): New relocation.
67270         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
67271         R_386_SIZE32.
67272         (elf_machine_rela): Likewise.
67273         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67274         R_X86_64_SIZE64 and R_X86_64_SIZE32.
67276 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67278         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
67279         (FP_FAST_FMA): Do not define.
67280         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
67281         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
67282         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
67283         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
67284         !_SOFT_FLOAT]: Likewise.
67285         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
67286         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
67287         value.
67288         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
67289         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
67290         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
67291         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
67292         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
67293         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
67294         file.
67296 2013-01-16  Andreas Schwab  <schwab@suse.de>
67298         [BZ #14327]
67299         * include/stdlib.h (__mktemp): Add declaration.
67300         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
67301         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
67303 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67305         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
67306         definitions.
67307         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67308         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
67309         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
67310         definitions here.
67311         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
67312         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
67313         definitions.
67314         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
67315         and ONE.
67316         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
67317         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
67318         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
67319         definitions.
67320         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
67321         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
67322         definitions.
67323         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67325         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
67327 2013-01-15  David S. Miller  <davem@davemloft.net>
67329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67330         trunc{,f} to libm-sysdep_routes.
67331         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
67333         file.
67334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
67335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
67336         file.
67337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
67338         file.
67339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
67340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
67341         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
67342         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
67343         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
67344         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
67345         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
67346         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
67348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67349         nearbyint{,f} to libm-sysdep_routes.
67350         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
67352         New file.
67353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
67354         file.
67355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
67356         New file.
67357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
67358         file.
67359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
67360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
67361         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
67362         file.
67363         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
67364         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
67365         file.
67366         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
67367         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
67368         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
67370         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
67371         libc_feholdexcept and libc_fesetenv.
67373 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
67375         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
67377 2013-01-14  David S. Miller  <davem@davemloft.net>
67379         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
67380         (SPARC_ASM_VIS2_IFUNC): Likewise.
67381         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
67382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
67383         use of 'siam' instruction.
67384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
67385         Likewise.
67386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
67387         Likewise.
67388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
67389         Likewise.
67390         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
67391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
67392         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
67393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
67394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
67395         file.
67396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
67397         file.
67398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
67399         file.
67400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
67401         file.
67402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
67403         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
67404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
67405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
67406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
67407         new VIS2 routines.
67408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67411         Likewise.
67412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67414         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
67417         routines to libm-sysdep_routines.
67418         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67421         fdim/fdimf to libm-sysdep_routines.
67422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
67423         file.
67424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
67425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
67426         file.
67427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
67428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
67429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
67430         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
67431         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
67432         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
67433         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
67435 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67437         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
67438         to optimize copies.
67440         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
67441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
67445         local variable MPTWO.
67446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67447         Likewise.
67449 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67451         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
67452         GLOB_NOESCAPE.
67454 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67456         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
67458 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67460         * manual/pattern.texi (glob_t): Document gl_flags.
67461         (glob64_t): Likewise.
67463 2013-01-11  David S. Miller  <davem@davemloft.net>
67465         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
67466         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
67467         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
67468         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
67469         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
67470         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
67471         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
67472         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
67473         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
67474         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
67475         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
67476         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
67477         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
67479         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
67480         sparc V9 rather than using V8 code.
67481         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67482         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67484         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67485         Move to...
67486         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
67487         Here.
67489 2013-01-11  Roland McGrath  <roland@hack.frob.com>
67491         [BZ #14941]
67492         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
67493         not in the main loop.
67494         * configure: Regenerated.
67496 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
67498         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
67499         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
67500         to just #else.
67501         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
67502         [!__GLIBC_HAVE_LONG_LONG] case.
67503         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
67504         condition to just #else.
67505         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
67506         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
67507         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
67508         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
67509         unconditional.
67510         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
67511         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
67512         #elif condition to just #else.
67513         * sysdeps/unix/sysv/linux/sys/sysmacros.h
67514         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
67515         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
67516         #elif condition to just #else.
67518 2013-01-11  Steve Ellcey  <sellcey@mips.com>
67520         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
67521         (EF_MIPS_ARCH_64): Fix value.
67522         (EF_MIPS_ARCH_32R2): New.
67523         (EF_MIPS_ARCH_64R2): New.
67525 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
67527         * Makeconfig (+link-pie-before-libc): New.
67528         (+link-pie-after-libc): Likewise.
67529         (+link-pie-tests): Likewise.
67530         (+link-pie): Rewritten.
67531         (link-before-libc): Remove $(config-LDFLAGS).
67532         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
67533         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
67534         (config-LDFLAGS): Renamed to ...
67535         (rtld-LDFLAGS): This.
67536         (rtld-tests-LDFLAGS): New macro.
67537         (link-libc-rpath-link): Likewise.
67538         (link-libc-tests-rpath-link): Likewise.
67539         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
67540         (link-libc): Prepand $(link-libc-rpath-link).
67541         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
67542         (test-program-prefix): New macro.
67543         (test-via-rtld-prefix): Likewise.
67544         (test-program-cmd): Likewise.
67545         (host-test-program-cmd): Likewise.
67546         * Makefile ($(common-objpfx)testrun.sh): Replace
67547         $(run-program-prefix) with $(test-program-prefix).
67548         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
67549         $(rtld-LDFLAGS).
67550         ($(common-objpfx)shlib.lds): Likewise.
67551         (build-module-helper): Likewise.
67552         ($(common-objpfx)format.lds): Likewise.
67553         * Rules (binaries-pie-tests): New.
67554         (binaries-pie-notests): Likewise.
67555         (binaries-pie): Rewritten.
67556         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
67557         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
67558         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
67559         (make-test-out): Replace $(host-built-program-cmd) with
67560         $(host-test-program-cmd).
67561         * config.make.in (build-hardcoded-path-in-tests): New variable.
67562         * configure.in (--enable-hardcoded-path-in-tests): New configure
67563         option.
67564         (hardcoded_path_in_tests): New AC_SUBST.
67565         * configure: Regenerated.
67566         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
67567         $(built-program-cmd) with $(test-program-cmd).
67568         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
67569         (test_program_cmd): This.
67570         * elf/Makefile ($(objpfx)order.out): Run test with
67571         $(test-program-prefix).
67572         ($(objpfx)order2.out): Likewise.
67573         ($(objpfx)tst-initorder.out): Likewise.
67574         ($(objpfx)tst-initorder2.out): Likewise.
67575         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
67576         $(test-program-cmd).
67577         ($(objpfx)tst-array1-static.out): Likewise.
67578         ($(objpfx)tst-array2.out): Likewise.
67579         ($(objpfx)tst-array3.out): Likewise.
67580         ($(objpfx)tst-array4.out): Likewise.
67581         ($(objpfx)tst-array5.out): Likewise.
67582         ($(objpfx)tst-array5-static.out): Likewise.
67583         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
67584         $(test-program-cmd).
67585         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
67586         $(run-program-prefix) with $(test-program-prefix).
67587         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
67588         (test_program_prefix): This.
67589         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
67590         $(run-program-prefix) with $(test-program-prefix).
67591         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
67592         (test_program_prefix): This.
67593         * iconvdata/tst-tables.sh: Likewise.
67594         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
67595         $(run-program-prefix) with $(test-program-prefix).
67596         ($(objpfx)tst-translit.out): Likewise.
67597         ($(objpfx)tst-gettext2.out): Likewise.
67598         ($(objpfx)tst-gettext4.out): Likewise.
67599         ($(objpfx)tst-gettext6.out): Likewise.
67600         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
67601         (test_program_prefix): This.
67602         * intl/tst-gettext2.sh: Likewise.
67603         * intl/tst-gettext4.sh  Likewise.
67604         * intl/tst-gettext6.sh: Likewise.
67605         * intl/tst-translit.sh: Likewise.
67606         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
67607         with $(test-program-cmd).
67608         * libio/Makefile ($(objpfx)test-freopen.out): Replace
67609         $(run-program-prefix) with $(test-program-prefix).
67610         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
67611         (test_program_prefix): This.
67612         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
67613         $(run-program-prefix) with $(test-program-prefix).
67614         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
67615         (test_program_prefix): This.
67616         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
67617         * posix/Makefile ($(objpfx)globtest.out): Replace
67618         $(run-via-rtld-prefix) and $(test-wrapper) with
67619         $(test-program-prefix) and $(test-via-rtld-prefix).
67620         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
67621         $(test-program-prefix).
67622         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
67623         $(host-test-program-cmd).
67624         (tst-spawn-ARGS): Likewise.
67625         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
67626         $(test-program-prefix).
67627         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
67628         (test_via_rtld_prefix): This.
67629         (test_wrapper): Renamed to ...
67630         (test_program_prefix): This.
67631         (run_program_prefix): Replaced by test_program_prefix.
67632         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
67633         (test_program_prefix): This.
67634         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
67635         with $(host-test-program-cmd).
67636         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
67637         $(run-program-prefix) with $(test-program-prefix).
67638         ($(objpfx)tst-printf.out): Likewise.
67639         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
67640         $(test-program-cmd).
67641         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
67642         (test_program_prefix): This.
67643         * stdio-common/tst-unbputc.sh: Likewise.
67644         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
67645         $(run-program-prefix) with $(test-program-prefix).
67646         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
67647         (test_program_prefix): This.
67648         * string/Makefile ($(objpfx)tst-svc.out):  Replace
67649         $(built-program-cmd) with $(test-program-cmd).
67651 2013-01-11  Andreas Jaeger  <aj@suse.de>
67653         [BZ #15003]
67654         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
67655         value. Sync with Linux 3.7.
67657 2013-01-10  David S. Miller  <davem@davemloft.net>
67659         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
67660         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67661         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67663 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67665         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
67666         never set.
67667         * configure: Regenerated.
67669 2013-01-10  David S. Miller  <davem@davemloft.net>
67671         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
67672         sparc V9 rather than using V8 code.
67673         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67674         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67676 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67678         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
67679         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
67680         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
67681         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
67682         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
67683         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
67684         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
67685         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
67686         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
67687         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
67688         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
67689         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
67690         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
67691         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
67692         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
67693         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
67694         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
67695         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
67696         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
67697         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
67698         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
67699         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
67700         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
67701         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
67702         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
67703         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
67704         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
67706 2013-01-10  David S. Miller  <davem@davemloft.net>
67708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67710 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67712         * posix/Makefile (tests-static): New variable.
67713         (tests): Add $(tests-static).
67714         (tst-exec-static-ARGS): New variable.
67715         (tst-spawn-static-ARGS): Likewise.
67716         * posix/tst-exec-static.c: New file.
67717         * posix/tst-spawn-static.c: Likewise.
67718         * posix/tst-exec.c: Support run directly.
67719         * posix/tst-spawn.c: Likewise.
67721 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
67723         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
67724         long.
67725         * math/bits/mathcalls.h (llrint): Likewise.
67726         (llround): Likewise.
67727         * stdlib/stdlib.h (struct drand48_data): Likewise.
67728         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
67729         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
67730         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
67731         Likewise.
67732         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
67733         Likewise.
67734         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
67735         (elf_greg_t): Likewise.
67736         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
67737         (__jmp_buf): Likewise.
67738         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
67739         definitions.
67740         (llrint): Likewise, for all definitions.
67741         (llrintl): Likewise.
67743         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
67744         Remove [__GNUC__] condition.
67745         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
67746         condition to just [__USE_ISOC99].
67747         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
67749 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67751         [BZ #14200]
67752         * sysdeps/unix/sysv/linux/x86/bits/environments.h
67753         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
67754         defined.
67755         (_POSIX_V6_ILP32_OFF32): Likewise.
67756         (_XBS5_ILP32_OFF32): Likewise.
67757         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
67758         (__ILP32_OFFBIG_LDFLAGS): Likewise.
67760 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67762         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
67764         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
67765         doubles __mpexp_twomm1.  Adjust usage.
67766         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
67767         Remove.
67769 2013-01-10  Andreas Schwab  <schwab@suse.de>
67771         [BZ #14964]
67772         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
67773         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
67775 2013-01-09  David S. Miller  <davem@davemloft.net>
67777         [BZ #15003]
67778         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
67779         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
67780         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
67781         (TCP_FASTOPEN): Define.
67782         (tcp_repair_opt): New structure.
67783         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
67784         enum values.
67785         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
67786         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
67787         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
67788         (tcp_cookie_transactions): New structure.
67790 2013-01-09  Anton Blanchard  <anton@samba.org>
67792         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
67793         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
67794         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
67795         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
67797 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
67799         * include/features.h (__USE_ANSI): Remove.
67801 2013-01-09  Roland McGrath  <roland@hack.frob.com>
67803         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
67805         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
67807 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
67809         * sysdeps/s390/fpu/libm-test-ulps: Update.
67811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67813         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
67814         (__acr): Likewise.
67815         (__cpy): Likewise.
67816         (norm): Likewise.
67817         (denorm): Likewise.
67818         (__mp_dbl): Likewise.
67819         (__dbl_mp): Likewise.
67820         (add_magnitudes): Likewise.
67821         (sub_magnitudes): Likewise.
67822         (__add): Likewise.
67823         (__sub): Likewise.
67824         (__mul): Likewise.
67825         (__inv): Likewise.
67826         (__dvd): Likewise.
67827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
67828         (__acr): Likewise.
67829         (__cpy): Likewise.
67830         (norm): Likewise.
67831         (denorm): Likewise.
67832         (__mp_dbl): Likewise.
67833         (__dbl_mp): Likewise.
67834         (add_magnitudes): Likewise.
67835         (sub_magnitudes): Likewise.
67836         (__add): Likewise.
67837         (__sub): Likewise.
67838         (__mul): Likewise.
67839         (__inv): Likewise.
67840         (__dvd): Likewise.
67841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
67842         (__acr): Likewise.
67843         (__cpy): Likewise.
67844         (norm): Likewise.
67845         (denorm): Likewise.
67846         (__mp_dbl): Likewise.
67847         (__dbl_mp): Likewise.
67848         (add_magnitudes): Likewise.
67849         (sub_magnitudes): Likewise.
67850         (__add): Likewise.
67851         (__sub): Likewise.
67852         (__mul): Likewise.
67853         (__inv): Likewise.
67854         (__dvd): Likewise.
67856 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
67858         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
67859         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
67860         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
67861         2 && __USE_EXTERN_INLINES]: Likewise.
67863 2013-01-08  Andreas Jaeger  <aj@suse.de>
67865         [BZ #14985]
67866         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
67867         Remove.
67868         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67869         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67871 2013-01-07  Anton Blanchard  <anton@samba.org>
67873         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
67874         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
67875         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
67876         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
67877         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
67878         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67879         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
67880         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67882         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67883         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67884         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67885         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67886         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
67887         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
67888         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67889         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67890         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
67891         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
67892         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
67893         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
67894         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
67895         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67896         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
67897         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
67898         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
67899         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67900         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
67901         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
67902         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67903         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
67904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67905         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67906         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
67907         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
67908         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67909         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
67910         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67911         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
67912         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
67913         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
67914         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67915         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
67917 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
67919         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
67920         (__MALLOC_PMT): Likewise.
67921         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
67922         [__GNUC__], only on [_LIBC].
67923         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67924         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
67925         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67926         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
67927         forward declaration.
67928         (realloc_hook_ini): Likewise.
67929         (memalign_hook_ini): Likewise.
67930         (__libc_memalign): Do not use __MALLOC_PMT in variable
67931         declaration.
67932         (__libc_valloc): Likewise.
67933         (__libc_pvalloc): Likewise.
67934         (__libc_calloc): Likewise.
67935         (__posix_memalign): Likewise.
67937         [BZ #14996]
67938         * math/s_casinh.c: Include <float.h>.
67939         (__casinh): Do not do computation with squaring and square root
67940         for large arguments.
67941         * math/s_casinhf.c: Include <float.h>.
67942         (__casinhf): Do not do computation with squaring and square root
67943         for large arguments.
67944         * math/s_casinhl.c: Include <float.h>.
67945         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
67946         (__casinhl): Do not do computation with squaring and square root
67947         for large arguments.
67948         * math/libm-test.inc (casin_test): Add more tests.
67949         (casinh_test): Likewise.
67950         * sysdeps/i386/fpu/libm-test-ulps: Update.
67951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67953 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
67955         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
67956         (__x86_64_raw_data_cache_size): Likewise.
67957         (__x86_64_data_cache_size_half): Likewise.
67958         (__x86_64_raw_data_cache_size_half): Likewise.
67959         (__x86_64_shared_cache_size): Likewise.
67960         (__x86_64_raw_shared_cache_size): Likewise.
67961         (__x86_64_shared_cache_size_half): Likewise.
67962         (__x86_64_raw_shared_cache_size_half): Likewise.
67963         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
67964         to ...
67965         (__x86_data_cache_size): This.
67966         (__x86_64_raw_data_cache_size): Renamed to ...
67967         (__x86_raw_data_cache_size): This.
67968         (__x86_64_data_cache_size_half): Renamed to ...
67969         (__x86_data_cache_size_half): This.
67970         (__x86_64_raw_data_cache_size_half): Renamed to ...
67971         (__x86_raw_data_cache_size_half): This.
67972         (__x86_64_shared_cache_size): Renamed to ...
67973         (__x86_shared_cache_size): This.
67974         (__x86_64_raw_shared_cache_size): Renamed to ...
67975         (__x86_raw_shared_cache_size): This.
67976         (__x86_64_shared_cache_size_half): Renamed to ...
67977         (__x86_shared_cache_size_half): This.
67978         (__x86_64_raw_shared_cache_size_half): Renamed to ...
67979         (__x86_raw_shared_cache_size_half): This.
67980         * sysdeps/x86_64/memcpy.S: Updated.
67981         * sysdeps/x86_64/memset.S: Likewise.
67982         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67983         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67984         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67986 2013-01-04  David S. Miller  <davem@davemloft.net>
67988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67990 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
67992         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
67993         1 to avoid redefinition warning.
67994         (__USE_GNU): Don't define.
67995         (init_signaling_nan): Protoize.
67997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67999 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68001         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
68002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
68003         (__cpymn): Likewise.
68004         (norm): Remove commented code.
68005         (denorm): Likewise.
68006         (__mp_dbl): Likewise.
68007         (__inv): Likewise.
68008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
68009         (__cpymn): Likewise.
68010         (norm): Remove commented code.
68011         (denorm): Likewise.
68012         (__mp_dbl): Likewise.
68013         (__inv): Likewise.
68015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
68016         mp_no value for 1.0 and 2.0.
68017         (norm): Use RADIXI instead of radixi.d.
68018         (denorm): Likewise.
68019         (__mul): Use 0.0 instead of zero.d.
68020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
68021         mp_no value for 1.0 and 2.0.
68022         (norm): Use RADIXI instead of radixi.d.
68023         (denorm): Likewise.
68024         (__mul): Use 0.0 instead of zero.d.
68026 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
68028         [BZ #14994]
68029         * math/s_casinh.c (__casinh): Reduce finite argument to first
68030         quadrant then set signs of results at the end.
68031         * math/s_casinhf.c (__casinhf): Likewise.
68032         * math/s_casinhl.c (__casinhl): Likewise.
68033         * math/libm-test.inc (casin_test): Add more tests.
68034         (casinh_test): Likewise.
68035         * sysdeps/i386/fpu/libm-test-ulps: Update.
68036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68038 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68040         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
68042         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
68044         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
68045         declarations.
68046         (denorm): Likewise.
68047         (__mp_dbl): Likewise.
68048         (__inv): Likewise.
68050         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
68051         and adjust the header comment.
68053         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
68054         variable name from declaration.
68056 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
68058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68059         Initialize COMMON_CPUID_INDEX_7 element.
68060         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
68061         (CPUID_RTM): Likewise.
68062         (HAS_RTM): Likewise.
68063         (COMMON_CPUID_INDEX_7): New enum.
68065 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
68067         [BZ #14981]
68068         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
68069         size is zero, record memory as freed.
68071 2013-01-03  Andreas Jaeger  <aj@suse.de>
68073         * po/ia.po: Add new Interlingua translation.
68075 2012-01-03  Allan McRae  <allan@archlinux.org>
68077         * locale/programs/localedef.c: Fix description of '--posix' flag.
68079 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
68081         * NEWS: Update dates in second copyright notice.
68082         * README: Update copyright dates in example.
68083         * manual/libc.texinfo: Update copyright dates.
68084         * scripts/test-installation.pl: Update copyright date in --version
68085         output.
68087         * hurd/ctty-input.c: Fix copyright notice formatting.
68088         * hurd/ctty-output.c: Likewise.
68089         * hurd/dtable.c: Likewise.
68090         * hurd/hurd-raise.c: Likewise.
68091         * hurd/hurdprio.c: Likewise.
68092         * hurd/msgportdemux.c: Likewise.
68093         * misc/sys/file.h: Likewise.
68094         * misc/sys/ioctl.h: Likewise.
68095         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
68096         * sysdeps/mach/hurd/chdir.c: Likewise.
68097         * sysdeps/mach/hurd/fchdir.c: Likewise.
68098         * sysdeps/mach/hurd/rename.c: Likewise.
68099         * sysdeps/mach/hurd/rmdir.c: Likewise.
68100         * sysdeps/mach/hurd/seekdir.c: Likewise.
68101         * sysdeps/mach/hurd/setsid.c: Likewise.
68102         * sysdeps/posix/wait3.c: Likewise.
68104         * All files with FSF copyright notices: Update copyright dates
68105         using scripts/update-copyrights.
68106         * intl/plural.c: Regenerated.
68107         * locale/programs/charmap-kw.h: Likewise.
68108         * locale/programs/locfile-kw.h: Likewise.
68110 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68112         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
68113         four values.
68115         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
68116         calculation loop and add branch prediction.
68118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
68119         check access beyond bounds of m1np.
68121         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68122         MPTWO.
68123         (__inv): Remove local variable MPTWO to use the global
68124         constant.
68125         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
68126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68127         variable MPTWO.
68128         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
68129         MP3HALFS static const.
68131 2013-01-01  David S. Miller  <davem@davemloft.net>
68133         * po/ca.po: Update from translation team.
68135 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
68137         * scripts/update-copyrights: New file.
68138         * Makeconfig: Reformat copyright notice.
68139         * ctype/ctype.h: Likewise.
68140         * debug/swprintf_chk.c: Likewise.
68141         * elf/dl-cache.c: Likewise.
68142         * elf/dl-debug.c: Likewise.
68143         * elf/dl-object.c: Likewise.
68144         * grp/initgroups.c: Likewise.
68145         * hurd/Makefile: Likewise.
68146         * hurd/hurd/signal.h: Likewise.
68147         * hurd/hurdfault.c: Likewise.
68148         * hurd/hurdioctl.c: Likewise.
68149         * hurd/hurdlookup.c: Likewise.
68150         * hurd/intr-msg.c: Likewise.
68151         * iconv/gconv_open.c: Likewise.
68152         * libio/swprintf.c: Likewise.
68153         * locale/lc-ctype.c: Likewise.
68154         * locale/nl_langinfo.c: Likewise.
68155         * mach/Machrules: Likewise.
68156         * mach/Makefile: Likewise.
68157         * malloc/obstack.h: Likewise.
68158         * manual/Makefile: Likewise.
68159         * manual/tsort.awk: Likewise.
68160         * misc/bits/stab.def: Likewise.
68161         * nis/nis_print_group_entry.c: Likewise.
68162         * nis/nis_table.c: Likewise.
68163         * nis/nss_compat/compat-pwd.c: Likewise.
68164         * nis/nss_compat/compat-spwd.c: Likewise.
68165         * po/Makefile: Likewise.
68166         * posix/fnmatch.c: Likewise.
68167         * posix/regex.h: Likewise.
68168         * resolv/Makefile: Likewise.
68169         * resolv/nss_dns/dns-network.c: Likewise.
68170         * resolv/res_hconf.c: Likewise.
68171         * scripts/gen-sorted.awk: Likewise.
68172         * soft-fp/soft-fp.h: Likewise.
68173         * stdio-common/printf.h: Likewise.
68174         * stdlib/monetary.h: Likewise.
68175         * stdlib/random.c: Likewise.
68176         * stdlib/random_r.c: Likewise.
68177         * sysdeps/generic/Makefile: Likewise.
68178         * sysdeps/gnu/Makefile: Likewise.
68179         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68181         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68184         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68185         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68186         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68187         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68188         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68189         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68190         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68191         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68192         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68193         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
68194         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68195         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68196         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68197         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68199         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68200         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68201         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68202         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
68203         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
68204         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68205         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
68206         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
68207         * sysdeps/mach/hurd/errnos.awk: Likewise.
68208         * sysdeps/mach/hurd/fork.c: Likewise.
68209         * sysdeps/mach/hurd/getcwd.c: Likewise.
68210         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
68211         * sysdeps/mach/hurd/mmap.c: Likewise.
68212         * sysdeps/mach/hurd/utimes.c: Likewise.
68213         * sysdeps/mach/hurd/xmknod.c: Likewise.
68214         * sysdeps/posix/profil.c: Likewise.
68215         * sysdeps/posix/readdir_r.c: Likewise.
68216         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68217         * sysdeps/powerpc/bits/setjmp.h: Likewise.
68218         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
68219         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68221         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68222         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68223         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68225         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68226         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68227         * sysdeps/pthread/lio_listio.c: Likewise.
68228         * sysdeps/sparc/dl-procinfo.h: Likewise.
68229         * sysdeps/unix/i386/sysdep.S: Likewise.
68230         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
68231         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
68232         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
68233         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
68234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68235         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
68236         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
68237         * sysdeps/unix/sysv/linux/speed.c: Likewise.
68238         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
68239         * sysdeps/wordsize-32/divdi3.c: Likewise.
68240         * time/sys/time.h: Likewise.
68241         * wcsmbs/Makefile: Likewise.
68243 2013-01-01  David S. Miller  <davem@davemloft.net>
68245         * po/fr.po: Update from translation team.
68247         * catgets/gencat.c: Update copyright year.
68248         * csu/version.c: Likewise.
68249         * debug/catchsegv.sh: Likewise.
68250         * debug/pcprofiledump.c: Likewise.
68251         * debug/xtrace.sh: Likewise.
68252         * elf/ldconfig.c: Likewise.
68253         * elf/ldd.bash.in: Likewise.
68254         * elf/pldd.c: Likewise.
68255         * elf/sotruss.ksh: Likewise.
68256         * elf/sprof.c: Likewise.
68257         * iconv/iconv_prog.c: Likewise.
68258         * iconv/iconvconfig.c: Likewise.
68259         * locale/programs/locale.c: Likewise.
68260         * locale/programs/localedef.c: Likewise.
68261         * login/programs/pt_chown.c: Likewise.
68262         * malloc/memusage.sh: Likewise.
68263         * malloc/memusagestat.c: Likewise.
68264         * malloc/mtrace.pl: Likewise.
68265         * nscd/nscd.c: Likewise.
68266         * nss/getent.c: Likewise.
68267         * nss/makedb.c: Likewise.
68268         * posix/getconf.c: Likewise.
68270 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68272         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
68273         numbers.
68275 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
68277         * math/bits/mathcalls.h (modf): Use __nonnull.
68279 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68281         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
68282         (split): Use macro CN instead of the bare value.
68283         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
68284         could be used.
68285         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
68286         instead of the bare value.
68287         (power1): Likewise.
68289 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68291         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
68292         __ATAN_TWOM.
68293         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68295         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
68296         their values.
68297         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68298         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68299         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
68300         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68302 2012-12-28  Andreas Jaeger  <aj@suse.de>
68304         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
68305         values are from Linux 3.7.
68307         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
68308         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
68310 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68312         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
68313         TRUE case.
68315         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
68316         (norm): Likewise.
68317         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
68318         variables with preprocessor constants.
68319         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68320         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68321         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68323 2012-12-27  Bruno Haible  <bruno@clisp.org>
68325         [BZ #14317]
68326         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
68327         only if needed.
68329 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68331         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
68332         and use variable directly.
68333         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
68335         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68336         MPONE.
68337         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
68338         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68339         variable MPONE.
68340         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68341         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68342         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
68343         include directive.  Remove local variable MPONE.
68344         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
68345         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
68346         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68348 2012-12-25  David S. Miller  <davem@davemloft.net>
68350         * version.h (RELEASE): Set to "development".
68351         (VERSION): Set to "2.17.90".
68352         * NEWS: Add 2.18 section.
68354 2012-12-21  David S. Miller  <davem@davemloft.net>
68356         * po/hr.po: Update from translation team.
68358 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68360         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
68362 2012-12-19  Steve Ellcey  <sellcey@mips.com>
68364         * NEWS:  Mention new memcpy for MIPS.
68366 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68368         * manual/contrib.texi (Contributors): Spelling correction.
68370 2012-12-15  David S. Miller  <davem@davemloft.net>
68372         * po/ru.po: Update from translation team.
68374 2012-12-13  David S. Miller  <davem@davemloft.net>
68376         * NEWS: Mention IFUNC testsuite enhancements.
68378         * po/pl.po: Update from translation team.
68379         * po/bg.po: Likewise.
68381         * manual/contrib.texi (Contributors): Update entries for Hongjiu
68382         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
68384 2012-12-11  David S. Miller  <davem@davemloft.net>
68386         * po/sv.po: Update from translation team.
68388         * po/vi.po: Update from translation team.
68390         * po/cs.po: Update from translation team.
68392         * po/de.po: Update from translation team.
68393         * po/eo.po: Likewise.
68394         * po/nl.po: Likewise.
68396 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68398         [BZ #14246]
68399         * manual/argp.texi (Argp Helper Functions): Move node to follow
68400         Argp Parsing State.
68402         [BZ #14872]
68403         * manual/conf.texi (Limits on File System Capacity): Mention if
68404         terminating null is included in the max size.
68406 2012-12-10  Andreas Jaeger  <aj@suse.de>
68408         * po/cs.po: Update from translation team.
68410 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68412         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
68413         void pointer and cast to uintptr_t.
68414         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
68415         path.
68416         * sysdeps/s390/s390-64/memcpy.S: Likewise.
68417         * sysdeps/s390/s390-64/memset.S: Likewise.
68419 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
68421         [BZ #14833]
68422         * menual/message.texi (Message Translation): Fix typos.
68423         (Helper programs for gettext): Likewise.
68425 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
68427         [BZ #14898]
68428         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
68429         Change to -1.
68431 2012-12-07  David S. Miller  <davem@davemloft.net>
68433         * po/libc.pot: Update.
68435 2012-12-07  Richard Henderson  <rth@redhat.com>
68437         [BZ #10114]
68438         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
68439         normal/normal case to before the switch.
68440         (_FP_DIV): Likewise.
68442 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
68443             Mike Frysinger  <vapier@gentoo.org>
68445         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
68446         check for __NR_fadvise64_64.
68448 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
68450         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
68451         0, not just to plain "0" as a statement.
68452         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
68453         with cw.
68455 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
68457         * NEWS: Use sourceware.org in Bugzilla URL.
68459 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
68462         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
68464         * stdio-common/tst-put-error.c (do_test): Add newline to the
68465         padded test to ensure flush.
68467 2012-12-05  Jeff Law  <law@redhat.com>
68469         * sunrpc/etc.rpc (fedfs_admin): Add entry.
68471 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
68473         * README: Don't refer to ports add-on as distributed separately.
68474         Mention AArch64 in list of systems supported in the ports add-on.
68476         * LICENSES: Add more non-FSF copyright and license notices.
68478         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
68479         ((unused)).
68481         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
68483         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
68484         10000 as width of padded output.
68486 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
68488         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
68490         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
68491         variable LX with __attribute__ ((unused)).
68492         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
68493         Likewise.
68494         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
68495         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68496         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
68497         with __attribute__ ((unused)).
68499 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
68501         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
68503 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
68505         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
68506         (CFLAGS-nldbl-acos.c): New variable.
68507         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
68508         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
68509         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
68510         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
68511         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
68512         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
68513         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
68514         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
68515         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
68516         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
68517         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
68518         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
68519         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
68520         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
68521         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
68522         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
68523         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
68524         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
68525         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
68526         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
68527         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
68528         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
68529         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
68530         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
68531         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
68532         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
68533         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
68534         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
68535         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
68536         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
68537         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
68538         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
68539         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
68540         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
68541         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
68542         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
68543         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
68544         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
68545         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
68546         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
68547         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
68548         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
68549         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
68550         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
68551         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
68552         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
68553         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
68554         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
68555         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
68556         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
68557         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
68558         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
68559         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
68560         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
68561         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
68562         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
68563         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
68564         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
68565         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
68566         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
68567         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
68568         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
68569         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
68570         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
68571         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
68572         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
68573         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
68574         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
68575         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
68576         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
68577         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
68578         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
68579         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
68580         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
68581         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
68582         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
68583         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
68584         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
68585         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
68586         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
68587         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
68588         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
68589         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
68590         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
68591         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
68592         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
68593         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
68594         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
68595         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
68596         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
68597         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
68598         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
68599         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
68600         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
68601         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
68602         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
68603         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
68605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68606         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
68608         [BZ #14914]
68609         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
68610         whole low double instead of just low 47 bits when splitting values
68611         into two parts.
68613 2012-12-03  Allan McRae  <allan@archlinux.org>
68615         * manual/stdio.texi (Predefined Printf Handlers): Remove
68616         @hsep and @vsep usage.
68618 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
68620         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
68621         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
68623 2012-12-03  Jeff Law  <law@redhat.com>
68625         * time/sys/time.h (settimeofday): Do not mark TV argument
68626         as __nonnull.
68628 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
68630         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
68631         when currently writing and seek to current position when not.
68632         * libio/Makefile (tests): Remove bug-fclose1.
68633         * libio/bug-fclose1.c: Delete.
68635 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
68637         * manual/arith.texi (feenableexcept): Fix typo.
68638         (fedisableexcept): Likewise.
68640 2012-11-30  Roland McGrath  <roland@hack.frob.com>
68642         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
68643         second, differently-typed declaration, rather than a cast.
68645 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68647         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
68648         * include/rpc/svc.h: ... here.
68650 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
68652         [BZ #13013]
68653         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
68654         depending n and resplen2 to catch cases where answer
68655         equals answerp2.
68657 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
68659         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
68660         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
68662 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
68664         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
68666 2012-11-29  Roland McGrath  <roland@hack.frob.com>
68668         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
68670 2012-11-28  Jeff Law  <law@redhat.com>
68672         [BZ #13761]
68673         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
68674         dataset_temporary.  Track alloca usage into alloca_used.
68675         If dataset is large allocate and release it via malloc/free.
68677 2012-06-04  Florian Weimer  <fweimer@redhat.com>
68679         [BZ #14197]
68680         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
68682 2012-11-28  David S. Miller  <davem@davemloft.net>
68684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68686 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68688         [BZ #14803]
68689         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
68690         of pi/2 rounded to nearest to 64 bits.
68691         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
68692         nearest to 64 bits.
68693         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
68694         bits.
68696 2012-11-28  Jeff Law <law@redhat.com>
68697             Martin Osvald <mosvald@redhat.com>
68699         [BZ #14889]
68700         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
68701         * sunrpc/svc.c: Include time.h.
68702         (__svc_accept_failed): New function.
68703         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
68704         any reason other than EINTR, call __svc_accept_failed.
68705         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
68706         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
68708 2012-11-28  Andreas Schwab  <schwab@suse.de>
68710         * scripts/abilist.awk: Also handle indirect functions in .opd
68711         section.
68713 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68715         [BZ #13881]
68716         * sysdeps/x86/fpu/powl_helper.c: New file.
68717         * sysdeps/x86/fpu/Makefile: Likewise.
68718         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
68719         (p3): New object.
68720         (__ieee754_powl): Use __powl_helper for finite arguments except
68721         integer exponents below 8.
68722         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
68723         (p3): New object.
68724         (__ieee754_powl): Use __powl_helper for finite arguments except
68725         integer exponents below 8.
68726         * math/libm-test.inc (pow_test): Add more tests and enable some
68727         previously disabled tests.
68728         * sysdeps/i386/fpu/libm-test-ulps: Update.
68729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68731 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68732             Carlos O'Donell  <carlos_odonell@mentor.com>
68734         * nss/makedb.c (is_prime): Assert that input is odd and greater
68735         than 4.  Note that fact in a comment too.
68736         (next_prime): Add 4 to input.
68738 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68740         [BZ #11741]
68741         * libio/Makefile (tests): Add test case tst-fwrite-error.
68742         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
68743         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
68744         * libio/tst-fwrite-error.c: New test case.
68746 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
68748         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
68749         before casting to void *.
68750         * include/libc-internal.h (__pointer_type): New macro.
68751         (__integer_if_pointer_type_sub): Likewise.
68752         (__integer_if_pointer_type): Likewise.
68753         (cast_to_integer): Likewise.
68754         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
68755         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
68756         before casting to atomic64_t.
68757         (atomic_exchange_acq): Likewise.
68758         (__arch_exchange_and_add_body): Likewise.
68759         (__arch_add_body): Likewise.
68760         (atomic_add_negative): Likewise.
68761         (atomic_add_zero): Likewise.
68763 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
68765         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
68766         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
68767         (add_fdes): Likewise.
68768         (linear_search_fdes): Likewise.
68769         (binary_search_unencoded_fdes): Likewise.
68771 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
68773         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
68775 2012-11-24  Adam Conrad  <adconrad@0c3.net>
68777         * configure.in: Autodetect C++ header directories.
68778         * configure: Regenerated.
68780 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
68782         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
68784 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
68786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68788 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
68790         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
68791         LDBL_MANT_DIG == 106]: Disable some tests.
68792         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68793         Likewise.
68794         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68795         Likewise.
68797         [BZ #14871]
68798         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
68799         input for small inputs.  Return +/- pi/2 for large inputs.
68800         * math/libm-test.inc (atan_test): Add more tests.
68802         * sysdeps/generic/unwind-dw2-fde-glibc.c
68803         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
68804         __attribute__ ((unused)).
68806         [BZ #14645]
68807         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
68808         x * y if x and y are nonzero and z is zero.
68810         [BZ #14811]
68811         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
68812         nonzero exponents with absolute value below 0x1p-117 to +/-
68813         0x1p-117.
68815         [BZ #14869]
68816         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
68817         up arguments below 2**-450, not just those below 2**-500.
68818         * math/libm-test.inc (hypot_test): Add another test.
68820         [BZ #14868]
68821         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
68822         Return a+b for ratio over 2**120, not 2**60.
68823         * math/libm-test.inc (hypot_test): Add another test.
68825         * math/libm-test.inc (clog_test): Use
68826         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
68827         (clog10_test): Likewise.
68829         [BZ #6778]
68830         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
68832 2012-11-22  Andreas Schwab  <schwab@suse.de>
68834         * sysdeps/i386/fpu/libm-test-ulps: Update.
68836 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
68838         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
68839         printf output with newline.
68841 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
68843         [BZ #14865]
68844         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
68845         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
68846         -z nodlopen, -z initfirst and -z execstack support.
68847         * configure: Regenerated.
68849         * elf/elf.h (DF_1_NODIRECT): New macro.
68850         (DF_1_IGNMULDEF): Likewise.
68851         (DF_1_NOKSYMS): Likewise.
68852         (DF_1_NOHDR): Likewise.
68853         (DF_1_EDITED): Likewise.
68854         (DF_1_NORELOC): Likewise.
68855         (DF_1_SYMINTPOSE): Likewise.
68856         (DF_1_GLOBAUDIT): Likewise.
68857         (DF_1_SINGLETON): Likewise.
68858         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
68859         DT_1_SUPPORTED_MASK bits.
68860         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
68862 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
68864         * sysdeps/unix/make-syscalls.sh: Document prefixes.
68866 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
68868         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
68869         macro.
68871         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
68872         (sendmmsg): Move declarations...
68873         * socket/sys/socket.h: ... here.
68874         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
68875         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
68876         include it from...
68877         * socket/recvmmsg.c: ... this new file.
68878         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
68879         (sendmmsg): Rename to __sendmmsg, create weak alias and make
68880         definition of __sendmmsg hidden.
68881         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
68882         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
68883         Move ENOSYS stub into and include it from...
68884         * socket/sendmmsg.c: ... this new file.
68885         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
68886         (sysdep_routines): Move recvmmsg and sendmmsg...
68887         * socket/Makefile (routines): ... here.
68888         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
68889         (GLIBC_PRIVATE): Add __sendmmsg.
68890         * include/sys/socket.h (__sendmmsg): Add declarations.
68891         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
68892         sendmmsg.
68894 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
68896         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
68897         variable I1 with __attribute__ ((unused)).
68898         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68900 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68902         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
68903         DUMMY variables with __attribute__ ((unused)).
68905         * bits/byteswap.h: Include <bits/types.h>.
68906         (__bswap_64): Use __uint64_t instead of unsigned long long int.
68908 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68910         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
68911         string_t.  Do not manually set errno.
68912         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
68913         length with __strnlen.  Make sure to both set errno and return it on
68914         failure.
68916 2012-11-19  David S. Miller  <davem@davemloft.net>
68918         With help from Joseph Myers.
68919         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
68920         very large arguments properly.
68921         * math/libm-test.inc (atan_test): New tests.
68922         (atan2_test): New tests.
68923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68926 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68928         [BZ #14856]
68929         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
68930         Define to 3.
68932         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
68933         [POSIX] (EADDRNOTAVAIL): Likewise.
68934         [POSIX] (EAFNOSUPPORT): Likewise.
68935         [POSIX] (EALREADY): Likewise.
68936         [POSIX] (ECONNABORTED): Likewise.
68937         [POSIX] (ECONNREFUSED): Likewise.
68938         [POSIX] (ECONNRESET): Likewise.
68939         [POSIX] (EDESTADDRREQ): Likewise.
68940         [POSIX] (EDQUOT): Likewise.
68941         [POSIX] (EHOSTUNREACH): Likewise.
68942         [POSIX] (EIDRM): Likewise.
68943         [POSIX] (EISCONN): Likewise.
68944         [POSIX] (ELOOP): Likewise.
68945         [POSIX] (EMULTIHOP): Likewise.
68946         [POSIX] (ENETDOWN): Likewise.
68947         [POSIX] (ENETUNREACH): Likewise.
68948         [POSIX] (ENOBUFS): Likewise.
68949         [POSIX] (ENODATA): Likewise.
68950         [POSIX] (ENOLINK): Likewise.
68951         [POSIX] (ENOMSG): Likewise.
68952         [POSIX] (ENOPROTOOPT): Likewise.
68953         [POSIX] (ENOSR): Likewise.
68954         [POSIX] (ENOSTR): Likewise.
68955         [POSIX] (ENOTCONN): Likewise.
68956         [POSIX] (ENOTSOCK): Likewise.
68957         [POSIX] (EOPNOTSUPP): Likewise.
68958         [POSIX] (EOVERFLOW): Likewise.
68959         [POSIX] (EPROTO): Likewise.
68960         [POSIX] (EPROTONOSUPPORT): Likewise.
68961         [POSIX] (EPROTOTYPE): Likewise.
68962         [POSIX] (ESTALE): Likewise.
68963         [POSIX] (ETIME): Likewise.
68964         [POSIX] (ETXTBSY): Likewise.
68965         [POSIX] (EWOULDBLOCK): Likewise.
68966         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
68967         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
68968         [POSIX] (SEEK_CUR): Likewise.
68969         [POSIX] (SEEK_END): Likewise.
68970         [POSIX || UNIX98] (mode_t): Do not require.
68971         [POSIX] (off_t): Likewise.
68972         [POSIX] (pid_t): Likewise.
68973         [POSIX] (sys/stat.h): Do not allow header.
68974         [POSIX] (unistd.h): Likewise.
68975         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
68976         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
68977         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
68978         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
68979         require.
68980         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
68981         sigevent): Specify elements.
68982         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
68983         entry.
68984         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
68985         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
68987         * conform/data/cpio.h-data [POSIX]: Disable whole file.
68988         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
68989         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
68990         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
68991         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
68992         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
68993         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
68994         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
68995         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
68996         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
68997         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
68998         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
68999         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
69000         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
69001         Likewise.
69002         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
69003         Likewise.
69004         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
69005         Likewise.
69006         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
69007         Likewise.
69008         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
69009         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
69010         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
69011         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
69012         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
69013         Specify lower bound on value.
69014         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
69015         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
69016         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
69017         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
69018         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
69019         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
69020         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
69021         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
69022         value.
69023         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
69024         as optional.
69025         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
69026         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
69027         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
69028         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
69029         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
69030         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
69031         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
69032         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
69033         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
69034         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
69035         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
69036         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
69037         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
69038         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
69039         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
69040         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
69041         entry.
69042         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
69043         optional.
69044         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
69045         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
69046         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
69047         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
69048         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
69049         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
69050         Likewise.
69051         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
69052         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
69053         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
69054         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
69055         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
69056         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
69057         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
69058         as optional.
69059         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
69060         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
69061         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
69062         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
69063         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
69064         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
69065         specify as optional.
69066         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
69067         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
69068         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
69069         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
69070         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
69071         [XPG3] (NL_LANGMAX): Likewise.
69072         [POSIX || XPG3] (NL_MSGMAX): Likewise.
69073         [POSIX || XPG3] (NL_NMAX): Likewise.
69074         [POSIX || XPG3] (NL_SETMAX): Likewise.
69075         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
69076         [XPG3] (NZERO): Likewise.
69077         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
69078         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
69079         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
69080         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
69081         (REG_ERANGE): Expect.
69082         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
69083         optional-constant.
69084         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
69085         Use (void) in prototype.
69086         [POSIX] (*_t): Allow.
69087         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
69088         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
69089         (WRDE_BADVAL): Expect.
69091         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
69092         expect.
69093         [XPG3 || XPG4] (O_RSYNC): Likewise.
69094         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
69095         Likewise.
69096         [XPG3 || XPG4] (pthread_sigmask): Likewise.
69097         [XPG3 || XPG4] (sigqueue): Likewise.
69098         [XPG3 || XPG4] (sigtimedwait): Likewise.
69099         [XPG3 || XPG4] (sigwaitinfo): Likewise.
69100         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
69101         [XPG3 || XPG4] (vsnprintf): Likewise.
69102         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
69103         Likewise.
69104         [XPG3 || XPG4] (blksize_t): Likewise.
69105         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
69106         Likewise.
69107         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
69108         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
69109         [XPG3 || XPG4] (struct itimerspec): Likewise.
69110         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
69111         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
69112         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
69113         [XPG3 || XPG4] (clockid_t): Likewise.
69114         [XPG3 || XPG4] (timer_t): Likewise.
69115         [XPG3 || XPG4] (clock_getres): Likewise.
69116         [XPG3 || XPG4] (clock_gettime): Likewise.
69117         [XPG3 || XPG4] (clock_settime): Likewise.
69118         [XPG3 || XPG4] (nanosleep): Likewise.
69119         [XPG3 || XPG4] (timer_create): Likewise.
69120         [XPG3 || XPG4] (timer_delete): Likewise.
69121         [XPG3 || XPG4] (timer_gettime): Likewise.
69122         [XPG3 || XPG4] (timer_getoverrun): Likewise.
69123         [XPG3 || XPG4] (timer_settime): Likewise.
69124         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
69125         [XPG3 || XPG4] (getlogin_r): Likewise.
69126         [XPG3 || XPG4] (pread): Likewise.
69127         [XPG3 || XPG4] (pthread_atfork): Likewise.
69128         [XPG3 || XPG4] (pwrite): Likewise.
69130         [BZ #14835]
69131         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
69132         <bits/siginfo.h>.
69134 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69136         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
69137         finalizing MALLSTREAM.
69139         * sysdeps/mach/hurd/syncfs.c: New file.
69141 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69143         [BZ #14719]
69144         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
69145         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
69146         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
69147         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
69148         (_nss_dns_gethostbyname4_r): Likewise.
69149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
69150         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
69152 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
69154         [BZ #13763]
69155         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
69157 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
69159         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
69160         * elf/cache.c (print_entry): Print ",AArch64" for
69161         FLAG_AARCH64_LIB64
69163         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
69164         * elf/cache.c (print_entry): Print ",hard-float" for
69165         FLAG_ARM_LIBHF.
69167 2012-11-18  David S. Miller  <davem@davemloft.net>
69169         With help from Joseph Myers.
69170         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
69171         cutoff to 2**-13.
69172         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
69173         cutoff to 2**-25.
69174         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
69175         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
69176         small.
69177         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
69178         * math/libm-test.inc (y0_test): New tests.
69179         (y1_test): New tests.
69180         * sysdeps/i386/fpu/libm-test-ulps: Update.
69181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69184 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
69186         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
69187         64-bit targets.
69188         * configure: Regenerated.
69190 2012-11-17  David S. Miller  <davem@davemloft.net>
69192         [BZ #14811]
69193         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
69194         nonzero exponents with absolute value below 0x1p-128 to +/-
69195         0x1p-128.
69197 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
69199         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
69201         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
69203         * posix/getconf-speclist.c: New file.
69204         * posix/posix-envs.def: Likewise.
69205         * posix/confstr.c (START_ENV_GROUP): New macro.
69206         (END_ENV_GROUP): Likewise.
69207         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69208         (KNOWN_PRESENT_ENV_STRING): Likewise.
69209         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69210         (UNKNOWN_ENVIRONMENT): Likewise.
69211         (confstr): Include posix-envs.def instead of handling
69212         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
69213         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
69214         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
69215         (END_ENV_GROUP): Likewise.
69216         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69217         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69218         (UNKNOWN_ENVIRONMENT): Likewise.
69219         (__sysconf): Include posix-envs.def instead of handling associated
69220         cases directly here.
69221         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
69222         preprocessing getconf-speclist.c rather than running getconf or
69223         generating empty file.
69225 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
69227         * scripts/check-local-headers.sh: Ignore 'mach' headers.
69229 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
69231         [BZ #14672]
69232         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
69234 2012-11-16  David S. Miller  <davem@davemloft.net>
69236         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
69237         smaller than LDBL_EPSILON/2.0L, just return xm1.
69239 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
69241         * elf/tst-array1.c (init): Set constructor priority to 1000.
69242         (fini): Set destructor priority to 1000.
69243         * elf/tst-array2dep.c: Likewise.
69245 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69247         [BZ #11741]
69248         * libio/fileops.c (_IO_new_file_write): Correctly return error.
69249         (_IO_new_file_xsputn): Also return EOF if none of the input
69250         data was written when overflow failed.
69251         * libio/iopadn.c (_IO_padn): Likewise.
69252         * libio/iowpadn.c (_IO_wpadn): Likewise.
69253         * stdio-common/tst-put-error.c: Add copyright notice.
69254         (do_test): Add case for printing padded string.
69255         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
69256         _IO_padn returned error.
69257         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
69258         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
69259         return EOF.
69261 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69263         * libio/libioP.h: Add comment note that the references to C++
69264         bits are now obsolete.
69266 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69268         * math/libm-test.inc (check_complex): Use asprintf.
69270 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
69272         * debug/pcprofiledump.c (print_version): Update copyright year.
69273         * malloc/memusagestat.c (print_version): Likewise.
69275 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
69277         [BZ #14831]
69278         * elf/Makefile (tests): Add tst-audit8.
69279         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
69280         ($(objpfx)tst-audit8.out): New target.
69281         (tst-audit8-ENV): New variable.
69282         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
69283         audit if l_reloc_result is NULL.
69284         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
69285         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
69286         * elf/tst-audit8.c: New file.
69288 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69290         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
69291         * misc/Makefile (CFLAGS-select.c): Define.
69292         * posix/Makefile (CFLAGS-pause.c): Define.
69294 2012-11-13  David S. Miller  <davem@davemloft.net>
69296         * crypt/Makefile: Move test targets after toplevel Rules
69297         inclusion.  Grab any necessary sysdep routines when linking.
69298         * crypt/md5.c (md5_process_block): Remove define, we will always
69299         name it __md5_process_block.
69300         (md5_finish_ctx): Update md5_process_block call.
69301         (md5_stream): Likewise.
69302         (md5_process_bytes): Likewise.
69303         (md5_process_block): Rename to __md5_process_block and move to ...
69304         * crypt/md5-block.c: ... here.
69305         * crypt/sha256.c (sha256_process_block): Move to ...
69306         * crypt/sha256-block.c: ... here.
69307         * crypt/sha512.c (sha512_process_block): Move to ...
69308         * crypt/sha512-block.c: ... here.
69309         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
69310         path.
69311         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
69312         * sysdeps/sparc/sparc64/multiarch/Makefile
69313         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
69314         crypt subdir.
69315         (localedef-aux): Add md5 crypto assembler when in locale subdir.
69316         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
69317         multiarch changes.
69318         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
69319         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
69320         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
69321         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
69322         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
69323         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
69324         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
69325         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
69326         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
69327         file.
69328         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
69329         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
69330         file.
69331         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
69333 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
69335         * timezone/tzselect.ksh: Update from tzcode git revision
69336         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
69337         * timezone/zdump.c: Likewise.
69338         * timezone/zic.c: Likewise.
69339         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
69340         in TZVERSION setting, not $(PKGVERSION).
69341         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
69342         REPORT_BUGS_TO settings.
69344         [BZ #14838]
69345         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
69346         macro.
69348 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69350         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
69351         detection to immediately after _FP_ROUND().
69352         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
69353         bits are 0.
69355 2012-11-11  David S. Miller  <davem@davemloft.net>
69357         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
69358         inttypes.h
69359         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
69360         __close rather than their public counterparts.
69362 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
69364         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
69365         file.
69366         [UNIX98] (sem_timedwait): Do not expect.
69367         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
69368         [XPG4 || UNIX98] (sockatmark): Do not expect.
69369         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
69370         (clock_getcpuclockid): Do not expect.
69371         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
69372         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
69373         Do not expect.
69374         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
69375         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
69376         [UNIX98] (vwscanf): Likewise.
69377         [UNIX98] (vswscanf): Likewise.
69379 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
69381         * timezone/version.h: Remove file.
69382         * timezone/README: Do not refer to version.h.
69383         * timezone/Makefile ($(objpfx)zic.o): New dependency on
69384         $(objpfx)version.h.
69385         ($(objpfx)zdump.o): Likewise.
69386         ($(objpfx)version.h): New target.
69388         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
69389         2012i.
69390         * timezone/README: Don't mention modification to tzselect.ksh.
69391         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
69392         work on unmodified tzselect.ksh.  Substitute version numbers in
69393         tzselect.ksh.
69395         * Makefile (format-me): Remove.
69396         (INSTALL): Adjust indentation.  Use commands directly instead of
69397         using $(format-me).
69399         * aclocal.m4 (ACX_PKGVERSION): New macro.
69400         (ACX_BUGURL): Likewise.
69401         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
69402         (PKGVERSION): New AC_DEFINE_UNQUOTED.
69403         (REPORT_BUGS_TO): Likewise.
69404         * configure: Regenerated.
69405         * config.h.in (PKGVERSION): New macro.
69406         (REPORT_BUGS_TO): Likewise.
69407         * config.make.in (PKGVERSION): New variable.
69408         (PKGVERSION_TEXI): Likewise.
69409         (REPORT_BUGS_TO): Likewise.
69410         (REPORT_BUGS_TEXI): Likewise.
69411         * Makefile (format-me): Use -I$(common-objpfx)manual.
69412         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
69413         ($(common-objpfx)manual/%): New target.
69414         (manual/%): Remove target.
69415         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
69416         (print_version): Use PKGVERSION.
69417         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
69418         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
69419         and REPORT_BUGS_TO.
69420         ($(objpfx)xtrace): Likewise.
69421         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
69422         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
69423         (print_version): Use PKGVERSION.
69424         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
69425         (do_version): Use PKGVERSION.
69426         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
69427         REPORT_BUGS_TO.
69428         (common-ldd-rewrite): Likewise.
69429         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
69430         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
69431         (print_version): Use PKGVERSION.
69432         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
69433         * elf/pldd.c (argp_program_bug_address): Remove variable.
69434         (more_help): New function.
69435         (argp): Use more_help.
69436         (print_version): Use PKGVERSION.
69437         * elf/sln.c (main): Use PKGVERSION.
69438         (usage): Use REPORT_BUGS_TO.
69439         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
69440         (top level): Use PKGVERSION.
69441         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
69442         (print_version): Use PKGVERSION.
69443         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
69444         (print_version): Use PKGVERSION.
69445         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
69446         (print_version): Use PKGVERSION.
69447         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
69448         (print_version): Use PKGVERSION.
69449         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
69450         (print_version): Use PKGVERSION.
69451         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
69452         (print_version): Use PKGVERSION.
69453         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
69454         and BUGURL.
69455         ($(objpfx)memusage): Likewise.
69456         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
69457         (do_version): Use PKGVERSION.
69458         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
69459         (print_version): Use PKGVERSION.
69460         * malloc/mtrace.pl ($PACKAGE): Remove variable.
69461         ($PKGVERSION): New variable.
69462         ($REPORT_BUGS_TO): Likewise.
69463         (usage): Use $REPORT_BUGS_TO.
69464         (top level): Use $PKGVERSION.
69465         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
69466         ($(objpfx)pkgvers.texi): New rule.
69467         ($(objpfx)stamp-pkgvers): Likewise.
69468         * manual/install.texi: Include pkgvers.texi.
69469         (--with-pkgversion): Document new configure option.
69470         (--with-bugurl): Likewise.
69471         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
69472         than necessarily for this particular distribution.  Use
69473         REPORT_BUGS_TO for where to report bugs.
69474         * INSTALL: Regenerated.
69475         * manual/libc.texinfo: Include pkgvers.texi.
69476         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
69477         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
69478         (print_version): Use PKGVERSION.
69479         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
69480         (print_version): Use PKGVERSION.
69481         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
69482         (print_version): Use PKGVERSION.
69483         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
69484         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
69485         macro.
69486         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
69487         (print_version): Use PKGVERSION.
69488         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
69489         (print_version): Use PKGVERSION.
69490         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
69491         and PKGVERSION.
69493         * timezone/checktab.awk: Update from tzcode 2012i.
69494         * timezone/ialloc.c: Likewise.
69495         * timezone/private.h: Likewise.
69496         * timezone/scheck.c: Likewise.
69497         * timezone/tzfile.h: Likewise.
69498         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
69499         (TZVERSION): Hardcode tzcode version number.
69500         * timezone/zdump.c: Update from tzcode 2012i.
69501         * timezone/zic.c: Likewise.
69502         * timezone/version.h: New file.
69503         * timezone/README: Describe version.h.  Update upstream location.
69505         [BZ #14824]
69506         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
69507         (mktemp): Enable declaration.
69508         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
69509         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
69510         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
69511         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
69512         Likewise.
69513         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
69514         Likewise.
69515         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
69516         Likewise.
69517         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
69518         Likewise.
69519         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
69520         Likewise.
69521         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
69522         Likewise.
69524         [BZ #14821]
69525         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
69526         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
69527         for copies of such integer values.
69528         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69529         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69531 2012-11-09  Andreas Jaeger  <aj@suse.de>
69533         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
69534         definitions and declarations that are provided by
69535         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69537 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69539         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
69540         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
69541         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
69542         definition.
69544 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69546         * elf/elf.h: Update comment before AArch64 relocations.
69548 2012-11-07  David S. Miller  <davem@davemloft.net>
69550         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
69551         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69552         (__start_context): Declare.
69553         (__makecontext_ret): Delete.
69554         (__makecontext): Hook up __start_context instead of
69555         __makecontext_ret.
69556         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
69557         (sysdep_routines): Add __start_context when in stdlib.
69559 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69561         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
69562         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
69563         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
69564         hardcoded "nm".
69565         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
69566         (READELF): New variable.  Use it instead of hardcoded "readelf".
69568 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69570         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
69571         * sysdeps/x86/Makefile: Here.
69572         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
69573         * sysdeps/x86/tst-xmmymm.sh: This.
69575 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69577         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
69578         expectations.
69579         [UNIX98] (pthread_barrier_t): Do not expect.
69580         [UNIX98] (pthread_barrierattr_t): Likewise.
69581         [UNIX98] (pthread_spinlock_t): Likewise.
69582         [UNIX98] (pthread_barrier_destroy): Likewise.
69583         [UNIX98] (pthread_barrier_init): Likewise.
69584         [UNIX98] (pthread_barrier_wait): Likewise.
69585         [UNIX98] (pthread_barrierattr_destroy): Likewise.
69586         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
69587         [UNIX98] (pthread_barrierattr_init): Likewise.
69588         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
69589         [UNIX98] (pthread_getcpuclockid): Likewise.
69590         [UNIX98] (pthread_mutex_timedlock): Likewise.
69591         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
69592         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
69593         [UNIX98] (pthread_sigmask): Likewise.
69594         [UNIX98] (pthread_spin_destroy): Likewise.
69595         [UNIX98] (pthread_spin_init): Likewise.
69596         [UNIX98] (pthread_spin_lock): Likewise.
69597         [UNIX98] (pthread_spin_trylock): Likewise.
69598         [UNIX98] (pthread_spin_unlock): Likewise.
69599         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
69600         Do not expect.
69601         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
69602         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
69603         [XPG3 || XPG4] (pthread_cond_t): Likewise.
69604         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
69605         [XPG3 || XPG4] (pthread_key_t): Likewise.
69606         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
69607         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
69608         [XPG3 || XPG4] (pthread_once_t): Likewise.
69609         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
69610         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
69611         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
69612         [XPG3 || XPG4] (pthread_t): Likewise.
69614         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
69615         not expect.
69616         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
69618         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
69619         Change function return type to int.
69621         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
69622         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
69623         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
69624         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
69625         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
69626         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
69627         [!POSIX] (posix_madvise): Likewise.
69628         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
69629         && !UNIX98].
69630         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
69631         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
69632         (mode_t): Likewise.
69633         (posix_mem_offset): Likewise.
69634         (posix_typed_mem_get_info): Likewise.
69635         (posix_typed_mem_open): Likewise.
69637         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
69638         Change condition to [XOPEN2K8].
69640         * conform/conformtest.pl: Preprocess allow-header data with -x c
69641         instead of from stdin.
69642         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
69643         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
69644         [C99-based standards] (cerfc): Likewise.
69645         [C99-based standards] (cexp2): Likewise.
69646         [C99-based standards] (cexpm1): Likewise.
69647         [C99-based standards] (clog10): Likewise.
69648         [C99-based standards] (clog1p): Likewise.
69649         [C99-based standards] (clog2): Likewise.
69650         [C99-based standards] (clgamma): Likewise.
69651         [C99-based standards] (ctgamma): Likewise.
69652         [C99-based standards] (cerff): Likewise.
69653         [C99-based standards] (cerfcf): Likewise.
69654         [C99-based standards] (cexp2f): Likewise.
69655         [C99-based standards] (cexpm1f): Likewise.
69656         [C99-based standards] (clog10f): Likewise.
69657         [C99-based standards] (clog1pf): Likewise.
69658         [C99-based standards] (clog2f): Likewise.
69659         [C99-based standards] (clgammaf): Likewise.
69660         [C99-based standards] (ctgammaf): Likewise.
69661         [C99-based standards] (cerfl): Likewise.
69662         [C99-based standards] (cerfcl): Likewise.
69663         [C99-based standards] (cexp2l): Likewise.
69664         [C99-based standards] (cexpm1l): Likewise.
69665         [C99-based standards] (clog10l): Likewise.
69666         [C99-based standards] (clog1pl): Likewise.
69667         [C99-based standards] (clog2l): Likewise.
69668         [C99-based standards] (clgammal): Likewise.
69669         [C99-based standards] (ctgammal): Likewise.
69670         * conform/data/inttypes.h-data [C99-based standards]: Include
69671         stdint.h-data.  Remove all expectations for stdint.h contents.
69672         [C99-based standards] (PRI*): Do not allow.
69673         [C99-based standards] (SCN*): Likewise.
69674         [C99-based standards] (*_t): Likewise.
69675         [C99-based-standards] (PRId8): Expect macro.
69676         [C99-based-standards] (PRIi8): Likewise.
69677         [C99-based-standards] (PRIo8): Likewise.
69678         [C99-based-standards] (PRIu8): Likewise.
69679         [C99-based-standards] (PRIx8): Likewise.
69680         [C99-based-standards] (PRIX8): Likewise.
69681         [C99-based-standards] (SCNd8): Likewise.
69682         [C99-based-standards] (SCNi8): Likewise.
69683         [C99-based-standards] (SCNo8): Likewise.
69684         [C99-based-standards] (SCNu8): Likewise.
69685         [C99-based-standards] (SCNx8): Likewise.
69686         [C99-based-standards] (PRIdLEAST8): Likewise.
69687         [C99-based-standards] (PRIiLEAST8): Likewise.
69688         [C99-based-standards] (PRIoLEAST8): Likewise.
69689         [C99-based-standards] (PRIuLEAST8): Likewise.
69690         [C99-based-standards] (PRIxLEAST8): Likewise.
69691         [C99-based-standards] (PRIXLEAST8): Likewise.
69692         [C99-based-standards] (SCNdLEAST8): Likewise.
69693         [C99-based-standards] (SCNiLEAST8): Likewise.
69694         [C99-based-standards] (SCNoLEAST8): Likewise.
69695         [C99-based-standards] (SCNuLEAST8): Likewise.
69696         [C99-based-standards] (SCNxLEAST8): Likewise.
69697         [C99-based-standards] (PRIdFAST8): Likewise.
69698         [C99-based-standards] (PRIiFAST8): Likewise.
69699         [C99-based-standards] (PRIoFAST8): Likewise.
69700         [C99-based-standards] (PRIuFAST8): Likewise.
69701         [C99-based-standards] (PRIxFAST8): Likewise.
69702         [C99-based-standards] (PRIXFAST8): Likewise.
69703         [C99-based-standards] (SCNdFAST8): Likewise.
69704         [C99-based-standards] (SCNiFAST8): Likewise.
69705         [C99-based-standards] (SCNoFAST8): Likewise.
69706         [C99-based-standards] (SCNuFAST8): Likewise.
69707         [C99-based-standards] (SCNxFAST8): Likewise.
69708         [C99-based-standards] (PRId16): Likewise.
69709         [C99-based-standards] (PRIi16): Likewise.
69710         [C99-based-standards] (PRIo16): Likewise.
69711         [C99-based-standards] (PRIu16): Likewise.
69712         [C99-based-standards] (PRIx16): Likewise.
69713         [C99-based-standards] (PRIX16): Likewise.
69714         [C99-based-standards] (SCNd16): Likewise.
69715         [C99-based-standards] (SCNi16): Likewise.
69716         [C99-based-standards] (SCNo16): Likewise.
69717         [C99-based-standards] (SCNu16): Likewise.
69718         [C99-based-standards] (SCNx16): Likewise.
69719         [C99-based-standards] (PRIdLEAST16): Likewise.
69720         [C99-based-standards] (PRIiLEAST16): Likewise.
69721         [C99-based-standards] (PRIoLEAST16): Likewise.
69722         [C99-based-standards] (PRIuLEAST16): Likewise.
69723         [C99-based-standards] (PRIxLEAST16): Likewise.
69724         [C99-based-standards] (PRIXLEAST16): Likewise.
69725         [C99-based-standards] (SCNdLEAST16): Likewise.
69726         [C99-based-standards] (SCNiLEAST16): Likewise.
69727         [C99-based-standards] (SCNoLEAST16): Likewise.
69728         [C99-based-standards] (SCNuLEAST16): Likewise.
69729         [C99-based-standards] (SCNxLEAST16): Likewise.
69730         [C99-based-standards] (PRIdFAST16): Likewise.
69731         [C99-based-standards] (PRIiFAST16): Likewise.
69732         [C99-based-standards] (PRIoFAST16): Likewise.
69733         [C99-based-standards] (PRIuFAST16): Likewise.
69734         [C99-based-standards] (PRIxFAST16): Likewise.
69735         [C99-based-standards] (PRIXFAST16): Likewise.
69736         [C99-based-standards] (SCNdFAST16): Likewise.
69737         [C99-based-standards] (SCNiFAST16): Likewise.
69738         [C99-based-standards] (SCNoFAST16): Likewise.
69739         [C99-based-standards] (SCNuFAST16): Likewise.
69740         [C99-based-standards] (SCNxFAST16): Likewise.
69741         [C99-based-standards] (PRId32): Likewise.
69742         [C99-based-standards] (PRIi32): Likewise.
69743         [C99-based-standards] (PRIo32): Likewise.
69744         [C99-based-standards] (PRIu32): Likewise.
69745         [C99-based-standards] (PRIx32): Likewise.
69746         [C99-based-standards] (PRIX32): Likewise.
69747         [C99-based-standards] (SCNd32): Likewise.
69748         [C99-based-standards] (SCNi32): Likewise.
69749         [C99-based-standards] (SCNo32): Likewise.
69750         [C99-based-standards] (SCNu32): Likewise.
69751         [C99-based-standards] (SCNx32): Likewise.
69752         [C99-based-standards] (PRIdLEAST32): Likewise.
69753         [C99-based-standards] (PRIiLEAST32): Likewise.
69754         [C99-based-standards] (PRIoLEAST32): Likewise.
69755         [C99-based-standards] (PRIuLEAST32): Likewise.
69756         [C99-based-standards] (PRIxLEAST32): Likewise.
69757         [C99-based-standards] (PRIXLEAST32): Likewise.
69758         [C99-based-standards] (SCNdLEAST32): Likewise.
69759         [C99-based-standards] (SCNiLEAST32): Likewise.
69760         [C99-based-standards] (SCNoLEAST32): Likewise.
69761         [C99-based-standards] (SCNuLEAST32): Likewise.
69762         [C99-based-standards] (SCNxLEAST32): Likewise.
69763         [C99-based-standards] (PRIdFAST32): Likewise.
69764         [C99-based-standards] (PRIiFAST32): Likewise.
69765         [C99-based-standards] (PRIoFAST32): Likewise.
69766         [C99-based-standards] (PRIuFAST32): Likewise.
69767         [C99-based-standards] (PRIxFAST32): Likewise.
69768         [C99-based-standards] (PRIXFAST32): Likewise.
69769         [C99-based-standards] (SCNdFAST32): Likewise.
69770         [C99-based-standards] (SCNiFAST32): Likewise.
69771         [C99-based-standards] (SCNoFAST32): Likewise.
69772         [C99-based-standards] (SCNuFAST32): Likewise.
69773         [C99-based-standards] (SCNxFAST32): Likewise.
69774         [C99-based-standards] (PRId64): Likewise.
69775         [C99-based-standards] (PRIi64): Likewise.
69776         [C99-based-standards] (PRIo64): Likewise.
69777         [C99-based-standards] (PRIu64): Likewise.
69778         [C99-based-standards] (PRIx64): Likewise.
69779         [C99-based-standards] (PRIX64): Likewise.
69780         [C99-based-standards] (SCNd64): Likewise.
69781         [C99-based-standards] (SCNi64): Likewise.
69782         [C99-based-standards] (SCNo64): Likewise.
69783         [C99-based-standards] (SCNu64): Likewise.
69784         [C99-based-standards] (SCNx64): Likewise.
69785         [C99-based-standards] (PRIdLEAST64): Likewise.
69786         [C99-based-standards] (PRIiLEAST64): Likewise.
69787         [C99-based-standards] (PRIoLEAST64): Likewise.
69788         [C99-based-standards] (PRIuLEAST64): Likewise.
69789         [C99-based-standards] (PRIxLEAST64): Likewise.
69790         [C99-based-standards] (PRIXLEAST64): Likewise.
69791         [C99-based-standards] (SCNdLEAST64): Likewise.
69792         [C99-based-standards] (SCNiLEAST64): Likewise.
69793         [C99-based-standards] (SCNoLEAST64): Likewise.
69794         [C99-based-standards] (SCNuLEAST64): Likewise.
69795         [C99-based-standards] (SCNxLEAST64): Likewise.
69796         [C99-based-standards] (PRIdFAST64): Likewise.
69797         [C99-based-standards] (PRIiFAST64): Likewise.
69798         [C99-based-standards] (PRIoFAST64): Likewise.
69799         [C99-based-standards] (PRIuFAST64): Likewise.
69800         [C99-based-standards] (PRIxFAST64): Likewise.
69801         [C99-based-standards] (PRIXFAST64): Likewise.
69802         [C99-based-standards] (SCNdFAST64): Likewise.
69803         [C99-based-standards] (SCNiFAST64): Likewise.
69804         [C99-based-standards] (SCNoFAST64): Likewise.
69805         [C99-based-standards] (SCNuFAST64): Likewise.
69806         [C99-based-standards] (SCNxFAST64): Likewise.
69807         [C99-based-standards] (PRIdMAX): Likewise.
69808         [C99-based-standards] (PRIiMAX): Likewise.
69809         [C99-based-standards] (PRIoMAX): Likewise.
69810         [C99-based-standards] (PRIuMAX): Likewise.
69811         [C99-based-standards] (PRIxMAX): Likewise.
69812         [C99-based-standards] (PRIXMAX): Likewise.
69813         [C99-based-standards] (SCNdMAX): Likewise.
69814         [C99-based-standards] (SCNiMAX): Likewise.
69815         [C99-based-standards] (SCNoMAX): Likewise.
69816         [C99-based-standards] (SCNuMAX): Likewise.
69817         [C99-based-standards] (SCNxMAX): Likewise.
69818         [C99-based-standards] (PRIdPTR): Likewise.
69819         [C99-based-standards] (PRIiPTR): Likewise.
69820         [C99-based-standards] (PRIoPTR): Likewise.
69821         [C99-based-standards] (PRIuPTR): Likewise.
69822         [C99-based-standards] (PRIxPTR): Likewise.
69823         [C99-based-standards] (PRIXPTR): Likewise.
69824         [C99-based-standards] (SCNdPTR): Likewise.
69825         [C99-based-standards] (SCNiPTR): Likewise.
69826         [C99-based-standards] (SCNoPTR): Likewise.
69827         [C99-based-standards] (SCNuPTR): Likewise.
69828         [C99-based-standards] (SCNxPTR): Likewise.
69829         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
69830         allow.
69831         * conform/data/stdint.h-data: Update comments to clarify
69832         requirements.
69833         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
69834         type.
69835         [C99-based standards] (INT8_MAX): Likewise.
69836         [C99-based standards] (INT16_MIN): Likewise.
69837         [C99-based standards] (INT16_MAX): Likewise.
69838         [C99-based standards] (INT32_MIN): Likewise.
69839         [C99-based standards] (INT32_MAX): Likewise.
69840         [C99-based standards] (INT64_MIN): Likewise.
69841         [C99-based standards] (INT64_MAX): Likewise.
69842         [C99-based standards] (UINT8_MAX): Likewise.
69843         [C99-based standards] (UINT16_MAX): Likewise.
69844         [C99-based standards] (UINT32_MAX): Likewise.
69845         [C99-based standards] (UINT64_MAX): Likewise.
69846         [C99-based standards] (INT_LEAST8_MIN): Likewise.
69847         [C99-based standards] (INT_LEAST8_MAX): Likewise.
69848         [C99-based standards] (INT_LEAST16_MIN): Likewise.
69849         [C99-based standards] (INT_LEAST16_MAX): Likewise.
69850         [C99-based standards] (INT_LEAST32_MIN): Likewise.
69851         [C99-based standards] (INT_LEAST32_MAX): Likewise.
69852         [C99-based standards] (INT_LEAST64_MIN): Likewise.
69853         [C99-based standards] (INT_LEAST64_MAX): Likewise.
69854         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
69855         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
69856         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
69857         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
69858         [C99-based standards] (INT_FAST8_MIN): Likewise.
69859         [C99-based standards] (INT_FAST8_MAX): Likewise.
69860         [C99-based standards] (INT_FAST16_MIN): Likewise.
69861         [C99-based standards] (INT_FAST16_MAX): Likewise.
69862         [C99-based standards] (INT_FAST32_MIN): Likewise.
69863         [C99-based standards] (INT_FAST32_MAX): Likewise.
69864         [C99-based standards] (INT_FAST64_MIN): Likewise.
69865         [C99-based standards] (INT_FAST64_MAX): Likewise.
69866         [C99-based standards] (UINT_FAST8_MAX): Likewise.
69867         [C99-based standards] (UINT_FAST16_MAX): Likewise.
69868         [C99-based standards] (UINT_FAST32_MAX): Likewise.
69869         [C99-based standards] (UINT_FAST64_MAX): Likewise.
69870         [C99-based standards] (INTPTR_MIN): Likewise.
69871         [C99-based standards] (INTPTR_MAX): Likewise.
69872         [C99-based standards] (UINTPTR_MAX): Likewise.
69873         [C99-based standards] (INTMAX_MIN): Likewise.
69874         [C99-based standards] (INTMAX_MAX): Likewise.
69875         [C99-based standards] (UINTMAX_MAX): Likewise.
69876         [C99-based standards] (PTRDIFF_MIN): Likewise.
69877         [C99-based standards] (PTRDIFF_MAX): Likewise.
69878         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
69879         [C99-based standards] (SIZE_MAX): Likewise.
69880         [C99-based standards] (WCHAR_MAX): Likewise.
69881         [C99-based standards] (WINT_MAX): Likewise.
69882         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
69883         constraint on value.
69884         [C99-based standards] (WCHAR_MIN): Likewise.
69885         [C99-based standards] (WINT_MIN): Likewise.
69886         [C99-based standards] (*_t): Allow.
69887         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
69888         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
69889         Include math.h-data and complex.h-data.  Remove all expectations
69890         of math.h and complex.h contents.
69891         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
69892         at end of line.
69893         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
69894         (struct tm): Expect tag.
69895         [C99-based-standards] (wcstof): Expect function.
69896         [C99-based-standards] (wcstold): Likewise.
69897         [C99-based-standards] (wcstoll): Likewise.
69898         [C99-based-standards] (wcstoull): Likewise.
69899         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
69900         macro-int-constant.  Specify type.
69901         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
69902         constraint on value.
69903         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69904         Specify type.
69905         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
69906         Specify value.
69907         [ISO C standards]: Do not allow headers.
69908         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
69909         wcs[abcdefghijklmnopqrstuvwxyz]*.
69910         [ISO C standards] (*_t): Do not allow.
69911         * conform/data/wctype.h-data [C99-based standards] (iswblank):
69912         Expect function.
69913         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
69914         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69915         Specify type.
69916         [ISO C standards]: Do not allow headers.
69917         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
69918         is[abcdefghijklmnopqrstuvwxyz]*.
69919         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
69920         to[abcdefghijklmnopqrstuvwxyz]*.
69921         [ISO C standards] (*_t): Do not allow.
69922         * conform/data/stdalign.h-data: New file.
69923         * conform/data/stdbool.h-data: Likewise.
69924         * conform/data/stdnoreturn.h-data: Likewise.
69926 2012-11-07  Roland McGrath  <roland@hack.frob.com>
69928         [BZ #14815]
69929         * manual/filesys.texi (Directory Entries): Typo fix.
69930         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
69932 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69934         * elf/elf.h (EM_AARCH64): New macro.
69935         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
69936         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
69937         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
69938         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
69939         (R_AARCH64_TLSDESC): Likewise.
69940         (NT_ARM_TLS): Likewise.
69941         (NT_ARM_HW_BREAK): Likewise.
69942         (NT_ARM_HW_WATCH): Likewise.
69944 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69946         [BZ #14811]
69947         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
69948         (__ieee754_powl): Saturate nonzero exponents with absolute value
69949         below 0x1p-79 to +/- 0x1p-79.
69950         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
69951         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
69952         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
69953         nonzero exponents with absolute value below 0x1p-32 to +/-
69954         0x1p-32.
69955         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
69956         (__ieee754_powl): Saturate nonzero exponents with absolute value
69957         below 0x1p-79 to +/- 0x1p-79.
69958         * math/libm-test.inc (pow_test): Add more tests.
69960 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69962         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
69963         _dl_s390_cap_flags with kernel. Increase string length.
69964         (_dl_s390_platforms): Add z196 and zEC12.
69966 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69968         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
69969         Change XOPEN21K to XOPEN2K.
69971 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
69973         * string/memmove.c: Use memcpy when possible.
69975 2012-11-06  Andreas Jaeger  <aj@suse.de>
69977         * po/eo.po: Update from translation team.
69979 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
69981         [BZ #14793]
69982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
69983         exponent and small x and y exponents, scale x or y up.  Increase
69984         by 2 the exponent used in scaling up.
69985         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69986         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69987         * math/libm-test.inc (fma_test): Add more tests.
69988         (fma_test_towardzero): Likewise.
69989         (fma_test_downward): Likewise.
69990         (fma_test_upward): Likewise.
69992 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
69994         [BZ #14805]
69995         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
69996         fenv_t *.
69998         [BZ #14801]
69999         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
70000         namespace for names of struct fields.
70001         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
70002         fenv_t fields.
70003         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
70004         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
70006 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70008         [BZ #3665]
70009         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
70011 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70013         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
70014         PTR_DEMANGLE.
70016         [BZ #5246]
70017         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
70018         PTR_DEMANGLE.
70020 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
70022         [BZ #14797]
70023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
70024         definitely overflow as x * y not x * y + z.
70025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70026         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70027         * math/libm-test.inc (fma_test): Add more tests.
70028         (fma_test_towardzero): Likewise.
70029         (fma_test_downward): Likewise.
70030         (fma_test_upward): Likewise.
70032 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70034         [BZ #157]
70036         * include/stub-tag.h: Remove file.
70037         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
70038         '#include' of it.
70039         * manual/maint.texi (Porting): Don't reference it.
70040         * Makerules ($(objpfx)stubs): Likewise.
70041         * dirent/closedir.c: Don't include <stub-tag.h>.
70042         * dirent/dirfd.c: Likewise.
70043         * dirent/fdopendir.c: Likewise.
70044         * dirent/getdents.c: Likewise.
70045         * dirent/getdents64.c: Likewise.
70046         * dirent/opendir.c: Likewise.
70047         * dirent/readdir.c: Likewise.
70048         * dirent/readdir64.c: Likewise.
70049         * dirent/readdir64_r.c: Likewise.
70050         * dirent/readdir_r.c: Likewise.
70051         * dirent/rewinddir.c: Likewise.
70052         * dirent/seekdir.c: Likewise.
70053         * dirent/telldir.c: Likewise.
70054         * gmon/profil.c: Likewise.
70055         * grp/setgroups.c: Likewise.
70056         * inet/if_index.c: Likewise.
70057         * io/access.c: Likewise.
70058         * io/chdir.c: Likewise.
70059         * io/chmod.c: Likewise.
70060         * io/chown.c: Likewise.
70061         * io/close.c: Likewise.
70062         * io/dup.c: Likewise.
70063         * io/dup2.c: Likewise.
70064         * io/dup3.c: Likewise.
70065         * io/euidaccess.c: Likewise.
70066         * io/faccessat.c: Likewise.
70067         * io/fchdir.c: Likewise.
70068         * io/fchmod.c: Likewise.
70069         * io/fchmodat.c: Likewise.
70070         * io/fchown.c: Likewise.
70071         * io/fchownat.c: Likewise.
70072         * io/fcntl.c: Likewise.
70073         * io/flock.c: Likewise.
70074         * io/fstatfs.c: Likewise.
70075         * io/fstatfs64.c: Likewise.
70076         * io/fstatvfs.c: Likewise.
70077         * io/fstatvfs64.c: Likewise.
70078         * io/futimens.c: Likewise.
70079         * io/fxstat.c: Likewise.
70080         * io/fxstat64.c: Likewise.
70081         * io/fxstatat.c: Likewise.
70082         * io/fxstatat64.c: Likewise.
70083         * io/getcwd.c: Likewise.
70084         * io/isatty.c: Likewise.
70085         * io/lchmod.c: Likewise.
70086         * io/lchown.c: Likewise.
70087         * io/link.c: Likewise.
70088         * io/linkat.c: Likewise.
70089         * io/lseek.c: Likewise.
70090         * io/lseek64.c: Likewise.
70091         * io/lxstat64.c: Likewise.
70092         * io/mkdir.c: Likewise.
70093         * io/mkdirat.c: Likewise.
70094         * io/mkfifo.c: Likewise.
70095         * io/mkfifoat.c: Likewise.
70096         * io/open.c: Likewise.
70097         * io/open64.c: Likewise.
70098         * io/openat.c: Likewise.
70099         * io/openat64.c: Likewise.
70100         * io/pipe.c: Likewise.
70101         * io/pipe2.c: Likewise.
70102         * io/poll.c: Likewise.
70103         * io/posix_fadvise.c: Likewise.
70104         * io/posix_fadvise64.c: Likewise.
70105         * io/posix_fallocate.c: Likewise.
70106         * io/posix_fallocate64.c: Likewise.
70107         * io/read.c: Likewise.
70108         * io/readlink.c: Likewise.
70109         * io/readlinkat.c: Likewise.
70110         * io/rmdir.c: Likewise.
70111         * io/sendfile.c: Likewise.
70112         * io/sendfile64.c: Likewise.
70113         * io/statfs.c: Likewise.
70114         * io/statfs64.c: Likewise.
70115         * io/statvfs.c: Likewise.
70116         * io/statvfs64.c: Likewise.
70117         * io/symlink.c: Likewise.
70118         * io/symlinkat.c: Likewise.
70119         * io/ttyname.c: Likewise.
70120         * io/ttyname_r.c: Likewise.
70121         * io/umask.c: Likewise.
70122         * io/unlink.c: Likewise.
70123         * io/unlinkat.c: Likewise.
70124         * io/utime.c: Likewise.
70125         * io/utimensat.c: Likewise.
70126         * io/write.c: Likewise.
70127         * io/xmknod.c: Likewise.
70128         * io/xmknodat.c: Likewise.
70129         * io/xstat.c: Likewise.
70130         * io/xstat64.c: Likewise.
70131         * login/getpt.c: Likewise.
70132         * login/grantpt.c: Likewise.
70133         * login/unlockpt.c: Likewise.
70134         * math/e_acoshl.c: Likewise.
70135         * math/e_acosl.c: Likewise.
70136         * math/e_asinl.c: Likewise.
70137         * math/e_atan2l.c: Likewise.
70138         * math/e_atanhl.c: Likewise.
70139         * math/e_coshl.c: Likewise.
70140         * math/e_expl.c: Likewise.
70141         * math/e_fmodl.c: Likewise.
70142         * math/e_gammal_r.c: Likewise.
70143         * math/e_hypotl.c: Likewise.
70144         * math/e_j0l.c: Likewise.
70145         * math/e_j1l.c: Likewise.
70146         * math/e_jnl.c: Likewise.
70147         * math/e_lgammal_r.c: Likewise.
70148         * math/e_log10l.c: Likewise.
70149         * math/e_log2l.c: Likewise.
70150         * math/e_logl.c: Likewise.
70151         * math/e_powl.c: Likewise.
70152         * math/e_rem_pio2l.c: Likewise.
70153         * math/e_sinhl.c: Likewise.
70154         * math/e_sqrtl.c: Likewise.
70155         * math/fclrexcpt.c: Likewise.
70156         * math/fedisblxcpt.c: Likewise.
70157         * math/feenablxcpt.c: Likewise.
70158         * math/fegetenv.c: Likewise.
70159         * math/fegetexcept.c: Likewise.
70160         * math/fegetround.c: Likewise.
70161         * math/feholdexcpt.c: Likewise.
70162         * math/fesetenv.c: Likewise.
70163         * math/fesetround.c: Likewise.
70164         * math/feupdateenv.c: Likewise.
70165         * math/fgetexcptflg.c: Likewise.
70166         * math/fraiseexcpt.c: Likewise.
70167         * math/fsetexcptflg.c: Likewise.
70168         * math/ftestexcept.c: Likewise.
70169         * math/k_cosl.c: Likewise.
70170         * math/k_rem_pio2l.c: Likewise.
70171         * math/k_sinl.c: Likewise.
70172         * math/k_tanl.c: Likewise.
70173         * math/s_asinhl.c: Likewise.
70174         * math/s_atanl.c: Likewise.
70175         * math/s_cbrtl.c: Likewise.
70176         * math/s_erfl.c: Likewise.
70177         * math/s_expm1l.c: Likewise.
70178         * math/s_log1pl.c: Likewise.
70179         * math/s_tanhl.c: Likewise.
70180         * misc/acct.c: Likewise.
70181         * misc/brk.c: Likewise.
70182         * misc/chflags.c: Likewise.
70183         * misc/chroot.c: Likewise.
70184         * misc/fchflags.c: Likewise.
70185         * misc/fgetxattr.c: Likewise.
70186         * misc/flistxattr.c: Likewise.
70187         * misc/fremovexattr.c: Likewise.
70188         * misc/fsetxattr.c: Likewise.
70189         * misc/fsync.c: Likewise.
70190         * misc/ftruncate.c: Likewise.
70191         * misc/futimes.c: Likewise.
70192         * misc/futimesat.c: Likewise.
70193         * misc/getdomain.c: Likewise.
70194         * misc/getdtsz.c: Likewise.
70195         * misc/gethostid.c: Likewise.
70196         * misc/gethostname.c: Likewise.
70197         * misc/getloadavg.c: Likewise.
70198         * misc/getpagesize.c: Likewise.
70199         * misc/getsysstats.c: Likewise.
70200         * misc/getxattr.c: Likewise.
70201         * misc/gtty.c: Likewise.
70202         * misc/ioctl.c: Likewise.
70203         * misc/lgetxattr.c: Likewise.
70204         * misc/listxattr.c: Likewise.
70205         * misc/llistxattr.c: Likewise.
70206         * misc/lremovexattr.c: Likewise.
70207         * misc/lsetxattr.c: Likewise.
70208         * misc/lutimes.c: Likewise.
70209         * misc/madvise.c: Likewise.
70210         * misc/mincore.c: Likewise.
70211         * misc/mlock.c: Likewise.
70212         * misc/mlockall.c: Likewise.
70213         * misc/mmap.c: Likewise.
70214         * misc/mprotect.c: Likewise.
70215         * misc/msync.c: Likewise.
70216         * misc/munlock.c: Likewise.
70217         * misc/munlockall.c: Likewise.
70218         * misc/munmap.c: Likewise.
70219         * misc/preadv.c: Likewise.
70220         * misc/preadv64.c: Likewise.
70221         * misc/ptrace.c: Likewise.
70222         * misc/pwritev.c: Likewise.
70223         * misc/pwritev64.c: Likewise.
70224         * misc/readv.c: Likewise.
70225         * misc/reboot.c: Likewise.
70226         * misc/remap_file_pages.c: Likewise.
70227         * misc/removexattr.c: Likewise.
70228         * misc/revoke.c: Likewise.
70229         * misc/select.c: Likewise.
70230         * misc/setdomain.c: Likewise.
70231         * misc/setegid.c: Likewise.
70232         * misc/seteuid.c: Likewise.
70233         * misc/sethostid.c: Likewise.
70234         * misc/sethostname.c: Likewise.
70235         * misc/setregid.c: Likewise.
70236         * misc/setreuid.c: Likewise.
70237         * misc/setxattr.c: Likewise.
70238         * misc/sstk.c: Likewise.
70239         * misc/stty.c: Likewise.
70240         * misc/swapoff.c: Likewise.
70241         * misc/swapon.c: Likewise.
70242         * misc/sync.c: Likewise.
70243         * misc/syncfs.c: Likewise.
70244         * misc/syscall.c: Likewise.
70245         * misc/truncate.c: Likewise.
70246         * misc/ualarm.c: Likewise.
70247         * misc/usleep.c: Likewise.
70248         * misc/ustat.c: Likewise.
70249         * misc/utimes.c: Likewise.
70250         * misc/vhangup.c: Likewise.
70251         * misc/writev.c: Likewise.
70252         * posix/_exit.c: Likewise.
70253         * posix/alarm.c: Likewise.
70254         * posix/execve.c: Likewise.
70255         * posix/fexecve.c: Likewise.
70256         * posix/fork.c: Likewise.
70257         * posix/fpathconf.c: Likewise.
70258         * posix/getaddrinfo.c: Likewise.
70259         * posix/getegid.c: Likewise.
70260         * posix/geteuid.c: Likewise.
70261         * posix/getgid.c: Likewise.
70262         * posix/getgroups.c: Likewise.
70263         * posix/getlogin.c: Likewise.
70264         * posix/getlogin_r.c: Likewise.
70265         * posix/getpgid.c: Likewise.
70266         * posix/getpid.c: Likewise.
70267         * posix/getppid.c: Likewise.
70268         * posix/getresgid.c: Likewise.
70269         * posix/getresuid.c: Likewise.
70270         * posix/getsid.c: Likewise.
70271         * posix/getuid.c: Likewise.
70272         * posix/glob64.c: Likewise.
70273         * posix/nanosleep.c: Likewise.
70274         * posix/pathconf.c: Likewise.
70275         * posix/pause.c: Likewise.
70276         * posix/posix_madvise.c: Likewise.
70277         * posix/pread.c: Likewise.
70278         * posix/pread64.c: Likewise.
70279         * posix/pwrite.c: Likewise.
70280         * posix/pwrite64.c: Likewise.
70281         * posix/sched_getaffinity.c: Likewise.
70282         * posix/sched_getp.c: Likewise.
70283         * posix/sched_gets.c: Likewise.
70284         * posix/sched_primax.c: Likewise.
70285         * posix/sched_primin.c: Likewise.
70286         * posix/sched_rr_gi.c: Likewise.
70287         * posix/sched_setaffinity.c: Likewise.
70288         * posix/sched_setp.c: Likewise.
70289         * posix/sched_sets.c: Likewise.
70290         * posix/sched_yield.c: Likewise.
70291         * posix/setgid.c: Likewise.
70292         * posix/setlogin.c: Likewise.
70293         * posix/setpgid.c: Likewise.
70294         * posix/setresgid.c: Likewise.
70295         * posix/setresuid.c: Likewise.
70296         * posix/setsid.c: Likewise.
70297         * posix/setuid.c: Likewise.
70298         * posix/sleep.c: Likewise.
70299         * posix/spawni.c: Likewise.
70300         * posix/sysconf.c: Likewise.
70301         * posix/times.c: Likewise.
70302         * posix/wait.c: Likewise.
70303         * posix/wait3.c: Likewise.
70304         * posix/wait4.c: Likewise.
70305         * posix/waitpid.c: Likewise.
70306         * resolv/gai_sigqueue.c: Likewise.
70307         * resource/getpriority.c: Likewise.
70308         * resource/getrlimit.c: Likewise.
70309         * resource/getrusage.c: Likewise.
70310         * resource/nice.c: Likewise.
70311         * resource/setpriority.c: Likewise.
70312         * resource/setrlimit.c: Likewise.
70313         * resource/ulimit.c: Likewise.
70314         * rt/aio_cancel.c: Likewise.
70315         * rt/aio_fsync.c: Likewise.
70316         * rt/aio_read.c: Likewise.
70317         * rt/aio_sigqueue.c: Likewise.
70318         * rt/aio_suspend.c: Likewise.
70319         * rt/aio_write.c: Likewise.
70320         * rt/clock_getres.c: Likewise.
70321         * rt/clock_gettime.c: Likewise.
70322         * rt/clock_nanosleep.c: Likewise.
70323         * rt/clock_settime.c: Likewise.
70324         * rt/lio_listio.c: Likewise.
70325         * rt/mq_close.c: Likewise.
70326         * rt/mq_getattr.c: Likewise.
70327         * rt/mq_notify.c: Likewise.
70328         * rt/mq_open.c: Likewise.
70329         * rt/mq_receive.c: Likewise.
70330         * rt/mq_send.c: Likewise.
70331         * rt/mq_setattr.c: Likewise.
70332         * rt/mq_timedreceive.c: Likewise.
70333         * rt/mq_timedsend.c: Likewise.
70334         * rt/mq_unlink.c: Likewise.
70335         * rt/shm_open.c: Likewise.
70336         * rt/shm_unlink.c: Likewise.
70337         * rt/timer_create.c: Likewise.
70338         * rt/timer_delete.c: Likewise.
70339         * rt/timer_getoverr.c: Likewise.
70340         * rt/timer_gettime.c: Likewise.
70341         * rt/timer_settime.c: Likewise.
70342         * setjmp/__longjmp.c: Likewise.
70343         * setjmp/setjmp.c: Likewise.
70344         * signal/kill.c: Likewise.
70345         * signal/killpg.c: Likewise.
70346         * signal/raise.c: Likewise.
70347         * signal/sigaction.c: Likewise.
70348         * signal/sigaltstack.c: Likewise.
70349         * signal/sigblock.c: Likewise.
70350         * signal/sigignore.c: Likewise.
70351         * signal/sigintr.c: Likewise.
70352         * signal/signal.c: Likewise.
70353         * signal/sigpause.c: Likewise.
70354         * signal/sigpending.c: Likewise.
70355         * signal/sigqueue.c: Likewise.
70356         * signal/sigreturn.c: Likewise.
70357         * signal/sigset.c: Likewise.
70358         * signal/sigsetmask.c: Likewise.
70359         * signal/sigstack.c: Likewise.
70360         * signal/sigsuspend.c: Likewise.
70361         * signal/sigtimedwait.c: Likewise.
70362         * signal/sigvec.c: Likewise.
70363         * signal/sigwait.c: Likewise.
70364         * signal/sigwaitinfo.c: Likewise.
70365         * signal/sysv_signal.c: Likewise.
70366         * socket/accept.c: Likewise.
70367         * socket/accept4.c: Likewise.
70368         * socket/bind.c: Likewise.
70369         * socket/connect.c: Likewise.
70370         * socket/getpeername.c: Likewise.
70371         * socket/getsockname.c: Likewise.
70372         * socket/getsockopt.c: Likewise.
70373         * socket/isfdtype.c: Likewise.
70374         * socket/listen.c: Likewise.
70375         * socket/recv.c: Likewise.
70376         * socket/recvfrom.c: Likewise.
70377         * socket/recvmsg.c: Likewise.
70378         * socket/send.c: Likewise.
70379         * socket/sendmsg.c: Likewise.
70380         * socket/sendto.c: Likewise.
70381         * socket/setsockopt.c: Likewise.
70382         * socket/shutdown.c: Likewise.
70383         * socket/sockatmark.c: Likewise.
70384         * socket/socket.c: Likewise.
70385         * socket/socketpair.c: Likewise.
70386         * stdio-common/ctermid.c: Likewise.
70387         * stdio-common/cuserid.c: Likewise.
70388         * stdio-common/remove.c: Likewise.
70389         * stdio-common/rename.c: Likewise.
70390         * stdio-common/renameat.c: Likewise.
70391         * stdio-common/tempname.c: Likewise.
70392         * stdlib/getcontext.c: Likewise.
70393         * stdlib/makecontext.c: Likewise.
70394         * stdlib/setcontext.c: Likewise.
70395         * stdlib/swapcontext.c: Likewise.
70396         * stdlib/system.c: Likewise.
70397         * streams/fattach.c: Likewise.
70398         * streams/fdetach.c: Likewise.
70399         * streams/getmsg.c: Likewise.
70400         * streams/getpmsg.c: Likewise.
70401         * streams/putmsg.c: Likewise.
70402         * streams/putpmsg.c: Likewise.
70403         * sysdeps/unix/bsd/getpt.c: Likewise.
70404         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
70405         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
70406         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
70407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70408         Likewise.
70409         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
70410         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70411         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
70412         * sysvipc/msgctl.c: Likewise.
70413         * sysvipc/msgget.c: Likewise.
70414         * sysvipc/msgrcv.c: Likewise.
70415         * sysvipc/msgsnd.c: Likewise.
70416         * sysvipc/semctl.c: Likewise.
70417         * sysvipc/semget.c: Likewise.
70418         * sysvipc/semop.c: Likewise.
70419         * sysvipc/semtimedop.c: Likewise.
70420         * sysvipc/shmat.c: Likewise.
70421         * sysvipc/shmctl.c: Likewise.
70422         * sysvipc/shmdt.c: Likewise.
70423         * sysvipc/shmget.c: Likewise.
70424         * termios/tcdrain.c: Likewise.
70425         * termios/tcflow.c: Likewise.
70426         * termios/tcflush.c: Likewise.
70427         * termios/tcgetattr.c: Likewise.
70428         * termios/tcgetpgrp.c: Likewise.
70429         * termios/tcsendbrk.c: Likewise.
70430         * termios/tcsetattr.c: Likewise.
70431         * termios/tcsetpgrp.c: Likewise.
70432         * time/adjtime.c: Likewise.
70433         * time/clock.c: Likewise.
70434         * time/getitimer.c: Likewise.
70435         * time/gettimeofday.c: Likewise.
70436         * time/setitimer.c: Likewise.
70437         * time/settimeofday.c: Likewise.
70438         * time/stime.c: Likewise.
70439         * time/time.c: Likewise.
70441 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
70443         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
70444         /usr/old/bin.
70446         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
70447         instead of spaces.
70448         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
70450 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
70452         [BZ #14796]
70453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
70454         FE_TONEAREST before applying Dekker multiplication and Knuth
70455         addition.  Clear inexact exceptions and check for exact zero
70456         results afterwards.
70457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70458         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70459         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70460         * math/libm-test.inc (fma_test): Add more tests.
70461         (fma_test_towardzero): Likewise.
70462         (fma_test_downward): Likewise.
70463         (fma_test_upward): Likewise.
70464         * sysdeps/generic/math_private.h (default_libc_fesetround): New
70465         function.
70466         (libc_fesetround): New macro.
70467         (libc_fesetroundf): Likewise.
70468         (libc_fesetroundl): Likewise.
70469         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
70470         function.
70471         (libc_fesetround_387): Likewise.
70472         (libc_fesetroundf): New macro.
70473         (libc_fesetround): Likewise.
70474         (libc_fesetroundl): Likewise.
70475         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
70476         function.
70477         (libc_fesetroundf): New macro.
70478         (libc_fesetround): Likewise.
70479         (libc_fesetroundl): Likewise.
70480         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
70481         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
70482         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
70483         libm_hidden_ver.
70484         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
70485         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
70486         libm_hidden_def.
70487         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
70488         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
70489         libm_hidden_ver.
70490         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
70491         libm_hidden_def.
70493         [BZ #3439]
70494         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
70495         integer constant usable in #if and use that to give value to enum
70496         constant.
70497         (FE_DIVBYZERO): Likewise.
70498         (FE_UNDERFLOW): Likewise.
70499         (FE_OVERFLOW): Likewise.
70500         (FE_INVALID): Likewise.
70501         (FE_INVALID_SNAN): Likewise.
70502         (FE_INVALID_ISI): Likewise.
70503         (FE_INVALID_IDI): Likewise.
70504         (FE_INVALID_ZDZ): Likewise.
70505         (FE_INVALID_IMZ): Likewise.
70506         (FE_INVALID_COMPARE): Likewise.
70507         (FE_INVALID_SOFTWARE): Likewise.
70508         (FE_INVALID_SQRT): Likewise.
70509         (FE_INVALID_INTEGER_CONVERSION): Likewise.
70510         (FE_TONEAREST): Likewise.
70511         (FE_TOWARDZERO): Likewise.
70512         (FE_UPWARD): Likewise.
70513         (FE_DOWNWARD): Likewise.
70514         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
70515         (FE_DIVBYZERO): Likewise.
70516         (FE_OVERFLOW): Likewise.
70517         (FE_UNDERFLOW): Likewise.
70518         (FE_INEXACT): Likewise.
70519         (FE_TONEAREST): Likewise.
70520         (FE_DOWNWARD): Likewise.
70521         (FE_UPWARD): Likewise.
70522         (FE_TOWARDZERO): Likewise.
70523         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
70524         (FE_UNDERFLOW): Likewise.
70525         (FE_OVERFLOW): Likewise.
70526         (FE_DIVBYZERO): Likewise.
70527         (FE_INVALID): Likewise.
70528         (FE_TONEAREST): Likewise.
70529         (FE_TOWARDZERO): Likewise.
70530         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
70531         (FE_OVERFLOW): Likewise.
70532         (FE_UNDERFLOW): Likewise.
70533         (FE_DIVBYZERO): Likewise.
70534         (FE_INEXACT): Likewise.
70535         (FE_TONEAREST): Likewise.
70536         (FE_TOWARDZERO): Likewise.
70537         (FE_UPWARD): Likewise.
70538         (FE_DOWNWARD): Likewise.
70539         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
70540         (FE_DIVBYZERO): Likewise.
70541         (FE_OVERFLOW): Likewise.
70542         (FE_UNDERFLOW): Likewise.
70543         (FE_INEXACT): Likewise.
70544         (FE_TONEAREST): Likewise.
70545         (FE_DOWNWARD): Likewise.
70546         (FE_UPWARD): Likewise.
70547         (FE_TOWARDZERO): Likewise.
70549 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
70551         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
70553 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
70555         * scripts/cross-test-ssh.sh (command): Use newlines to separate
70556         commands.  Quote $PWD.
70557         (blacklist_exports): Don't use remove_newlines.  Replace "declare
70558         -x" by "export".
70559         (remove_newlines): Remove.
70561 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
70563         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
70564         * stdlib/stdlib.h (atof): Moved to ...
70565         * include/bits/stdlib-float.h: Here.  New file.
70566         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
70567         * stdlib/bits/stdlib-float.h: New file.
70568         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
70569         -mno-sse -mno-mmx.
70570         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
70571         <xmmintrin.h>.
70573 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
70575         * conform/conformtest.pl (@headers): Add fenv.h.
70576         * conform/data/fenv.h-data: New file.
70577         * include/fenv.h [_ISOMAC]: Disable all contents of file except
70578         include of <math/fenv.h>.
70580         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
70581         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
70582         && !UNIX98].  Enables tests for XOPEN2K8.
70583         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
70584         POSIX2008]: Likewise.
70586         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
70587         (struct rusage): Do not expect type or its members.
70589         [BZ #3439]
70590         * math/math.h (FP_NAN): Define macro to integer constant usable in
70591         #if and use that to give value to enum constant.
70592         (FP_INFINITE): Likewise.
70593         (FP_ZERO): Likewise.
70594         (FP_SUBNORMAL): Likewise.
70595         (FP_NORMAL): Likewise.
70597 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
70599         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
70600         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
70601         arguments.
70603 2012-11-02  Roland McGrath  <roland@hack.frob.com>
70605         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
70606         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
70607         autoconf-time if not.
70608         * configure.in: Remove AC_PREREQ.
70610 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70612         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
70613         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
70614         of the internal implementation.
70616 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
70618         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
70619         except include of <misc/sys/syslog.h>.
70621 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
70624         function returns with a NULL context exit with zero.
70626 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70628         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
70630 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
70632         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
70633         (run_program_cmd): This.
70634         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
70635         (tst_langinfo): New variable.  Use it.
70637 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
70639         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
70640         floating point opcodes.
70642 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70644         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
70645         variable.
70647         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
70649         * sysdeps/mach/hurd/powerpc: Remove directory.
70650         * sysdeps/mach/powerpc: Likewise.
70652 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70654         * scripts/check-local-headers.sh: Ignore c++ headers.
70656 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70658         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
70659         __libc_cleanup_region_start argument.
70661 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
70663         [BZ #14784]
70664         [BZ #14785]
70665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
70666         x * y using scaling, not as x * y + z.
70667         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70668         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70669         * math/libm-test.inc (fma_test): Add more tests.
70670         (fma_test_towardzero): Likewise.
70671         (fma_test_downward): Likewise.
70672         (fma_test_upward): Likewise.
70674 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70676         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
70678 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70680         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
70681         New variable.
70683 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
70685         * rt/tst-shm.c (worker): Correct checking for mmap failure.
70687 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70690         Fix sort order.
70691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70692         Likewise.
70694 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70697         Fix the order of the list for glibc 2.17.
70698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70699         Likewise.
70701 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70705 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70707         [BZ #14610]
70708         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
70709         for low part of x being zero before using __atanl (y).
70710         * math/libm-test.inc (atan2_test): Add another test.
70712         * manual/install.texi (Configuring and compiling): Document
70713         general use of test-wrapper and test-wrapper-env.
70714         * INSTALL: Regenerated.
70716         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
70717         (__fma): Do not extract and scale down low bits on after-rounding
70718         systems when result rounded to normal precision would have normal
70719         exponent.
70720         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
70721         (__fmal): Do not extract and scale down low bits on after-rounding
70722         systems when result rounded to normal precision would have normal
70723         exponent.
70724         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
70725         (__fmal): Do not extract and scale down low bits on after-rounding
70726         systems when result rounded to normal precision would have normal
70727         exponent.
70728         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
70729         macro.
70730         (fma_test): Add more tests.
70731         (fma_test_towardzero): Likewise.
70732         (fma_test_downward): Likewise.
70733         (fma_test_upward): Likewise.
70735 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
70737         * sysdeps/i386/tininess.h: Renamed to ...
70738         * sysdeps/x86/tininess.h: This.
70739         * sysdeps/x86_64/tininess.h: Removed.
70741 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70743         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
70744         input.  Use $(build-program-cmd).
70745         ($(objpfx)tst-array1-static.out): Likewise.
70746         ($(objpfx)tst-array2.out): Likewise.
70747         ($(objpfx)tst-array3.out): Likewise.
70748         ($(objpfx)tst-array4.out): Likewise.
70749         ($(objpfx)tst-array5.out): Likewise.
70750         ($(objpfx)tst-array5-static.out): Likewise.
70752 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
70754         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
70755         if defined.
70757         * nss/nsswitch.h (nss_interface_function): Provide new
70758         macro for use with NSS functions.
70759         * grp/initgroups.c: Use new macro.
70760         * nss/getXXbyYY.c: Likewise.
70761         * nss/getXXbyYY_r.c: Likewise.
70762         * nss/getXXent.c: Likewise.
70763         * nss/getXXent_r.c: Likewise.
70764         * sysdeps/posix/getaddrinfo.c: Likewise.
70766 2012-10-30  Andreas Jaeger  <aj@suse.de>
70768         * po/ru.po: Update Russion translation from translation project.
70770 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70772         [BZ #14152]
70773         [BZ #14783]
70774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
70775         result and shift together with sticky bit instead of replicating
70776         round-to-nearest rounding.
70777         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70778         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70779         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
70780         missing underflow exceptions.
70781         (fma_test_towardzero): Add more tests.
70782         (fma_test_downward): Likewise.
70783         (fma_test_upward): Likewise.
70785         [BZ #14047]
70786         * sysdeps/generic/tininess.h: New file.
70787         * sysdeps/i386/tininess.h: Likewise.
70788         * sysdeps/sh/tininess.h: Likewise.
70789         * sysdeps/x86_64/tininess.h: Likewise.
70790         * stdlib/tst-strtod-underflow.c: Likewise.
70791         * stdlib/tst-tininess.c: Likewise.
70792         * stdlib/strtod_l.c: Include <tininess.h>.
70793         (round_and_return): Do not set errno for exact underflow cases.
70794         Force an underflow exception when setting errno for underflow.
70795         Determine underflow based on rounding to normal precision if
70796         TININESS_AFTER_ROUNDING.
70797         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
70798         ERANGE for exact underflow cases.
70799         * stdlib/Makefile (tests): Add tst-tininess and
70800         tst-strtod-underflow.
70801         ($(objpfx)tst-tininess): Use $(link-libm).
70802         ($(objpfx)tst-strtod-underflow): Likewise.
70804 2012-10-30  Andreas Jaeger  <aj@suse.de>
70806         [BZ #14767]
70807         * elf/Makefile (tests): Remove conditional for have-initfini-array
70808         since this is now always required and the variable does not exist
70809         anymore.
70810         (tests-static): Likewise.
70811         (modules-names): Likewise.
70813         * po/eo.po: Add Esperanto translation from translation project.
70815         * elf/tst-array1.c (fini_array): Make writeable so that it can be
70816         merged with constructor/destructor.
70817         (init_array): Likewise.
70818         * elf/tst-array2dep.c (fini_array): Likewise.
70819         (init_array): Likewise.
70821 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
70823         * manual/message.texi: Delete @cartouche tags.
70825 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
70827         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
70828         EOPNOTSUPP.
70829         * sysdeps/mach/hurd/fsync.c: Likewise.
70831         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
70832         [_POSIX_REALTIME_SIGNALS]: Change condition to
70833         [_POSIX_REALTIME_SIGNALS > 0].
70835 2012-10-27  Andreas Jaeger  <aj@suse.de>
70837         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
70838         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
70839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
70840         [__WORDSIZE != 64]: Likewise.
70842 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
70844         *  iconvdata/tst-table.sh: Remove ${SHELL}.
70845         *  iconvdata/tst-tables.sh: Likewise.
70847 2012-10-25  David S. Miller  <davem@davemloft.net>
70849         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70850         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
70851         of strtoull.
70853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
70854         ifunc-impl-list.c
70855         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70856         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
70857         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
70858         file.
70860 2012-10-25  Roland McGrath  <roland@hack.frob.com>
70862         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70863         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
70864         __getdirentries.
70866 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70867             Jim Blandy  <jimb@codesourcery.com>
70869         * scripts/cross-test-ssh.sh: New file.
70870         * manual/install.texi (Configuring and compiling): Document use of
70871         cross-test-ssh.sh.
70872         * INSTALL: Regenerated.
70874 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
70876         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
70877         EOPNOTSUPP.
70879 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70881         * Makeconfig (run-program-prefix): Fix comment.
70883 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70884             Jim Blandy  <jimb@codesourcery.com>
70886         * Makeconfig (test-wrapper): New variable,
70887         (test-wrapper-env): Likewise.
70888         [$(cross-compiling) = yes && $(test-wrapper) != ""]
70889         (run-built-tests): Define to yes.
70890         (run-program-prefix): Use $(test-wrapper).
70891         (built-program-cmd): Likewise.
70892         * Rules (make-test-out): Use $(test-wrapper-env) and
70893         $(host-built-program-cmd).
70894         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
70895         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
70896         tst-pathopt.sh.
70897         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
70898         $(test-wrapper-env) to tst-rtld-load-self.sh.
70899         ($(objpfx)order2.out): Use $(test-wrapper).
70900         ($(objpfx)tst-initorder.out): Likewise.
70901         ($(objpfx)tst-initorder2.out): Likewise.
70902         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
70903         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
70904         (test_wrapper_env): New variable.  Use it to run ld.so.
70905         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
70906         Use it to run ld.so.
70907         (test_wrapper_env): Likewise.
70908         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
70909         $(test-wrapper) to run-iconv-test.sh.
70910         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70911         (ICONV): Use $test_wrapper.
70912         * posix/Makefile ($(objpfx)globtest.out): Pass
70913         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
70914         globtest.sh, not $(run-program-prefix).
70915         * posix/globtest.sh (run_via_rtld_prefix): New variable.
70916         (test_wrapper): Likewise.
70917         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
70918         set together with run_via_rtld_prefix.
70919         (run_program_prefix): Define in terms of test_wrapper and
70920         run_via_rtld_prefix.
70922 2012-10-24  Roland McGrath  <roland@hack.frob.com>
70924         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
70925         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
70926         Targets removed.
70928         [BZ #14743]
70929         * include/time.h: Remove librt_hidden_proto (clock_gettime).
70930         Declare __clock_getres, __clock_gettime, __clock_settime,
70931         __clock_nanosleep, and __clock_getcpuclockid.
70932         * rt/clock_gettime.c: Define __clock_gettime as an alias.
70933         Remove librt_hidden_def (clock_gettime).
70934         * sysdeps/unix/clock_gettime.c: Likewise.
70935         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
70936         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
70937         * rt/clock_getres.c: Define __clock_getres as an alias.
70938         * sysdeps/posix/clock_getres.c: Likewise.
70939         * rt/clock_settime.c: Define __clock_settime as an alias.
70940         * sysdeps/unix/clock_settime.c: Likewise.
70941         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
70942         * sysdeps/unix/clock_nanosleep.c: Likewise.
70943         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
70944         * rt/clock-compat.c: New file.
70945         * rt/Makefile (librt-routines): Add clock-compat and move
70946         $(clock-routines) to ...
70947         (routines): ... here, new variable.
70948         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
70949         Don't add get_clockfreq here.
70950         * rt/Versions (libc: GLIBC_2.17): New version set.
70951         Add clock_* symbols here.
70952         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
70953         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
70954         (GLIBC_2.17): Add clock_* symbols.
70955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70959         Likewise.
70960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70961         Likewise.
70962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70966         * NEWS: Mention the move.
70968         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
70969         Use __open, __read, __close rather than their public counterparts.
70970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70971         (__get_clockfreq_via_cpuinfo): Likewise.
70972         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
70973         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
70975         * config.h.in (HAVE_IFUNC): New #undef.
70976         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
70977         was successful.
70978         * configure: Regenerated.
70980 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70982         * configure.in: Move READELF check to start of file.
70983         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
70984         libc_cv_asm_gnu_indirect_function in the process.
70985         * configure: Regenerated.
70987 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70989         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
70990         send the output to /dev/null.
70991         (libc_cv_cc_with_libunwind): Likewise.
70992         (libc_cv_as_noexecstack): Likewise.
70993         * configure: Regenerate.
70995 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70997         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
70999         * posix/globtest.sh (TMPDIR): Do not set.
71000         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
71001         (testout): Likewise.
71003 2012-10-24  Andreas Jaeger  <aj@suse.de>
71005         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
71006         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
71007         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
71008         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
71009         posix_fadvise64, posix_fallocate64.
71011         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
71012         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
71013         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
71014         Likewise.
71015         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
71016         Likewise.
71017         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
71019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
71020         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
71021         <bits/fcntl-linux.h>.
71022         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
71024         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
71025         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
71026         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
71027         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
71028         [__WORDSIZE != 64]: Likewise.
71030 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71032         * Makeconfig (run-built-tests): New variable.
71033         * Rules [$(cross-compiling) = yes]: Change condition to
71034         [$(run-built-tests) = no].
71035         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
71036         to [$(run-built-tests) = yes].
71037         * elf/Makefile [$(cross-compiling) = no]: Likewise.
71038         * grp/Makefile [$(cross-compiling) = no]: Likewise.
71039         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
71040         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
71041         * intl/Makefile [$(cross-compiling) = no]: Likewise.
71042         * io/Makefile [$(cross-compiling) = no]: Likewise.
71043         * libio/Makefile [$(cross-compiling) = no]: Likewise.
71044         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
71045         * misc/Makefile [$(cross-compiling) = no]: Likewise.
71046         * posix/Makefile [$(cross-compiling) = no]: Likewise.
71047         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
71048         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
71049         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
71050         * string/Makefile [$(cross-compiling) = no]: Likewise.
71052         * posix/Makefile ($(objpfx)globtest.out): Pass
71053         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
71054         $(rtld-installed-name).
71055         * posix/globtest.sh (elf_objpfx): Remove variable.
71056         (rtld_installed_name): Likewise.
71057         (library_path): Likewise.
71058         (run_program_prefix): New variable.  Use for running globtest
71059         binary.
71061 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
71062             Joseph Myers  <joseph@codesourcery.com>
71064         * Makeconfig (host-built-program-cmd): New variable.
71065         * elf/Makefile (tst-stackguard1-ARGS): Use
71066         $(host-built-program-cmd).
71067         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
71068         (tst-spawn-ARGS): Likewise.
71069         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
71071 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71072             Jim Blandy  <jimb@codesourcery.com>
71074         * Makeconfig (run-via-rtld-prefix): New variable.
71075         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
71076         (built-program-cmd): Likewise.
71078 2012-10-22  Andreas Jaeger  <aj@suse.de>
71080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
71081         __O_RSYNC if it exists, otherwise to O_SYNC.
71083 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
71084             Joseph Myers  <joseph@codesourcery.com>
71086         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
71087         /dev/null.
71088         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
71089         from /dev/null
71090         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
71091         /dev/null.
71093 2012-10-22  Andreas Jaeger  <aj@suse.de>
71095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
71096         Define always.
71097         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
71099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71100         bits/fcntl-linux.h.
71102         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
71103         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
71105         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
71106         to __O_LARGEFILE.
71107         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
71108         to __O_LARGEFILE.
71110 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
71111             Joseph Myers  <joseph@codesourcery.com>
71113         * config.make.in (NM): New variable.
71115 2012-10-21  Andreas Jaeger  <aj@suse.de>
71117         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
71118         definitions and declarations that are provided by
71119         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71121 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71123         [BZ #14683]
71124         * elf/Makefile (tests-static): Add tst-leaks1-static.
71125         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
71126         ($(objpfx)tst-leaks1-static): New rule.
71127         ($(objpfx)tst-leaks1-static-mem): Likewise.
71128         (tst-leaks1-static-ENV): New macro.
71129         * elf/dl-open.c (dl_open_worker): Check the main application
71130         only if SHARED is defined.
71131         * elf/tst-leaks1-static.c: New file.
71133 2012-10-20  Andreas Jaeger  <aj@suse.de>
71135         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
71136         generic values for Linux.
71137         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
71138         and declarations that are provided by <bits/fcntl-linux.h> and
71139         include <bits/fcntl-linux.h>.
71140         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71141         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71143 2012-10-20  Roland McGrath  <roland@hack.frob.com>
71145         * io/fcntl.h: Move include of <bits/types.h> to the top and
71146         include it unconditionally.
71148 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71150         * wcsmbs/Makefile (tests-ifunc): New variable.
71151         (tests): Add $(tests-ifunc).
71152         * wcsmbs/test-wcschr-ifunc.c: New file.
71153         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
71154         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
71155         * wcsmbs/test-wcslen-ifunc.c: Likewise.
71156         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
71157         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
71159         * string/Makefile (tests-ifunc): New variable.
71160         (tests): Add $(tests-ifunc).
71161         * string/test-memccpy.c (TEST_NAME): New macro.
71162         * string/test-memchr.c (TEST_NAME): Likewise.
71163         * string/test-memcmp.c (TEST_NAME): Likewise.
71164         * string/test-memcpy.c (TEST_NAME): Likewise.
71165         * string/test-memmem.c (TEST_NAME): Likewise.
71166         * string/test-memmove.c (TEST_NAME): Likewise.
71167         * string/test-memset.c (TEST_NAME): Likewise.
71168         * string/test-rawmemchr.c (TEST_NAME): Likewise.
71169         * string/test-stpcpy.c (TEST_NAME): Likewise.
71170         * string/test-stpncpy.c (TEST_NAME): Likewise.
71171         * string/test-strcasecmp.c (TEST_NAME): Likewise.
71172         * string/test-strcasestr.c (TEST_NAME): Likewise.
71173         * string/test-strcat.c (TEST_NAME): Likewise.
71174         * string/test-strchr.c (TEST_NAME): Likewise.
71175         * string/test-strcmp.c(TEST_NAME): Likewise.
71176         * string/test-strcpy.c (TEST_NAME): Likewise.
71177         * string/test-strcspn.c (TEST_NAME): Likewise.
71178         * string/test-strlen.c (TEST_NAME): Likewise.
71179         * string/test-strncasecmp.c (TEST_NAME): Likewise.
71180         * string/test-strncmp.c (TEST_NAME): Likewise.
71181         * string/test-strncpy.c (TEST_NAME): Likewise.
71182         * string/test-strnlen.c (TEST_NAME): Likewise.
71183         * string/test-strpbrk.c (TEST_NAME): Likewise.
71184         * string/test-strrchr.c (TEST_NAME): Likewise.
71185         * string/test-strspn.c (TEST_NAME): Likewise.
71186         * string/test-strstr.c (TEST_NAME): Likewise.
71187         * string/test-bcopy-ifunc.c: New file.
71188         * string/test-bzero-ifunc.c: Likewise.
71189         * string/test-memccpy-ifunc.c: Likewise.
71190         * string/test-memchr-ifunc.c: Likewise.
71191         * string/test-memcmp-ifunc.c: Likewise.
71192         * string/test-memcpy-ifunc.c: Likewise.
71193         * string/test-memmem-ifunc.c: Likewise.
71194         * string/test-memmove-ifunc.c: Likewise.
71195         * string/test-mempcpy-ifunc.c: Likewise.
71196         * string/test-memset-ifunc.c: Likewise.
71197         * string/test-rawmemchr-ifunc.c: Likewise.
71198         * string/test-stpcpy-ifunc.c: Likewise.
71199         * string/test-stpncpy-ifunc.c: Likewise.
71200         * string/test-strcasecmp-ifunc.c: Likewise.
71201         * string/test-strcasestr-ifunc.c: Likewise.
71202         * string/test-strcat-ifunc.c: Likewise.
71203         * string/test-strchr-ifunc.c: Likewise.
71204         * string/test-strchrnul-ifunc.c: Likewise.
71205         * string/test-strcmp-ifunc.c: Likewise.
71206         * string/test-strcpy-ifunc.c: Likewise.
71207         * string/test-strcspn-ifunc.c: Likewise.
71208         * string/test-strlen-ifunc.c: Likewise.
71209         * string/test-strncasecmp-ifunc.c: Likewise.
71210         * string/test-strncat-ifunc.c: Likewise.
71211         * string/test-strncmp-ifunc.c: Likewise.
71212         * string/test-strncpy-ifunc.c: Likewise.
71213         * string/test-strnlen-ifunc.c: Likewise.
71214         * string/test-strpbrk-ifunc.c: Likewise.
71215         * string/test-strrchr-ifunc.c: Likewise.
71216         * string/test-strspn-ifunc.c: Likewise.
71217         * string/test-strstr-ifunc.c: Likewise.
71219         * debug/Makefile (tests-ifunc): New variable.
71220         (tests): Add $(tests-ifunc).
71221         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
71222         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
71223         * debug/test-stpcpy_chk-ifunc.c: New file.
71224         * debug/test-strcpy_chk-ifunc.c: Likewise.
71226 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
71228         [BZ #13601]
71229         * elf/dl-load.c (open_verify): Retry read if the entire ELF
71230         header is not read in.
71232 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
71234         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
71235         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
71236         directly.  Pass built executable to script as
71237         $(built-program-cmd).
71238         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
71239         $testprogram without using LD_LIBRARY_PATH and $ldso.
71241         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
71242         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
71243         $(rtld-installed-name).
71244         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
71245         (rtld_installed_name): Likewise.
71246         (library_path): Likewise.
71247         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
71248         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
71249         $(run-program-prefix) to tst-tables.sh.
71250         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
71251         it to run tst-table-from and tst-table-to.
71252         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
71253         Pass it to tst-table.sh.
71254         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
71255         $(run-program-prefix) to tst-gettext.sh.
71256         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
71257         tst-translit.sh.
71258         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
71259         tst-gettext2.sh.
71260         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
71261         to run tst-gettext.
71262         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
71263         to run tst-gettext2.
71264         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
71265         to run tst-translit.
71266         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
71267         $(run-program-prefix) to tst-mtrace.sh.
71268         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
71269         to run tst-mtrace.
71270         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
71271         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
71272         $(rtld-installed-name).
71273         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
71274         (rtld_installed_name): Likewise.
71275         (run_program_prefix): New variable.  Use it to run wordexp-test.
71277         * Makeconfig (ARCH): Remove all definitions.
71278         (machine): Likewise.
71279         [ARCH]: Remove conditional code.
71280         [!objdir]: Give error.
71281         [!objdir] (objpfx): Remove.
71282         [!objdir] (common-objpfx): Likewise.
71283         [!objdir] (common-objdir): Likewise.
71284         * configure.in (config_makefile): Remove.  Hardcode Makefile in
71285         AC_CONFIG_FILES call.
71286         * configure: Regenerated.
71288         [BZ #13888]
71289         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
71290         or TMPDIR.
71291         (testout): Likewise.
71293         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
71294         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
71295         $(rtld-installed-name).
71296         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
71297         (rtld_installed_name): Likewise.
71298         (runit): Remove function.
71299         (run_getconf): New variable,  Use it for running getconf binary.
71301 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
71303         [BZ #14716]
71304         * string/test-memmem.c (check_result): New function.
71305         (do_one_test): Use it.
71306         (check1): New function.
71307         (test_main): Use it.
71309 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
71311         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
71313 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
71315         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
71316         (_G_LSEEK64): Likewise.
71317         (_G_MMAP64): Likewise.
71318         (_G_FSTAT64): Likewise.
71319         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
71320         (_G_LSEEK64): Likewise.
71321         (_G_MMAP64): Likewise.
71322         (_G_FSTAT64): Likewise.
71323         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
71324         unconditional.  Call __mmap64 directly.
71325         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
71326         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
71327         __lseek64 directly.
71328         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
71329         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
71330         __mmap64 directly.
71331         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
71332         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71333         __lseek64 directly.
71334         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
71335         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71336         __lseek64 directly.
71337         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
71338         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
71339         __lseek64 directly.
71340         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
71341         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
71342         __fxstat64 directly.
71343         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
71344         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
71345         unconditional.
71346         (freopen64) [!_G_OPEN64]: Remove conditional code.
71347         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
71348         unconditional.
71349         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
71350         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
71351         unconditional.
71352         (ftello64) [!_G_LSEEK64]: Remove conditional code.
71353         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
71354         unconditional.
71355         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71356         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
71357         unconditional.
71358         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
71359         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
71360         unconditional.
71361         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71362         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
71363         unconditional.
71364         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71365         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
71366         unconditional.
71367         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71369 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71371         [BZ #12140]
71372         * manual/memory.texi (Malloc Tunable Parameters): Add note
71373         about free list pointers overwriting some perturb bytes.
71374         Wording suggested by Roland McGrath.
71376 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
71378         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
71379         (lgamma_test): Likewise.
71380         (tgamma_test): Likewise.
71382 2012-10-16  Florian Weimer  <fweimer@redhat.com>
71384         [BZ #14700]
71385         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
71386         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
71388 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
71390         * NEWS: Mention BZ #14716.
71391         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
71392         when removing AVAILABLE1_USES_J macro.
71394 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
71396         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
71397         (__bswap_64): __uint64_t for unsigned 64-bit int.
71399 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
71401         * include/string.h (memmem): Declare libc hidden alias.
71402         * string/memmem.c (memmem): Define libc hidden alias.
71403         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
71404         __read, __close instead of open, read, close.
71406 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
71408         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
71409         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
71410         global and hidden.
71411         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
71412         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
71413         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
71414         Likewise.
71415         (__rawmemchr_sse2): Likewise.
71416         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
71417         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
71418         (__strchr_sse2): Likewise.
71419         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
71420         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
71421         (__strcasecmp_sse2): Likewise.
71422         (__strncasecmp_sse2): Likewise.
71423         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
71424         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
71425         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
71426         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
71427         (__strrchr_sse2): Likewise.
71428         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
71429         ifunc-impl-list.c.
71430         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
71431         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
71432         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
71433         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71434         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
71435         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
71436         * sysdeps/x86_64/multiarch/memset.S: Likewise.
71437         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
71438         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
71439         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
71440         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
71441         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
71442         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
71443         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
71444         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
71445         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
71446         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
71447         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
71448         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
71449         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
71450         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
71451         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
71452         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
71453         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
71454         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
71455         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71456         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
71457         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71458         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
71459         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
71461         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
71462         global and hidden.
71463         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
71464         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
71465         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
71466         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
71467         Likewise.
71468         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
71469         Likewise.
71470         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
71471         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
71472         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
71473         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
71474         ifunc-impl-list.c.
71475         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71476         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71477         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71478         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71479         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71480         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71481         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71482         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71483         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71484         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71485         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71486         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71487         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71488         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
71489         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
71490         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71491         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
71492         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
71493         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71494         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71495         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71496         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71497         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71498         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71499         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71500         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
71501         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
71502         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
71503         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
71504         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71505         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
71506         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71507         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71508         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
71509         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71510         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71511         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71512         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71513         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71514         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71515         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
71517         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
71518         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
71519         * include/ifunc-impl-list.h: New file.
71520         * misc/ifunc-impl-list.c: Likewise.
71521         * misc/Makefile (routines): Add ifunc-impl-list.
71522         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
71523         * string/test-string.h: Include <ifunc-impl-list.h>.
71524         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
71525         TEST_NAME]: New variables.
71526         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
71527         are defined.
71528         (test_init): Call __libc_ifunc_impl_list to initialize
71529         func_list if TEST_IFUNC and TEST_NAME are defined.
71531         * string/Makefile (strop-tests): Add bcopy and bzero.
71532         * string/test-bcopy.c: New file.
71533         * string/test-bzero.c: Likewise.
71534         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
71535         defined.
71536         * string/test-memset.c: Support bzero test if TEST_BZERO is
71537         defined.
71538         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
71539         __libc_memmove.
71540         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
71541         __libc_memset.
71542         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
71543         of memset.
71545 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
71547         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
71548         * configure: Regenerated.
71550         * Makeconfig (+link-static-before-libc): Don't include
71551         $(link-static-libc).
71553         * libio/libio.h (_IO_pos_t): Remove.
71555 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
71557         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
71558         McGrath.
71560 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
71562         * crypt/crypt-entry.c: Include fips-private.h.
71563         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
71564         * crypt/md5c-test.c (main): Tolerate disabled MD5.
71565         * sysdeps/unix/sysv/linux/fips-private.h: New file.
71566         * sysdeps/generic/fips-private.h: New file, dummy fallback.
71568 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
71570         * crypt/crypt-private.h: Include stdbool.h.
71571         (_ufc_setup_salt_r): Return bool.
71572         * crypt/crypt-entry.c: Include errno.h.
71573         (__crypt_r): Return NULL with EINVAL for bad salt.
71574         * crypt/crypt_util.c (bad_for_salt): New.
71575         (_ufc_setup_salt_r): Check that salt is long enough and within
71576         the specified alphabet.
71577         * crypt/badsalttest.c: New file.
71578         * crypt/Makefile (tests): Add it.
71579         ($(objpfx)badsalttest): New.
71581 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
71583         * NEWS: Add entry for BZ #14602.
71585 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
71587         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
71588         type-generic.
71589         * math/libm-test.inc: Update comment listing what functions and
71590         macros are tested.
71591         (isgreater_test): New function.
71592         (isgreaterequal_test): Likewise.
71593         (isless_test): Likewise.
71594         (islessequal_test): Likewise.
71595         (islessgreater_test): Likewise.
71596         (isunordered_test): Likewise.
71597         (main): Call the new functions.
71599 2012-10-09  Roland McGrath  <roland@hack.frob.com>
71601         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
71602         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
71603         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
71604         * sysdeps/i386/configure: Regenerated.
71605         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
71606         * sysdeps/mach/configure: Regenerated.
71607         * sysdeps/mach/hurd/configure: Regenerated.
71608         * sysdeps/powerpc/configure: Regenerated.
71609         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71610         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71611         * sysdeps/s390/s390-32/configure: Regenerated.
71612         * sysdeps/s390/s390-64/configure: Regenerated.
71613         * sysdeps/sh/configure: Regenerated.
71614         * sysdeps/sparc/configure: Regenerated.
71615         * sysdeps/unix/sysv/linux/configure: Regenerated.
71616         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
71617         * sysdeps/x86_64/configure: Regenerated.
71619         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
71620         defined.  Don't check if MAP is NULL.
71622 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
71624         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
71625         (_G_stat64): Likewise.
71626         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
71627         (_G_stat64): Likewise.
71628         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
71629         instead of struct _G_stat64.
71630         * libio/fileops.c (mmap_remap_check): Likewise.
71631         (decide_maybe_mmap): Likewise.
71632         (_IO_new_file_seekoff): Likewise.
71633         (_IO_file_stat): Likewise.
71634         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
71635         _G_off64_t.
71636         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
71637         instead of struct _G_stat64.
71638         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71640 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
71642         [BZ #14602]
71643         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71644         Replace with ...
71645         (CHECK_EOL): New macro.
71646         (two_way_short_needle): Check beginning of haystack for EOL.  Use
71647         CHECK_EOL.
71648         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71649         Replace with CHECK_EOL.
71650         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71651         Replace with CHECK_EOL.
71653 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
71655         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
71656         type-generic.
71657         * math/libm-test.inc: Update comment listing what functions and
71658         macros are tested.
71659         (finite_test): New function.
71660         (isinf_test): Likewise.
71661         (isnan_test): Likewise.
71662         (fpclassify_test): Test subnormal input.
71663         (isfinite_test): Likewise.
71664         (isnormal_test): Likewise.
71665         (main): Call the new functions.
71667 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
71669         [BZ #14660]
71670         * Makerules (%.dynsym): Force C locale when running
71671         $(OBJDUMP) --dynamic-syms.
71673 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
71675         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
71676         <stdint.h>.
71678 2012-10-06  David S. Miller  <davem@davemloft.net>
71680         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
71681         upper 32-bits of the length value in %o2 since we use branch-on-register
71682         tests which consider the entire 64-bit register.
71684 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
71686         * string/test-strstr.c (check2): Add a test for page boundary.
71688 2012-10-05  David S. Miller  <davem@davemloft.net>
71690         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
71691         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
71692         file.
71693         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71694         sysdep_routines.
71695         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71696         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
71697         and bzero when HWCAP_SPARC_CRYPTO is present.
71699 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
71701         [BZ #14602]
71702         * string/test-strstr.c (check2): New function.
71703         (test_main): Call check2.
71705         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
71706         and bug-strchr1.
71707         * string/bug-strcasestr1.c (do_test): Moved to ...
71708         * string/test-strcasestr.c (check1): Here.  New function.
71709         (do_one_test): Break out result checking code into ...
71710         (check_result): This.  New function.
71711         (do_one_test): Call check_result.
71712         (test_main): Call check1.
71713         * string/bug-strchr1.c (do_test): Moved to ...
71714         * string/test-strchr.c (check1): Here.  New function.
71715         (do_one_test): Break out result checking code into ...
71716         (check_result): This.  New function.
71717         (do_one_test): Call check_result.
71718         (test_main): Call check1.
71719         * string/bug-strstr1.c (main): Moved to ...
71720         * string/test-strstr.c (check1): Here.  New function.
71721         (do_one_test): Break out result checking code into ...
71722         (check_result): This.  New function.
71723         (do_one_test): Call check_result.
71724         (test_main): Call check1.
71725         * string/bug-strcasestr1.c: Removed.
71726         * string/bug-strchr1.c: Likewise.
71727         * string/bug-strstr1.c: Likewise.
71729         * elf/Makefile (dl-routines): Add hwcaps.
71730         * elf/dl-support.c (_dl_important_hwcaps): Removed.
71731         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
71732         (_dl_important_hwcaps): Moved to ...
71733         * elf/dl-hwcaps.c: Here.  New file.
71734         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
71736         [BZ #14557]
71737         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
71738         if IS_IN_rtld isn't defined.
71740         * elf/dl-support.c (_dl_sysinfo_map): New.
71741         Include "get-dynamic-info.h" and "setup-vdso.h".
71742         (_dl_non_dynamic_init): Call setup_vdso.
71743         * elf/dynamic-link.h: Don't include <assert.h>.
71744         (elf_get_dynamic_info): Moved to ...
71745         * elf/get-dynamic-info.h: Here.  New file.
71746         * elf/dynamic-link.h: Include "get-dynamic-info.h".
71747         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
71748         * elf/setup-vdso.h: Here.  New file.
71749         * elf/rtld.c: Include "setup-vdso.h".
71750         (dl_main): Call setup_vdso.
71752 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
71754         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
71755         creal in comment listing functions tested.  List finite, isinf,
71756         isnan, isless, islessequal, isgreater, isgreaterequal,
71757         islessgreater, isunordered, lgamma_r and pow10 as functions and
71758         macros not tested.  Mention which functions not tested are aliases
71759         for other functions.  Fix typo.  Note that signs of NaNs are not
71760         tested.
71762         * scripts/config.guess: Update from config.git.
71763         * scripts/config.sub: Likewise.
71765 2012-10-04  Roland McGrath  <roland@hack.frob.com>
71767         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
71768         * misc/madvise.c (madvise): Renamed to __madvise.
71769         Make madvise a weak alias.
71770         * include/sys/mman.h: Declare __madvise.
71771         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
71772         * sysdeps/unix/syscalls.list
71773         (madvise): Make __madvise the strong name, and madvise a weak alias.
71774         * sysdeps/unix/sysv/linux/syscalls.list
71775         (madvise, mmap): Remove redundant entries.
71776         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
71777         * malloc/malloc.c (mtrim): Likewise.
71778         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
71780 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71782         * sysdeps/mach/hurd/dl-cache.c: File removed.
71783         * config.h.in (USE_LDCONFIG): New #undef.
71784         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
71785         * configure: Regenerated.
71786         * elf/Makefile (dl-routines): Add dl-cache only under
71787         [$(use-ldconfig) = yes].
71788         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
71789         cache on [USE_LDCONFIG].
71790         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
71791         [USE_LDCONFIG].
71792         * elf/rtld.c (dl_main): Likewise.
71794 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
71796         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
71797         _SC_LEVEL4_CACHE_LINESIZE.
71799 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71801         * sysdeps/unix/bsd/confstr.h: File removed.
71803 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
71805         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
71806         sys/sdt-config.h.
71808 2012-10-02  Roland McGrath  <roland@hack.frob.com>
71810         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
71811         Make 'mapoff' field ElfW(Off) rather than off_t.
71813 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
71815         * nscd/Makefile: Remove nscd-cflags and all its users.
71816         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
71817         (CFLAGS-nonlib): Add compiler flags for nscd modules.
71819         [BZ #10631]
71820         * malloc.c (malloc_printerr): Clarify error message.
71822 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
71824         [BZ #14648]
71825         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71826         Set bit_FMA_Usable if FMA is supported.
71827         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
71828         macro.
71829         (bit_FMA4_Usable): Updated.
71830         (index_FMA_Usable): New macro.
71831         (CPUID_FMA): Likewise.
71832         (HAS_FMA): Defined with bit_FMA_Usable.
71834 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71836         * bits/types.h (__swblk_t): Type removed.
71837         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
71838         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
71839         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71840         (__SWBLK_T_TYPE): Likewise.
71841         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71842         (__SWBLK_T_TYPE): Likewise.
71843         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71844         (__SWBLK_T_TYPE): Likewise.
71845         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71846         (__SWBLK_T_TYPE): Likewise.
71848 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
71849             Honza Horak <hhorak@redhat.com>
71851         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
71852         (xdr_mapname): Use YPMAXMAP as maxsize.
71853         (xdr_peername): Use YPMAXPEER as maxsize.
71854         (xdr_keydat): Use YPAXRECORD as maxsize.
71855         (xdr_valdat): Use YPMAXRECORD as maxsize.
71857 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71859         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
71861         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
71862         * csu/init-first.c: ... here.
71863         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
71864         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
71865         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
71866         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
71867         * sysdeps/i386/init-first.c: File removed.
71868         * sysdeps/sh/init-first.c: File removed.
71870 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
71872         [BZ #14645]
71873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
71874         if x * y might underflow to zero and z is zero.
71875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71876         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71877         * math/libm-test.inc (min_subnorm_value): New variable.
71878         (fma_test): Add more tests.
71879         (fma_test_towardzero): Likewise.
71880         (fma_test_downward): Likewise.
71881         (fma_test_upward): Likewise.
71882         (initialize): Set min_subnorm_value.
71884 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
71886         [BZ #14638]
71887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
71888         0 + 0.
71889         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
71890         mode for addition resulting in exact zero.
71891         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
71892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
71893         exact 0 + 0.
71894         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71895         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71896         * math/libm-test.inc (fma_test): Add more tests.
71897         (fma_test_towardzero): New function.
71898         (fma_test_downward): Likewise.
71899         (fma_test_upward): Likewise.
71900         (main): Call the new functions.
71902 2012-09-28  David S. Miller  <davem@davemloft.net>
71904         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
71906 2012-09-28  Roland McGrath  <roland@hack.frob.com>
71908         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
71909         instead of SIGALRM.
71911         * sysdeps/gnu/_G_config.h: Moved to ...
71912         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
71913         * sysdeps/mach/hurd/_G_config.h: Moved to ...
71914         * sysdeps/generic/_G_config.h: ... here.
71916         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
71918         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
71920         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
71921         Conditionalize target on [libnss_test1.so-version].
71923         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
71925         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
71926         (elfobjdir): Move out of conditionals.
71928         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
71929         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
71930         (__nss_lookup_function): Conditionalize label remove_from_tree on
71931         [!DO_STATIC_NSS || SHARED], matching its only use.
71933 2012-09-28  David S. Miller  <davem@davemloft.net>
71935         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
71936         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
71937         file.
71938         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71939         sysdep_routines.
71940         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71941         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
71942         when HWCAP_SPARC_CRYPTO is present.
71944 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71946         * io/tst-mknodat.c: Create a FIFO instead of a socket.
71948 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
71950         [BZ #6530]
71951         * stdio-common/vfprintf.c (process_string_arg): Revert
71952         2000-07-22 change.
71954 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
71956         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
71957         for testcase.
71958         * stdio-common/tst-sprintf.c: Include <locale.h>
71959         (main): Test sprintf's handling of incomplete multibyte
71960         characters.
71962 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
71964         * elf/dl-runtime.c (VERSYMIDX): Removed.
71965         * elf/dl-version.c (VERSYMIDX): Likewise.
71966         * elf/do-rel.h (VERSYMIDX): Likewise.
71967         (VALIDX): Likewise.
71968         * elf/dynamic-link.h (VERSYMIDX): Likewise.
71969         * elf/rtld.c (VALIDX): Likewise.
71970         (ADDRIDX): Likewise.
71971         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
71972         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
71973         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
71974         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
71975         (VALIDX): Likewise.
71976         (ADDRIDX): Likewise.
71978 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71980         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
71982 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
71984         [BZ #11438]
71985         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
71986         to global scope.
71987         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
71988         addresses are in the same scope as 192.0.2/24.
71989         * posix/gai.conf: Document new scope table defaults.
71991 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71993         [BZ #5298]
71994         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
71995         for ftell.  Compute offsets from write pointers instead.
71996         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71998 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72000         [BZ #14543]
72001         * libio/Makefile (tests): New test case tst-fseek.
72002         * libio/tst-fseek.c: New test case to verify that fseek/ftell
72003         combination works in wide mode.
72004         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
72005         state when the external buffer state changes.
72007 2012-09-27  David S. Miller  <davem@davemloft.net>
72009         [BZ #14376]
72010         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
72011         pass reloc->r_addend in as the 'high' argument to
72012         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
72014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72016 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72018         * rt/tst-aio2.c: Include <pthread.h>.
72019         * rt/tst-aio3.c: Likewise.
72021 2012-09-27  Steve Ellcey  <sellcey@mips.com>
72023         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
72025 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
72027         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
72028         contents on [SHARED].
72030 2012-09-26  Marek Polacek  <polacek@redhat.com>
72032         [BZ #14530]
72033         [BZ #13741]
72034         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
72035         for C++ and GCC <4.3 as well as for non GCC compilers.
72037 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
72039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72041 2012-09-25  Roland McGrath  <roland@hack.frob.com>
72043         * Makefile.in (all, install): Declare with .PHONY.
72044         Reported by Michael Hope <michael.hope@linaro.org>.
72046 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72048         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
72049         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
72050         system header.
72051         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
72052         Likewise.
72053         (sydep_routines): Add the new and the internal functions.
72054         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
72055         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
72056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
72057         (GLIBC_2.17): Add the new function.
72058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72059         (GLIBC_2.17): Likewise.
72060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
72061         (GLIBC_2.17): Likewise.
72062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
72063         (GLIBC_2.17): Likewise.
72064         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
72066 2012-09-25  Alan Modra  <amodra@gmail.com>
72068         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
72069         Add release barrier before setting once_control to say
72070         initialisation is done.  Add hints on lwarx.  Use macro in
72071         place of isync.
72072         (clear_once_control): Add release barrier.
72074 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72076         [BZ #13629]
72077         * math/s_clog.c (__clog): Handle more values close to |z| = 1
72078         specially.
72079         * math/s_clog10.c (__clog10): Likewise.
72080         * math/s_clog10f.c (__clog10f): Likewise.
72081         * math/s_clog10l.c (__clog10l): Likewise.
72082         * math/s_clogf.c (__clogf): Likewise.
72083         * math/s_clogl.c (__clogl): Likewise.
72084         * math/Makefile (libm-calls): Add x2y2m1.
72085         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
72086         (__x2y2m1): Likewise.
72087         (__x2y2m1l): Likewise.
72088         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
72089         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
72090         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
72091         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
72092         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
72093         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
72094         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
72095         * sysdeps/i386/fpu/libm-test-ulps: Update.
72096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72098         [BZ #14621]
72099         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
72100         int as type of variable DEPTH.
72101         (glob): Use size_t instead of int as type of variables NEWCOUNT
72102         and OLD_PATHC.
72104 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72106         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72107         Add s_sincosf-sse2.
72108         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
72109         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
72110         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
72111         macros for using routine as __sincosf_ia32.
72112         Use macro for function declaration and weak_alias.
72113         * sysdeps/i386/fpu/libm-test-ulps: Update.
72115         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
72116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72118         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
72119         subnormal argument.
72120         * math/s_cexpf.c (__cexpf): Likewise.
72121         * math/s_csinf.c (__csinf): Likewise.
72122         * math/s_csinhf.c (__csinhf): Likewise.
72123         * math/s_ctanf.c (__ctanf): Likewise.
72124         * math/s_ctanhf.c (__ctanhf): Likewise.
72125         * math/s_ccosh.c (__ccoshf): Likewise.
72126         * math/s_cexp.c (__cexpl): Likewise.
72127         * math/s_csin.c (__csin): Likewise.
72128         * math/s_csinh.c (__csinh): Likewise.
72129         * math/s_ctan.c (__ctan): Likewise.
72130         * math/s_ctanh.c (ctanh): Likewise.
72131         * math/s_ccoshl.c (__ccoshl): Likewise.
72132         * math/s_cexpl.c (__cexpl): Likewise.
72133         * math/s_csinl.c (__csinl): Likewise.
72134         * math/s_csinhl.c (__csinhl): Likewise.
72135         * math/s_ctanl.c (__ctanl): Likewise.
72136         * math/s_ctanhl.c (__ctanhl): Likewise.
72138 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72140         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
72141         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
72142         (_IO_off_t): Define to __off_t, not _G_off_t.
72143         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
72144         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
72145         (_IO_wint_t): Define to wint_t, not _G_wint_t.
72146         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
72147         type of __dummy and __dummy2 fields.
72148         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
72149         (_G_ssize_t): Likewise.
72150         (_G_off_t): Likewise.
72151         (_G_pid_t): Likewise.
72152         (_G_uid_t): Likewise.
72153         (_G_wchar_t): Likewise.
72154         (_G_wint_t): Likewise.
72155         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
72156         (_G_ssize_t): Likewise.
72157         (_G_off_t): Likewise.
72158         (_G_pid_t): Likewise.
72159         (_G_uid_t): Likewise.
72160         (_G_wchar_t): Likewise.
72161         (_G_wint_t): Likewise.
72162         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
72163         (_G_ssize_t): Likewise.
72164         (_G_off_t): Likewise.
72165         (_G_pid_t): Likewise.
72166         (_G_uid_t): Likewise.
72167         (_G_wchar_t): Likewise.
72168         (_G_wint_t): Likewise.
72170 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72172         * malloc/arena.c: Include malloc-sysdep.h.
72173         (shrink_heap): Use check_may_shrink_heap to decide if madvise
72174         is sufficient to shrink the heap or an unmap is needed.
72175         * sysdeps/generic/malloc-sysdep.h: New file.  Define
72176         new function check_may_shrink_heap.
72177         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
72178         new function check_may_shrink_heap.
72180 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72182         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
72183         comments.
72185 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
72187         * catgets/test-gencat.sh: Add "set -e".
72188         * elf/tst-pathopt.sh: Likewise.
72189         * grp/tst_fgetgrent.sh: Likewise.
72190         * iconvdata/run-iconv-test.sh: Likewise.
72191         * intl/tst-gettext.sh: Likewise.
72192         * intl/tst-gettext2.sh: Likewise.
72193         * intl/tst-gettext4.sh: Likewise.
72194         * intl/tst-gettext6.sh: Likewise.
72195         * intl/tst-translit.sh: Likewise.
72196         * io/ftwtest-sh: Likewise.
72197         * libio/test-freopen.sh: Likewise.
72198         * malloc/tst-mtrace.sh: Likewise.
72199         * posix/globtest.sh: Likewise.
72200         * posix/tst-getconf.sh: Likewise.
72201         * posix/wordexp-tst.sh: Likewise.
72202         * stdio-common/tst-printf.sh: Likewise.
72203         * stdio-common/tst-unbputc.sh: Likewise.
72204         * stdlib/tst-fmtmsg.sh: Likewise.
72205         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72206         * catgets/Makefile: Do not specify -e option when running
72207         testsuite shell scripts.
72208         * elf/Makefile: Likewise.
72209         * grp/Makefile: Likewise.
72210         * iconvdata/Makefile: Likewise.
72211         * intl/Makefile: Likewise.
72212         * io/Makefile: Likewise.
72213         * libio/Makefile: Likewise.
72214         * malloc/Makefile: Likewise.
72215         * posix/Makefile: Likewise.
72216         * stdio-common/Makefile: Likewise.
72217         * stdlib/Makefile: Likewise.
72218         * sysdeps/x86_64/Makefile: Likewise.
72220         * io/ftwtest-sh: Add copyright header.
72221         * posix/globtest.sh: Likewise.
72222         * posix/tst-getconf.sh: Likewise.
72223         * posix/wordexp-tst.sh: Likewise.
72224         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72226 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
72228         [BZ #13679]
72229         * Makeconfig (+link): Defined as $(+link-static) if
72230         $(build-shared) isn't yes.
72231         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
72232         isn't yes.
72233         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
72235         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
72237         [BZ #14562]
72238         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
72239         new chunk size with MALLOC_ALIGN_MASK.
72241 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
72243         [BZ #5044]
72244         * stdio-common/printf_fphex.c: Include <stdbool.h> and
72245         <rounding-mode.h>.
72246         (__printf_fphex): Determine rounding using get_rounding_mode and
72247         round_away.
72248         * stdio-common/tst-printf-round.c (struct hex_test): New
72249         structure.
72250         (hex_tests): New variable.
72251         (test_hex_in_one_mode): New function.
72252         (do_test): Also run tests for hex float output.
72254 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
72256         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72257         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72258         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
72259         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72260         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72261         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
72262         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72263         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72265 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
72267         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
72268         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
72269         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
72270         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
72272 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
72274         [BZ #14579]
72275         * elf/rtld.c (dl_main): Limit the check for self loading to normal
72276         mode only.
72277         * elf/tst-rtld-load-self.sh: New test.
72278         * elf/Makefile: Run it.
72280 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
72282         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
72283         (tst-writev-ENV): Remove.
72284         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
72286 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
72288         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
72290 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
72292         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
72293         unconditional.
72294         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
72295         Likewise.
72296         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
72297         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
72298         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
72299         Likewise.
72301 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
72303         [BZ #14587]
72304         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
72305         * config.make.in (have-cpp-asm-debuginfo): Removed.
72306         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
72307         * configure: Regenerated.
72309 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
72311         [BZ #5044]
72312         * stdio-common/printf_fp.c: Include <stdbool.h> and
72313         <rounding-mode.h>.
72314         (___printf_fp): Determine rounding using get_rounding_mode and
72315         round_away.
72316         * stdio-common/tst-printf-round.c: New file.
72317         * stdio-common/Makefile (tests): Add tst-printf-round.
72318         (link-libm): New variable.
72319         ($(objpfx)tst-printf-round): Depend in $(link-libm).
72321 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
72323         [BZ #14576]
72324         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
72325         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
72326         Likewise.
72327         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
72328         Likewise.
72330 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
72332         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
72333         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72334         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72335         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72337 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
72339         [BZ #14518]
72340         * include/rounding-mode.h: New file.
72341         * sysdeps/generic/get-rounding-mode.h: Likewise.
72342         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
72343         * stdlib/strtod_l.c: Include <rounding-mode.h>.
72344         (MAX_VALUE): New macro.
72345         (MIN_VALUE): Likewise.
72346         (overflow_value): New function.
72347         (underflow_value): Likewise.
72348         (round_and_return): Use overflow_value and underflow_value to
72349         determine return values in overflow and underflow cases.  Use
72350         round_away to determine rounding depending on rounding mode.
72351         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
72352         determine return values in overflow and underflow cases.
72353         * stdlib/tst-strtod-round.c: Include <fenv.h>.
72354         (struct test_results): New structure.
72355         (struct test): Use struct test_results to store expected results
72356         for all rounding modes.
72357         (TEST): Include expected results for all rounding modes.
72358         (test_in_one_mode): New function.
72359         (do_test): Use test_in_one_mode to compute and check results.
72360         Check results for all rounding modes.
72361         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
72362         $(link-libm).
72364 2012-12-09  Allan McRae  <allan@archlinux.org>
72366         * sysdeps/i386/fpu/libm-test-ulps: Update
72368 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
72370         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
72371         (_G_int32_t): Likewise.
72372         (_G_uint16_t): Likewise.
72373         (_G_uint32_t): Likewise.
72374         (_G_HAVE_BOOL): Likewise.
72375         (_G_HAVE_ATEXIT): Likewise.
72376         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72377         (_G_HAVE_IO_FILE_OPEN): Likewise.
72378         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
72379         (_G_int32_t): Likewise.
72380         (_G_uint16_t): Likewise.
72381         (_G_uint32_t): Likewise.
72382         (_G_HAVE_BOOL): Likewise.
72383         (_G_HAVE_ATEXIT): Likewise.
72384         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72385         (_G_HAVE_IO_FILE_OPEN): Likewise.
72386         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
72387         (_G_int32_t): Likewise.
72388         (_G_uint16_t): Likewise.
72389         (_G_uint32_t): Likewise.
72390         (_G_HAVE_BOOL): Likewise.
72391         (_G_HAVE_ATEXIT): Likewise.
72392         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72393         (_G_HAVE_IO_FILE_OPEN): Likewise.
72395 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
72397         * csu/libc-tls.c: Update copyright years.
72399 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
72401         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
72402         [!_G_USING_THUNKS]: Remove conditional code.
72403         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
72404         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
72406         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
72407         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
72408         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72409         (_G_VTABLE_LABEL_PREFIX): Likewise.
72410         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72411         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72412         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72413         (_G_VTABLE_LABEL_PREFIX): Likewise.
72414         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72415         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72416         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72417         (_G_VTABLE_LABEL_PREFIX): Likewise.
72418         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72420 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
72422         * libio/Makefile: Include ../Makeconfig before tests.
72423         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
72424         only if $(build-shared) is yes.
72426         * iconv/gconv_db.c: Update copyright years.
72428 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72430         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
72431         unwind info if defined PIC. Fix special cases description.
72432         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
72434         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
72435         DP_HI_MASK entry.
72436         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
72438 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
72440         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
72442         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
72443         is NULL.
72445         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
72446         (LDLIBS-tst-chk4): This.
72447         (LDFLAGS-tst-chk5): Renamed to ...
72448         (LDLIBS-tst-chk5): This.
72449         (LDFLAGS-tst-chk6): Renamed to ...
72450         (LDLIBS-tst-chk6): This.
72451         (LDFLAGS-tst-lfschk4): Renamed to ...
72452         (LDLIBS-tst-lfschk4): This.
72453         (LDFLAGS-tst-lfschk5): Renamed to ...
72454         (LDLIBS-tst-lfschk5): This.
72455         (LDFLAGS-tst-lfschk6): Renamed to ...
72456         (LDLIBS-tst-lfschk6): This.
72458         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
72459         on $(common-objpfx)soversions.mk.
72461 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
72463         [BZ #10014]
72464         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
72465         example host name.
72467 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
72469         * malloc/arena.c (arena_get_retry): New function that gets
72470         another arena for the caller to try its request on.
72471         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
72472         current arena cannot fulfill the request.
72473         (__libc_memalign): Likewise.
72474         (__libc_memalign): Likewise.
72475         (__libc_pvalloc): Likewise.
72476         (__libc_calloc): Likewise.
72478 2012-09-05  John Tobey  <john.tobey@gmail.com>
72480         [BZ #13542]
72481         * manual/arith.texi (Operations on Complex): Fix description
72482         of carg branch cut.
72484 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
72486         [BZ #10014]
72487         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
72488         host name.
72490         [BZ #10038]
72491         * manual/memory.texi (Memory): Make order of menu items match
72492         order of sections.
72494 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72496         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
72497         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
72498         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
72500 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72502         * csu/libc-tls.c (static_dtv): Renamed to ...
72503         (_dl_static_dtv): This.  Make it global.
72504         (_dl_initial_dtv): Removed.
72505         (__libc_setup_tls): Updated.
72506         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
72507         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
72508         DL_INITIAL_DTV.
72510 2012-09-06  Petr Machata  <pmachata@redhat.com>
72512         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
72513         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
72514         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
72515         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
72517 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72519         [BZ #14545]
72520         * csu/libc-tls.c (_dl_initial_dtv): New variable.
72521         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
72522         freeing dtv[-1].
72524 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
72526         [BZ #14544]
72527         * Makeconfig (link-static-before-libc): Replace $(+prector)
72528         with $(+prectorT).
72529         (link-static-after-libc): Replace $(+postctor) with
72530         $(+postctorT).
72531         (link-bounded): Replace $(+prector)/$(+postctor) with
72532         $(+prectorT)/$(+postctorT).
72533         (+prectorT): New macro.
72534         (+postctorT): Likewise.
72536 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
72538         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
72539         (round_str): Handle values above the maximum for IBM long double
72540         as inexact.
72541         * stdlib/tst-strtod-round.c (tests): Regenerated.
72543 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72545         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
72546         assembler flag.
72547         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
72548         zarch_nohighgprs around the zarch optimized routines.
72549         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
72550         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
72551         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
72552         for zarch.
72554 2012-09-05  David S. Miller  <davem@davemloft.net>
72556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72558         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
72559         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
72560         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
72561         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72562         entries.
72564 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72566         * malloc/arena.c: Fold copyright years.
72567         * malloc/mcheck.c, malloc/memusage.c: Likewise.
72569 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72571         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
72573 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72575         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
72577 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72579         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
72580         change internal state upon failure.
72582 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72584         * malloc/mcheck.c (mcheck_check_all): Fix typo.
72585         * malloc/memusage.c (mmap): Likewise.
72586         (mmap64, mremap): Likewise.  Adjust name in comment.
72588 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
72590         * libio/fileops.c: Fix typos in comments.
72591         * libio/oldfileops.c: Likewise.
72592         * libio/wfileops.c: Likewise.
72594 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
72596         [BZ #1349]
72597         * malloc/Makefile (tests): Add tst-malloc-usable test case.
72598         (tst-malloc-usable-ENV): Set environment for test case.
72599         * malloc/hooks.c (malloc_check_get_size): New function to get
72600         requested size.
72601         * malloc/malloc.c (musable): Use malloc_check_get_size.
72602         * malloc/tst-malloc-usable.c: New test case.
72604 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72606         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
72608 2012-09-05  Allan McRae  <allan@archlinux.org>
72610         [BZ #13966]
72611         * configure.in (CXX_SYSINCLUDES): Use compiler output to
72612         determine header location.
72613         * configure: Regenerated.
72615 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72617         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
72618         float format.
72619         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
72620         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
72621         format.
72622         (test): Regenerate.
72624 2012-09-04  David S. Miller  <davem@davemloft.net>
72626         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
72627         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
72628         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
72630 2012-09-04  Florian Weimer  <fweimer@redhat.com>
72632         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
72633         failures.
72635         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
72637 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
72639         [BZ #9914]
72640         * libio/iogetdelim.c: Include <limits.h>.
72641         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
72642         + len + 1 would overflow.
72644 2012-09-03  Andreas Jaeger  <aj@suse.de>
72646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72647         * sysdeps/i386/fpu/libm-test-ulps: Update.
72649 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72651         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72652         Add s_sinf-sse2, s_conf-sse2.
72654         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
72655         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
72656         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
72657         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
72659         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
72660         for using routine as __sinf_ia32.
72661         Use macro for function declaration and weak_alias.
72662         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
72663         for using routine as __cosf_ia32.
72664         Use macro for function declaration and weak_alias.
72666         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
72667         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
72669         * sysdeps/x86_64/fpu/s_sinf.S: New file.
72670         * sysdeps/x86_64/fpu/s_cosf.S: New file.
72671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72673         * math/libm-test.inc (cos_test): Add more test cases.
72674         (sin_test): Likewise.
72675         (sincos_test): Likewise.
72677 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72679         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
72680         (IFUNC_RESOLVE): Make pointers to the specialized implementations
72681         hidden.
72682         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
72684 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
72686         [BZ #14538]
72687         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
72688         first element of the GOT.
72689         (elf_machine_load_address): Return the difference between
72690         the runtime address of _DYNAMIC and elf_machine_dynamic ().
72692 2012-09-01  Allan McRae  <allan@archlinux.org>
72694         [BZ #13412]
72695         * configure.in (AWK): Require gawk version 3.0 or later.
72696         * configure: Regenerated.
72698 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
72700         * sysdeps/unix/sysv/linux/kernel-features.h
72701         (__ASSUME_POSIX_CPU_TIMERS): Remove.
72702         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72703         [__NR_clock_getres]: Make code unconditional.
72704         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
72705         (clock_getcpuclockid): Remove code left unreachable by removal of
72706         conditionals.
72707         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
72708         code unconditional.
72709         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72710         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72711         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
72712         Make code unconditional.
72713         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72714         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72715         * sysdeps/unix/sysv/linux/clock_settime.c
72716         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
72717         conditional code.
72718         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
72719         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72721 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
72723         [BZ #14476]
72724         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
72725         scripts/test-installation.pl.
72727         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
72728         and $ld_so_version if it is set.
72730 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72732         [BZ #14516]
72733         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
72734         failure if reading from procfs failed.
72735         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
72737 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72739         * sysdeps/unix/sysv/linux/kernel-features.h
72740         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
72741         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72742         Remove conditional code.
72743         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72744         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
72745         Remove conditional code.
72746         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72747         * sysdeps/unix/sysv/linux/i386/fxstat.c
72748         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72749         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72750         * sysdeps/unix/sysv/linux/i386/fxstatat.c
72751         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72752         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72753         * sysdeps/unix/sysv/linux/i386/lxstat.c
72754         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72755         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72756         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
72757         Remove conditional code.
72758         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72759         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72760         Remove conditional code.
72761         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72762         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
72763         <kernel-features.h>.
72764         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
72765         Remove.
72766         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
72767         Remove conditional code.
72768         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72769         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
72770         Remove conditional.
72772 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
72774         [BZ #5400]
72775         * NEWS: Add fixed bug number.
72777 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72779         [BZ #14519]
72780         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
72781         underflowing exponent in case of negative sign.
72782         * stdlib/tst-strtod-round-data: Add more tests.
72783         * stdlib/tst-strtod-round.c (tests): Regenerated.
72785         [BZ #3479]
72786         * stdlib/strtod_l.c (NDIG): Remove.
72787         (HEXNDIG): Likewise.
72788         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
72789         smallest representable value.
72790         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
72791         lie within an exact representation of 1/2 ulp of the result.
72792         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
72793         unconditionally.
72794         (TENS_P9_IDX): Define unconditionally.
72795         (TENS_P9_SIZE): Likewise.
72796         (TENS_P10_IDX): Likewise.
72797         (TENS_P10_SIZE): Likewise.
72798         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
72799         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
72800         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
72801         entries for 10^2^13 and 10^2^14.
72802         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
72803         (TENS_P13_IDX): Define.
72804         (TENS_P13_SIZE): Likewise.
72805         (TENS_P14_IDX): Likewise.
72806         (TENS_P14_SIZE): Likewise.
72807         (_fpioconst_pow10): Change array size to
72808         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
72809         unconditional.
72810         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
72811         1024]: Add entries for 10^2^13 and 10^2^14.
72812         [LAST_POW10 > _LAST_POW10]: Remove #error.
72813         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
72814         (_fpioconst_pow10): Change array size to
72815         FPIOCONST_POW10_ARRAY_SIZE.
72816         * stdlib/gen-fpioconst.c: New file.
72817         * stdlib/gen-tst-strtod-round.c: Likewise.
72818         * stdlib/tst-strtod-round-data: Likewise.
72819         * stdlib/tst-strtod-round.c: Likewise.
72820         * stdlib/Makefile (tests): Add tst-strtod-round.
72822         [BZ #14459]
72823         * stdlib/strtod_l.c: Include <stdint.h>.
72824         (NDEBUG): Do not define.
72825         (round_and_return): Change EXPONENT parameter to type intmax_t.
72826         Rearrange calculations to avoid internal overflow possibilities.
72827         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
72828         Rearrange calculations to avoid internal overflow possibilities.
72829         Assert that number fits inside MPNSIZE limbs.
72830         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
72831         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
72832         calculations and add assertions to avoid internal overflow
72833         possibilities.  Add casts to avoid signed/unsigned operations.
72834         * stdlib/tst-strtod-overflow.c: New file.
72835         * stdlib/Makefile (tests): Add tst-strtod-overflow.
72837 2012-08-25  Marek Polacek  <polacek@redhat.com>
72839         * time/time.h: Fix some typos in comments.
72841 2012-08-23  Roland McGrath  <roland@hack.frob.com>
72843         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
72844         * posix/tst-rfc3484-2.c: Likewise.
72845         * posix/tst-rfc3484-3.c: Likewise.
72847 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
72849         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
72850         (EF_ARM_ABI_FLOAT_HARD): Likewise.
72852 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
72854         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
72855         #include of fxstatat64.c.
72857 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72859         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
72860         * shadow/getspent_r.c: Likewise.
72861         * shadow/getspnam.c: Likewise.
72862         * shadow/getspnam_r.c: Likewise.
72863         * gshadow/getsgent.c: Likewise.
72864         * gshadow/getsgent_r.c: Likewise.
72865         * gshadow/getsgnam.c: Likewise.
72866         * gshadow/getsgnam_r.c: Likewise.
72867         * inet/getnetbyad.c: Likewise.
72868         * inet/getnetbyad_r.c: Likewise.
72869         * inet/getnetbynm.c: Likewise.
72870         * inet/getnetbynm_r.c: Likewise.
72871         * inet/getnetent.c: Likewise.
72872         * inet/getnetent_r.c: Likewise.
72873         * inet/getproto.c: Likewise.
72874         * inet/getproto_r.c: Likewise.
72875         * inet/getprtent.c: Likewise.
72876         * inet/getprtent_r.c: Likewise.
72877         * inet/getprtname.c: Likewise.
72878         * inet/getprtname_r.c: Likewise.
72879         * inet/getrpcbyname.c: Likewise.
72880         * inet/getrpcbyname_r.c: Likewise.
72881         * inet/getrpcbynumber.c: Likewise.
72882         * inet/getrpcbynumber_r.c: Likewise.
72883         * inet/getrpcent.c: Likewise.
72884         * inet/getrpcent_r.c: Likewise.
72885         * inet/getaliasent.c: Likewise.
72886         * inet/getaliasent_r.c: Likewise.
72887         * inet/getaliasname.c: Likewise.
72888         * inet/getaliasname_r.c: Likewise.
72889         * nscd/getgrgid_r.c: Likewise.
72890         * nscd/getgrnam_r.c: Likewise.
72891         * nscd/gethstbyad_r.c: Likewise.
72892         * nscd/gethstbynm3_r.c: Likewise.
72893         * nscd/getpwnam_r.c: Likewise.
72894         * nscd/getpwuid_r.c: Likewise.
72895         * nscd/getsrvbynm_r.c: Likewise.
72896         * nscd/getsrvbypt_r.c: Likewise.
72897         * nscd/gai.c: Likewise.
72899         * configure.in (build_nscd): New substituted variable, set
72900         by --disable-build-nscd and defaults to $use_nscd.
72901         * configure: Regenerated.
72902         * config.make.in (build-nscd): New substituted variable.
72903         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
72904         Change conditional to require [$(build-nscd) = yes] as well.
72905         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
72907         [BZ #13696]
72908         * configure.in (use_nscd): New substituted variable, set by
72909         --disable-nscd.  If enabled, define USE_NSCD.
72910         * configure: Regenerated.
72911         * config.h.in: Add USE_NSCD.
72912         * config.make.in (use-nscd): New substituted variable.
72913         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
72914         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
72915         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
72916         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
72917         (CFLAGS-getgrnam_r.c): Likewise.
72918         (CFLAGS-initgroups.c): Likewise.
72919         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
72920         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
72921         Variables removed.
72922         * inet/getnetgrent_r.c
72923         (nscd_setnetgrent): New function, broken out of ...
72924         (setnetgrent): ... here.  Call it.
72925         (innetgr): Conditionalize nscd bits on [USE_NSCD].
72926         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
72927         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
72928         * nscd/Makefile (routines, aux): Move definitions after include of
72929         Makeconfig.  Conditionalize on [$(use-nscd) != no].
72930         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
72931         Conditionalize on [USE_NSCD].
72932         (is_nscd, nscd_init_cb): Likewise.
72933         (nss_load_library): Conditionalize init callback on [USE_NSCD].
72934         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
72935         * nss/nss_db/db-init.c: Likewise.
72936         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
72937         [USE_NSCD].
72938         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
72939         (make_request): Use it.
72940         (cache_valid_p): New function.
72941         (__check_pf): Use it.
72942         * NEWS: Add item for --disable-nscd.
72944 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
72946         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
72947         to support sed >= 4.2.1-20-ga9bf076.
72948         * configure: Regenerated.
72950 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72952         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
72953         Conditionalize whole body on [IREL].
72955 2012-08-22  Jeff Law <law@redhat.com>
72957         [BZ #14505]
72958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
72959         if the family is PF_UNSPEC.
72961 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
72963         * Makerules (lib-version): Rename from V.
72964         (install-lib-nosubdir): Change V to lib-version.
72966 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
72968         [BZ #14252]
72969         * powerpc32/power6/wcschr.c: New file.
72970         * powerpc32/power6/wcscpy.c: New file.
72971         * powerpc32/power6/wcsrchr.c: New file.
72972         * powerpc64/power6/wcschr.c: New file.
72973         * powerpc64/power6/wcscpy.c: New file.
72974         * powerpc64/power6/wcsrchr.c: New file.
72976 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72978         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
72979         (two_way_short_needle): Use it.
72980         * string/strstr.c (AVAILABLE1_USES_J): Define.
72981         * string/strcasestr.c: Likewise.
72983         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
72984         array references.
72985         * string/strcasestr.c (TOLOWER): Make side-effect safe.
72987         [BZ #11607]
72988         * NEWS: Add an entry.
72989         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
72990         define their defaults.
72991         (two_way_short_needle): Detect end-of-string on-the-fly.
72992         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
72993         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
72994         * string/bug-strcasestr1.c: New test.
72995         * string/Makefile: Run it.
72997 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72999         [BZ #11607]
73000         * string/str-two-way.h (two_way_short_needle): Optimize matching of
73001         the first character.
73003 2012-08-21  Roland McGrath  <roland@hack.frob.com>
73005         * csu/elf-init.c (__libc_csu_irel): Function removed.
73006         * csu/libc-start.c (apply_irel): New function.
73007         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
73009 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
73011         * sysdeps/unix/sysv/linux/kernel-features.h
73012         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
73013         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
73014         <kernel-features.h>.
73015         [__NR_fadvise64_64]: Make code unconditional.
73016         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
73017         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73018         !__NR_fadvise64_64)]: Likewise.
73019         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73020         !__NR_fadvise64_64))]: Likewise.
73021         [__NR_fadvise64]: Make code unconditional.
73022         [!__NR_fadvise64]: Remove conditional code.
73023         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
73024         <kernel-features.h>.
73025         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73026         unconditional.
73027         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73028         conditional code.
73029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
73030         not include <kernel-features.h>.
73031         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73032         unconditional.
73033         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73034         conditional code.
73035         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
73036         include <kernel-features.h>.
73037         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73038         unconditional.
73039         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73040         conditional code.
73042 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73044         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
73045         slight instruction rearrangements per scrollpipe analysis.
73046         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
73048 2012-08-20  Roland McGrath  <roland@hack.frob.com>
73050         * manual/syslog.texi (syslog; vsyslog, closelog):
73051         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
73052         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
73054         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
73055         DSOCAPS to match condition on defining it.
73057 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
73059         * sysdeps/unix/sysv/linux/kernel-features.h
73060         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
73061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
73062         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73063         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
73065         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73066         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
73068         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73069         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73071         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
73072         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
73074         * sysdeps/unix/sysv/linux/kernel-features.h
73075         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
73076         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
73077         unconditional.
73078         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73079         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
73080         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73081         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73082         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
73083         Make code unconditional.
73084         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73085         (__mmap64) [!__NR_mmap2]: Likewise.
73086         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
73087         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73088         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73089         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
73090         [__NR_mmap2]: Make code unconditional.
73091         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73092         (__mmap64) [!__NR_mmap2]: Likewise.
73094 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73096         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
73098 2012-08-18  Andreas Jaeger  <aj@suse.de>
73100         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
73102 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73104         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
73105         * include/unistd.h (__have_sock_cloexec): Likewise.
73106         (__have_pipe2): Likewise.
73107         (__have_dup3): Likewise.
73109 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73111         [BZ #9685]
73112         * include/unistd.h (__have_pipe2): Change define into an extern int.
73113         (__have_dup3): Likewise.
73114         * socket/have_sock_cloexec.c: Include fcntl.h.
73115         (__have_pipe2): New variable.
73116         (__have_dup3): Likewise.
73118 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
73120         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
73122 2012-08-17  Marek Polacek  <polacek@redhat.com>
73124         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
73125         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
73127 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73129         * configure.in: Add AC_SUBST for sysheaders.
73130         * configure: Regenerated.
73131         * config.make.in (sysheaders): New substituted variable.
73133         * sysdeps/unix/mkfifo.c: Moved ...
73134         * sysdeps/posix/mkfifo.c: ... here.
73135         * sysdeps/unix/mkfifoat.c: Moved ...
73136         * sysdeps/posix/mkfifoat.c: ... here.
73138         * sysdeps/unix/utime.c: Moved ...
73139         * sysdeps/posix/utime.c: ... here.
73141         * sysdeps/unix/time.c: Moved ...
73142         * sysdeps/posix/time.c: ... here.
73143         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
73144         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
73146         * sysdeps/unix/nice.c: Moved ...
73147         * sysdeps/posix/nice.c: ... here.
73149         * sysdeps/unix/alarm.c: Moved ...
73150         * sysdeps/posix/alarm.c: ... here.
73152         * intl/Makefile ($(codeset_mo)): Depend on the input file.
73154 2012-08-17  Jeff Law <law@redhat.com>
73156         * intl/Makefile (codeset_mo): New variable.
73157         ($(codeset_mo)): New target.
73158         (tst-codeset.out): Depend on that.  Remove explicit rule.
73159         (tst-gettext3.out, tst-gettext5.out): Likewise.
73160         (LOCPATH-ENV, tst-codeset-ENV): New variables.
73161         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
73162         * intl/tst-codeset.sh: Remove.
73163         * intl/tst-gettext3.sh: Likewise.
73164         * intl/tst-gettext5.sh: Likewise.
73166 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73168         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
73169         * sysdeps/unix/syscalls.list: ... here.
73171         * sysdeps/posix/getaddrinfo.c
73172         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
73173         (gaiconf_init, gaiconf_reload): Use them.
73174         [!_STATBUF_ST_NSEC]
73175         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
73176         Define using time_t rather than struct timespec.
73178         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
73179         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
73180         Macros removed.
73181         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
73182         [!NO_THREADS].
73183         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
73184         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
73185         Likewise.
73187         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
73188         __libc_cleanup_push argument.
73190         * bits/param.h: New file.
73191         * misc/sys/param.h: New file.
73192         * include/sys/param.h: New file.
73193         * misc/Makefile (headers): Add bits/param.h.
73194         * sysdeps/generic/sys/param.h: File removed.
73195         * sysdeps/unix/sysv/linux/bits/param.h: New file.
73196         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
73197         * sysdeps/mach/hurd/bits/param.h: New file.
73198         * sysdeps/mach/hurd/sys/param.h: File removed.
73200         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
73201         last change.
73203         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
73204         [_IO_MTSAFE_IO].
73205         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
73206         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
73207         New macros.
73209         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
73210         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
73211         rather than -D_IO_MTSAFE_IO conditionally.
73212         * stdio-common/Makefile (CPPFLAGS): Likewise.
73213         * wcsmbs/Makefile (CPPFLAGS): Likewise.
73214         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
73215         Use $(libio-mtsafe).
73216         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
73217         of -D_IO_MTSAFE_IO.
73218         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
73219         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
73220         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
73221         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
73222         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
73223         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
73224         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
73225         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
73226         (CFLAGS-fread_u_chk.c): Likewise.
73227         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
73228         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
73229         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
73230         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
73231         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
73232         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
73233         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
73234         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
73235         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
73237         * libio/Makefile: Test [$(libc-reentrant) = yes]
73238         instead of [$(filter %REENTRANT, $(defines)) nonempty].
73240         * Makeconfig
73241         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
73242         * sysdeps/pthread/configure: File removed.
73243         * sysdeps/pthread/Makeconfig: New file.
73244         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
73245         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
73247 2012-08-16  Gary Benson  <gbenson@redhat.com>
73249         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
73250         unmapping the first object in a namespace.
73252 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73254         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
73255         (__internal_setnetgrent): ... this.  Add internal_function to
73256         definition.  Add libc_hidden_def.
73257         (setnetgrent): Update caller.
73258         (internal_endnetgrent): Renamed to ...
73259         (__internal_endnetgrent): ... this.  Add internal_function to
73260         definition.  Add libc_hidden_def.
73261         (endnetgrent): Update caller.
73262         (internal_getnetgrent_r): Renamed to ...
73263         (__internal_getnetgrent_r): ... this.  Add internal_function to
73264         definition.  Add libc_hidden_def.
73265         (__getnetgrent_r): Update caller.
73266         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
73268 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73270         * stdlib/longlong.h: Update from GCC.
73272 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73274         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
73275         on _QL, which is set by umul_ppmm but never used.
73276         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
73277         variables, which are set by GMP macros but never used.
73278         * stdio-common/_itowa.c (_itowa): Likewise.
73279         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
73280         * stdlib/mod_1.c (mpn_mod_1): Likewise.
73282 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
73284         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
73285         struct La_sh_regs is not constant.
73286         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
73287         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
73288         and struct La_sparc64_regs are not constant.
73290 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73292         * sysdeps/unix/sysv/linux/kernel-features.h
73293         (__ASSUME_POSIX_TIMERS): Remove.
73294         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73295         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73296         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
73297         Make code unconditional.
73298         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73299         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
73300         Make code unconditional.
73301         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73302         * sysdeps/unix/sysv/linux/clock_nanosleep.c
73303         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
73304         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73305         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
73306         Make code unconditional.
73307         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73308         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
73309         (__libc_missing_posix_timers): Remove.
73311 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73313         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
73314         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
73316         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
73318         * elf/dl-sym.c: Include <stdlib.h>.
73320         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
73321         constants, which avoids warnings in 32-bit builds.
73323         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
73324         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
73326         * misc/lseek.c: File moved to ...
73327         * io/lseek.c: ... here.
73329         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
73331         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
73332         shifting LEN more than 31 bits at once.
73334 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73336         [BZ #14195]
73337         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
73338         segmentation fault for a case of two empty input strings.
73339         * string/test-strncasecmp.c (check1): Renamed to...
73340         (bz12205): ...this.
73341         (bz14195): Add new testcase for two empty input strings and N > 0.
73342         (test_main): Call new testcase, adapt for renamed function.
73344 2012-08-15  Andreas Jaeger  <aj@suse.de>
73346         [BZ #14090]
73347         * crypt/md5test2.c: New test, based on test supplied by Serge
73348         Belyshev <belyshev@depni.sinp.msu.ru>.
73349         * crypt/Makefile (xtests): Add md5test-giant..
73350         * crypt/Makefile ($(objpfx)md5test-giant): Add.
73352 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
73354         [BZ #14090]
73355         * crypt/md5.c (md5_process_block): Don't assume the buffer
73356         length is less than 2**32.
73357         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
73358         length is less than 2**64.
73360 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73362         * string/str-two-way.h: Include <sys/param.h>.
73363         (MAX): Macro removed.
73365         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
73366         Move #define and #undef of memmove to just before and after
73367         including <string.h>.
73369         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
73370         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
73371         and after including <string.h>.  Move declarations of
73372         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
73373         to before #include "string/memmove.c".
73375         * include/dirent.h: Declare __getdirentries.
73377         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
73378         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
73380 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
73382         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
73383         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
73384         * sysdeps/i386/configure: Regenerated.
73385         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
73386         STABS_CURRENT_FILE, and STABS_FUN.
73387         (END): Remove call to STABS_FUN_END.
73388         (STABS_CURRENT_FILE1): Delete.
73389         (STABS_CURRENT_FILE): Likewise.
73390         (STABS_FUN): Likewise.
73391         (STABS_FUN_END): Likewise.
73392         (STABS_FUN2): Likewise.
73393         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
73394         * sysdeps/x86_64/configure: Regenerated.
73396 2012-08-14  Roland McGrath  <roland@hack.frob.com>
73398         * elf/dl-open.c: Include <atomic.h>.
73399         * elf/dl-lookup.c: Likewise.
73401 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
73403         * sysdeps/unix/sysv/linux/kernel-features.h
73404         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
73405         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
73406         unconditionally.
73407         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
73408         unconditionally.
73409         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
73410         condition on __ASSUME_CLONE_THREAD_FLAGS.
73412 2012-08-14  Andreas Jaeger  <aj@suse.de>
73414         * sysdeps/i386/fpu/libm-test-ulps: Update.
73416 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
73418         * include/atomic.h (atomic_exchange_and_add): Split into ...
73419         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
73420         New atomic macros.
73422 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
73424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73426 2012-08-13  Jeff Law <law@redhat.com>
73428         * manual/stdio.texi (snprintf): Clarify handling of the trailing
73429         null byte in the output string.
73431 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
73433         * sysdeps/unix/sysv/linux/kernel-features.h
73434         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
73435         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
73436         (__ASSUME_ARG_MAX_STACK_BASED): Define.
73437         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
73438         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
73439         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
73440         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
73442 2012-08-09  Jeff Law <law@redhat.com>
73444         [BZ #13939]
73445         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
73446         When avoid_arena is set, don't retry in the that arena.  Pick the
73447         next one, whatever it might be.
73448         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
73449         (arena_lock): Pass in new parameter to arena_get2.
73450         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
73451         arena_get2.
73452         (__libc_malloc): Unify retrying after main arena failure with
73453         __libc_memalign version.
73454         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
73456 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
73458         [BZ #14166]
73459         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
73460         to __redirect_strstr.
73461         (__strstr_sse42): Use typeof __redirect_strstr.
73462         (__strstr_ia32): Likewise.
73463         (__libc_strstr): New prototype.
73464         (strstr): Renamed to ...
73465         (__libc_strstr): This.
73466         (strstr): New strong alias of __libc_strstr.
73467         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
73468         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
73469         __redirect_time.
73470         Include <time.h>.
73471         (__libc_time): New prototype.
73472         (time_ifunc): Replace time with __libc_time.
73473         (time): New strong alias and hidden definition of __libc_time.
73474         (__GI_time): Remove strong alias.
73475         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
73476         Include <stddef.h>.
73477         (memmove): Redefined to __redirect_memmove.
73478         (__memmove_sse2): Use typeof __redirect_memmove.
73479         (__memmove_ssse3): Likewise.
73480         (__memmove_ssse3_back): Likewise.
73481         (__libc_memmove): New prototype.
73482         (memmove): Renamed to ...
73483         (__libc_memmove): This.
73484         (memmove): New strong alias of __libc_memmove.
73486 2012-08-08  Mark Salter  <msalter@redhat.com>
73488         * elf/elf.h
73489         (R_MN10300_TLS_GD): Define.
73490         (R_MN10300_TLS_LD): Likewise.
73491         (R_MN10300_TLS_LDO): Likewise.
73492         (R_MN10300_TLS_GOTIE): Likewise.
73493         (R_MN10300_TLS_IE): Likewise.
73494         (R_MN10300_TLS_LE): Likewise.
73495         (R_MN10300_TLS_DTPMOD): Likewise.
73496         (R_MN10300_TLS_DTPOFF): Likewise.
73497         (R_MN10300_TLS_TPOFF): Likewise.
73498         (R_MN10300_SYM_DIFF): Likewise.
73499         (R_MN10300_ALIGN): Likewise.
73500         (R_MN10300_NUM): Update.
73502 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
73504         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
73505         Remove.
73507 2012-08-08  Roland McGrath  <roland@hack.frob.com>
73509         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
73511         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
73512         sysdeps/unix -> sysdeps/posix move.
73513         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
73515 2012-08-07      Allan McRae     <allan@archlinux.org>
73517         [BZ #14303]
73518         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
73519         (SUNOS_CPP): Likewise.
73520         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
73521         not found.
73522         (open_input): Call CPP using execvp.
73524 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
73526         * sysdeps/unix/sysv/linux/kernel-features.h
73527         (__ASSUME_PROT_GROWSUPDOWN): Remove.
73528         (__ASSUME_NO_CLONE_DETACHED): Likewise.
73529         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
73530         (__ASSUME_WAITID_SYSCALL): Likewise.
73531         * sysdeps/unix/sysv/linux/dl-execstack.c
73532         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
73533         code unconditional.
73534         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
73535         conditional code.
73536         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
73537         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
73538         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
73539         code.
73540         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
73541         unconditional.
73542         [__ASSUME_WAITID_SYSCALL]: Likewise.
73543         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
73545 2012-08-07  Roland McGrath  <roland@hack.frob.com>
73547         * sysdeps/unix/closedir.c: Renamed to ...
73548         * sysdeps/posix/closedir.c: ... here.
73549         * sysdeps/unix/dirfd.c: Renamed to ...
73550         * sysdeps/posix/dirfd.c: ... here.
73551         * sysdeps/unix/dirstream.h: Renamed to ...
73552         * sysdeps/posix/dirstream.h: ... here.
73553         * sysdeps/unix/fdopendir.c: Renamed to ...
73554         * sysdeps/posix/fdopendir.c: ... here.
73555         * sysdeps/unix/opendir.c: Renamed to ...
73556         * sysdeps/posix/opendir.c: ... here.
73557         * sysdeps/unix/readdir.c: Renamed to ...
73558         * sysdeps/posix/readdir.c: ... here.
73559         * sysdeps/unix/readdir_r.c: Renamed to ...
73560         * sysdeps/posix/readdir_r.c: ... here.
73561         * sysdeps/unix/rewinddir.c: Renamed to ...
73562         * sysdeps/posix/rewinddir.c: ... here.
73563         * sysdeps/unix/seekdir.c: Renamed to ...
73564         * sysdeps/posix/seekdir.c: ... here.
73565         * sysdeps/unix/telldir.c: Renamed to ...
73566         * sysdeps/posix/telldir.c: ... here.
73567         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
73568         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
73569         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
73570         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
73572         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
73573         * bits/fcntl.h: ... here.
73575         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
73576         not 0.
73577         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
73578         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
73579         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
73580         (struct flock): Move l_start, l_len to the beginning.
73581         Use __pid_t for l_pid.
73582         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
73583         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
73584         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
73585         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
73586         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
73587         [__USE_LARGEFILE64] (struct flock64): New type.
73588         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
73590         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
73591         * bits/dirent.h: ... here.
73593         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
73594         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
73596 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
73598         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73599         Change from 2.6.0 to 2.6.16.
73600         * sysdeps/unix/sysv/linux/configure: Regenerated.
73601         * sysdeps/unix/sysv/linux/kernel-features.h
73602         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
73603         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
73604         version.
73605         (__ASSUME_UTIMES): Likewise.
73606         (__ASSUME_CLONE_STOPPED): Remove.
73607         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
73608         architectures, not kernel version.
73609         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
73610         (__ASSUME_NO_CLONE_DETACHED): Likewise.
73611         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
73612         (__ASSUME_WAITID_SYSCALL): Likewise.
73613         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
73614         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
73615         * README: State 2.6.16 as minimum Linux kernel version.  Do not
73616         refer to older versions.
73618 2012-08-06  Roland McGrath  <roland@hack.frob.com>
73620         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
73621         Define alphasort64 as an alias.
73622         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
73623         Define versionsort64 as an alias.
73624         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
73625         Define scandir64 as an alias.
73626         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
73627         Define scandirat64 as an alias.
73628         * dirent/alphasort64.c (alphasort64):
73629         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
73630         * dirent/versionsort64.c: Likewise.
73631         * dirent/scandir64.c: Likewise.
73632         * dirent/scandirat64.c: Likewise.
73633         * sysdeps/wordsize-64/alphasort.c: File removed.
73634         * sysdeps/wordsize-64/alphasort64.c: File removed.
73635         * sysdeps/wordsize-64/scandir.c: File removed.
73636         * sysdeps/wordsize-64/scandir64.c: File removed.
73637         * sysdeps/wordsize-64/scandirat.c: File removed.
73638         * sysdeps/wordsize-64/scandirat64.c: File removed.
73639         * sysdeps/wordsize-64/versionsort.c: File removed.
73640         * sysdeps/wordsize-64/versionsort64.c: File removed.
73641         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
73642         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
73643         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
73644         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
73645         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
73646         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
73647         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
73648         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
73650         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
73651         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73652         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
73653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73654         [defined __arch64__ || defined __sparcv9]
73655         (__INO_T_MATCHES_INO64_T): New macro.
73656         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73657         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
73658         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
73659         * sysdeps/unix/sysv/linux/bits/dirent.h
73660         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
73661         (_DIRENT_MATCHES_DIRENT64): New macro.
73663         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
73664         Define lockf64 as an alias.
73665         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
73666         Define fseeko64 as an alias.
73667         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
73668         Define ftello64 as an alias.
73669         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
73670         Define _IO_fgetpos64 and fgetpos64 as aliases.
73671         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
73672         Define _IO_fsetpos64 and fsetpos64 as aliases.
73673         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
73674         Conditionalize body on this.
73675         * libio/fseeko64.c: Likewise.
73676         * libio/ftello64.c: Likewise.
73677         * libio/iofgetpos64.c: Likewise.
73678         * libio/iofsetpos64.c: Likewise.
73679         * sysdeps/wordsize-64/lockf.c: File removed.
73680         * sysdeps/wordsize-64/lockf64.c: File removed.
73681         * sysdeps/wordsize-64/fseeko.c: File removed.
73682         * sysdeps/wordsize-64/fseeko64.c: File removed.
73683         * sysdeps/wordsize-64/ftello.c: File removed.
73684         * sysdeps/wordsize-64/ftello64.c: File removed.
73685         * sysdeps/wordsize-64/iofgetpos.c: File removed.
73686         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
73687         * sysdeps/wordsize-64/iofsetpos.c: File removed.
73688         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
73689         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
73690         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
73691         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
73692         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
73693         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
73694         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
73695         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
73696         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
73697         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
73698         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
73700         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73701         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73702         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
73703         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73704         [defined __arch64__ || defined __sparcv9]
73705         (__OFF_T_MATCHES_OFF64_T): New macro.
73706         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73707         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73709         (__OFF_T_MATCHES_OFF64_T): New macro.
73711 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73713         * stdlib/secure-getenv.c (__secure_getenv): Replace
73714         GLIBC_2_16 with GLIBC_2_17.
73716 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73718         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
73719         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73721 2012-08-03  David S. Miller  <davem@davemloft.net>
73723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73725 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73727         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
73728         Remove.
73729         (__ASSUME_CORRECT_SI_PID): Likewise.
73730         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
73731         (__ASSUME_TMPFS_NAME): Likewise.
73732         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
73733         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
73734         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
73735         (HAVE_AUX_SECURE): Make definition unconditional.
73736         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
73737         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
73739 2012-08-03  Roland McGrath  <roland@hack.frob.com>
73741         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
73742         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
73743         * sysdeps/mach/hurd/eloop-threshold.h: New file.
73744         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73745         __eloop_threshold instead of SYMLOOP_MAX.
73747         * sysdeps/generic/eloop-threshold.h: New file.
73748         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
73749         of MAXSYMLINKS.
73750         * elf/chroot_canon.c (chroot_canon): Likewise.
73752 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73754         [BZ #13717]
73755         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73756         Change to 2.6.0 everywhere.
73757         * sysdeps/unix/sysv/linux/configure: Regenerated.
73758         * sysdeps/unix/sysv/linux/kernel-features.h
73759         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
73760         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
73761         kernel versions.
73762         (__ASSUME_POSIX_TIMERS): Define unconditionally.
73763         (__ASSUME_FUTEX_REQUEUE): Remove.
73764         (__ASSUME_STATFS64): Define unconditionally.
73765         (__ASSUME_AT_SECURE): Likewise.
73766         (__ASSUME_CORRECT_SI_PID): Likewise.
73767         (__ASSUME_TGKILL): Define without depending on kernel version for
73768         i386.
73769         (__ASSUME_UTIMES): Likewise.
73770         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
73771         kernel version.
73772         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
73773         (__ASSUME_TMPFS_NAME): Likewise.
73774         * README: Update reference to Linux kernel versions.
73776 2012-08-02  Marek Polacek  <polacek@redhat.com>
73778         [BZ #14150]
73779         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
73780         libc_cv_asm_type_prefix with %.
73781         * configure: Regenerated.
73782         * include/libc-symbols.h: Remove comment about
73783         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73784         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
73785         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
73786         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
73787         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
73788         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73789         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
73790         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
73791         * elf/tst-unique2mod1.c: Likewise.
73792         * elf/tst-unique1mod2.c: Likewise.
73793         * elf/tst-unique1mod1.c: Likewise.
73794         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
73795         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
73796         Replace ASM_TYPE_DIRECTIVE with .type.
73797         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73798         * sysdeps/i386/sysdep.h: Likewise.
73799         * sysdeps/x86_64/sysdep.h: Likewise.
73800         * sysdeps/sh/sysdep.h: Likewise.
73801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73802         Do not define ASM_TYPE_DIRECTIVE.
73803         * sysdeps/powerpc/sysdep.h: Likewise.
73804         * sysdeps/powerpc/powerpc32/sysdep.h:
73805         Replace ASM_TYPE_DIRECTIVE with .type.
73806         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73807         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73808         * sysdeps/i386/fpu/e_powf.S: Likewise.
73809         * sysdeps/i386/fpu/e_expl.S: Likewise.
73810         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73811         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73812         * sysdeps/i386/fpu/e_pow.S: Likewise.
73813         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73814         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73815         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73816         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73817         * sysdeps/i386/fpu/e_log2.S: Likewise.
73818         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73819         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73820         * sysdeps/i386/fpu/e_powl.S: Likewise.
73821         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73822         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73823         * sysdeps/i386/fpu/e_logl.S: Likewise.
73824         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73825         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73826         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73827         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73828         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73829         * sysdeps/i386/fpu/e_log.S: Likewise.
73830         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73831         * sysdeps/i386/fpu/e_logf.S: Likewise.
73832         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73833         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73834         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73835         * sysdeps/i386/fpu/e_log10.S: Likewise.
73836         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73837         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73838         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73839         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73840         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73841         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
73842         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73843         * sysdeps/i386/i686/strtok.S: Likewise.
73844         * sysdeps/i386/i386-mcount.S: Likewise.
73845         * sysdeps/i386/strtok.S: Likewise.
73846         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
73847         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73848         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73849         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73850         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73851         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73852         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73853         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73854         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73855         * sysdeps/x86_64/_mcount.S: Likewise.
73856         * sysdeps/x86_64/strtok.S: Likewise.
73857         * sysdeps/sh/_mcount.S: Likewise.
73859 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73861         * libio/iofopen.c: Include <fcntl.h>.
73862         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
73863         (_IO_fopen64, fopen64): Define as aliases.
73864         * libio/iofopen64.c: Include <fcntl.h>.
73865         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
73866         Conditionalize body on this.
73867         * sysdeps/wordsize-64/iofopen.c: File removed.
73868         * sysdeps/wordsize-64/iofopen64.c: File removed.
73870 2012-08-01  Marek Polacek  <polacek@redhat.com>
73872         * libc/Makeconfig: Use elf in place of binfmt-subdir.
73873         Use dlfcn directly instead of a variable.
73874         (binfmt-subdir): Do not define.
73875         (dlfcn): Likewise.
73877 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
73879         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
73880         Remove all definitions.
73881         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
73882         <kernel-features.h>.
73883         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73884         (miss_F_GETOWN_EX): Remove all definitions.
73885         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
73886         macro definition.
73887         [!__ASSUME_FCNTL64]: Remove conditional code.
73888         [__ASSUME_FCNTL64]: Make code unconditional.
73889         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
73890         <kernel-features.h>.
73891         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73892         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
73893         (lockf64) [__NR_fcntl64]: Make code unconditional.
73894         (lockf64) [__ASSUME_FCNTL64]: Likewise.
73896         * sysdeps/unix/sysv/linux/kernel-features.h
73897         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
73898         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
73899         Make code unconditional.
73900         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73901         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
73903         [__NR_vfork]: Make code unconditional.
73904         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73905         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
73907         [__NR_vfork]: Make code unconditional.
73908         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73909         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73911 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73913         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
73914         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
73916         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73917         Define mkstemp64 as an alias.
73918         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73919         Define mkstemps64 as an alias.
73920         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73921         Define mkostemp64 as an alias.
73922         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73923         Define mkostemps64 as an alias.
73924         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
73925         Conditionalize body on this.
73926         * misc/mkostemp64.c: Likewise.
73927         * misc/mkostemps64.c: Likewise.
73928         * misc/mkstemps64.c: Likewise.
73929         * sysdeps/wordsize-64/mkstemp64.c: File removed.
73930         * sysdeps/wordsize-64/mkostemp64.c: File removed.
73931         * sysdeps/wordsize-64/mkostemp.c: File removed.
73932         * sysdeps/wordsize-64/mkstemp.c: File removed.
73933         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
73934         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
73935         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
73936         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
73938         [BZ #14138]
73939         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
73940         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
73941         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
73942         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
73944         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
73945         compat_symbol macros from <shlib-compat.h> rather than the underlying
73946         default_symbol_version and symbol_version macros, so that DEFAULT
73947         lines in shlib-versions are respected.
73948         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
73950 2012-08-01  Florian Weimer  <fweimer@redhat.com>
73952         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
73953         Declare with warn_unused_result.
73954         (setgid, setregid, setegid, setresgid): Likewise.
73955         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
73956         Likewise.
73957         * WUR-REPORT: Remove set*id functions.
73959 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
73961         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
73963 2012-07-31  Roland McGrath  <roland@hack.frob.com>
73965         [BZ #10191]
73966         * include/sys/socket.h (__libc_accept, __libc_accept4):
73967         Add attribute_hidden.
73968         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
73970         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
73971         use of PTR_MANGLE.
73972         * inet/getnetgrent_r.c (setup): Likewise.
73974         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
73976 2012-07-31  David S. Miller  <davem@davemloft.net>
73978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73980 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
73982         [BZ #13629]
73983         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
73984         value between 1.0 and 2.0 and smaller part has absolute value less
73985         than 1.0.
73986         * math/s_clog10.c (__clog10): Likewise.
73987         * math/s_clog10f.c (__clog10f): Likewise.
73988         * math/s_clog10l.c (__clog10l): Likewise.
73989         * math/s_clogf.c (__clogf): Likewise.
73990         * math/s_clogl.c (__clogl): Likewise.
73991         * math/libm-test.inc (clog_test): Add more tests.
73992         (clog10_test): Likewise.
73993         * sysdeps/i386/fpu/libm-test-ulps: Update.
73994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73996 2012-07-31  Florian Weimer  <fweimer@redhat.com>
73998         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
73999         Exit with zero in case no suitable GID is found, and write a
74000         message to standard error.
74002 2012-07-30  Roland McGrath  <roland@hack.frob.com>
74004         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
74005         rather than to 1.
74006         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
74007         (MAXPATHLEN): Removed.
74008         (NOGROUP, NODEV): New macros.
74009         (setbit, clrbit, isset, isclr): New macros.
74010         (howmany, roundup, powerof2): New macros.
74011         (DEV_BSIZE): New macro.
74013         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
74014         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
74016         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
74017         definition on [!__NO_LONG_DOUBLE_MATH].
74019         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
74020         PTR_MANGLE and PTR_DEMANGLE.
74022         * socket/accept4.c (accept4): Rename to __libc_accept4.
74023         Define accept4 as a weak alias.
74025         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
74026         on [_DIRENT_HAVE_D_TYPE].
74027         * io/ftw.c (ftw_dir): Likewise.
74029         * io/xmknod.c (__xmknod): Don't check PATH for being null.
74031         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
74033         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
74034         Use the BSD numbers rather than the arbitrary ones we had.
74035         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
74036         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
74037         (SIGXCPU, SIGXFSZ): New macros.
74038         (_NSIG): Now 32.
74040         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
74041         initializer on [_LIBC_REENTRANT].
74043         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
74044         definitions inside [_POSIX_MAPPED_FILES].
74046         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
74048         * dirent/opendir.c: Include <fcntl.h>.
74050         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
74051         (__libc_getspecific): Likewise.
74052         (__libc_key_create): Likewise.
74054         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
74055         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
74056         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
74057         (tmpfile64): Define as alias.
74058         * sysdeps/wordsize-64/tmpfile.c: File removed.
74059         * sysdeps/wordsize-64/tmpfile64.c: File removed.
74060         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
74061         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
74063         * stdio-common/vfscanf.c: Include <stdbool.h>.
74064         * nss/makedb.c: Likewise.
74065         * stdio-common/_i18n_number.h: Likewise.
74066         * argp/argp-help.c: Likewise.
74067         * posix/wordexp.c: Likewise.
74068         * sysdeps/posix/spawni.c: Likewise.
74069         * nss/nss_files/files-initgroups.c: Likewise.
74070         * stdio-common/reg-modifier.c: Include <stdlib.h>.
74071         * nss/nss_files/files-initgroups.c: Likewise.
74072         * nss/nss_db/db-netgrp.c: Likewise.
74073         * nss/nss_db/db-initgroups.c: Likewise.
74074         * io/fchmodat.c: Include <sys/stat.h>.
74076         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
74077         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
74079         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
74080         [HAVE_MMAP].
74082         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
74083         Add multiple inclusion protection.
74085 2012-07-27  David S. Miller  <davem@davemloft.net>
74087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74089 2012-07-27  Gary Benson  <gbenson@redhat.com>
74091         [BZ #14298]
74092         * elf/rtld.c: Include <stap-probe.h>.
74093         (dl_main): Added static probes "init_start" and "init_complete".
74094         * elf/dl-load.c: Include <stap-probe.h>.
74095         (lose): Take new parameter "nsid".
74096         Added static probe "map_failed".
74097         (_dl_map_object_from_fd): Pass namespace id to lose.
74098         Added static probe "map_start".
74099         (open_verify): Pass namespace id to lose.
74100         * elf/dl-open.c: Include <stap-probe.h>.
74101         (dl_open_worker) Added static probes "map_complete", "reloc_start"
74102         and "reloc_complete".
74103         * elf/dl-close.c: Include <stap-probe.h>.
74104         (_dl_close_worker): Added static probes "unmap_start" and
74105         "unmap_complete".
74106         * elf/rtld-debugger-interface.txt: New file documenting the above.
74108 2012-07-26  Roland McGrath  <roland@hack.frob.com>
74110         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
74111         rather than a string variable.
74112         * sunrpc/rpc_main.c (h_output): Likewise.
74113         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
74115 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
74117         * inet/check_native.c: New file.
74119 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
74121         [BZ #13629]
74122         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
74123         if larger part has absolute value 1.0.
74124         * math/s_clog10.c (__clog10): Likewise.
74125         * math/s_clog10f.c (__clog10f): Likewise.
74126         * math/s_clog10l.c (__clog10l): Likewise.
74127         * math/s_clogf.c (__clogf): Likewise.
74128         * math/s_clogl.c (__clogl): Likewise.
74129         * math/libm-test.inc (clog_test): Add more tests.
74130         (clog10_test): Likewise.
74131         * sysdeps/i386/fpu/libm-test-ulps: Update.
74132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74134         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
74135         (pltexit): Likewise.
74136         (La_regs): Likewise.
74137         (La_retval): Likewise.
74138         (int_retval): Likewise.
74139         Update #error for removed macros to refer only to definitions in
74140         tst-audit.h.
74141         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
74142         macro.
74143         (pltexit): Likewise.
74144         (La_regs): Likewise.
74145         (La_retval): Likewise.
74146         (int_retval): Likewise.
74147         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
74148         macro.
74149         (pltexit): Likewise.
74150         (La_regs): Likewise.
74151         (La_retval): Likewise.
74152         (int_retval): Likewise.
74153         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
74154         macro.
74155         (pltexit): Likewise.
74156         (La_regs): Likewise.
74157         (La_retval): Likewise.
74158         (int_retval): Likewise.
74159         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
74160         macro.
74161         (pltexit): Likewise.
74162         (La_regs): Likewise.
74163         (La_retval): Likewise.
74164         (int_retval): Likewise.
74165         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
74166         macro.
74167         (pltexit): Likewise.
74168         (La_regs): Likewise.
74169         (La_retval): Likewise.
74170         (int_retval): Likewise.
74171         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
74172         macro.
74173         (pltexit): Likewise.
74174         (La_regs): Likewise.
74175         (La_retval): Likewise.
74176         (int_retval): Likewise.
74177         * sysdeps/generic/tst-audit.h: Update comment to refer only to
74178         macro definitions in tst-audit.h.
74179         * sysdeps/i386/tst-audit.h: New file.
74180         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
74181         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
74182         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
74183         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
74184         * sysdeps/sh/tst-audit.h: Likewise.
74185         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
74186         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
74187         * sysdeps/x86_64/tst-audit.h: Likewise.
74189 2012-07-26  Andreas Jaeger  <aj@suse.de>
74191         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
74192         ptrace.
74194         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
74195         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
74196         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
74197         PTRACE_O_MASK.
74198         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
74199         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
74200         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
74202         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
74203         value.
74205         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
74206         _sigsys.
74207         (si_call_addr, si_syscall, si_arch): Define new macro.
74208         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
74209         _sigsys.
74210         (si_call_addr, si_syscall, si_arch): Define new marcro.
74211         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
74212         _sigsys.
74213         (si_call_addr, si_syscall, si_arch): Define new macro.
74214         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
74215         _sigsys.
74216         (si_call_addr, si_syscall, si_arch): Define new macro.
74218 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74220         [BZ #13717]
74221         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74222         Change to 2.4.21 where previously 2.4.1.
74223         * sysdeps/unix/sysv/linux/configure: Regenerated.
74224         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
74225         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
74226         Linux kernel version.
74227         (__ASSUME_STD_AUXV): Remove.
74228         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
74229         kernel version.
74230         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
74231         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
74232         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
74233         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
74234         (__ASSUME_NETLINK_SUPPORT): Likewise.
74235         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
74236         (__no_netlink_support): Remove conditional definition.
74237         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
74238         Remove.
74239         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74240         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
74241         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
74242         (if_nameindex_ioctl): Remove.
74243         (if_nameindex_netlink): Do not handle __no_netlink_support.
74244         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74245         code.
74246         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
74247         Remove conditional code.
74248         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74249         code.
74250         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
74251         unconditional.
74252         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74253         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
74254         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
74255         Remove.
74256         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
74257         [!__ASSUME_STD_AUXV]: Remove conditional code.
74258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
74259         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
74260         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
74261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
74262         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
74263         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74264         code.
74265         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
74267         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
74268         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74269         conditional code.
74270         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
74272         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74273         code.
74274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
74275         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74276         conditional code.
74277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
74278         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74279         code unconditional.
74280         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74281         conditional code.
74282         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74283         unconditional.
74284         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74285         conditional code.
74286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74287         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74288         unconditional.
74289         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74290         conditional code.
74291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
74292         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74293         code unconditional.
74294         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74295         conditional code.
74296         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74297         unconditional.
74298         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74299         conditional code.
74300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
74301         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74302         code unconditional.
74303         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74304         conditional code.
74305         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74306         unconditional.
74307         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74308         conditional code.
74310 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
74312         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
74313         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
74314         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
74315         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
74316         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
74317         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
74318         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
74319         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
74320         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
74321         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
74322         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
74323         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
74324         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
74325         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
74326         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
74327         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
74328         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
74329         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
74330         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
74331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
74332         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
74333         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
74334         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74336 2012-07-25  Florian Weimer  <fweimer@redhat.com>
74338         * Versions.def: Add GLIBC_2.17.
74339         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
74340         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
74341         Introduce __libc_secure_getenv.
74342         * stdlib/Versions (2.17): Add secure_getenv
74343         (GLIBC_PRIVATE): Add __libc_secure_getenv.
74344         * stdlib/secure-getenv.c: Rename __secure_getenv to
74345         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
74346         symbol __secure_getenv for GLIBC_2.0.
74347         * stdlib/tst-secure-getenv.c: New.
74348         * stdlib/Makefile (tests): Add testcase.
74349         * manual/startup.texi (Environment Access): Document
74350         secure_getenv.
74351         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
74352         __libc_secure_getenv.
74353         * inet/ruserpass.c (ruserpass): Likewise.
74354         * malloc/mtrace.c (mtrace): Likewise.
74355         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
74356         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
74357         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
74358         * sysdeps/posix/tempname.c: Likewise.  Evaluate
74359         HAVE_SECURE_GETENV.
74360         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
74361         __secure_getenv to __libc_secure_getenv.
74362         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
74363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74364         Likewise.
74365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74366         Likewise.
74367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74369         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74375 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74377         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
74378         (struct La_i86_retval): Likewise.
74379         (struct La_x86_64_regs): Likewise.
74380         (struct La_x86_64_retval): Likewise.
74381         (struct La_x32_regs): Likewise.
74382         (struct La_x32_retval): Likewise.
74383         (struct La_ppc32_regs): Likewise.
74384         (struct La_ppc32_retval): Likewise.
74385         (struct La_ppc64_regs): Likewise.
74386         (struct La_ppc64_retval): Likewise.
74387         (struct La_sh_regs): Likewise.
74388         (struct La_sh_retval): Likewise.
74389         (struct La_s390_32_regs): Likewise.
74390         (struct La_s390_32_retval): Likewise.
74391         (struct La_s390_64_regs): Likewise.
74392         (struct La_s390_64_retval): Likewise.
74393         (struct La_sparc32_regs): Likewise.
74394         (struct La_sparc32_retval): Likewise.
74395         (struct La_sparc64_regs): Likewise.
74396         (struct La_sparc64_retval): Likewise.
74397         (struct audit_ifaces): Remove architecture-specific pltenter and
74398         pltexit members.
74399         * sysdeps/i386/ldsodefs.h: New file.
74400         * sysdeps/powerpc/ldsodefs.h: Likewise.
74401         * sysdeps/s390/ldsodefs.h: Likewise.
74402         * sysdeps/sh/ldsodefs.h: Likewise.
74403         * sysdeps/sparc/ldsodefs.h: Likewise.
74404         * sysdeps/x86_64/ldsodefs.h: Likewise.
74406 2012-07-25  Marek Polacek  <polacek@redhat.com>
74408         [BZ #6808]
74409         * math/libm-test.inc (yn_test): Add another test.
74410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
74411         to ERANGE when the result is +-Inf.
74412         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
74413         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
74414         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
74415         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
74417 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
74419         * conform/data/time.h-data (NULL): Use macro-constant.  Require
74420         equal to 0.
74421         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
74422         clock_t.
74423         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
74425 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
74427         * configure.in <sysdeps resolving>: Correct printing
74428         Implies_before.
74429         * configure: Regenerate.
74431 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
74433         * math/w_ilogb.c: Include <limits.h>.
74434         * math/w_ilogbl.c: Likewise.
74436 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
74438         * manual/lang.texi (__va_copy): Document primarily as ISO C99
74439         va_copy.  Document allowing for unavailable va_copy only as
74440         pre-C99 compatibility.
74441         * manual/string.texi (Copying and Concatenation): Use va_copy
74442         instead of __va_copy in concat example.
74444 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
74446         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
74447         (__sendto): Use create_address_port.  Initialize APORT and deallocate
74448         it if not null.
74450         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
74451         with O_NOLINK passed to __file_name_lookup.
74453         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
74454         with O_NOLINK passed to __file_name_lookup.
74456         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
74457         negative N or less than NGIDS.
74459         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
74460         type to string_t.  Set ERANGE as errno and return it if NAME is not big
74461         enough.  Use memcpy instead of strncpy.
74463 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
74465         * elf/Makefile (check-data): Remove.
74466         (localplt.data): New vpath directive.
74467         ($(objpfx)check-localplt.out): Use localplt.data from vpath
74468         instead of $(check-data).
74469         * scripts/data/localplt-generic.data: Move to ...
74470         * sysdeps/generic/localplt.data: ... here.
74471         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
74472         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
74473         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
74474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
74475         ... here.
74476         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
74477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
74478         ... here.
74479         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
74480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
74481         ... here.
74482         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
74483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
74484         ... here.
74485         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
74486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
74487         ... here.
74488         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
74489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
74490         ... here.
74492 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74494         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
74495         PPC32 and PPC64 files.
74496         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
74497         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
74499 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74501         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
74502         __makecontext_ret to ...
74503         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
74504         ... here and call exit if uc_link is NULL.  New file.
74505         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
74506         __makecontext_ret.S.
74507         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
74508         __makecontext_ret to ...
74509         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
74510         ... here and call exit if uc_link is NULL.  New file.
74511         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
74512         __makecontext_ret.S.
74514 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74516         * elf/elf.h (R_390_IRELATIVE): New definition.
74517         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
74518         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
74519         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
74520         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
74521         (elf_machine_lazy_rel): Likewise.
74522         * sysdeps/s390/dl-irel.h: New file.
74523         * sysdeps/s390/s390-64/memcpy.S: New asm code.
74524         * sysdeps/s390/s390-64/memset.S: New asm code.
74525         * sysdeps/s390/s390-64/memcmp.S: New asm code.
74526         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
74527         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
74528         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
74529         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
74530         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
74531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
74532         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
74533         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
74534         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
74535         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
74536         * sysdeps/s390/s390-32/memcpy.S: New asm code.
74537         * sysdeps/s390/s390-32/memset.S: New asm code.
74538         * sysdeps/s390/s390-32/memcmp.S: New asm code.
74540 2012-07-17  Marek Polacek  <polacek@redhat.com>
74542         [BZ #14349]
74543         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
74544         * sysdeps/s390/s390-64/configure.in: Likewise.
74545         * sysdeps/sparc/configure.in: Likewise.
74546         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
74547         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
74548         * sysdeps/i386/configure.in: Likewise.
74549         * sysdeps/x86_64/configure.in: Likewise.
74550         * sysdeps/sh/configure.in: Likewise.
74551         * sysdeps/s390/s390-32/configure: Regenerated.
74552         * sysdeps/s390/s390-64/configure: Likewise.
74553         * sysdeps/x86_64/configure: Likewise.
74554         * sysdeps/sh/configure: Likewise.
74555         * sysdeps/powerpc/powerpc64/configure: Likewise.
74556         * sysdeps/powerpc/powerpc32/configure: Likewise.
74557         * sysdeps/sparc/configure: Likewise.
74558         * sysdeps/i386/configure: Likewise.
74560         * elf/dl-open.c: Comment fixes.
74562 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
74564         * Makefile [CXX] (check-data): Remove.
74565         [CXX] (c++-types.data): New vpath directive.
74566         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
74567         vpath.  Do not allow for C++ type data being missing.
74568         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
74569         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
74570         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
74571         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
74572         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
74573         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
74574         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
74575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
74576         ... here.
74577         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
74578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
74579         ... here.
74580         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
74581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
74582         ... here.
74583         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
74584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
74585         ... here.
74586         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
74587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
74588         ... here.
74589         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
74590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
74591         ... here.
74592         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
74593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
74594         ... here.
74595         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
74596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
74598         * elf/tls-macros.h (TLS_LE): Move architecture-specific
74599         definitions to architecture-specific files.
74600         (TLS_IE): Likewise.
74601         (TLS_LD): Likewise.
74602         (TLS_GD): Likewise.
74603         * sysdeps/i386/tls-macros.h: New file.
74604         * sysdeps/powerpc/tls-macros.h: Likewise.
74605         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
74606         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
74607         * sysdeps/sh/tls-macros.h: Likewise.
74608         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
74609         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
74610         * sysdeps/x86_64/tls-macros.h: Likewise.
74612 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
74614         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
74615         zero value for regular exit case.
74617         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
74618         (__start_context): Preserve zero value for regular exit case.
74620 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
74621             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74623         * manual/setjmp.texi (setcontext): Clarify normal process
74624         termination when uc_link is the null pointer.
74625         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
74626         exit call.
74628 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
74630         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
74631         preprocessor.  Test for each exception mask separately.
74633 2012-07-16  Andreas Jaeger  <aj@suse.de>
74635         * po/ru.po: Update from translation team.
74637 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
74639         * conform/data/string.h-data (NULL): Use macro-constant.  Require
74640         equal to 0.
74641         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74642         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74643         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
74644         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
74645         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74647 2012-07-13  Andreas Jaeger  <aj@suse.de>
74649         * po/fr.po: Update from translation team.
74651 2012-07-12  Marek Polacek  <polacek@redhat.com>
74653         [BZ #14173]
74654         * math/libm-test.inc (yn_test): Add test for BZ #14173.
74655         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
74656         loop condition.
74658 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
74660         [BZ #13717]
74661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74662         Change to 2.4.1 where previously 2.4.0.
74663         * sysdeps/unix/sysv/linux/configure: Regenerated.
74664         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
74665         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
74666         version.
74667         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
74668         (__ASSUME_AT_CLKTCK): Remove.
74669         (__ASSUME_AT_PAGESIZE): Likewise.
74670         (__ASSUME_AT_XID): Likewise.
74671         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
74672         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
74673         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
74674         unconditionally.
74675         (HAVE_AUX_PAGESIZE): Likewise.
74676         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
74677         [__ASSUME_AT_CLKTCK]: Make code unconditional.
74678         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
74680 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
74682         [BZ #14307]
74683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
74684         the temporary buffer used to invoke __gethostbyname2_r,
74685         __gethostbyaddr_r and gethostbyname4_r to make room for struct
74686         host_data / struct gaih_addrtuple.
74687         * resolv/nss_dns/dns-host.c (global scope): Move definition of
74688         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
74689         header file nss/nsswitch.h.
74690         * nss/nsswitch.h (global scope): Add definition of implementation
74691         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
74692         resolv/nss_dns/dns-host.c).
74694 2012-07-11  Andreas Jaeger  <aj@suse.de>
74696         * po/fr.po: Update from translation team.
74698         * po/sv.po: Update from translation team
74699         * po/fr.po: Another update from translation team.
74701 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74703         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
74704         for subnormals or multiply small sinh result by itself.
74705         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74708 2012-07-11  David S. Miller  <davem@davemloft.net>
74710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74712 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
74714         [BZ #14347]
74715         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
74716         (INTERNAL_MARK): Shift it here.
74718 2012-07-10  Marek Polacek  <polacek@redhat.com>
74720         [BZ #14151]
74721         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
74722         libc_cv_asm_global_directive with .globl.
74723         * configure: Regenerated.
74724         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
74725         with .globl.
74726         * sysdeps/i386/configure: Regenerated.
74727         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
74728         with .globl.
74729         * sysdeps/x86_64/configure: Regenerated.
74730         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
74731         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
74732         * elf/tst-unique2mod2.c: Likewise.
74733         * elf/tst-unique2mod1.c: Likewise.
74734         * elf/tst-unique1mod2.c: Likewise.
74735         * elf/tst-unique1mod1.c: Likewise.
74736         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74737         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74738         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74739         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74740         * sysdeps/mach/sysdep.h: Likewise.
74741         * sysdeps/i386/sysdep.h: Likewise.
74742         * sysdeps/i386/i386-mcount.S: Likewise.
74743         * sysdeps/x86_64/_mcount.S: Likewise.
74744         * sysdeps/x86_64/sysdep.h: Likewise.
74745         * sysdeps/sh/_mcount.S: Likewise.
74746         * sysdeps/sh/sysdep.h: Likewise.
74747         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
74748         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
74749         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
74750         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74751         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
74752         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
74753         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
74754         * locale/localeinfo.h: Likewise.
74755         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
74756         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
74758 2012-07-09  Roland McGrath  <roland@hack.frob.com>
74760         [BZ #14336]
74761         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
74762         system".
74763         * manual/message.texi (The Uniforum approach): Likewise.
74764         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
74765         (glibc iconv Implementation): Likewise.
74767 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
74769         [BZ #14337]
74770         * math/s_clog.c (__clog): Avoid scaling a value down where that
74771         could result in underflow.
74772         * math/s_clog10.c (__clog10): Likewise.
74773         * math/s_clog10f.c (__clog10f): Likewise.
74774         * math/s_clog10l.c (__clog10l): Likewise.
74775         * math/s_clogf.c (__clogf): Likewise.
74776         * math/s_clogl.c (__clogl): Likewise.
74777         * math/libm-test.inc (clog_test): Add more tests.
74778         (clog10_test): Likewise.
74779         * sysdeps/i386/fpu/libm-test-ulps: Update.
74780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74782 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
74784         [BZ #14283]
74785         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
74786         by 7 not 8 to examine high bit of fractional part.
74788         [BZ #14042]
74789         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
74790         for call to __mcount_internal.
74791         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
74792         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
74793         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
74795 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
74797         [BZ #14154]
74798         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
74799         approximation for values within 0x1p-13f of an odd multiple of
74800         pi/4.
74801         * math/libm-test.inc (tan_test): Do not allow spurious underflow
74802         exception.  Add more tests.
74803         * sysdeps/i386/fpu/libm-test-ulps: Update.
74805         [BZ #6778]
74806         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
74807         inputs and return -1 for them.  Do not check for +Inf in case not
74808         reachable for +Inf.
74809         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
74810         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
74811         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74812         and return -1 for them.  Do not check for +Inf in case not
74813         reachable for +Inf.
74814         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
74815         define.
74816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74817         and return -1 for them.  Do not check for +Inf in case not
74818         reachable for +Inf.
74819         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
74820         spurious underflow.
74821         * sysdeps/i386/fpu/libm-test-ulps: Update.
74822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74824 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
74826         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
74828 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
74830         [BZ #14157]
74831         [BZ #14331]
74832         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
74833         could result in spurious underflow.  Scale down values above
74834         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
74835         * math/s_csqrtf.c (__csqrtf): Likewise.
74836         * math/s_csqrtl.c (__csqrtl): Likewise.
74837         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
74838         spurious underflow.
74839         * sysdeps/i386/fpu/libm-test-ulps: Update.
74840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74842 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
74844         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
74845         xopen-msg.sed.
74846         * catgets/xopen-msg.awk: New file.
74847         * catgets/xopen-msg.sed: Removed.
74849         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
74850         po2text.sed.
74851         * intl/po2test.awk: New file.
74852         * intl/po2test.sed: Removed.
74854 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
74856         [BZ #14328]
74857         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
74858         or multiply small sinh result by itself.
74859         * math/s_ctanf.c (__ctanf): Likewise.
74860         * math/s_ctanh.c (__ctanh): Likewise.
74861         * math/s_ctanhf.c (__ctanhf): Likewise.
74862         * math/s_ctanhl.c (__ctanhl): Likewise.
74863         * math/s_ctanl.c (__ctanl): Likewise.
74864         * math/libm-test.inc (ctan_test_tonearest): New function.
74865         (ctan_test_towardzero): Likewise.
74866         (ctan_test_downward): Likewise.
74867         (ctan_test_upward): Likewise.
74868         (ctanh_test_tonearest): Likewise.
74869         (ctanh_test_towardzero): Likewise.
74870         (ctanh_test_downward): Likewise.
74871         (ctanh_test_upward): Likewise.
74872         (main): Call these new functions.
74873         * sysdeps/i386/fpu/libm-test-ulps: Update.
74874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74876 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
74878         * .gitignore: Delete /ports entry.
74880 2012-07-03  Andreas Jaeger  <aj@suse.de>
74882         * po/bg.po: Update from translation team.
74883         * po/cs.po: Likewise.
74884         * po/de.po: Likewise.
74885         * po/hr.po: Likewise.
74886         * po/nl.pl: Likewise.
74887         * po/pl.po: Likewise.
74888         * po/vi.po: Likewise.
74890 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
74892         * Makeconfig [!+link] (+link-before-libc): New variable.
74893         [!+link] (+link-after-libc): Likewise.
74894         [!+link] (+link-tests): Likewise.
74895         [!+link] (+link): Define in terms of $(+link-before-libc) and
74896         $(+link-after-libc).
74897         [!+link-static] (+link-static-before-libc): New variable.
74898         [!+link-static] (+link-static-after-libc): Likewise.
74899         [!+link-static] (+link-static-tests): Likewise.
74900         [!+link-static] (+link-static): Define in terms of
74901         $(+link-static-before-libc) and $(+link-static-after-libc).
74902         [build-shared] (link-libc-before-gnulib): New variable.
74903         [build-shared] (link-libc-tests): Likewise.
74904         [build-shared] (link-libc): Define in terms of
74905         $(link-libc-before-gnulib).
74906         [!build-shared] (link-libc-tests): New variable.
74907         (link-libc-static-tests): New variable.
74908         [!gnulib] (gnulib-arch): New variable.
74909         [!gnulib] (gnulib-tests): Likewise.
74910         [!gnulib] (static-gnulib-arch): Likewise.
74911         [!gnulib] (static-gnulib-tests): Likewise.
74912         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
74913         Define with "=" instead of ":=".
74914         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
74915         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
74916         * Rules (binaries-all-notests): New variable.
74917         (binaries-all-tests): Likewise.
74918         (binaries-static-notests): Likewise.
74919         (binaries-static-tests): Likewise.
74920         (binaries-all): Define using $(binaries-all-notests) and
74921         $(binaries-all-tests).
74922         (binaries-static): Define using $(binaries-static-notests) and
74923         $(binaries-static-tests).
74924         (binaries-shared-tests): New variable.
74925         (binaries-shared-notests): Likewise.
74926         (binaries-shared): Remove variable.
74927         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
74928         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
74929         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
74930         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
74931         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
74932         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
74933         * elf/Makefile (sln-modules): New variable.
74934         (extra-objs): Add $(sln-modules:=.o).
74935         (ldconfig-modules): Add static-stubs.
74936         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
74937         * elf/static-stubs.c: New file.
74939         [BZ #14283]
74940         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
74941         by 7 not 8 to examine high bit of fractional part.  Use volatile
74942         variables when splitting into final array of floats if
74943         __FLT_EVAL_METHOD__ != 0.
74944         * math/libm-test.inc (cos_test): Add another test.
74945         (sin_test): Likewise.
74946         * sysdeps/i386/fpu/libm-test-ulps: Update.
74948         [BZ #14273]
74949         * math/libm-test.inc (cosh_test): Add more tests.
74951         * version.h (RELEASE): Set to "development".
74952         (VERSION): Set to "2.16.90".
74954 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
74956         * NEWS: Update copyright. Remove last-updated date.
74957         Mention math library bug fixes and timezone data changes.
74958         * README: Mention GNU/Hurd, x32, and HPPA support status.
74960 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
74962         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
74964 2012-06-27  Andreas Jaeger  <aj@suse.de>
74966         * manual/contrib.texi (Contributors): Add Samuel Thibault.
74968 2012-06-25  Andreas Jaeger  <aj@suse.de>
74970         * sysdeps/s390/fpu/libm-test-ulps: Update.
74972 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
74973             Thomas Schwinge  <thomas@codesourcery.com>
74975         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
74976         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
74977         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
74978         fanotify_mark.
74980 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
74982         * sysdeps/mach/start.c: Remove file.
74983         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
74984         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
74985         * sysdeps/sh/init-first.c: Likewise.
74987         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
74988         registers for frame unwinding purposes, add CFI directives.
74989         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74990         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
74991         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
74992         Likewise.
74994         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
74995         __fortify_fail returning.
74996         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74998         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
74999         sysdeps/sh/____longjmp_chk.S.
75000         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
75001         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
75002         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
75003         (gen-as-const-headers): Append sigaltstack-offsets.sym.
75005         * sysdeps/sh/abort-instr.h: New file.
75006         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
75007         process in case exit returns.
75009         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
75010         initialize the GOT register before use.
75012         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
75013         calculation of ARGC > 4.
75015         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
75016         meaningful names to some local labels.
75018 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75019             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75021         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
75022         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
75023         (__arch_compare_and_exchange_val_16_acq): Likewise.
75024         (__arch_compare_and_exchange_val_32_acq): Likewise.
75025         (atomic_exchange_and_add): Fix gUSA sequence.
75026         (atomic_add): Likewise.
75027         (atomic_add_negative): Likewise.
75028         (atomic_add_zero): Likewise.
75029         (atomic_bit_test_set): Likewise.
75031 2012-06-22  Andreas Schwab  <schwab@redhat.com>
75033         [BZ #13579]
75034         * include/link.h (struct link_map): Add l_free_initfini.
75035         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
75036         l_initfini.
75037         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
75038         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
75039         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
75040         set.
75042 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
75044         * configure.in: Use AC_LANG_SOURCE.
75045         * configure: Regenerate.
75047 2012-06-22  Roland McGrath  <roland@hack.frob.com>
75049         * configure.in (libc_cv_localstatedir): New substituted variable.
75050         * configure: Regenerated.
75051         * config.make.in (localstatedir): New variable, substituted from
75052         libc_cv_localstatedir.
75053         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
75054         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
75055         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
75056         * sysdeps/gnu/configure: Regenerated.
75058 2012-06-21  Jeff Law  <law@redhat.com>
75060         [BZ #14277]
75061         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
75062         free.  Simplify list management for _LIBC case.
75064 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
75066         [BZ #14273]
75067         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
75068         Clear sign bit of 64-bit integer value before comparing against
75069         overflow value.
75071         * sysdeps/mach/configure: Regenerated.
75073 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
75075         [BZ #14278]
75076         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
75078 2012-06-21  Jeff Law  <law@redhat.com>
75080         [BZ #13882]
75081         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
75082         uint16_t for elements in the "seen" array to avoid char overflows.
75083         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75084         * elf/dl-open.c (dl_open_worker): Likewise.
75086 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
75088         * scripts/list-sources.sh: Scan PORTS for translations.
75089         * po/libc.pot: Regenerated.
75091 2012-06-21  Andreas Jaeger  <aj@suse.de>
75093         [BZ #12194]
75094         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
75095         warning.
75096         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
75097         * bits/byteswap-16.h (__bswap_16): Likewise.
75098         * bits/byteswap.h (__bswap_constant_16): Likewise.
75100 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
75102         [BZ #14117]
75103         * sysdeps/i386/fpu_control.h: Removed.
75104         * sysdeps/x86_64/fpu_control.h: Moved to ...
75105         * sysdeps/x86/fpu_control.h: Here.
75107         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
75108         (_FPU_SETCW): Likewise.
75110 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
75112         [BZ #14117]
75113         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
75114         * sysdeps/x86/fpu/bits/mathinline.h: This.
75115         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
75117         [BZ #14050]
75118         [BZ #14117]
75119         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
75120         functions if __x86_64__ is defined.
75122 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
75124         * string/endian.h: Add !__ASSEMBLER__ condition for including
75125         conversion interfaces.
75127 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
75129         [BZ #14241]
75130         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
75131         of ABS(x) in calculating zero to negative powers other than odd
75132         integers.
75133         * math/libm-test.inc (pow_test): Add more tests.
75135 2012-06-15  Andreas Jaeger  <aj@suse.de>
75137         * manual/contrib.texi (Contributors): Update entry of Liubov
75138         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
75139         Machado Filho.
75141 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
75143         * string/string.h: Add __wur to GNU version of strerror_r.
75145 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
75147         [BZ #14229]
75148         * string/Makefile (tests): Add tst-strtok_r.
75149         * string/tst-strtok_r.c: New file.
75150         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
75151         RAX_LP/RDX_LP on SAVE_PTR.
75153 2012-06-14  Roland McGrath  <roland@hack.frob.com>
75155         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
75157 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
75159         * libm_test.inc (csqrt_test): Allow more spurious underflow
75160         exceptions.
75161         (j0_test): Likewise.
75162         (j1_test): Likewise.
75163         (y0_test): Likewise.
75164         (y1_test): Likewise.
75166 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
75168         * po/Makefile (libc.pot): Use UTF-8 charset.
75170 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
75172         [BZ #14210]
75173         Suppress sign-conversion warning from FD_SET.
75174         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
75175         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
75176         not unsigned long int.
75177         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
75179 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
75181         [BZ #14050]
75182         [BZ #14117]
75183         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
75184         __extern_always_inline instead of __extern_inline.
75185         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
75186         (__signbit): Likewise.
75187         (__signbitl): Support C++ namespace.
75188         (lrintf): New inline function.
75189         (lrint): Likewise.
75190         (llrintf): Likewise.
75191         (llrint): Likewise.
75192         (fmaxf): Likewise.
75193         (fmax): Likewise.
75194         (fminf): Likewise.
75195         (fmin): Likewise.
75196         (rint): Likewise.
75197         (rintf): Likewise.
75198         (ceil): Likewise.
75199         (ceilf): Likewise.
75200         (floor): Likewise.
75201         (floorf): Likewise.
75202         (nearbyint): Likewise.
75203         (nearbyintf): Likewise.
75205 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
75207         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
75208         non-default versions.
75210 2012-06-11  Roland McGrath  <roland@hack.frob.com>
75212         [BZ #14218]
75213         * manual/argp.texi (Argp): Reword argp_parse description slightly.
75215 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
75217         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
75218         (FE_UPWARD, FE_DOWNWARD): Don't define.
75219         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
75220         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75222         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
75223         reading it.
75224         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75225         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75227 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75229         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
75231         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
75232         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
75234 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
75236         [BZ #14117]
75237         * sysdeps/i386/fpu/bits/fenv.h: Removed.
75238         * sysdeps/i386/fpu/Implies: New file.
75239         * sysdeps/x86_64/fpu/Implies: Likewise.
75240         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
75241         * sysdeps/x86/fpu/bits/fenv.h: This.
75243         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
75244         __SSE_MATH__.
75246 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
75248         [BZ #14134]
75249         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
75250         character 0xffff that matches the last element of the
75251         conversion table.
75253 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75255         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
75256         fmodl commit.
75258 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75260         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
75261         values higher than 25.6283.
75263 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75265         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
75266         subnormal exponent extraction and add some __builtin_expect.
75267         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
75268         Fix for subnormal mantissa calculation.
75270 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
75272         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
75273         cpu2 is -1 and errno is not ENOSYS.
75275 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
75277         [BZ #14117]
75278         * sysdeps/i386/i486/bits/string.h: Renamed to ...
75279         * sysdeps/x86/bits/string.h: This.
75280         * sysdeps/x86_64/bits/string.h: Removed.
75282         * sysdeps/i386/i486/bits/string.h: Define inline functions only
75283         if not compiling for x86-64, but compiling for >= i486.
75285         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
75286         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
75288         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
75289         New macro from Linux kernel 3.4.0.
75290         (FP_XSTATE_MAGIC2): Likewise.
75291         (FP_XSTATE_MAGIC2_SIZE): Likewise.
75292         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
75293         (struct _fpx_sw_bytes): New struct.
75294         (struct _xsave_hdr): Likewise.
75295         (struct _ymmh_state): Likewise.
75296         (struct _xstate): Likewise.
75298         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
75299         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
75300         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
75301         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
75302         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
75303         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
75305         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
75306         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
75307         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
75308         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
75309         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
75310         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
75312 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75314         [BZ #13743]
75315         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
75316         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
75317         (sysdep_headers): Include sys/platform/ppc.h.
75318         * sysdeps/powerpc/test-gettimebase.c: Test for
75319         __ppc_get_timebase() to catch future ISA opcode/insn changes.
75320         * manual/Makefile (appendices): Include platform.texi.
75321         * manual/contrib.texi (Contributors): Update @node pointers.
75322         * manual/maint.texi (Maintenance): Likewise.
75323         (Platform): New node.
75324         * manual/platform.texi: New file.  Document the new features.
75326 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
75327             Jakub Jelinek  <jakub@redhat.com>
75329         [BZ #14188]
75330         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
75331         where __builtin_expect is unavailable.
75333 2012-06-03  David S. Miller  <davem@davemloft.net>
75335         * stdlib/longlong.h: Updated from GCC.
75337 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
75339         [BZ #14042]
75340         * sysdeps/powerpc/powerpc32/mcount.c: New file.
75341         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
75342         __mcount_internal.
75343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75344         (GLIBC_2.16): Likewise.
75346 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75348         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
75350 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
75353         (default-abi): New variable.
75354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
75355         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
75356         variable.
75357         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
75358         Likewise.
75359         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
75360         Likewise.
75361         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
75362         Likewise.
75364         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
75365         definition.  Document in comment.
75367 2012-06-01  David S. Miller  <davem@davemloft.net>
75369         * stdlib/longlong.h: Updated from GCC.
75371 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75373         [BZ #14117]
75374         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
75375         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
75376         sys/debugreg.h sys/io.h here.
75377         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
75378         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
75379         sys/io.h.
75380         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
75381         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
75382         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
75383         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
75384         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
75385         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
75387         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
75388         Define only if __x86_64__ is defined.
75390 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75392         [BZ #14048]
75393         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
75394         Use int64_t for variable i.
75395         * math/libm-test.inc (fmod_test): Add more tests.
75397         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
75398         z computation is not scheduled after fetestexcept.
75399         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
75400         Use math_force_eval instead of asm to ensure calculation scheduled
75401         before exception test.
75402         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
75403         Ensure a1 + u.d computation is not scheduled after fetestexcept.
75405 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
75407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
75408         computation is not scheduled after fetestexcept.
75410 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75412         [BZ #14117]
75413         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
75414         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
75416 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75418         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
75419         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75421 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
75423         [BZ #14117]
75424         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
75425         <bits/wordsize.h>.
75426         (__WCHAR_MIN): Support __WORDSIZE == 64.
75427         (__WCHAR_MAX): Likewise.
75429         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
75430         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
75432         [BZ #14183]
75433         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
75434         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
75436         [BZ #14117]
75437         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
75438         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
75440         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
75441         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
75443         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
75444         Defined to 1 if __x86_64__ isn't defined.
75445         (_STAT_VER_LINUX_OLD): New.
75446         (st_atime): Remove duplicate.
75447         (st_mtime): Likewise.
75448         (st_ctime): Likewise.
75450 2012-05-31  David S. Miller  <davem@davemloft.net>
75452         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
75453         entries.
75455 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
75457         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
75458         gen-libm-test.pl.
75460         [BZ #14132]
75461         * elf/dl-reloc.c: Include <_itoa.h>.
75462         (_dl_reloc_bad_type): Remove use of INTUSE.
75463         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
75464         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
75465         * stdio-common/psiginfo.c (psiginfo): Likewise.
75466         * stdio-common/psignal.c (psignal): Likewise.
75467         * string/strsignal.c (strsignal): Likewise.
75468         * include/signal.h (_sys_siglist): Declare hidden proto.
75469         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
75470         INTVARDEF with libc_hidden_data_def.
75471         * stdio-common/itoa-udigits.c: Likewise.
75472         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
75473         (_itoa_lower_digits_internal): Remove declaration.
75474         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
75475         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
75476         (_sys_sigabbrev_internal): Remove aliases.
75477         (_sys_siglist): Define hidden alias.
75479 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
75481         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75482         bits/sysctl.h.
75484 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
75486         [BZ #14117]
75487         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
75488         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
75490         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
75491         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
75492         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
75493         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
75494         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
75495         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
75497         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
75498         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
75499         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
75501         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
75502         with __addr.
75503         (insw): Likewise.
75504         (insl): Likewise.
75505         (outsb): Likewise.
75506         (outsw): Likewise.
75507         (outsl): Likewise.
75509         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
75510         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
75511         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
75513         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
75514         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
75515         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
75516         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
75517         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
75518         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
75520         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
75521         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
75523         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
75524         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
75526         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
75527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
75528         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
75530         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
75531         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
75532         to ...
75533         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
75535         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
75536         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
75537         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
75539         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
75540         for x86-64.
75541         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
75543 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
75545         * math/math.h (M_El): Use two more decimal places.
75546         (M_LOG2El): Likewise.
75547         (M_LOG10El): Likewise.
75548         (M_LN2l): Likewise.
75549         (M_LN10l): Likewise.
75550         (M_PIl): Likewise.
75551         (M_PI_2l): Likewise.
75552         (M_PI_4l): Likewise.
75553         (M_1_PIl): Likewise.
75554         (M_2_PIl): Likewise.
75555         (M_2_SQRTPIl): Likewise.
75556         (M_SQRT2l): Likewise.
75557         (M_SQRT1_2l): Likewise.
75559 2012-05-31  David S. Miller  <davem@davemloft.net>
75561         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
75562         values between float registers.
75563         * sysdeps/sparc/sparc64/memset.S: Likewise.
75564         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
75566 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
75568         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
75569         -D_FORTIFY_SOURCE=1.
75570         (CPPFLAGS-tst-longjmp_chk.c): Define.
75571         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
75572         (CPPFLAGS-tst-longjmp_chk2.c): Define.
75573         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
75574         CFLAGS-tst-wchar-h.c.
75576 2012-05-31  Marek Polacek  <polacek@redhat.com>
75578         [BZ #14132]
75579         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
75580         __endmntent_internal): Remove declaration.
75581         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
75582         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
75583         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
75585 2012-05-30  David S. Miller  <davem@davemloft.net>
75587         * sysdeps/sparc/sparc32/soft-fp/q_util.c
75588         (___Q_simulate_exceptions): Use real FP ops rather than writing
75589         into the %fsr.
75590         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
75591         Likewise.
75593 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75595         [BZ #14117]
75596         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
75597         * sysdeps/x86/bits/xtitypes.h: This.
75599         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
75600         * sysdeps/x86/bits/wordsize.h: This.
75602         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
75603         * sysdeps/x86/bits/huge_vall.h: This.
75605         * sysdeps/i386/bits/select.h: Removed.
75606         * sysdeps/x86_64/bits/select.h: Renamed to ...
75607         * sysdeps/x86/bits/select.h: This.
75609         * sysdeps/i386/bits/setjmp.h: Removed.
75610         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
75611         * sysdeps/x86/bits/setjmp.h: This.
75613         * sysdeps/i386/bits/mathdef.h: Removed.
75614         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
75615         * sysdeps/x86/bits/mathdef.h: This.
75617 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
75619         [BZ #14132]
75620         * include/sys/socket.h (__connect_internal)
75621         (__libc_sa_len_internal): Remove declaration.
75622         (__connect, __libc_sa_len): Declare hidden_proto.
75623         (SA_LEN): Remove use of INTUSE.
75624         * socket/connect.c: Add libc_hidden_def.
75625         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
75626         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
75627         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
75628         alias.
75629         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
75630         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
75631         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
75632         of adding _internal alias.
75634 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75636         [BZ #14117]
75637         * sysdeps/i386/bits/link.h: Removed.
75638         * sysdeps/i386/bits/linkmap.h: Likewise.
75639         * sysdeps/x86_64/bits/link.h: Renamed to ...
75640         * sysdeps/x86/bits/link.h: This.
75641         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
75642         * sysdeps/x86/bits/linkmap.h: This.
75644         * sysdeps/i386/bits/endian.h: Removed.
75645         * sysdeps/x86_64/bits/endian.h: Renamed to ...
75646         * sysdeps/x86/bits/endian.h: This.
75648         * sysdeps/i386/bits/byteswap.h: Removed.
75649         * sysdeps/i386/bits/byteswap-16.h: Likewise.
75650         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
75651         * sysdeps/x86/bits/byteswap.h: This.
75652         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
75653         * sysdeps/x86/bits/byteswap-16.h: This.
75654         * sysdeps/i386/Implies: Add x86.
75655         * sysdeps/x86_64/Implies: Likewise.
75657 2012-05-30  David S. Miller  <davem@davemloft.net>
75659         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
75660         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
75661         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
75662         (FP_TRAPPING_EXCEPTIONS): Define.
75663         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
75664         (FP_TRAPPING_EXCEPTIONS): Define.
75665         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
75666         subnormals only when inexact has been signalled or underflow
75667         exceptions are enabled.
75668         (_FP_PACK_CANONICAL): Likewise.
75670 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75672         [BZ #14183]
75673         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
75674         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
75676 2012-05-30  Richard Henderson  <rth@twiddle.net>
75678         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
75679         with #ifndef NOT_IN_libc.
75681         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
75682         marked to avoid plt entry.
75684 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75686         [BZ #14112]
75687         * Makeconfig (default-abi): New macro.
75688         (abi-includes): Likewise.
75689         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
75690         $(abi-$(default-abi)-lib-soname) for soname if defined.
75691         ($(common-objpfx)gnu/lib-names.stmp): Generate from
75692         abi-variants.
75693         * Makefile (installed-stubs): Likewise.
75694         * include/stubs-biarch.h: Removed.
75695         * scripts/lib-names.awk: Only handle one library at a time.
75696         * scripts/soversions.awk: Remove WORDSIZE support.
75697         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
75698         entries.
75699         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
75700         Removed.
75701         (syscall-list-default-condition): Likewise.
75702         (syscall-list-default-condition): Likewise.
75703         (syscall-list-includes): Likewise.
75704         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
75705         syscall-list-* with abi-*.  Handle undefined abi-variants.
75706         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
75707         * sysdeps/unix/sysv/linux/i386/Implies: New file.
75708         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
75709         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
75710         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
75711         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
75712         Removed.
75713         (syscall-list-32-options): Likewise.
75714         (syscall-list-32-condition): Likewise.
75715         (syscall-list-64-options): Likewise.
75716         (syscall-list-64-condition): Likewise.
75717         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
75718         macro.
75719         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
75720         Renamed to ...
75721         (abi-*): This.
75722         (abi-64-ld-soname): New macro.
75723         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
75724         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
75725         Renamed to ...
75726         (abi-*): This.
75727         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
75728         * sysdeps/x86_64/x32/shlib-versions: Likewise.
75730 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
75732         * sysdeps/unix/sysv/linux/kernel-features.h
75733         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
75734         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
75735         include <kernel-features.h>.
75736         [!__NR_ftruncate64]: Remove conditional code.
75737         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75738         [__NR_ftruncate64]: Make code unconditional.
75739         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75740         * sysdeps/unix/sysv/linux/truncate64.c: Do not
75741         include <kernel-features.h>.
75742         [!__NR_ftruncate64]: Remove conditional code.
75743         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75744         [__NR_ftruncate64]: Make code unconditional.
75745         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
75747         include <kernel-features.h>.
75748         [!__NR_ftruncate64]: Remove conditional code.
75749         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75750         [__NR_ftruncate64]: Make code unconditional.
75751         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
75753         include <kernel-features.h>.
75754         [!__NR_ftruncate64]: Remove conditional code.
75755         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75756         [__NR_ftruncate64]: Make code unconditional.
75757         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75759         * configure.in (libc_cv_fpie): Weaken to a compile test using
75760         LIBC_TRY_CC_OPTION.
75761         * configure: Regenerated.
75763 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
75766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
75767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
75768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75769         Refreshed.
75770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
75771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
75772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
75773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
75774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
75775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75776         Refreshed.
75778 2012-05-27  David S. Miller  <davem@davemloft.net>
75780         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
75781         (___Q_zero): New.
75782         (__Q_simulate_exceptions): Return void.  Change to simulate
75783         exceptions by writing into the %fsr.
75784         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
75785         (__Qp_handle_exceptions): Likewise.
75786         (numbers): Delete.
75787         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
75788         __Qp_handle_exceptions.
75789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
75790         __Qp_handle_exceptions.
75791         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75792         as unused and give dummy FP_RND_NEAREST initializer.
75793         (FP_INHIBIT_RESULTS): Define.
75794         (___Q_simulate_exceptions): Update declaration.
75795         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
75796         formatting.
75797         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75798         as unused and give dummy FP_RND_NEAREST initializer.
75799         (__Qp_handle_exceptions): Update declaration.
75800         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
75801         formatting.
75803 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
75805         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
75806         the temporary FPU control word.
75807         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
75808         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
75809         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
75810         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75811         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
75812         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
75813         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
75814         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75815         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
75816         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
75817         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75819 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75821         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
75822         fields.
75824 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
75826         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
75827         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
75828         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
75829         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
75830         Likewise.
75831         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
75832         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
75833         Likewise.
75835 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
75837         * po/h.po: Update from translation team.
75839 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
75841         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
75843         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
75844         handling of denormals.
75845         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75846         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
75847         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75848         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
75851         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
75852         Likewise.
75854 2012-05-26  Marek Polacek  <polacek@redhat.com>
75856         [BZ #14152]
75857         * math/libm-test.inc (fma_test): Don't always expect underflow
75858         exception.
75860 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75862         [BZ #12416]
75863         * elf/tst-execstack.c: Include stackinfo.h.
75864         (do_test): Adjust test case to ensure that pthread_getattr_np
75865         behaviour remains the same after marking stack executable.
75867 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75869         * sysdeps/unix/sysv/linux/kernel-features.h
75870         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
75871         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
75872         kernel-features.h.
75873         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75874         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75875         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
75876         kernel-features.h.
75877         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75878         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75880 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
75882         * configure.in: Define the default includes to being none.
75883         * configure: Regenerated.
75885 2012-05-25  Roland McGrath  <roland@hack.frob.com>
75887         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
75888         * sysdeps/x86_64/setjmp.S: Likewise.
75889         * sysdeps/i386/bsd-setjmp.S: Likewise.
75890         * sysdeps/i386/bsd-_setjmp.S: Likewise.
75891         * sysdeps/i386/setjmp.S: Likewise.
75892         * sysdeps/i386/__longjmp.S: Likewise.
75893         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75894         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
75896         * include/stap-probe.h: New file.
75897         * configure.in: Handle --enable-systemtap.
75898         * configure: Regenerated.
75899         * config.h.in (USE_STAP_PROBE): New #undef.
75900         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
75901         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
75902         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
75904 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75906         [BZ #13717]
75907         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75908         to 2.4.0 where earlier.
75909         * sysdeps/unix/sysv/linux/configure: Regenerated.
75910         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
75911         <kernel-features.h>.
75912         [__ASSUME_32BITUIDS]: Make code unconditional.
75913         [!__ASSUME_32BITUIDS]: Remove conditional code.
75914         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75915         <kernel-features.h>.
75916         [__ASSUME_32BITUIDS]: Make code unconditional.
75917         [!__ASSUME_32BITUIDS]: Remove conditional code.
75918         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
75919         [__ASSUME_32BITUIDS]: Make code unconditional.
75920         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
75921         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
75922         <kernel-features.h>.
75923         [__ASSUME_32BITUIDS]: Make code unconditional.
75924         [!__ASSUME_32BITUIDS]: Remove conditional code.
75925         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
75926         <kernel-features.h>.
75927         [__ASSUME_32BITUIDS]: Make code unconditional.
75928         [!__ASSUME_32BITUIDS]: Remove conditional code.
75929         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
75930         <kernel-features.h>.
75931         [__ASSUME_32BITUIDS]: Make code unconditional.
75932         [!__ASSUME_32BITUIDS]: Remove conditional code.
75933         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
75934         <kernel-features.h>.
75935         [__ASSUME_32BITUIDS]: Make code unconditional.
75936         [!__ASSUME_32BITUIDS]: Remove conditional code.
75937         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
75938         <kernel-features.h>.
75939         [__ASSUME_32BITUIDS]: Make code unconditional.
75940         [!__ASSUME_32BITUIDS]: Remove conditional code.
75941         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
75942         <kernel-features.h>.
75943         [__ASSUME_32BITUIDS]: Make code unconditional.
75944         [!__ASSUME_32BITUIDS]: Remove conditional code.
75945         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
75946         <kernel-features.h>.
75947         [__ASSUME_32BITUIDS]: Make code unconditional.
75948         [!__ASSUME_32BITUIDS]: Remove conditional code.
75949         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
75950         <kernel-features.h>.
75951         [__ASSUME_32BITUIDS]: Make code unconditional.
75952         [!__ASSUME_32BITUIDS]: Remove conditional code.
75953         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
75954         <kernel-features.h>.
75955         [__ASSUME_32BITUIDS]: Make code unconditional.
75956         [!__ASSUME_32BITUIDS]: Remove conditional code.
75957         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
75958         <kernel-features.h>.
75959         [__ASSUME_32BITUIDS]: Make code unconditional.
75960         [!__ASSUME_32BITUIDS]: Remove conditional code.
75961         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
75962         <kernel-features.h>.
75963         [__NR_setresgid] (__setresgid): Do not declare.
75964         [__ASSUME_32BITUIDS]: Make code unconditional.
75965         [!__ASSUME_32BITUIDS]: Remove conditional code.
75966         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
75967         <kernel-features.h>.
75968         [__NR_setresuid] (__setresuid): Do not declare.
75969         [__ASSUME_32BITUIDS]: Make code unconditional.
75970         [!__ASSUME_32BITUIDS]: Remove conditional code.
75971         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
75972         <kernel-features.h>.
75973         [__ASSUME_32BITUIDS]: Make code unconditional.
75974         [!__ASSUME_32BITUIDS]: Remove conditional code.
75975         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
75976         <kernel-features.h>.
75977         [__ASSUME_32BITUIDS]: Make code unconditional.
75978         [!__ASSUME_32BITUIDS]: Remove conditional code.
75979         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
75980         <kernel-features.h>.
75981         [__ASSUME_32BITUIDS]: Make code unconditional.
75982         [!__ASSUME_32BITUIDS]: Remove conditional code.
75983         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
75984         <kernel-features.h>.
75985         [__ASSUME_32BITUIDS]: Make code unconditional.
75986         [!__ASSUME_32BITUIDS]: Remove conditional code.
75987         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
75988         <kernel-features.h>.
75989         [__ASSUME_32BITUIDS]: Make code unconditional.
75990         [!__ASSUME_32BITUIDS]: Remove conditional code.
75991         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
75992         <kernel-features.h>.
75993         [__ASSUME_32BITUIDS]: Make code unconditional.
75994         [!__ASSUME_32BITUIDS]: Remove conditional code.
75995         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
75996         <kernel-features.h>.
75997         [__ASSUME_32BITUIDS]: Make code unconditional.
75998         [!__ASSUME_32BITUIDS]: Remove conditional code.
75999         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
76000         <kernel-features.h>.
76001         [__ASSUME_32BITUIDS]: Make code unconditional.
76002         [!__ASSUME_32BITUIDS]: Remove conditional code.
76003         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
76004         <kernel-features.h>.
76005         [__ASSUME_32BITUIDS]: Make code unconditional.
76006         [!__ASSUME_32BITUIDS]: Remove conditional code.
76007         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
76008         <kernel-features.h>.
76009         [__ASSUME_32BITUIDS]: Make code unconditional.
76010         [!__ASSUME_32BITUIDS]: Remove conditional code.
76011         * sysdeps/unix/sysv/linux/kernel-features.h
76012         (__ASSUME_SETRESUID_SYSCALL): Remove.
76013         (__ASSUME_SETRESGID_SYSCALL): Likewise.
76014         (__ASSUME_32BITUIDS): Likewise.
76015         (__ASSUME_LDT_WORKS): Likewise.
76016         (__ASSUME_O_DIRECTORY): Likewise.
76017         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
76018         architecture but not kernel version.
76019         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
76020         (__ASSUME_MMAP2_SYSCALL): Likewise.
76021         (__ASSUME_STAT64_SYSCALL): Likewise.
76022         (__ASSUME_IPC64): Likewise.
76023         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
76024         <kernel-features.h>.
76025         [__ASSUME_32BITUIDS]: Make code unconditional.
76026         [!__ASSUME_32BITUIDS]: Remove conditional code.
76027         * sysdeps/unix/sysv/linux/opendir.c: Do not include
76028         <kernel-features.h>.
76029         [__ASSUME_O_DIRECTORY]: Make code unconditional.
76030         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
76031         132096]: Remove conditional code.
76032         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
76033         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
76034         <kernel-features.h>.
76035         [__ASSUME_32BITUIDS]: Make code unconditional.
76036         [!__ASSUME_32BITUIDS]: Remove conditional code.
76037         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
76038         <kernel-features.h>.
76039         [__ASSUME_32BITUIDS]: Make code unconditional.
76040         [!__ASSUME_32BITUIDS]: Remove conditional code.
76041         * sysdeps/unix/sysv/linux/setegid.c: Do not include
76042         <kernel-features.h>.
76043         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
76044         unconditional.
76045         (__setresgid): Do not declare.
76046         [__ASSUME_32BITUIDS]: Make code unconditional.
76047         [!__ASSUME_32BITUIDS]: Remove conditional code.
76048         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
76049         <kernel-features.h>.
76050         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
76051         unconditional.
76052         (__setresuid): Do not declare.
76053         [__ASSUME_32BITUIDS]: Make code unconditional.
76054         [!__ASSUME_32BITUIDS]: Remove conditional code.
76055         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
76056         <kernel-features.h>.
76057         [__ASSUME_32BITUIDS]: Make code unconditional.
76058         [!__ASSUME_32BITUIDS]: Remove conditional code.
76059         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
76060         <kernel-features.h>.
76061         [__ASSUME_32BITUIDS]: Make code unconditional.
76062         [!__ASSUME_32BITUIDS]: Remove conditional code.
76064 2012-05-25  Richard Henderson  <rth@twiddle.net>
76066         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
76067         dl_hwcap to ifunc resolver.
76068         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
76069         elf_ifunc_invoke.
76070         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
76071         dl_hwcap to ifunc resolver.
76072         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
76074 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76076         [BZ #14153]
76077         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
76078         for |x| <= 2**-26, not 2**-57.
76079         * math/libm-test.inc (acos_test): Do not allow spurious underflow
76080         exception.
76082 2012-05-24  Jeff Law  <law@redhat.com>
76084         * stdio-common/Makefile (tests): Add bug25.
76085         * stdio-common/bug25.c: New test.
76087 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76089         [BZ #13576]
76090         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
76091         multiple of MALLOC_ALIGNMENT in size.
76092         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
76094 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76096         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
76097         Require >= 256.
76098         (FILENAME_MAX): Use macro-int-constant.
76099         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
76100         (_IOFBF): Use macro-int-constant.
76101         (_IOLBF): Likewise.
76102         (_IONBF): Likewise.
76103         (SEEK_CUR): Likewise.
76104         (SEEK_END): Likewise.
76105         (SEEK_SET): Likewise.
76106         (TMP_MAX): Likewise.
76107         (EOF): Use macro-int-constant.  Require < 0.
76108         (NULL): Use macro-constant.  Require == 0.
76109         (stdin): Require type to be FILE *.
76110         (stdout): Likewise.
76111         (stderr): Likewise.
76112         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
76113         macro-int-constant.
76114         (EXIT_SUCCESS): Likewise.
76115         (NULL): Use macro-constant.  Require == 0.
76116         (RAND_MAX): Use macro-int-constant.
76117         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
76118         [C99-based standards] (strtof): Require function.
76119         [C99-based standards] (strtold): Likewise.
76120         [C99-based standards] (strtoll): Likewise.
76121         [C99-based standards] (strtoull): Likewise.
76122         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76123         [ISO || ISO99 || ISO11] (limits.h): Likewise.
76124         [ISO || ISO99 || ISO11] (math.h): Likewise.
76125         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
76126         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76127         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76129 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
76131         [BZ #14132]
76132         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
76133         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
76134         * intl/dgettext.c (DCGETTEXT): Likewise.
76135         * intl/gettext.c (DCGETTEXT): Likewise.
76136         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
76137         * posix/regex_internal.h (gettext): Likewise.
76138         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
76139         Remove declaration.
76140         * include/argz.h (__argz_count_internal)
76141         (__argz_stringify_internal): Remove declaration.
76142         (__argz_count, __argz_stringify): Declare hidden proto.
76143         * intl/dcgettext.c: Remove use of INTDEF.
76144         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
76145         * string/argz-stringify.c: Likewise.
76146         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76147         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76148         Declare hidden proto.
76149         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76150         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76151         Declare hidden proto.
76152         * include/stdio.h (__asprintf_internal): Don't declare.
76153         (__asprintf): Don't define as macro.  Declare hidden proto.
76154         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
76155         (__fsetlocking): Declare hidden proto.
76156         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
76157         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
76158         hidden proto.
76159         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
76160         (_IO_setlinebuf): Remove use of INTUSE.
76161         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
76162         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
76163         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
76164         Remove declaration.
76165         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
76166         (_IO_do_flush): Remove use of INTUSE.
76167         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
76168         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
76169         (_IO_adjust_column, _IO_least_wmarker)
76170         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
76171         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
76172         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
76173         (_IO_default_doallocate, _IO_wdefault_doallocate)
76174         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
76175         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
76176         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
76177         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
76178         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
76179         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
76180         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
76181         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
76182         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
76183         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
76184         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
76185         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
76186         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
76187         proto.
76188         (_IO_flush_all_internal, _IO_adjust_column_internal)
76189         (_IO_default_uflow_internal, _IO_default_finish_internal)
76190         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
76191         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
76192         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
76193         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
76194         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
76195         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
76196         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
76197         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
76198         (_IO_file_close_internal, _IO_file_close_it_internal)
76199         (_IO_file_underflow_internal, _IO_file_overflow_internal)
76200         (_IO_file_init_internal, _IO_file_attach_internal)
76201         (_IO_file_fopen_internal, _IO_file_read_internal)
76202         (_IO_file_sync_internal, _IO_file_seek_internal)
76203         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
76204         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
76205         (_IO_str_underflow_internal, _IO_str_overflow_internal)
76206         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
76207         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
76208         (_IO_list_all_internal, _IO_link_in_internal)
76209         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
76210         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
76211         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
76212         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
76213         (_IO_do_write_internal, _IO_padn_internal)
76214         (_IO_getline_info_internal, _IO_getline_internal)
76215         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
76216         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
76217         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
76218         (_IO_vfscanf_internal, _IO_vfprintf_internal)
76219         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
76220         (_IO_init_internal, _IO_un_link_internal): Don't declare.
76221         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
76222         with libc_hidden_ver, remove use of INTUSE.
76223         * libio/genops.c: Likewise.
76224         * libio/freopen.c: Likewise.
76225         * libio/freopen64.c: Likewise.
76226         * libio/iofclose.c: Likewise.
76227         * libio/iofdopen.c: Likewise.
76228         * libio/iofflush.c: Likewise.
76229         * libio/iofflush_u.c: Likewise.
76230         * libio/iofgets.c: Likewise.
76231         * libio/iofgets_u.c: Likewise.
76232         * libio/iofopen.c: Likewise.
76233         * libio/iofopncook.c: Likewise.
76234         * libio/iofread.c: Likewise.
76235         * libio/iofread_u.c: Likewise.
76236         * libio/ioftell.c: Likewise.
76237         * libio/iofwrite.c: Likewise.
76238         * libio/iogetline.c: Likewise.
76239         * libio/iogets.c: Likewise.
76240         * libio/iogetwline.c: Likewise.
76241         * libio/iopadn.c: Likewise.
76242         * libio/iopopen.c: Likewise.
76243         * libio/ioseekoff.c: Likewise.
76244         * libio/ioseekpos.c: Likewise.
76245         * libio/iosetbuffer.c: Likewise.
76246         * libio/iosetvbuf.c: Likewise.
76247         * libio/ioungetc.c: Likewise.
76248         * libio/ioungetwc.c: Likewise.
76249         * libio/iovdprintf.c: Likewise.
76250         * libio/iovsprintf.c: Likewise.
76251         * libio/iovsscanf.c: Likewise.
76252         * libio/memstream.c: Likewise.
76253         * libio/obprintf.c: Likewise.
76254         * libio/oldfileops.c: Likewise.
76255         * libio/oldiofclose.c: Likewise.
76256         * libio/oldiofdopen.c: Likewise.
76257         * libio/oldiofopen.c: Likewise.
76258         * libio/oldiopopen.c: Likewise.
76259         * libio/oldstdfiles.c: Likewise.
76260         * libio/putc.c: Likewise.
76261         * libio/setbuf.c: Likewise.
76262         * libio/setlinebuf.c: Likewise.
76263         * libio/stdfiles.c: Likewise.
76264         * libio/strops.c: Likewise.
76265         * libio/vasprintf.c: Likewise.
76266         * libio/vscanf.c: Likewise.
76267         * libio/vsnprintf.c: Likewise.
76268         * libio/vswprintf.c: Likewise.
76269         * libio/wfiledoalloc.c: Likewise.
76270         * libio/wfileops.c: Likewise.
76271         * libio/wgenops.c: Likewise.
76272         * libio/wmemstream.c: Likewise.
76273         * libio/wstrops.c: Likewise.
76274         * libio/__fpurge.c: Likewise.
76275         * libio/__fsetlocking.c: Likewise.
76276         * assert/assert.c: Likewise.
76277         * debug/fgets_chk.c: Likewise.
76278         * debug/fgets_u_chk.c: Likewise.
76279         * debug/fread_chk.c: Likewise.
76280         * debug/fread_u_chk.c: Likewise.
76281         * debug/gets_chk.c: Likewise.
76282         * debug/obprintf_chk.c: Likewise.
76283         * debug/vasprintf_chk.c: Likewise.
76284         * debug/vdprintf_chk.c: Likewise.
76285         * debug/vsnprintf_chk.c: Likewise.
76286         * debug/vsprintf_chk.c: Likewise.
76287         * malloc/mtrace.c: Likewise.
76288         * misc/error.c: Likewise.
76289         * misc/syslog.c: Likewise.
76290         * stdio-common/asprintf.c: Likewise.
76291         * stdio-common/fxprintf.c: Likewise.
76292         * stdio-common/getw.c: Likewise.
76293         * stdio-common/isoc99_fscanf.c: Likewise.
76294         * stdio-common/isoc99_scanf.c: Likewise.
76295         * stdio-common/isoc99_vfscanf.c: Likewise.
76296         * stdio-common/isoc99_vscanf.c: Likewise.
76297         * stdio-common/isoc99_vsscanf.c: Likewise.
76298         * stdio-common/printf-prs.c: Likewise.
76299         * stdio-common/printf_fp.c: Likewise.
76300         * stdio-common/printf_fphex.c: Likewise.
76301         * stdio-common/printf_size.c: Likewise.
76302         * stdio-common/putw.c: Likewise.
76303         * stdio-common/scanf.c: Likewise.
76304         * stdio-common/sprintf.c: Likewise.
76305         * stdio-common/tmpfile.c: Likewise.
76306         * stdio-common/vfprintf.c: Likewise.
76307         * stdio-common/vfscanf.c: Likewise.
76308         * stdlib/strfmon_l.c: Likewise.
76309         * sunrpc/openchild.c: Likewise.
76310         * sunrpc/xdr_stdio.c: Likewise.
76311         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
76312         * sysdeps/mach/hurd/tmpfile.c: Likewise.
76314 2012-05-24  Roland McGrath  <roland@hack.frob.com>
76316         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76318         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
76319         in the third column, to generate for the shared library an IFUNC
76320         that uses _dl_vdso_vsym.
76321         * Makerules (COMPILE.c, compile-stdin.c): New variables.
76322         * Makeconfig (object-suffixes-noshared): New variable.
76324         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
76325         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
76326         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
76327         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
76329         [BZ #14132]
76330         * include/sys/time.h (__gettimeofday): Remove macro.
76331         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
76332         * time/gettimeofday.c (__gettimeofday): Remove #undef.
76333         Remove INTDEF.
76334         (__gettimeofday): Add libc_hidden_def.
76335         (gettimeofday): Add libc_hidden_weak.
76336         * sysdeps/mach/gettimeofday.c: Likewise.
76337         * sysdeps/posix/gettimeofday.c: Likewise.
76338         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
76339         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
76340         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
76341         (__gettimeofday_internal): Remove strong_alias.
76342         (__gettimeofday): Add libc_hidden_def.
76343         (gettimeofday): Add libc_hidden_weak.
76344         * sysdeps/unix/syscalls.list (gettimeofday):
76345         Remove __gettimeofday_internal alias.
76347 2012-05-24  Daniel Jacobowitz  <drow@false.org>
76348             H.J. Lu  <hongjiu.lu@intel.com>
76350         [BZ #12495]
76351         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
76352         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
76353         (largebin_index_32_big): New.
76354         (largebin_index): Use it for 16-byte alignment.
76355         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
76356         correction with front_misalign.
76358 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
76361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
76362         Likewise.
76363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
76364         Likewise.
76365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
76366         Likewise.
76367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
76368         Likewise.
76369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
76370         Likewise.
76371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
76372         Likewise.
76373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
76374         Likewise.
76375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
76376         Likewise.
76377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
76378         Likewise.
76379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
76380         Likewise.
76381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
76382         Likewise.
76383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
76384         Likewise.
76386         * scripts/data/c++-types-x32-linux-gnu.data: New file.
76387         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
76389 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76391         [BZ #10846]
76392         [BZ #14036]
76393         * math/libm-test.inc (exp_test): Add test from bug 14036.
76394         (pow_test): Add test from bug 10846.
76396         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
76397         and other flags.
76398         (special_function): Do not include flags in test name.
76399         (parse_args): Likewise.
76400         * sysdeps/i386/fpu/libm-test-ulps: Update.
76401         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76402         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
76403         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
76404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76406         * math/gen-libm-test.pl (%beautify): Add entries for underflow
76407         exceptions.
76408         * math/libm-test.inc ("Philosophy"): Update comment about
76409         exception testing.
76410         (UNDERFLOW_EXCEPTION): New macro.
76411         (UNDERFLOW_EXCEPTION_OK): Likewise.
76412         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
76413         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
76414         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
76415         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
76416         (INVALID_EXCEPTION_OK): Update value.
76417         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76418         (OVERFLOW_EXCEPTION_OK): Likewise.
76419         (IGNORE_ZERO_INF_SIGN): Likewise.
76420         (test_exceptions): Handle underflow exceptions.
76421         (acos_test): Update for underflow exception expectations.
76422         (cexp_test): Likewise.
76423         (clog_test): Likewise.
76424         (clog10_test): Likewise.
76425         (csqrt_test): Likewise.
76426         (ctan_test): Likewise.
76427         (ctanh_test): Likewise.
76428         (exp_test): Likewise.
76429         (exp10_test): Likewise.
76430         (exp2_test): Likewise.
76431         (expm1_test): Likewise.
76432         (fma_test): Likewise.
76433         (j0_test): Likewise.
76434         (jn_test): Likewise.
76435         (nexttoward_test): Likewise.
76436         (pow_test): Likewise.
76437         (scalbn_test): Likewise.
76438         (scalbln_test): Likewise.
76439         (tan_test): Likewise.
76440         (y1_test): Likewise.
76441         * sysdeps/i386/fpu/libm-test-ulps: Update.
76442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76444 2012-05-23  David S. Miller  <davem@davemloft.net>
76446         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76447         (__libc_sigaction): Remove unused local variables.
76449 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76451         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
76453 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
76455         mktime: avoid signed integer overflow
76456         * time/mktime.c (__mktime_internal): Do not mishandle the case
76457         where diff == INT_MIN.
76459         mktime: simplify computation of average
76460         * time/mktime.c (ranged_convert): Use new time_t_avg function
76461         instead of rolling our own (probably-slower) code.
76463         mktime: do not assume signed right shift propagates sign bit
76464         * time/mktime.c (isdst_differ): New static function.
76465         (__mktime_internal): No need to normalize tm_isdst now.
76466         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
76467         tm_isdst values.
76469         mktime: merge another wrapv change from gnulib
76470         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
76471         from some compilers.
76473         mktime: remove incorrect attempt at unusual arithmetics
76474         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
76475         The code didn't really work on such machines anyway.
76476         (TYPE_MINIMUM): Assume two's complement.
76477         (twos_complement_arithmetic): Verify that long_int and time_t
76478         are two's complement (or unsigned, in the latter case).
76480         mktime: check signed shifts on long_int and time_t, too
76481         * time/mktime.c (SHR): Check that shifts work as desired
76482         on the types long_int and time_t too, as SHR is used on
76483         such types.
76485         mktime: do not assume 'long' is wide enough
76486         * time/mktime.c (verify): Move decl up.
76487         (long_int): New type.
76488         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
76489         to remove assumption in the code that 'long' is wide enough to
76490         store year values.  This assumption is not true on x32 and on
76491         some non-glibc platforms.
76493         mktime: merge wrapv change from gnulib
76494         * time/mktime.c (WRAPV): New macro.
76495         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
76496         (guess_time_tm, __mktime_internal): Do not assume that signed
76497         integer overflow wraps around; modern compilers generate code
76498         where this assumption is no longer valid.
76500 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76502         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
76503         Replace "jmp L(pseudo_end)" with "ret".
76504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
76505         Likewise.
76507 2012-05-23  Andreas Jaeger  <aj@suse.de>
76509         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
76510         * sysdeps/unix/sysv/linux/poll.c: Remove file.
76512 2012-05-23  Andreas Jaeger  <aj@suse.de>
76513             Maximilian Attems  <max@stro.at>
76515         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
76516         New macros.
76518 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76520         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
76521         code so that pseudo_end is just ret and the stack pointer is
76522         correct also for static library in error case.
76524 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
76526         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
76527         move to syscalls.list.
76528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
76529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
76530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
76531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
76533         * manual/install.texi (Running make install): Do not mention Linux
76534         kernel version for which pt_chown is not needed.
76535         (Linux): Do not mention problems with nscd with 2.0 kernels.
76536         * INSTALL: Regenerated.
76538 2012-05-23  Andreas Jaeger  <aj@suse.de>
76540         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
76541         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
76542         macro.
76543         * sysdeps/unix/sysv/linux/s390/bits/mman.h
76544         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76545         * sysdeps/unix/sysv/linux/sh/bits/mman.h
76546         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76547         * sysdeps/unix/sysv/linux/i386/bits/mman.h
76548         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76549         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
76550         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76551         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
76552         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
76553         * sysdeps/unix/sysv/linux/bits/in.h
76554         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
76556 2012-05-22  Roland McGrath  <roland@hack.frob.com>
76558         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
76559         (PREPARE_VERSION): Just use assert instead, it will be elided
76560         under [NDEBUG] anyway.
76562 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76564         * sysdeps/unix/sysv/linux/Makefile: Include
76565         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
76566         (sysdep_routines): Remove sysctl.
76567         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
76568         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
76569         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
76570         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
76571         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
76573 2012-05-22  Andreas Jaeger  <aj@suse.de>
76575         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
76576         that pseudo_end is just ret and the stack pointer is correct also
76577         for static library in error case.
76579 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
76581         [BZ #14122]
76582         * nss/nsswitch.c (defconfig_entries): New variable.
76583         (__nss_database_lookup): Don't leak defconfig entries.
76584         (nss_parse_service_list): Don't leak on error paths.
76585         (free_database_entries): New function.
76586         (free_defconfig): New function.
76587         (free_mem): Move common code to free_database_entries.
76589 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76591         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
76592         Add arch_prctl.
76593         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
76595         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
76596         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
76597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
76598         New macro.
76599         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
76600         (INTERNAL_SYSCALL_TYPES): Likewise.
76601         (LOAD_ARGS_TYPES_[1-6]): Likewise.
76602         (LOAD_REGS_TYPES_[1-6]): Likewise.
76603         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
76604         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
76606 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76608         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
76609         copysignl for GLIBC_2_0.
76610         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
76611         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
76612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
76613         logbl for GLIBC_2_0.
76614         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
76615         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
76617 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76619         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
76620         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76622         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
76623         Use "neg %eax".
76625         * time/mktime.c: Update copyright years.
76627 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
76629         mktime: merge comment-quoting-style change from gnulib
76630         * time/mktime.c: Quote 'like this' in comments.
76631         The GNU coding standards suggest that we no longer quote `like this',
76632         as "`" and "'" are typically rendered asymmetrically nowadays.
76633         The typical gnulib style is to quote 'like this' when quoting
76634         code, and "like this" when quoting English.
76636         * time/mktime.c (compile-command): Add "-I.".
76638         mktime: merge mktime-internal.h change from gnulib
76639         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
76641         mktime: merge time_r change from gnulib
76642         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
76644         mktime: merge DEBUG change from gnulib
76645         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
76646         case system <time.h> has a #define.
76648         mktime: merge <sys/types.h> change from gnulib
76649         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
76650         since <time.t> is now guaranteed to define time_t.
76652         mktime: merge HAVE_CONFIG_H change from gnulib
76653         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
76655 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76658         Use "neg %eax".
76660         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
76661         __rlim_t cast.
76662         (struct rusage): Use anonymous union to pad each field to
76663         __syscall_slong_t.
76665 2012-05-21  David S. Miller  <davem@davemloft.net>
76667         * Makefules (o-iterator): Remove .s cases.
76668         (compile-command.s): Delete.
76669         (COMPILE.s): Delete.
76670         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
76672 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
76674         * configure.in (libc_cv_predef_stack_protector): Only consider
76675         "foobar" and "__stack_chk_fail" lines in libc_undefs.
76676         * configure: Regenerated.
76678 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76681         New macro.  Use R*LP on int and pointer.
76682         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
76683         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
76684         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
76685         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
76687         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
76688         [__WORDSIZE_TIME64_COMPAT32] instead of
76689         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
76690         (struct utmp): Likewise.
76691         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
76692         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
76693         Renamed to ...
76694         (__WORDSIZE_TIME64_COMPAT32): This.
76695         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
76696         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
76697         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
76698         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
76699         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
76700         (__WORDSIZE_TIME64_COMPAT32): New macro.
76702 2012-05-21  Andreas Jaeger  <aj@suse.de>
76704         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
76705         only if [SHARED]. Add prototype for __wcschr_ia32.
76707 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76709         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
76710         of %rbp unmolested in the jmp_buf while mangling the low bits.
76711         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
76712         unmolested high bits of %rbp while demangling the low bits.
76713         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76715 2012-05-21  Andreas Jaeger  <aj@suse.de>
76717         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
76718         * sunrpc/svc_simple.c: Use it for registerrpc.
76719         * sunrpc/xcrypt.c: Use it for passwd2des.
76721         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
76723 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76725         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
76726         Don't define if [__SYSCALL_WORDSIZE != 32].
76727         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
76728         New macro.
76730 2012-05-21  Bruno Haible  <bruno@clisp.org>
76731             Andreas Jaeger  <aj@suse.de>
76733         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
76734         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
76735         inptr and inend for must_buffer_ch.
76736         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
76737         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
76738         * stdio-common/Makefile (tests): Remove bug15.
76739         (bug15-ENV): Remove macro.
76740         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
76741         anymore.
76743 2012-05-19  Andreas Jaeger  <aj@suse.de>
76744             Roland McGrath  <roland@hack.frob.com>
76746         * manual/contrib.texi: Completely rewritten. It contains now an
76747         alphabetical list of contributors and their contributions.
76749 2012-05-21  Richard Henderson  <rth@twiddle.net>
76751         * misc/getauxval.c (__getauxval): Use unsigned long int.
76752         * misc/sys/auxv.h: Include <sys/cdefs.h>.
76753         (getauxval): Use unsigned long int.
76755 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76757         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76759 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76761         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
76762         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
76763         __alignof__ (long double).
76765 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76769 2012-05-20  Richard Henderson  <rth@twiddle.net>
76771         * misc/getauxval.c: New file.
76772         * misc/sys/auxv.h: New file.
76773         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
76774         (routines): Add getauxval.
76775         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
76776         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
76777         * elf/dl-sysdep.c (_dl_auxv): Remove.
76778         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
76779         * elf/dl-support.c (_dl_auxv): New variable.
76780         (_dl_aux_init): Initialize it.
76781         * manual/startup.texi (Auxiliary Vector): New node.
76782         * sysdeps/generic/bits/hwcap.h: New file.
76783         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
76784         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
76785         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
76786         * sysdeps/sparc/sysdep.h: ... here.  Include it.
76787         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
76788         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
76789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76790         Update.
76791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
76792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
76793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
76794         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
76795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
76798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
76800 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76804 2012-05-19  David S. Miller  <davem@davemloft.net>
76806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76808 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76810         [BZ #14123]
76811         * math/s_ccosh.c: Include <float.h>
76812         (__ccosh): Avoid internal overflow calculating sinh and cosh
76813         values before multiplying by sin and cos values.
76814         * math/s_ccoshf.c: Likewise.
76815         * math/s_ccoshl.c: Likewise.
76816         * math/s_csin.c: Likewise.
76817         * math/s_csinf.c: Likewise.
76818         * math/s_csinl.c: Likewise.
76819         * math/s_csinh.c: Likewise.
76820         * math/s_csinhf.c: Likewise.
76821         * math/s_csinhl.c: Likewise.
76822         * math/libm-test.inc (ccos_test): Add more tests.
76823         (ccosh_test): Likewise.
76824         (csin_test): Likewise.
76825         (csinh_test): Likewise.
76826         * sysdeps/i386/fpu/libm-test-ulps: Update.
76827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76829 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
76831         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
76832         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
76834         * sysdeps/x86_64/x32/_itoa.h: Add comment.
76836 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76838         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
76839         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
76840         * sysdeps/powerpc/soft-fp/Versions: Likewise.
76841         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
76842         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
76843         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
76844         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
76845         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
76846         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
76847         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
76848         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
76849         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
76850         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
76851         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
76852         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
76853         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
76854         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
76855         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
76856         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
76857         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
76858         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
76859         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
76860         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
76861         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
76862         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
76863         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
76864         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
76865         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
76866         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
76867         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
76868         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
76870 2012-05-18  Andreas Jaeger  <aj@suse.de>
76872         * csu/.gitignore: Delete.
76874 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76876         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
76877         (timex): Use __syscall_slong_t.
76879 2012-05-18  Andreas Jaeger  <aj@suse.de>
76880             Carlos O'Donell  <carlos_odonell@mentor.com>
76882         * manual/install.texi (Configuring and compiling): Update
76883         description about files modified in the source directory.
76884         * INSTALL: Regenerated.
76886 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76888         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
76889         value.  Use "or" to set return value to -1.
76890         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
76891         negate return value.
76893 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76895         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
76896         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
76897         failure if the compiler has Graphite support disabled.
76898         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
76899         Likewise.
76900         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
76901         (CFLAGS-memmove.c): Likewise.
76902         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
76903         Likewise.
76905 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76907         * sysdeps/x86_64/x32/_itoa.h: New file.
76909         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
76910         getdents system call only if kernel and user dirents have the
76911         same d_ino and d_off.
76913         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76914         LLONG_MAX != LONG_MAX.
76915         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76916         (_fitoa_word): Likewise.
76918         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
76919         years.
76920         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
76921         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
76922         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
76924         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
76925         include <bits/wordsize.h>.  Check __x86_64__ instead of
76926         __WORDSIZE.
76927         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
76928         if __x86_64__ is defined.  Use anonymous union on fpstate.
76930         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
76931         anonymous union.
76933 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
76935         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
76936         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
76937         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
76938         Refer to _rtld_local_ro instead of _rtld_global_ro.
76939         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
76940         Likewise.
76941         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
76942         Likewise.
76943         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
76944         Likewise.
76945         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
76946         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
76947         of _rtld_global, and rtld_progname instead of _dl_argv[0].
76949         [BZ #10882]
76950         * sysdeps/powerpc/powerpc32/dl-machine.c
76951         (__elf_machine_runtime_setup) [PROF]: Don't reference
76952         _dl_prof_resolve.
76954 2012-05-18  Andreas Jaeger  <aj@suse.de>
76956         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
76957         function only available for GCCs before 3.4 since GCC 3.4
76958         introduced a builtin.
76959         (lrint): Likewise.
76960         (llrintf): Likewise.
76961         (llrint): Likewise.
76962         (fmaxf): Likewise.
76963         (fmax): Likewise.
76964         (fminf): Likewise.
76965         (fmin): Likewise.
76966         (rint): Likewise.
76967         (rintf): Likewise.
76968         (nearbyint): Likewise.
76969         (nearbyintf): Likewise.
76970         (ceil): Likewise.
76971         (ceilf): Likewise.
76972         (floor): Likewise.
76973         (floorf): Likewise.
76975 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76977         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
76978         on both fields and cast pointer to __syscall_ulong_t.
76980         * bits/types.h (__fsword_t): New type.
76981         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
76982         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
76983         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76984         (__FSWORD_T_TYPE): Likewise.
76985         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76986         (__FSWORD_T_TYPE): Likewise.
76987         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76988         (__FSWORD_T_TYPE): Likewise.
76989         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
76990         (__FSWORD_T_TYPE): Likewise.
76991         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
76992         __SWORD_TYPE with __fsword_t.
76993         (statfs64): Likewise.
76995 2012-05-17  David S. Miller  <davem@davemloft.net>
76997         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
76999 2012-05-17  Andreas Jaeger  <aj@suse.de>
77001         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
77002         warning.
77004 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77006         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
77008 2012-05-17  Andreas Jaeger  <aj@suse.de>
77010         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
77011         when it is used.
77013 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77015         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
77017 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77019         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
77020         * sysdeps/x86_64/tst-mallocalign1.c: New file.
77022 2012-05-17  Andreas Jaeger  <aj@suse.de>
77023             Carlos O'Donell  <carlos_odonell@mentor.com>
77025         [BZ #14059]
77026         * sysdeps/x86_64/multiarch/init-arch.h
77027         (bit_YMM_Usable): Rename to...
77028         (bit_AVX_Usable): ... this.
77029         (bit_FMA4_Usable): New macro.
77030         (bit_XMM_state): New macro.
77031         (bit_YMM_state): New macro.
77032         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
77033         [__ASSEMBLER__] (index_AVX_Usable): ... this.
77034         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
77035         (CPUID_OSXSAVE): New macro.
77036         (CPUID_AVX): New macro.
77037         (CPUID_FMA4): New macro.
77038         (index_YMM_Usable): Rename to...
77039         (index_AVX_Usable): ... this.
77040         (HAS_AVX): Use HAS_ARCH_FEATURE.
77041         (HAS_FMA4): Likewise.
77042         (HAS_YMM_USABLE): Remove.
77043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77044         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
77045         are present.
77046         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
77047         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
77048         * sysdeps/x86_64/multiarch/Makefile: Likewise.
77049         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
77050         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
77052 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77054         * math/libm-test.c: Support platforms without multiple rounding modes.
77055         * math/bug-nextafter.c: Support platforms without FP exceptions.
77056         * math/bug-nexttoward.c: Likewise.
77057         * math/test-fenv.c: Likewise.
77058         * math/test-misc.c: Likewise.
77059         * stdlib/bug-getcontext.c: Likewise.
77061 2012-05-17  Andreas Jaeger  <aj@suse.de>
77063         * manual/examples/search.c (critter_cmp): Change signature to
77064         avoid warnings.
77065         * manual/string.texi (Collation Functions): Likewise.
77067 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77069         * bits/types.h: Fold copyright years.
77070         * bits/typesizes.h: Likewise.
77071         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
77072         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
77073         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
77074         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
77075         * time/time.h: Likewise.
77077 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
77079         [BZ #208]
77080         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
77081         in instead of returning them.  Return void.
77082         (__libc_mallinfo): Accumulate over all arenas.
77083         (__malloc_stats): Adjust for change in int_mallinfo interface.
77085 2012-05-16  Roland McGrath  <roland@hack.frob.com>
77087         [BZ #10375]
77088         * configure.in (NM): Add AC_CHECK_TOOL for it.
77089         (libc_extra_cflags): New substituted variable.
77090         Check for -fstack-protector being used implicitly.
77091         * configure: Regenerated.
77092         * config.make.in (config-extra-cflags): New variable,
77093         gets @libc_extra_cflags@.
77094         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
77096         [BZ #10375]
77097         * configure.in: Check for _FORTIFY_SOURCE being predefined.
77098         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
77099         * configure: Regenerated.
77100         * config.make.in (CPPUNDEFS): New substituted variable.
77101         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
77102         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
77103         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
77105 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77107         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
77108         (mq_attr): Use __syscall_slong_t.
77110 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77112         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
77113         Check __x86_64__ instead of __WORDSIZE.
77114         (_STAT_VER_LINUX): Likewise.
77115         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
77116         __syscall_ulong_t and __syscall_slong_t.
77117         (stat64): Likewise.
77119 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77121         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
77123 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77125         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
77127 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77129         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
77130         __syscall_ulong_t.
77132         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
77133         include <bits/wordsize.h>.  Check __x86_64__ instead of
77134         __WORDSIZE.
77135         (greg_t): Use "__extension__ long long int" if __x86_64__ is
77136         defined.
77137         (mcontext_t): Replace "unsigned long" with "unsigned long long".
77139         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
77140         include <bits/wordsize.h>.  Check __x86_64__ instead of
77141         __WORDSIZE.
77142         (user_regs_struct): Use "__extension__ unsigned long long"
77143         instead of "unsigned long" if __x86_64__ is defined.
77144         (user): Likewise.  Pad after pointer field if __ILP32__ is
77145         defined.
77147 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
77149         * configure.in (makeinfo): Require version 4.5 or later.  Allow
77150         versions 5 to 9.
77151         * configure: Regenerated.
77152         * manual/install.texi (texinfo): Increase version requirement to
77153         4.5 or later.
77154         * INSTALL: Regenerated.
77156         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
77158 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77160         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
77162         * sysdeps/x86_64/x32/ffs.c: New file.
77164         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
77165         __syscall_ulong_t.
77166         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
77167         defined.  Use __syscall_ulong_t.
77168         (shminfo): Use __syscall_ulong_t.
77169         (shm_info): Likewise.
77171         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
77172         __syscall_ulong_t.
77174         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
77175         <bits/wordsize.h>.
77176         (msgqnum_t): Use __syscall_ulong_t.
77177         (msglen_t): Likewise.
77178         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
77179         __syscall_ulong_t.
77181         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
77182         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77184         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
77186         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
77187         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
77189         * sysvipc/sys/msg.h (msgbuf): Replace long int with
77190         __syscall_slong_t.
77192         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
77193         include <bits/wordsize.h>.  Check __x86_64__ instead of
77194         __WORDSIZE.
77196         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
77197         "unsigned long long int" if __x86_64__ is defined.
77198         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
77200         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
77201         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77202         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
77204         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
77205         <stdint.h>.
77206         (GET_PC): Cast to uintptr_t first.
77207         (GET_FRAME): Likewise.
77208         (GET_STACK): Likewise.
77210         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
77211         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
77212         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
77213         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
77214         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
77215         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
77216         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
77217         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
77218         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
77219         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
77220         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
77221         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
77222         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77223         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
77224         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
77225         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
77226         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
77227         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
77228         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
77229         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
77230         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
77231         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
77232         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
77233         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
77234         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
77235         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
77236         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
77237         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
77238         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
77240 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
77242         * Makerules (+depfiles): Also collect depfiles from .oS in
77243         $(extra-objs).
77244         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
77245         .oS, $(libnldbl-routines)).
77247         * Makerules (native-compile-mkdep-flags): Define.
77248         * sunrpc/Makefile (extra-objs): Add $(addprefix
77249         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
77250         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
77251         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
77252         calling $(make-target-directory).
77254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77256         * bits/types.h (__snseconds_t): Removed.
77257         * time/time.h (struct timespec): Replace __snseconds_t with
77258         __syscall_slong_t.
77259         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
77260         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
77261         Likewise.
77262         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77263         (__SNSECONDS_T_TYPE): Likewise.
77264         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77265         (__SNSECONDS_T_TYPE): Likewise.
77266         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77267         (__SNSECONDS_T_TYPE): Likewise.
77269 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77271         * sysdeps/mach/hurd/bits/typesizes.h
77272         (__SYSCALL_SLONG_TYPE): New macro.
77273         (__SYSCALL_ULONG_TYPE): Likewise.
77275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77277         * bits/types.h (__syscall_slong_t): New type.
77278         (__syscall_ulong_t): Likewise.
77280         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
77281         (__SYSCALL_ULONG_TYPE): Likewise.
77282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77283         (__SYSCALL_SLONG_TYPE): Likewise.
77284         (__SYSCALL_ULONG_TYPE): Likewise.
77285         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77286         (__SYSCALL_SLONG_TYPE): Likewise.
77287         (__SYSCALL_ULONG_TYPE): Likewise.
77288         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77289         (__SYSCALL_SLONG_TYPE): Likewise.
77290         (__SYSCALL_ULONG_TYPE): Likewise.
77292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77294         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
77295         Add sigaltstack-offsets.sym.
77296         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
77297         <sigaltstack-offsets.h>.
77298         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
77299         longjmp_msg pointer.
77300         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
77301         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
77302         signal stack.
77303         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
77305 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77307         * elf/stackguard-macros.h: Remove file.
77308         * sysdeps/generic/stackguard-macros.h: New file.
77309         * sysdeps/i386/stackguard-macros.h: Likewise.
77310         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
77311         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
77312         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
77313         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
77314         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
77315         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
77316         * sysdeps/x86_64/stackguard-macros.h: Likewise.
77317         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
77318         <elf/stackguard-macros.h>.
77320         [BZ #14109]
77321         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
77322         __aligned__ in attribute.
77323         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
77324         (gregset_t): Likewise.
77326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77328         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
77329         * sysdeps/x86_64/64/Implies-after: Here.  New file.
77330         * sysdeps/x86_64/x32/Implies-after: New file.
77332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77334         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
77335         and access return value for _dl_profile_fixup.  Use R10_LP to
77336         load frame size.
77338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77340         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
77342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77344         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
77345         * sysdeps/x86_64/x32/sysdep.h: New file.
77347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77349         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
77350         * sysdeps/x86_64/setjmp.S: Likewise.
77352 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77354         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
77355         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
77356         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
77357         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
77358         remove unused global constant.
77360 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
77362         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
77363         include of <not-cancel.h>.
77365 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77367         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
77369 2012-05-15  Jeff Law  <law@redhat.com>
77370             Andreas Jaeger  <aj@suse.de>
77372         [BZ #13594]
77373         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
77374         out from...
77375         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
77376         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
77377         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
77378         code changing __hst_map_handle.map.
77380 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77382         * configure.in (sysnames): Look for Implies-before and Implies-after
77383         files.
77384         * configure: Regenerated.
77386 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77388         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
77389         8-byte data alignment with LP_SIZE alignment.
77391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77393         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
77394         into R10_LP.
77396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77398         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
77400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77402         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
77403         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
77404         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
77405         Likewise.
77406         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77410         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
77411         (stackinfo_sub_sp): Likewise.
77413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77415         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
77416         RAX_LP.
77418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77420         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
77421         into R*_LP.
77423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77425         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
77426         sizes into R*_LP.
77428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77430         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
77432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77434         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
77435         into R11_LP and load __x86_64_shared_cache_size_half into
77436         R8_LP.
77438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77440         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
77441         R8_LP.
77443 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77445         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
77446         logb for POWER7.
77447         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
77448         logbf for POWER7.
77449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
77450         logbl for POWER7.
77451         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
77452         powerpc32/power7/fpu/s_logb.c via #include.
77453         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
77454         powerpc32/power7/fpu/s_logbf.c via #include.
77455         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
77456         powerpc32/power7/fpu/s_logbl.c via #include.
77458 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77460         * README.libm: Remove file.
77462 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77464         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
77465         count for x32.  Use R*_LP and omit operand-size suffix.
77467 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77469         * shlib-versions: Move x86_64-.*-linux.* entries to ...
77470         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
77471         * sysdeps/x86_64/x32/shlib-versions: New file.
77473 2012-05-14  Roland McGrath  <roland@hack.frob.com>
77475         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
77476         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
77477         Use _dl_fatal_printf instead.
77479 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
77481         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
77482         set if not set by the user.  Do not allow for being unset.
77483         * sysdeps/unix/sysv/linux/configure: Regenerated.
77485 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77487         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
77488         the `q' suffix from lea and replace .quad with ASM_ADDR.
77490 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
77493         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
77494         instead of $17.
77495         (PTR_DEMANGLE): Likewise.
77497 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77499         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
77500         (LP_OP): Likewise.
77501         (ASM_ADDR): Likewise.
77502         (RAX_LP): Likewise.
77503         (RBP_LP): Likewise.
77504         (RBX_LP): Likewise.
77505         (RCX_LP): Likewise.
77506         (RDI_LP): Likewise.
77507         (RSI_LP): Likewise.
77508         (RSP_LP): Likewise.
77509         (R8_LP): Likewise.
77510         (R9_LP): Likewise.
77511         (R10_LP): Likewise.
77512         (R10_LP): Likewise.
77513         (R11_LP): Likewise.
77514         (R12_LP): Likewise.
77515         (R13_LP): Likewise.
77516         (R14_LP): Likewise.
77517         (R15_LP): Likewise.
77519 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77521         * sysdeps/x86_64/x32/dl-machine.h: New file.
77523 2012-05-14  Andreas Jaeger  <aj@suse.de>
77525         * manual/Makefile (subdir): Remove export of subdir.
77526         (all): Remove target.
77527         (.PHONY): Remove all from list.
77528         (mkinstalldirs): Remove.
77529         (.PHONY): Remove installdirs from list.
77530         ($(inst_infodir)/libc.info): Use make-target-directory.
77531         (installdirs): Remove.
77532         (subdir_%): Remove.
77533         (glibc-targets): Remove.
77534         (lib): Remove.
77535         (stubs): Remove.
77536         ($(objpfx)stubs ../po/manual.pot): Remove.
77537         ($(objpfx)stamp%): Remove.
77538         (make-target-directory): Remove.
77539         (subdir_install): Remove.
77540         (routines): Remove.
77541         (aux): Remove.
77542         (sources): Remove.
77543         (objects): Remove.
77544         (headers): Remove.
77546         [BZ #13750]
77547         * manual/.gitignore: Remove, it's not needed anymore.
77548         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
77549         all files in it.
77550         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
77551         directory.
77552         (texis): Renamed to $(objpfx)texis.
77553         (texis-path): New, contains path to generated files.
77554         (chapters.%): Use texis-path for complete path, add extra argument
77555         libc-texinfo.sh.
77556         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
77557         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
77558         (summary,texi, stamp-summary): Use complete path of
77559         files. Generate files in build dir.
77560         (dir-add.texi): Build in build dir.
77561         (libm-err.texi,stamp-libm-err): Likewise.
77562         (version.texi, stamp-version): Likewise.
77563         (.%c.texi): Likewise.
77564         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
77565         (mostlyclean): Remove target.
77566         (realclean): Remove target.
77567         (generated): Add new variable with contents from mostlyclean and
77568         realclean, remove entries duplicated in common-mostlyclean, add
77569         stamp-libm-err and stamp-version.
77570         (generated-dirs): Add libc directory.
77571         ($(inst_infodir)/libc.info): Install files from build dir.
77573         * manual/install.texi (Configuring and compiling): Adjust since
77574         the info files are not part of the tar ball anymore.
77576 2012-05-14  Andreas Jaeger  <aj@suse.de>
77578         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
77579         variable.
77581 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
77583         [BZ #13717]
77584         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77585         to 2.2.0 where earlier.
77586         * sysdeps/unix/sysv/linux/configure: Regenerated.
77587         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
77588         Remove conditional code.
77589         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
77590         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
77591         Remove conditional code.
77592         [!__NR_lchown]: Likewise.
77593         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77594         [__NR_lchown]: Likewise.
77595         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
77596         comment referencing __ASSUME_LCHOWN_SYSCALL.
77597         * sysdeps/unix/sysv/linux/i386/sigaction.c
77598         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77599         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77600         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
77601         Remove conditional code.
77602         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
77603         (__protocol_available): Remove #if 0 code.
77604         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
77605         conditional code.
77606         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
77607         * sysdeps/unix/sysv/linux/kernel-features.h
77608         (__ASSUME_GETCWD_SYSCALL): Don't define.
77609         (__ASSUME_REALTIME_SIGNALS): Likewise.
77610         (__ASSUME_PREAD_SYSCALL): Likewise.
77611         (__ASSUME_PWRITE_SYSCALL): Likewise.
77612         (__ASSUME_POLL_SYSCALL): Likewise.
77613         (__ASSUME_LCHOWN_SYSCALL): Likewise.
77614         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
77615         non-SPARC.
77616         (__ASSUME_SIOCGIFNAME): Don't define.
77617         (__ASSUME_MSG_NOSIGNAL): Likewise.
77618         (__ASSUME_SENDFILE): Define unconditionally.
77619         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
77620         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
77621         conditional code.
77622         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
77623         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
77624         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77625         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77626         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
77627         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77628         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
77630         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77631         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
77633         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77634         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
77636         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77637         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
77639         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77640         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
77642         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77643         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
77645         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77646         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
77648         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77649         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
77651         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77652         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77653         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
77654         Remove conditional code.
77655         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77656         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77657         Remove conditional code.
77658         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77659         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
77660         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
77661         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77662         Remove conditional code.
77663         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77664         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
77665         Remove conditional code.
77666         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77667         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
77668         Remove conditional code.
77669         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77670         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77671         Remove conditional code.
77672         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77673         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77674         Remove conditional code.
77675         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77676         * sysdeps/unix/sysv/linux/sh/pwrite64.c
77677         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77678         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77679         * sysdeps/unix/sysv/linux/sigaction.c
77680         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77681         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77682         * sysdeps/unix/sysv/linux/sigpending.c
77683         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77684         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77685         * sysdeps/unix/sysv/linux/sigprocmask.c
77686         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77687         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77688         * sysdeps/unix/sysv/linux/sigsuspend.c
77689         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77690         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77691         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77692         (__libc_missing_rt_sigs): Remove.
77693         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
77694         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
77695         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
77696         Remove conditional code.
77697         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
77698         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
77699         return 1.
77700         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
77701         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
77702         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
77703         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
77705 2012-05-14  Andreas Jaeger  <aj@suse.de>
77707         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
77708         it's not used in glibc.
77709         (__coshm1): Likewise.
77710         (__acosh1p): Likewise.
77711         (__sgn): Likewise.
77713         * manual/string.texi (Copying and Concatenation): Add missing
77714         variable in concat example.
77715         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
77717 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77719         [BZ #14103]
77720         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
77721         __builtin_clzl with __builtin_clzll.
77723 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77725         [BZ #14104]
77726         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
77727         libc_freeres_ptr.
77729 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77731         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
77732         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
77733         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
77734         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
77736 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
77738         * NEWS: Update ia64 info.
77740 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
77742         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
77743         used as bcopy.
77745 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
77747         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
77748         * sysdeps/unix/syscalls.list (dup3): Likewise.
77749         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
77750         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
77752 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77754         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
77755         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
77757 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77759         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
77760         thread pointer.
77761         (TLS_IE): Use mov/add instead of movq/addq to load thread
77762         pointer.
77763         (TLS_GD_PREFIX): New.
77764         (TLS_GD): Use it.
77766 2012-05-11  David S. Miller  <davem@davemloft.net>
77768         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
77769         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
77770         (_FPU_SETCW): Likewise.
77772 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77774         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
77775         is 32-byte aligned.
77777 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
77779         [BZ #11837]
77780         * iconvdata/gb18030.c: Update tables.
77781         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
77782         characters specially.
77783         (BODY for TO_LOOP): Add encoding of missing ranges.
77785 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
77787         [BZ #13673]
77788         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
77789         * sysdeps/mach/hurd/dup3.c: Likewise.
77790         * sysdeps/mach/hurd/readlinkat.c: Likewise.
77791         * sysdeps/powerpc/memmove.c:: Likewise.
77793 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77795         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
77796         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
77798 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77800         * elf/elf.h (R_X86_64_RELATIVE64): New.
77801         (R_X86_64_NUM): Updated.
77802         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
77803         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
77804         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
77805         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
77806         tst-quad1pie tst-quad2pie
77807         (modules-names): Add tst-quadmod1 tst-quadmod2.
77808         ($(objpfx)tst-quad1): New dependency.
77809         ($(objpfx)tst-quad2): Likewise.
77810         ($(objpfx)tst-quad1pie): Likewise.
77811         ($(objpfx)tst-quad2pie): Likewise.
77812         * sysdeps/x86_64/tst-quad1.c: New file.
77813         * sysdeps/x86_64/tst-quad1pie.c: New file.
77814         * sysdeps/x86_64/tst-quad2.c: Likewise.
77815         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
77816         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
77817         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
77818         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
77819         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
77821 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77823         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
77824         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
77825         * streams/stropts.h (t_scalar_t): Define type.
77827         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
77828         (_PATH_PRESERVE): Set to "/var/lib".
77829         (_PATH_RWHODIR): Set to "/var/spool/rwho".
77831         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
77832         instead of int.
77834         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
77835         if __dir_mkfile succeeded.
77837         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
77838         checking for _hurd_dtablesize.  Unlock it right after having
77839         finished _hurd_dtable allocation.
77841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77843         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
77844         * sysdeps/mach/hurd/configure: Regenerated.
77845         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
77846         special-casing to...
77847         * sysdeps/gnu/configure.in: ... this new file.
77848         * sysdeps/unix/sysv/linux/configure: Regenerated.
77849         * sysdeps/gnu/configure: New generated file.
77851         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
77852         for Linux: use nsec instead of usec, as well as:
77853         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
77854         members of type struct timespec.
77855         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
77856         New macros.
77857         (struct stat64): Likewise.
77858         (_STATBUF_ST_NSEC): New macro.
77859         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
77861         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77862         __strtoul_internal rather than strtoul.
77864 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77866         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
77867         and reject them.
77869 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77871         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
77872         which preserves existing values.
77873         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
77875 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77877         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
77878         TIMEOUT values.  Return EINVAL for NFDS values either negative or
77879         greater than FD_SETSIZE.
77881 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77883         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
77884         allocated, call __vm_protect to finish enabling the existing space, and
77885         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
77886         allocate the remainder.
77888 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77890         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
77891         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
77893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77895         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
77896         sysdeps/mach/hurd/readlink.c.
77898         * posix/tst-sysconf.c (posix_options): Only use
77899         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
77900         _POSIX_SYNCHRONIZED_IO when they are defined
77901         * sysdeps/mach/hurd/bits/posix_opt.h:
77902         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
77903         (_XOPEN_REALTIME): Undefine macro.
77904         (_XOPEN_REALTIME_THREADS): Undefine macro.
77905         (_XOPEN_SHM): Undefine macro.
77906         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
77907         macro to -1.
77908         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
77909         macro to -1.
77910         (_POSIX_ASYNC_IO): Undefine macro.
77911         (_POSIX_PRIORITIZED_IO): Undefine macro.
77912         (_POSIX_SPIN_LOCKS): Define macro to -1.
77914         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
77915         SA_NODEFER, SA_RESETHAND.
77916         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
77917         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
77918         F_DUPFD_CLOEXEC.
77920 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77922         * elf/Makefile (pldd-modules): Define unconditionally.
77924 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77926         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
77928 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77930         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
77931         Return ENOENT when name is empty.
77932         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
77934 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77936         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
77938         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
77940 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77942         Fix mlock in all cases except non-readable pages.
77943         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
77944         instead of VM_PROT_ALL as parameter to __vm_wire function.
77946         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
77947         (__mkdir): When path is `/', just fail with EEXIST.
77948         * sysdeps/mach/hurd/mkdirat.c: Likewise.
77950 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77952         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
77953         <sys/uio.h> (for writev).
77954         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
77955         and <sys/param.h> (for MIN).
77957 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77959         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
77960         REQUESTED_TIME.  Properly set the remaining time and return EINTR
77961         if interrupted.
77963 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77965         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
77966         Depend on against $(link-rpcuserlibs).
77968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77970         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
77971         (__libc_stack_end): Do not use attribute_relro.
77972         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
77973         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
77974         to libthread-provided value.
77975         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
77976         attribute_relro.
77978 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77980         [BZ #3748]
77981         * bits/libc-lock.h (__libc_once_get): New macro.
77982         * sysdeps/mach/bits/libc-lock.h: Likewise.
77983         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
77984         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
77985         instead of using implementation details.
77987         * libio/fileops.c: Unconditionally include <kernel-features.h>.
77988         * libio/freopen.c: Likewise.
77989         * libio/freopen64.c: Likewise.
77990         * misc/syslog.c: Likewise.
77991         * nscd/connections.c: Likewise.
77992         * nscd/netgroupcache.c: Likewise.
77993         * sysdeps/posix/getcwd.c: Likewise.
77995 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77997         * math/w_ilogbf.c: Add #include <limits.h>.
77999 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78001         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
78002         path instead of returning without unlocking.
78004         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
78005         immediate-write ioctls.
78006         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
78008 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78010         * sysdeps/mach/hurd/i386/init-first.c (init): Use
78011         __builtin_frame_address instead of making assumptions about the
78012         location of the return address relative to DATA.  Force early load of
78013         the return address.
78014         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
78015         __builtin_frame_address.
78017         dup3 for GNU Hurd.
78018         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
78019         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
78020         implement dup3 and do some further code clean-ups.
78021         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
78022         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
78024 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78026         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
78028         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
78029         HURD_CRITICAL_END around holding _hurd_dtable_lock.
78030         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
78031         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
78032         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
78033         d->port.lock.
78035         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
78036         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
78037         when handler == SIG_ERR, not when handler != SIG_ERR.
78039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78041         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
78042         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
78043         definitions.
78045         accept4 for GNU Hurd.
78046         * include/sys/socket.h (__libc_accept4): New prototype.
78047         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
78048         to implement __libc_accept4.
78049         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
78050         __libc_accept4.
78051         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
78053         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
78054         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
78055         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
78056         signal-defines.sym.
78058 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78060         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
78062 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78064         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
78065         assertion on O_CLOEXEC flag.
78066         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
78067         * hurd/intern-fd.c: Likewise.
78068         * hurd/port2fd.c: Likewise.
78070 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78072         [BZ #3906]
78073         * bits/in.h (IPV6_PKTINFO): Define new macro.
78074         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
78076 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78078         [BZ #13954]
78079         [BZ #13955]
78080         [BZ #13956]
78081         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
78082         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78083         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
78084         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78085         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78086         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78087         * math/libm-test.inc (logb_test) : Additional logb tests.
78089 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
78090             Andreas Jaeger  <aj@suse.de>
78092         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
78093         * configure: Regenerated.
78094         * config.h.in (LINK_OBSOLETE_RPC): New macro.
78095         * config.make.in (link-obsolete-rpc): New substituted variable.
78096         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
78097         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
78098         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78099         (shared-only-routines): Don't set it under [link-obsolete-rpc],
78100         so that libc.a contains the symbols.
78101         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78102         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
78103         * sunrpc/auth_none.c: Likewise.
78104         * sunrpc/auth_unix.c: Likewise.
78105         * sunrpc/authdes_prot.c: Likewise.
78106         * sunrpc/authuxprot.c: Likewise.
78107         * sunrpc/clnt_gen.c: Likewise.
78108         * sunrpc/clnt_perr.c: Likewise.
78109         * sunrpc/clnt_raw.c: Likewise.
78110         * sunrpc/clnt_simp.c: Likewise.
78111         * sunrpc/clnt_tcp.c: Likewise.
78112         * sunrpc/clnt_udp.c: Likewise.
78113         * sunrpc/clnt_unix.c: Likewise.
78114         * sunrpc/des_crypt.c: Likewise.
78115         * sunrpc/des_soft.c: Likewise.
78116         * sunrpc/get_myaddr.c: Likewise.
78117         * sunrpc/key_call.c: Likewise.
78118         * sunrpc/key_prot.c: Likewise.
78119         * sunrpc/netname.c: Likewise.
78120         * sunrpc/pm_getmaps.c: Likewise.
78121         * sunrpc/pm_getport.c: Likewise.
78122         * sunrpc/pmap_clnt.c: Likewise.
78123         * sunrpc/pmap_prot.c: Likewise.
78124         * sunrpc/pmap_prot2.c: Likewise.
78125         * sunrpc/pmap_rmt.c: Likewise.
78126         * sunrpc/publickey.c: Likewise.
78127         * sunrpc/rpc_cmsg.c: Likewise.
78128         * sunrpc/rpc_common.c: Likewise.
78129         * sunrpc/rpc_dtable.c: Likewise.
78130         * sunrpc/rpc_prot.c: Likewise.
78131         * sunrpc/rpc_thread.c: Likewise.
78132         * sunrpc/rtime.c: Likewise.
78133         * sunrpc/svc.c: Likewise.
78134         * sunrpc/svc_auth.c: Likewise.
78135         * sunrpc/svc_raw.c: Likewise.
78136         * sunrpc/svc_run.c: Likewise.
78137         * sunrpc/svc_tcp.c: Likewise.
78138         * sunrpc/svc_udp.c: Likewise.
78139         * sunrpc/svc_unix.c: Likewise.
78140         * sunrpc/svcauth_des.c: Likewise.
78141         * sunrpc/xcrypt.c: Likewise.
78142         * sunrpc/xdr.c: Likewise.
78143         * sunrpc/xdr_array.c: Likewise.
78144         * sunrpc/xdr_float.c: Likewise.
78145         * sunrpc/xdr_intXX_t.c: Likewise.
78146         * sunrpc/xdr_mem.c: Likewise.
78147         * sunrpc/xdr_rec.c: Likewise.
78148         * sunrpc/xdr_ref.c: Likewise.
78149         * sunrpc/xdr_sizeof.c: Likewise.
78150         * sunrpc/xdr_stdio.c: Likewise.
78152 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78154         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
78155         change.  Update copyright years.
78157 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78159         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
78161 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
78162             Joseph Myers  <joseph@codesourcery.com>
78163             Paul Pluzhnikov  <ppluzhnikov@google.com>
78165         [BZ #14012]
78166         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
78167         requiring rpcgen.
78168         [cross-compiling] (extra-libs): Likewise.
78169         [cross-compiling] (extra-libs-others): Likewise.
78170         [cross-compiling] (librpcsvc-routines): Likewise.
78171         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
78172         [cross-compiling] (omit-deps): Likewise.
78173         (sunrpc-CPPFLAGS): New variable.
78174         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
78175         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
78176         (cross-rpcgen-objs): New variable.
78177         (extra-objs): Append $(cross-rpcgen-objs).
78178         ($(cross-rpcgen-objs)): New rule.
78179         ($(objpfx)cross-rpcgen): Likewise.
78180         (rpcgen-cmd): Define to use $(built-program-file).  Expand
78181         comment.
78182         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
78183         ($(objpfx)x%.stmp): Likewise.
78184         * sunrpc/proto.h [IS_IN_build] (_): Define.
78185         [IS_IN_build] (_libc_intl_domainname): Likewise.
78187 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78189         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
78190         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
78191         and R_X86_64_TPOFF64.
78193 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78195         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
78196         sysdeps/unix/sysv/syscalls.list.
78197         (stime): Likewise.
78198         (utime): Likewise.
78199         * sysdeps/unix/sysv/syscalls.list: Remove file.
78201 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
78203         [BZ #3440]
78204         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
78205         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
78206         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
78207         (__LC_IDENTIFICATION): Make these macros useful in #if
78208         expressions, as required by C99.
78210 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
78212         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
78213         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
78214         after this.
78216 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
78218         * stdlib/longlong.h: Updated from GCC.
78220 2012-05-09  Andreas Jaeger  <aj@suse.de>
78222         * nscd/nscd.c (run_modes): Make named enum, reorder so that
78223         default is first entry.
78224         (run_mode): Set type.
78225         (main): Remove informal message about syslog.
78226         (options): Fix typo.
78228         [BZ #14053]
78229         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
78230         to asm.
78231         (lrint): Likewise.
78232         (llrintf): Likewise.
78233         (llrint): Likewise.
78234         (rint): Likewise.
78235         (rintf): Likewise.
78236         (nearbyint): Likewise.
78237         (nearbyintf): Likewise.
78239 2012-05-09  Andreas Jaeger  <aj@suse.de>
78240             Pedro Alves  <palves@redhat.com>
78242         * nscd/nscd.c (run_mode): Use enum.
78243         (main): Cleanup coding style issue.
78245 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
78246             Andreas Jaeger  <aj@suse.de>
78248         * nscd/nscd.c (go_background): Replaced with...
78249         (run_mode): ... this.
78250         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
78251         (options): Add -F --foreground.
78252         (main): Implement it.
78253         (parse_opt): Parse it.
78255 2012-05-09  Andreas Jaeger  <aj@suse.de>
78257         [BZ #14083]
78258         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
78259         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
78260         -Wconversion warning.
78261         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
78262         Likewise.
78264 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
78266         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
78267         == 0.
78268         (LC_ALL): Use macro-int-constant.
78269         (LC_COLLATE): Likewise.
78270         (LC_CTYPE): Likewise.
78271         (LC_MESSAGES): Likewise.
78272         (LC_MONETARY): Likewise.
78273         (LC_NUMERIC): Likewise.
78274         (LC_TIME): Likewise.
78275         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
78276         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78277         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78278         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
78279         Specify type.
78280         [C99-based standards] (float_t): Expect type.
78281         [C99-based standards] (double_t): Expect type.
78282         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
78283         type.
78284         [C99-based standards] (HUGE_VALL): Likewise.
78285         [C99-based standards] (INFINITY): Likewise.
78286         [C99-based standards] (NAN): Likewise.
78287         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
78288         [C99-based standards] (FP_NAN): Likewise.
78289         [C99-based standards] (FP_NORMAL): Likewise.
78290         [C99-based standards] (FP_SUBNORMAL): Likewise.
78291         [C99-based standards] (FP_ZERO): Likewise.
78292         [C99-based standards] (FP_FAST_FMA): Use
78293         optional-macro-int-constant.  Specify type.  Require == 1.
78294         [C99-based standards] (FP_FAST_FMAF): Likewise.
78295         [C99-based standards] (FP_FAST_FMAL): Likewise.
78296         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
78297         [C99-based standards] (FP_ILOGBNAN): Likewise.
78298         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
78299         Specify type.
78300         [C99-based standards] (MATH_ERREXCEPT): Likewise.
78301         [C99-based standards] (math_errhandling): Specify type.
78302         [ISO99 || ISO11] (signgam): Do not allow.
78303         [non-C99-based standards] (copysignf): Do not allow.
78304         [non-C99-based standards] (exp2f): Likewise.
78305         [non-C99-based standards] (log2f): Likewise.
78306         [non-C99-based standards] (modff): Allow.
78307         [non-C99-based standards] (erff): Do not allow.
78308         [non-C99-based standards] (erfcf): Likewise.
78309         [non-C99-based standards] (gammaf): Likewise.
78310         [non-C99-based standards] (hypotf): Likewise.
78311         [non-C99-based standards] (j0f): Likewise.
78312         [non-C99-based standards] (j1f): Likewise.
78313         [non-C99-based standards] (jnf): Likewise.
78314         [non-C99-based standards] (lgammaf): Likewise.
78315         [non-C99-based standards] (tgammaf): Likewise.
78316         [non-C99-based standards] (y0f): Likewise.
78317         [non-C99-based standards] (y1f): Likewise.
78318         [non-C99-based standards] (ynf): Likewise.
78319         [non-C99-based standards] (isnanf): Likewise.
78320         [non-C99-based standards] (acoshf): Likewise.
78321         [non-C99-based standards] (asinhf): Likewise.
78322         [non-C99-based standards] (atanhf): Likewise.
78323         [non-C99-based standards] (cbrtf): Likewise.
78324         [non-C99-based standards] (expm1f): Likewise.
78325         [non-C99-based standards] (ilogbf): Likewise.
78326         [non-C99-based standards] (log1pf): Likewise.
78327         [non-C99-based standards] (logbf): Likewise.
78328         [non-C99-based standards] (nextafterf): Likewise.
78329         [non-C99-based standards] (remainderf): Likewise.
78330         [non-C99-based standards] (rintf): Likewise.
78331         [non-C99-based standards] (scalbf): Likewise.
78332         [non-C99-based standards] (copysignl): Likewise.
78333         [non-C99-based standards] (exp2l): Likewise.
78334         [non-C99-based standards] (log2l): Likewise.
78335         [non-C99-based standards] (modfl): Allow.
78336         [non-C99-based standards] (erfl): Do not allow.
78337         [non-C99-based standards] (erfcl): Likewise.
78338         [non-C99-based standards] (gammal): Likewise.
78339         [non-C99-based standards] (hypotl): Likewise.
78340         [non-C99-based standards] (j0l): Likewise.
78341         [non-C99-based standards] (j1l): Likewise.
78342         [non-C99-based standards] (jnl): Likewise.
78343         [non-C99-based standards] (lgammal): Likewise.
78344         [non-C99-based standards] (tgammal): Likewise.
78345         [non-C99-based standards] (y0l): Likewise.
78346         [non-C99-based standards] (y1l): Likewise.
78347         [non-C99-based standards] (ynl): Likewise.
78348         [non-C99-based standards] (isnanl): Likewise.
78349         [non-C99-based standards] (acoshl): Likewise.
78350         [non-C99-based standards] (asinhl): Likewise.
78351         [non-C99-based standards] (atanhl): Likewise.
78352         [non-C99-based standards] (cbrtl): Likewise.
78353         [non-C99-based standards] (expm1l): Likewise.
78354         [non-C99-based standards] (ilogbl): Likewise.
78355         [non-C99-based standards] (log1pl): Likewise.
78356         [non-C99-based standards] (logbl): Likewise.
78357         [non-C99-based standards] (nextafterl): Likewise.
78358         [non-C99-based standards] (remainderl): Likewise.
78359         [non-C99-based standards] (rintl): Likewise.
78360         [non-C99-based standards] (scalbl): Likewise.
78361         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78362         [non-C99-based standards] (FP_*): Do not allow.
78363         [C99-based standards] (FP_*): Change to
78364         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78365         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78366         allow.
78367         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
78368         (SIG_ERR): Likewise.
78369         [X/Open-based standards] (SIG_HOLD): Likewise.
78370         (SIG_IGN): Likewise.
78371         (SIGABRT): Use macro-int-constant.  Specify type.  Require
78372         positive value.
78373         (SIGFPE): Likewise.
78374         (SIGILL): Likewise.
78375         (SIGINT): Likewise.
78376         (SIGSEGV): Likewise.
78377         (SIGTER): Likewise.
78378         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
78379         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
78380         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
78381         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
78382         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
78383         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
78384         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
78385         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
78386         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
78387         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
78388         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
78389         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
78390         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
78391         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
78392         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
78393         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
78394         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
78395         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
78396         [X/Open-based standards] (SIGTRAP): Likewise.
78397         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
78398         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
78399         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
78400         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
78401         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78402         allow.
78404 2012-05-08  Ian Wienand  <ianw@vmware.com>
78406         [BZ #14080]
78407         * time/tzset.c (__tzset_parse_tz): Update default rules for
78408         daylight time changes in the Energy Policy Act of 2005.
78410 2012-05-09  Andreas Jaeger  <aj@suse.de>
78412         [BZ #13983]
78413         * elf/ldconfig.c (parse_conf): Change string to make clear that
78414         ldconfig only issued a warning if ld.so.conf does not exist.
78416 2012-05-08  David S. Miller  <davem@davemloft.net>
78418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
78419         movxtod instead of popping the value on the stack.
78421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78423 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
78425         * config.h.in: Add HAVE_ARM_PCS_VFP.
78427 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
78429         [BZ #13979]
78430         * include/features.h: Warn if user requests __FORTIFY_SOURCE
78431         checking but the checks are disabled for any reason.
78433 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
78435         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
78436         and ELF64_R_TYPE with ELFW(R_TYPE).
78438 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
78440         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
78441         (ulimit): Likewise.
78443         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
78444         (settimeofday): Likewise.
78446 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
78448         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
78449         a struct th_u2 inside the union, and move tu_block/tu_code into
78450         a new th_u3 union of tu_block/tu_code inside of that.  Move
78451         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
78452         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
78453         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
78454         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
78455         (th_stuff): Change to th_u1.tu_stuff.
78456         (th_data): Define.
78457         (th_msg): Change to th_u1.th_u2.tu_data.
78459 2012-05-07  David S. Miller  <davem@davemloft.net>
78461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78463         [BZ #14074]
78464         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
78465         (SETUP_PIC_REG): Use it.
78466         (SETUP_PIC_REG_LEAF): Use it.
78468 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
78470         [BZ #13885]
78471         [BZ #13923]
78472         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78473         USE_AS_EXPM1L.
78474         (EXPL_FINITE): Likewise.
78475         (FLDLOG): Likewise.
78476         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
78477         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
78478         e_expl.S.
78479         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78480         USE_AS_EXPM1L.
78481         (EXPL_FINITE): Likewise.
78482         (FLDLOG): Likewise.
78483         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
78484         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
78485         e_expl.S.
78486         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
78487         test of -max_value argument for long double.
78488         * sysdeps/i386/fpu/libm-test-ulps: Update.
78489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78491 2012-05-06  David S. Miller  <davem@davemloft.net>
78493         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
78494         quad soft-float symbols whose references which are compiler
78495         generated.
78496         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78498 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
78500         [BZ #13884]
78501         [BZ #13914]
78502         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78503         USE_AS_EXP10L.
78504         (EXPL_FINITE): Likewise.
78505         (FLDLOG): Likewise.
78506         (c0): Likewise.
78507         (c1): Likewise.
78508         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
78509         Adjust comments for base varying.
78510         (__expl_finite): Change alias to EXPL_FINITE.
78511         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
78512         e_expl.S.
78513         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
78514         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
78515         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
78516         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
78517         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
78518         USE_AS_EXP10L.
78519         (EXPL_FINITE): Likewise.
78520         (FLDLOG): Likewise.
78521         (c0): Likewise.
78522         (c1): Likewise.
78523         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
78524         Adjust comments for base varying.
78525         (__expl_finite): Change alias to EXPL_FINITE.
78526         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
78527         tests for bugs.
78528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78530         [BZ #14064]
78531         * math/libm-test.inc (check_float_internal): Correct ulp
78532         calculation for subnormal expected results.
78534 2012-05-06  Andreas Jaeger  <aj@suse.de>
78536         * Makeconfig (+math-flags): New, set to -frounding-math.
78537         (+cflags): Add +math-flags so that all of glibc gets compiled with
78538         it.
78540         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
78542 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
78544         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
78545         Disable one test.
78547         [BZ #13787]
78548         [BZ #13922]
78549         [BZ #14036]
78550         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
78551         (__ieee754_expl): Allow for and saturate large arguments.
78552         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
78553         (u_threshold): Likewise.
78554         (__exp): Call __ieee754_exp before checking for overflow and
78555         underflow.
78556         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
78557         (u_threshold): Likewise.
78558         (__expf): Call __ieee754_expf before checking for overflow and
78559         underflow.
78560         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
78561         (u_threshold): Likewise.
78562         (__expl): Call __ieee754_expl before checking for overflow and
78563         underflow.
78564         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
78565         (__ieee754_expl): Allow for and saturate large arguments.
78566         * math/libm-test.inc (exp_test): Add another test.  Do not allow
78567         missing overflow exception on overflow.
78568         (expm1_test): Do not allow missing overflow exception on overflow.
78570         * sysdeps/i386/fpu/e_expl.c: Move to ...
78571         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
78572         rather than using inline asm.
78573         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
78574         * sysdeps/x86_64/fpu/e_expl.S: Copy from
78575         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
78577         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
78578         (nice): Likewise.
78579         (poll): Likewise.
78580         (signal): Likewise.
78581         (time): Likewise.
78582         (times): Likewise.
78584 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78586         * sysdeps/unix/syscalls.list (adjtime): Add entry from
78587         sysdeps/unix/common/syscalls.list.
78588         (fchmod): Likewise.
78589         (fchown): Likewise.
78590         (ftruncate): Likewise.
78591         (getrusage): Likewise.
78592         (gettimeofday): Likewise.
78593         (setpgid): Likewise.
78594         (setregid): Likewise.
78595         (setreuid): Likewise.
78596         (sigaction): Likewise.
78597         (truncate): Likewise.
78598         (vhangup): Likewise.
78599         * sysdeps/unix/common/syscalls.list: Remove file.
78600         * sysdeps/unix/bsd/Implies: Don't include unix/common.
78601         * sysdeps/unix/sysv/linux/Implies: Likewise.
78603 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
78605         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
78606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
78607         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
78608         Moved to ...
78609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
78610         Here.
78611         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
78612         to ...
78613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
78614         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
78615         to ...
78616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
78617         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
78618         to ...
78619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
78620         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
78621         to ...
78622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
78623         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
78624         to ...
78625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
78626         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
78627         to ...
78628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
78629         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
78630         to ...
78631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
78632         Here.
78633         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
78634         to ...
78635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
78636         Here.
78637         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
78638         to ...
78639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
78640         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
78641         Moved to ...
78642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
78643         Here.
78644         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
78645         to ...
78646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
78648 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78650         * sysdeps/unix/common/bits/dirent.h: Remove file.
78651         * sysdeps/unix/common/bits/fcntl.h: Likewise.
78653         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
78654         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
78655         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
78656         * sysdeps/unix/bsd/isatty.c: Likewise.
78657         * sysdeps/unix/bsd/tcdrain.c: Likewise.
78658         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
78659         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
78661 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78663         [BZ #13563]
78664         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
78665         long double comparison inaccuracies.
78666         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
78667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78669 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
78671         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
78672         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
78674 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78676         [BZ #14049]
78677         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
78678         nonzero digits before rounding a hex value.
78679         * stdlib/tst-strtod.c (tests): Add another test.
78681 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78683         * sysdeps/s390/fpu/libm-test-ulps: Update.
78685 2012-05-03  Andreas Jaeger  <aj@suse.de>
78687         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
78688         does not get optimized out.
78689         (malloc_opt_barrier): New.
78691 2012-05-03  Andreas Jaeger  <aj@suse.de>
78692             Roland McGrath  <roland@hack.frob.com>
78694         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
78695         intermediate file deletion.
78696         (generated): Add .symlist files.
78698 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
78700         [BZ #13775]
78701         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
78702         Redirect under this condition.
78703         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78704         [__USE_GNU] (__dprintf_chk): Not under this condition.
78705         [__USE_GNU] (__vdprintf_chk): Likewise.
78706         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
78707         under this condition.
78708         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78709         [__USE_XOPEN2K8] (dprintf): Define under this condition.
78710         [__USE_XOPEN2K8] (vdprintf): Likewise.
78711         [__USE_GNU] (__dprintf_chk): Not under this condition.
78712         [__USE_GNU] (__vdprintf_chk): Likewise.
78713         [__USE_GNU] (dprintf): Likewise.
78714         [__USE_GNU] (vdprintf): Likewise.
78716 2012-05-03  Roland McGrath  <roland@hack.frob.com>
78718         * elf/Makefile (common-generated): Set this instead of generated for
78719         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
78720         $(all-built-dso)-derived lists.
78722 2012-05-03  Andreas Jaeger  <aj@suse.de>
78724         * sysdeps/i386/fpu/libm-test-ulps: Update.
78726         * FAQ: Removed.
78727         * FAQ.in: Likewise.
78728         * scripts/gen-FAQ.pl: Likewise.
78729         * manual/install.texi (Installation): Point to online location of
78730         FAQ.
78731         * Makefile (files-for-dist): Remove FAQ.
78732         (FAQ): Remove.
78734 2012-05-02  Allan McRae  <allan@archlinux.org>
78736         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
78737         (LDFLAGS-reldepmod5.so): Likewise.
78738         (LDFLAGS-reldep6mod1.so): Likewise.
78739         (LDFLAGS-reldep6mod4.so): Likewise.
78740         (LDFLAGS-reldep8mod3.so): Likewise.
78741         (LDFLAGS-unload4mod1.so): Likewise.
78742         (LDFLAGS-unload4mod2.so): Likewise.
78743         (LDFLAGS-tst-initorder): Likewise.
78744         (LDFLAGS-tst-initordera2.so): Likewise.
78745         (LDFLAGS-tst-initordera3.so): Likewise.
78746         (LDFLAGS-tst-initordera4.so): Likewise.
78747         (LDFLAGS-tst-initorderb2.so): Likewise.
78748         (LDFLAGS-noload): Likewise.
78749         (LDFLAGS-next): Likewise.
78750         (LDFLAGS-order2mod1.so): Likewise.
78751         (LDFLAGS-order2mod2.so): Likewise.
78752         (LDFLAGS-tst-initorder2): Likewise.
78753         (LDFLAGS-tst-initorder2a.so): Likewise.
78754         (LDFLAGS-tst-initorder2b.so): Likewise.
78755         (LDFLAGS-tst-initorder2c.so): Likewise.
78756         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
78758 2012-05-02  David S. Miller  <davem@davemloft.net>
78760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78762 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
78764         [BZ #14055]
78765         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
78767 2012-05-02  Andreas Jaeger  <aj@suse.de>
78769         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
78770         since we manipulate rounding mode.
78771         (CPPFLAGS-test-idouble.c): Likewise.
78772         (CPPFLAGS-test-ifloat.c): Likewise.
78773         (CFLAGS-test-ldouble.c): Likewise.
78774         (CFLAGS-test-double.c): Likewise.
78775         (CFLAGS-test-float.c): Likewise.
78776         (CFLAGS-test-misc.c): Likewise.
78777         (CFLAGS-test-test-fenv.c): Likewise.
78779 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78781         [BZ #2550]
78782         [BZ #2570]
78783         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
78784         comparisons to determine direction to adjust input.
78786 2012-05-01  Roland McGrath  <roland@hack.frob.com>
78788         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
78789         output to the target.
78791         * scripts/localplt.awk: New file.
78792         * elf/Makefile ($(objpfx)check-localplt): Target removed.
78793         (check-localplt-CFLAGS): Variable removed.
78794         ($(all-built-dso:=.jmprel)): New static pattern rule.
78795         (generated): Add those targets.
78796         (localplt-built-dso): New variable.
78797         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
78799         * elf/check-localplt.c: File removed.
78801         * scripts/check-execstack.awk: New file.
78802         * elf/Makefile ($(objpfx)check-execstack): Target removed.
78803         (check-execstack-CFLAGS): Variable removed.
78804         ($(objpfx)check-execstack.h): Target removed.
78805         ($(objpfx)execstack-default): New target.
78806         (generated): Add that instead of check-execstack.h.
78807         ($(all-built-dso:=.phdr)): New static pattern rule.
78808         (generated): Add those targets.
78809         * elf/check-execstack.c: File removed.
78811         * scripts/check-textrel.awk: New file.
78812         * elf/Makefile ($(objpfx)check-textrel): Target removed.
78813         (check-textrel-CFLAGS): Variable removed.
78814         (all-built-dso): Use := to define.o
78815         ($(all-built-dso:=.dyn)): New static pattern rule.
78816         (generated): Add those targets.
78817         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
78818         * config.make.in (READELF): New substituted variable.
78819         * elf/check-textrel.c: File removed.
78821 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78823         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78824         allow.
78825         * conform/data/ctype.h-data [C99-based standards] (isblank):
78826         Expect function.
78827         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
78828         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
78829         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78830         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
78831         Specify type.  Require positive value.
78832         (EILSEQ): Likewise.
78833         (ERANGE): Likewise.
78834         [ISO || POSIX] (EILSEQ): Do not expect.
78835         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
78836         Specify type.  Require positive value.
78837         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
78838         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
78839         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
78840         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
78841         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
78842         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
78843         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
78844         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
78845         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
78846         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
78847         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
78848         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
78849         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
78850         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
78851         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
78852         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
78853         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
78854         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
78855         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
78856         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
78857         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
78858         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
78859         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
78860         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
78861         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
78862         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
78863         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
78864         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
78865         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
78866         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
78867         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
78868         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
78869         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
78870         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
78871         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
78872         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
78873         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
78874         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
78875         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
78876         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
78877         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
78878         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
78879         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
78880         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
78881         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
78882         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
78883         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
78884         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
78885         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
78886         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
78887         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
78888         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
78889         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
78890         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
78891         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
78892         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
78893         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
78894         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
78895         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
78896         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
78897         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
78898         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
78899         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
78900         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
78901         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
78902         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
78903         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
78904         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
78905         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
78906         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
78907         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
78908         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
78909         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
78910         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
78911         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
78912         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
78913         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
78914         Require >= 2.
78915         (FLT_ROUNDS): Expect as macro, not constant.
78916         (FLT_MANT_DIG): Use macro-int-constant.
78917         (DBL_MANT_DIG): Likewise.
78918         (LDBL_MANT_DIG): Likewise.
78919         (FLT_DIG): Likewise.
78920         (DBL_DIG): Likewise.
78921         (LDBL_DIG): Likewise.
78922         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
78923         (DBL_MIN_EXP): Likewise.
78924         (LDBL_MIN_EXP): Likewise.
78925         (FLT_MAX_EXP): Use macro-int-constant.
78926         (DBL_MAX_EXP): Likewise.
78927         (LDBL_MAX_EXP): Likewise.
78928         (FLT_MAX_10_EXP): Likewise.
78929         (DBL_MAX_10_EXP): Likewise.
78930         (LDBL_MAX_10_EXP): Likewise.
78931         (FLT_MAX): Use macro-constant.
78932         (DBL_MAX): Likewise.
78933         (LDBL_MAX): Likewise.
78934         (FLT_EPSILON): Use macro-constant.  Give upper bound.
78935         (DBL_EPSILON): Likewise.
78936         (LDBL_EPSILON): Likewise.
78937         (FLT_MIN): Likewise.
78938         (DBL_MIN): Likewise.
78939         (LDBL_MIN): Likewise.
78940         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
78941         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
78942         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
78943         [ISO11] (FLT_HAS_SUBNORM): Likewise.
78944         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
78945         [ISO11] (DBL_DECIMAL_DIG): Likewise.
78946         [ISO11] (FLT_DECIMAL_DIG): Likewise.
78947         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
78948         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
78949         [ISO11] (FLT_TRUE_MIN): Likewise.
78950         [ISO11] (LDBL_TRUE_MIN): Likewise.
78951         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78952         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
78953         (SCHAR_MIN): Use macro-int-constant.  Specify type.
78954         (SCHAR_MAX): Likewise.
78955         (UCHAR_MAX): Likewise.
78956         (CHAR_MIN): Likewise.
78957         (CHAR_MAX): Likewise.
78958         (MB_LEN_MAX): Use macro-int-constant.
78959         (SHRT_MIN): Use macro-int-constant.  Specify type.
78960         (SHRT_MAX): Likewise.
78961         (USHRT_MAX): Likewise.
78962         (INT_MAX): Likewise.
78963         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
78964         bound negative.
78965         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78966         bound with "U".
78967         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78968         bound with "L".
78969         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
78970         bound negative.  Suffix upper bound with "L".
78971         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78972         bound with "UL".
78973         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
78974         Specify type.
78975         [C99-based standards] (LLONG_MAX): Likewise.
78976         [C99-based standards] (ULLONG_MAX): Likewise.
78977         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
78978         == 0.
78979         [ISO11] (max_align_t): Require type.
78980         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78982         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
78983         from $CFLAGS, without defining away __attribute__ calls.
78984         (checknamespace): Use $CFLAGS_namespace.
78986         * conform/conformtest.pl (@keywords): Only include C99 keywords
78987         for standards based on C99 or C11.
78989         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
78990         Disable tests.
78991         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
78992         UNIX98]: Likewise.
78994         * conform/conformtest.pl: Handle "macro-int-constant" and test for
78995         usability of symbols in #if.
78997         * conform/conformtest.pl: If macro or constant types start
78998         "promoted:", expect the symbol to be of the following type
78999         promoted by the integer promotions.
79001         * conform/conformtest.pl: Parse all "constant" and "macro" lines
79002         in one place.  Also handle "macro-constant".
79004         * conform/conformtest.pl: Only accept expected macro values with
79005         "==".  Parse all "macro" lines in one place.
79006         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
79008         * conform/conformtest.pl: Handle braced types on "constant" lines
79009         instead of handling "typed-constant".
79010         * conform/data/signal.h-data: Use "constant" instead of
79011         "typed-constant".
79013         * conform/conformtest.pl: Handle "optional-" at start of lines in
79014         one place rather than duplicating several cases.  Handle each
79015         format of "macro" line with initial "optional-".
79017         * conform/conformtest.pl: Only accept expected constant or
79018         optional-constant values with "==".  Parse all "constant" lines in
79019         one place.  Parse all "optional-constant" lines in one place.
79020         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
79021         * conform/data/fmtmsg.h-data: Likewise.
79022         * conform/data/netinet/in.h-data: Likewise.
79023         * conform/data/tar.h-data: Likewise.
79024         * conform/data/limits.h-data: Use "==" form on "constant" and
79025         "optional-constant" lines.
79027         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
79028         Use -std=c99 for XOPEN2K.
79029         (@knownproblems): Remove.
79030         (newtoken): Don't check %isknown.
79032         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
79033         Do not expect macro.
79034         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
79035         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
79036         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
79037         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
79038         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
79039         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
79040         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
79041         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
79042         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
79043         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
79044         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
79045         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
79046         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
79047         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
79048         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
79049         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
79050         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
79051         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
79052         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
79053         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
79054         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
79055         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
79056         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
79057         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
79058         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
79059         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
79060         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
79061         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
79062         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
79063         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
79064         [XPG3] (acosh): Likewise.
79065         [XPG3] (asinh): Likewise.
79066         [XPG3] (atanh): Likewise.
79067         [XPG3] (cbrt): Likewise.
79068         [XPG3] (expm1): Likewise.
79069         [XPG3] (ilogb): Likewise.
79070         [XPG3] (log1p): Likewise.
79071         [XPG3] (logb): Likewise.
79072         [XPG3] (nextafter): Likewise.
79073         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
79074         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
79075         [XPG3] (remainder): Likewise.
79076         [XPG3] (rint): Likewise.
79077         [XPG3 || XPG4 || UNIX98] (round): Likewise.
79078         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
79079         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
79080         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
79081         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
79082         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
79083         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
79084         [UNIX98 || XOPEN2K] (scalb): Expect.
79085         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
79086         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
79087         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
79088         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
79089         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
79090         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
79091         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
79092         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
79093         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
79094         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
79095         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
79096         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
79097         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
79098         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
79099         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
79100         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
79101         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
79102         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
79103         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
79104         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
79105         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
79106         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
79107         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
79108         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
79109         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
79110         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
79111         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
79112         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
79113         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
79114         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
79115         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
79116         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
79117         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
79118         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
79119         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
79120         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
79121         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
79122         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
79123         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
79124         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
79125         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
79126         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
79127         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
79128         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
79129         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
79130         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
79131         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
79132         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
79133         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
79134         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
79135         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
79136         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
79137         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
79138         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
79139         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
79140         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
79141         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
79142         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
79143         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
79144         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
79145         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
79146         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
79147         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
79148         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
79149         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
79150         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
79151         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
79152         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
79153         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
79154         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
79155         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
79156         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
79157         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
79158         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
79159         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
79160         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
79161         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
79162         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
79163         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
79164         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
79165         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
79166         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
79167         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
79168         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
79169         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
79170         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
79171         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
79172         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
79173         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
79174         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
79175         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
79176         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
79177         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
79178         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
79179         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
79180         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
79181         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
79182         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
79183         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
79184         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
79185         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
79186         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
79187         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
79188         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
79189         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
79190         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
79191         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
79192         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
79193         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
79194         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
79195         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
79196         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
79197         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
79198         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
79199         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
79200         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
79201         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
79202         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
79203         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
79204         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
79205         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
79206         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
79207         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
79208         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
79209         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
79210         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
79211         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
79212         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
79213         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
79214         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
79215         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
79216         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
79217         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
79218         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
79219         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
79220         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
79221         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
79223         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
79224         _XOPEN_SOURCE_EXTENDED for XPG4.
79226         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
79228         * Makeconfig (localtime): Remove variable.
79229         (inst_localtime-file): Likewise.
79231 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
79234         Update.
79235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79236         Update.
79237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
79238         Update.
79239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
79240         Update.
79241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
79242         Update.
79243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
79244         Update.
79245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79246         Update.
79247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
79248         Update.
79249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79250         Update.
79252 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79254         [BZ #2550]
79255         [BZ #2570]
79256         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
79257         comparisons to determine direction to adjust input.
79258         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
79259         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
79260         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
79261         Likewise.
79262         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
79263         Likewise.
79264         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
79265         Likewise.
79266         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
79267         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
79268         Likewise.
79269         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
79270         Likewise.
79271         * math/libm-test.inc (nexttoward_test): Add more tests.
79273 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79275         [BZ #14040]
79276         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
79277         in version GLIBC_2.1, not GLIBC_2.0.
79278         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
79279         Likewise.
79281 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
79283         [BZ #13942]
79284         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
79285         (1 - x) * (1 + x).
79286         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79287         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
79288         * math/libm-test.inc (acos_test): Add more tests.
79289         (asin_test): Likewise.
79290         * sysdeps/i386/fpu/libm-test-ulps: Update.
79291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79293         [BZ #14034]
79294         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
79295         of square root.
79296         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
79297         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79298         * math/libm-test.inc (acos_test_tonearest): New function.
79299         (acos_test_towardzero): Likewise.
79300         (acos_test_downward): Likewise.
79301         (acos_test_upward): Likewise.
79302         (asin_test_tonearest): Likewise.
79303         (asin_test_towardzero): Likewise.
79304         (asin_test_downward): Likewise.
79305         (asin_test_upward): Likewise.
79306         (main): Call the new functions.
79307         * sysdeps/i386/fpu/libm-test-ulps: Update.
79308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79310         [BZ #13884]
79311         [BZ #13924]
79312         * math/e_exp10.c: Include <float.h>.
79313         (__ieee754_exp10): Handle underflow here rather than multiplying
79314         large negative argument by M_LN10.
79315         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
79316         of __ieee754_expf.
79317         * math/e_exp10l.c: Include <float.h>.
79318         (__ieee754_exp10l): Handle underflow here rather than multiplying
79319         large negative argument by M_LN10l.
79320         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
79321         spurious overflow exception on underflow.
79323 2012-04-29  Marek Polacek  <polacek@redhat.com>
79325         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
79326         (__fortify_function): New macro.
79327         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
79328         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
79329         __extern_always_inline.
79330         * libio/bits/stdio2.h: Likewise.
79331         * libio/bits/stdio.h: Likewise.
79332         * string/string.h: Likewise.
79333         * string/bits/string3.h: Likewise.
79334         * include/stdio.h: Likewise.
79335         * stdlib/bits/stdlib.h: Likewise.
79336         * stdlib/stdlib.h: Likewise.
79337         * rt/bits/mqueue2.h: Likewise.
79338         * rt/mqueue.h: Likewise.
79339         * posix/bits/unistd.h: Likewise.
79340         * posix/unistd.h: Likewise.
79341         * io/bits/poll2.h: Likewise.
79342         * io/bits/fcntl2.h: Likewise.
79343         * io/fcntl.h: Likewise.
79344         * io/sys/poll.h: Likewise.
79345         * misc/bits/syslog.h: Likewise.
79346         * misc/bits/syslog-ldbl.h: Likewise.
79347         * misc/sys/syslog.h: Likewise.
79348         * socket/bits/socket2.h: Likewise.
79349         * socket/sys/socket.h: Likewise.
79350         * debug/tst-chk1.c: Likewise.
79351         * wcsmbs/bits/wchar2.h: Likewise.
79352         * wcsmbs/bits/wchar-ldbl.h: Likewise.
79353         * wcsmbs/wchar.h: Likewise.
79355 2012-04-29  Andreas Jaeger  <aj@suse.de>
79357         * Makerules (tests): Remove enable-check-abi protection.
79358         (check-abi-warn): Remove.
79359         (check-abi-%): Remove check-abi-warn usage.
79361         * configure.in: Remove check-abi configure option.
79362         * configure: Regenerated.
79363         * config.make.in (enable-check-abi): Remove.
79365 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
79367         [BZ #14033]
79368         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
79369         double functions to double *_finite functions.
79371         [BZ #13941]
79372         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
79373         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
79374         LDBL_MIN_EXP.
79375         * stdio-common/Makefile (tests): Add tst-sprintf3.
79376         * stdio-common/tst-sprintf3.c: New file.
79378         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
79379         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
79381 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79383         * conform/conformtest.pl: Remove duplicate typed-constant
79384         handling.
79386 2012-04-28  David S. Miller  <davem@davemloft.net>
79388         * Makerules (%.abilist): Add vpath on sysdep_dirs.
79389         (check-abi-%): Remove AWK script prerequisite and explicit
79390         abilist directory.
79391         (check-abi): Rewrite to just diff the symlist with the abilist.
79392         (config-tls, config-abi-config): Delete, no longer used.
79393         (update-abi-%): Remove AWK script and explicit abilist directory.
79394         (update-abi): Rewrite to simply compare and conditionally copy the
79395         symlist and the sysdep abilist file.  Remove update-abi-config
79396         checks.
79397         * abilist/ld.abilist: Remove.
79398         * abilist/libBrokenLocale.abilist: Remove.
79399         * abilist/libanl.abilist: Remove.
79400         * abilist/libcrypt.abilist: Remove.
79401         * abilist/libdl.abilist: Remove.
79402         * abilist/librt.abilist: Remove.
79403         * abilist/libthread_db.abilist: Remove.
79404         * abilist/libutil.abilist: Remove.
79405         * scripts/extract-abilist.awk: Remove.
79406         * scripts/merge-abilist.awk: Remove.
79407         * sysdeps/generic/libcidn.abilist: New file.
79408         * sysdeps/generic/libnss_compat.abilist: New file.
79409         * sysdeps/generic/libnss_db.abilist: New file.
79410         * sysdeps/generic/libnss_dns.abilist: New file.
79411         * sysdeps/generic/libnss_files.abilist: New file.
79412         * sysdeps/generic/libnss_hesiod.abilist: New file.
79413         * sysdeps/generic/libnss_nis.abilist: New file.
79414         * sysdeps/generic/libnss_nisplus.abilist: New file.
79415         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
79416         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
79417         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
79418         file.
79419         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
79420         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
79421         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
79422         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
79423         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
79424         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
79425         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
79426         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
79427         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
79428         file.
79429         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
79430         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
79431         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
79432         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
79433         file.
79434         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
79435         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
79436         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
79437         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
79438         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
79439         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
79440         file.
79441         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
79442         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
79443         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
79444         file.
79445         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
79446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
79447         New file.
79448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
79449         New file.
79450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
79451         New file.
79452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
79453         New file.
79454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
79455         New file.
79456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
79457         New file.
79458         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
79459         New file.
79460         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
79461         New file.
79462         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
79463         New file.
79464         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
79465         New file.
79466         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
79467         New file.
79468         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
79469         New file.
79470         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
79471         New file.
79472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
79473         file.
79474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
79475         New file.
79476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
79477         New file.
79478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
79479         file.
79480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
79481         New file.
79482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
79483         New file.
79484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
79485         file.
79486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
79487         New file.
79488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79489         New file.
79490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
79491         New file.
79492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
79493         New file.
79494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
79495         New file.
79496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
79497         New file.
79498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
79499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
79500         file.
79501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
79502         New file.
79503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
79504         file.
79505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
79506         file.
79507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
79508         file.
79509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
79510         file.
79511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
79512         file.
79513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79514         New file.
79515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
79516         file.
79517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
79518         file.
79519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
79520         New file.
79521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
79522         file.
79523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
79524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
79525         file.
79526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
79527         New file.
79528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
79529         file.
79530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
79531         file.
79532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
79533         file.
79534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
79535         file.
79536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
79537         file.
79538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79539         New file.
79540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
79541         file.
79542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
79543         file.
79544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
79545         New file.
79546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
79547         file.
79548         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79549         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
79550         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
79551         file.
79552         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
79553         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
79554         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
79555         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
79556         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
79557         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
79558         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
79559         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
79560         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
79561         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
79562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
79563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
79564         file.
79565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
79566         New file.
79567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
79568         file.
79569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
79570         file.
79571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
79572         file.
79573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
79574         file.
79575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
79576         file.
79577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
79578         New file.
79579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
79580         New file.
79581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
79582         file.
79583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
79584         New file.
79585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
79586         file.
79587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
79588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
79589         file.
79590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
79591         New file.
79592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
79593         file.
79594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
79595         file.
79596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
79597         file.
79598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
79599         file.
79600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
79601         file.
79602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
79603         New file.
79604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
79605         New file.
79606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
79607         file.
79608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
79609         New file.
79610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
79611         file.
79613 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79615         * conform/conformtest.pl: Fix typo in handling typed-constant from
79616         allow-header.
79618 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
79620         * README: Cut down references to pre-2.6 Linux kernels and
79621         Linuxthreads.  Update lists of configurations in libc and ports
79622         and sort alphabetically.  Say "or newer" with Linux kernel version
79623         requirements.
79625         * config.h.in [IS_IN_build]: Allow compiling without optimization.
79627 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
79629         [BZ #887]
79630         * math/libm-test.inc (logb_test_downward): New test to expose
79631         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
79632         rounding mode.
79634 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
79636         [BZ #14027]
79637         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
79638         to be done.
79639         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
79640         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
79642 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
79644         * sysdeps/unix/i386/brk.S: Remove file.
79645         * sysdeps/unix/i386/dl-brk.S: Likewise.
79646         * sysdeps/unix/i386/pipe.S: Likewise.
79647         * sysdeps/unix/i386/sigreturn.S: Likewise.
79648         * sysdeps/unix/i386/syscall.S: Likewise.
79649         * sysdeps/unix/i386/vfork.S: Likewise.
79650         * sysdeps/unix/i386/wait.S: Likewise.
79652         * sysdeps/unix/common/tcsendbrk.c: Move to ...
79653         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
79655         * configure.in (arm*-none*): Do not allow without
79656         --enable-hacker-mode.
79657         (netbsd*): Remove case setting base_os.
79658         (386bsd*): Likewise.
79659         (freebsd*): Likewise.
79660         (bsdi*): Likewise.
79661         (osf*): Likewise.
79662         (sunos*): Likewise.
79663         (ultrix*): Likewise.
79664         (newsos*): Likewise.
79665         (dynix*): Likewise.
79666         (*bsd*): Likewise.
79667         (sysv*): Likewise.
79668         (isc*): Likewise.
79669         (esix*): Likewise.
79670         (sco*): Likewise.
79671         (minix*): Likewise.
79672         (irix4*): Likewise.
79673         (irix6*): Likewise.
79674         (solaris[2-9]*): Likewise.
79675         (none): Likewise.
79676         * configure: Regenerated.
79678 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79680         [BZ #11521]
79681         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
79682         overflow or cancellation in calculating denominator.
79683         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
79684         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
79685         down expression to avoid unexpected rounding in newer GCCs.
79686         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
79688 2012-04-26  David S. Miller  <davem@davemloft.net>
79690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
79691         long-double compat symbols.
79692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
79696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
79698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
79699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
79700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
79701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
79702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
79703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
79704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79706 2012-04-25  David S. Miller  <davem@davemloft.net>
79708         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
79709         HWCAP_* values only after the memory barriers have been defined.
79710         (atomic_full_barrier): Define.
79711         (atomic_read_barrier): Define.
79712         (atomic_write_barrier): Define.
79714 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79716         * shlib-versions: Add libgcc_s version information.
79717         * sysdeps/generic/libgcc_s.h: Remove.
79718         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
79719         libgcc_s.h.
79720         * sysdeps/gnu/unwind-resume.c: Likewise.
79721         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
79723 2012-04-25  David S. Miller  <davem@davemloft.net>
79725         * sysdeps/unix/sparc/brk.S: Delete.
79726         * sysdeps/unix/sparc/dl-brk.S: Delete.
79727         * sysdeps/unix/sparc/pipe.S: Delete.
79728         * sysdeps/unix/sparc/sysdep.S: Delete.
79729         * sysdeps/unix/sparc/sysdep.h: Delete.
79730         * sysdeps/unix/sparc/vfork.S: Delete.
79731         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
79732         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
79733         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
79734         (ret_ERRVAL, r0, r1, MOVE): Define.
79735         (JUMPTARGET): Remove.
79736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
79737         sysdeps/unix/sparc/sysdep.h
79738         (ENTRY, END): Remove.
79739         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79741 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
79743         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
79744         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
79745         -DIS_IN_build.
79747         * timezone/README: Update upstream location and email address for
79748         tzcode and tzdata.
79749         * timezone/zdump.c: Update from tzcode 2012b.
79750         * timezone/zic.c: Likewise.
79752         * configure.in (libc_cv_as_needed): Remove test.
79753         * configure: Regenerated.
79754         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
79755         conditional definition.
79756         [$(have-as-needed) != yes] (no-as-needed): Likewise.
79757         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
79758         * config.make.in (have-as-needed): Remove variable.
79760 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
79761             Paul Pluzhnikov  <ppluzhnikov@google.com>
79763         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
79764         strings correctly.
79766 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
79768         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
79769         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
79770         * sysdeps/sh/strlen.S: Likewise.
79772 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79774         * sysdeps/unix/fork.S: Remove file.
79775         * sysdeps/unix/i386/fork.S: Likewise.
79776         * sysdeps/unix/sparc/fork.S: Likewise.
79778         * sysdeps/unix/system.c: Remove file.
79779         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
79781         * sysdeps/unix/getegid.S: Remove file.
79782         * sysdeps/unix/geteuid.S: Likewise.
79784 2012-04-24  Roland McGrath  <roland@hack.frob.com>
79786         * scripts/check-localplt.awk: New file.
79787         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
79788         of diff.
79789         * scripts/data/localplt-generic.data: Add a comment.
79791         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
79792         NODE when __dir_mkfile failed.
79793         * sysdeps/mach/hurd/symlinkat.c: Likewise.
79794         Reported by Ludovic Courtès <ludo@gnu.org>.
79796 2012-04-24  Andreas Jaeger  <aj@suse.de>
79798         * Makerules (common-clean): Also remove gen-as-const-headers
79799         files.
79801 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79803         * Makerules (native-compile): Do not change working directory for
79804         build.  Use $(OUTPUT_OPTION) in command.
79805         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
79807 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79809         [BZ #13886]
79810         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
79811         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
79812         * math/libm-test.inc (floor_test): Add more tests.
79813         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
79815 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79817         * sysdeps/unix/getdents.c: Remove file.
79818         * sysdeps/unix/sysv/getdents.c: Likewise.
79819         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
79821         * sysdeps/unix/syscalls.list (madvise): Add syscall from
79822         sysdeps/unix/mman/syscalls.list.
79823         (mmap): Likewise.
79824         (mprotect): Likewise.
79825         (msync): Likewise.
79826         (munmap): Likewise.
79827         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
79828         * sysdeps/unix/mman/syscalls.list: Remove.
79829         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
79831         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
79832         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
79833         * configure: Regenerated.
79834         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
79835         $(libgcc_s_suffix).
79836         * config.make.in (libgcc_s_suffix): Remove variable.
79838 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
79840         * sysdeps/unix/sysv/gethostname.c: Move to ...
79841         * sysdeps/posix/gethostname.c: ... here.
79843         * sysdeps/unix/execve.S: Remove file.
79845         * sysdeps/unix/_exit.S: Remove file.
79847 2012-04-23  Andreas Jaeger  <aj@suse.de>
79849         [BZ #13739]
79850         * manual/Makefile: Remove make dist support, there's no
79851         need for a stand-alone documentation tar ball.
79852         (TEXI2DVI): Define always, it's not in Makeconfig.
79853         (dist): Removed.
79854         (tar-it): Removed.
79855         (edition): Removed.
79856         (glibc-doc-$(edition).tar): Removed
79857         (%.Z): Removed.
79858         (%.gz): Removed.
79859         (%.uu): Removed.
79860         (ETAGS): Remove, it's in Makeconfig.
79861         (move-if-change): Remove, it's in Makeconfig.
79863 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
79865         [BZ #13970]
79866         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
79867         (strtod, strtof, strtold, strtol, strtoul, strtoq)
79868         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
79869         (strtod_l, strtof_l, strtold_l): Remove __wur.
79870         It is not necessarily an error to ignore strtol's return value.
79871         One can reliably look at the stored endptr to decide whether
79872         the number had valid syntax.
79874 2012-04-21  Andreas Jaeger  <aj@suse.de>
79876         [BZ #13739]
79877         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
79879 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
79881         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
79882         * sysdeps/unix/sysv/Versions: Remove file.
79884 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
79886         [BZ #13927]
79887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79889 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
79891         [BZ #7064]
79892         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
79893         version from __vm86.
79895 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
79897         * sysdeps/unix/common/lxstat.c: Remove file.
79898         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
79900         * sysdeps/unix/sysv/Makefile: Remove file.
79902         * sysdeps/unix/sysv/direct.h: Remove file.
79904         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
79905         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
79906         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
79907         * sysdeps/unix/sysv/bits/signum.h: Likewise.
79908         * sysdeps/unix/sysv/bits/stat.h: Likewise.
79909         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
79910         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
79912         * sysdeps/unix/sysv/setrlimit.c: Remove file.
79914         * sysdeps/unix/xmknod.c: Remove file.
79915         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
79917         * sysdeps/unix/sysv/settimeofday.c: Remove file.
79919         * sysdeps/unix/sysv/i386/time.S: Remove file.
79921         * sysdeps/unix/fxstat.c: Remove file.
79922         * sysdeps/unix/xstat.c: Likewise.
79923         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
79925         * sysdeps/unix/sysv/sigaction.c: Remove file.
79927         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
79928         (sysdep_headers): Remove variable.
79929         [termio.h not in sysdep_headers] (generated): Likewise.
79930         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
79931         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
79932         * sysdeps/unix/sysv/tcdrain.c: Likewise.
79933         * sysdeps/unix/sysv/tcflow.c: Likewise.
79934         * sysdeps/unix/sysv/tcflush.c: Likewise.
79935         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
79936         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
79937         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
79938         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
79939         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
79941         * sysdeps/unix/siglist.c: Remove file.
79943         * sysdeps/unix/getppid.S: Remove file.
79945         * sysdeps/unix/mkdir.c: Remove file.
79946         * sysdeps/unix/rmdir.c: Likewise.
79948 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
79950         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
79951         ERR_MAX value.
79952         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
79953         errlist-compat value.
79955 2012-04-18  David S. Miller  <davem@davemloft.net>
79957         * sysdeps/generic/memcopy.h (reg_char): Delete.
79958         * debug/strcat_chk.c: Use char, not reg_char.
79959         * debug/strcpy_chk.c: Likewise.
79960         * debug/strncat_chk.c: Likewise.
79961         * debug/strncpy_chk.c: Likewise.
79962         * string/memchr.c: Likewise.
79963         * string/memrchr.c: Likewise.
79964         * string/rawmemchr.c: Likewise.
79965         * string/strcat.c: Likewise.
79966         * string/strchr.c: Likewise.
79967         * string/strchrnul.c: Likewise.
79968         * string/strcmp.c: Likewise.
79969         * string/strcpy.c: Likewise.
79970         * string/strncat.c: Likewise.
79971         * string/strncmp.c: Likewise.
79972         * string/strncpy.c: Likewise.
79974 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79976         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
79977         __builtin_memcopy is called when src and dest ranges are known to not
79978         overlap.
79980 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79982         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
79983         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
79984         fwd_align_merge macro call.
79985         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
79986         bwd_align_merge macro call.
79987         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79989 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79991         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
79992         bwd_align_merge macros.
79993         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
79994         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
79995         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79997 2012-04-18  David S. Miller  <davem@davemloft.net>
79999         * sysdeps/sparc/sparc64/memcopy.h: Delete.
80001 2012-04-18  Andreas Jaeger  <aj@suse.de>
80003         [BZ #6794]
80004         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
80005         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
80006         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80008         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
80009         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
80010         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80012         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
80013         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
80014         Adjust for changed ldbl-128 files.
80016         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
80017         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
80018         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80020 2012-04-17  David S. Miller  <davem@davemloft.net>
80022         * sysdeps/sparc/sparc32/memcopy.h: Delete.
80024 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
80026         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
80027         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
80028         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
80029         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
80030         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
80031         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
80033 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80035         [BZ #6794]
80036         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
80037         * math/libm-test.inc: Add ilogb errno and exception tests.
80038         * math/w_ilogb.c: New file: ilogb wrapper.
80039         * math/w_ilogbf.c: New file: ilogbf wrapper.
80040         * math/w_ilogbl.c: New file: ilogbl wrapper.
80041         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
80042         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
80043         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
80044         exception being thrown with 0.0 as argument.
80045         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
80046         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
80047         exception being thrown with 0.0 as argument.
80048         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
80049         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80050         exception being thrown with 0.0 as argument.
80051         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
80052         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80053         exception being thrown with 0.0 as argument.
80054         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
80055         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
80056         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
80057         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
80058         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
80059         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
80060         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
80061         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
80062         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
80064 2012-04-17  Petr Baudis  <pasky@ucw.cz>
80066         * include/sys/uio.h: Change __vector to __iovec to avoid clash
80067         with altivec.
80069 2012-04-16  Marek Polacek  <polacek@redhat.com>
80071         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
80073 2012-04-16  Marek Polacek  <polacek@redhat.com>
80075         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
80076         operands of fdivp instruction.
80078 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80080         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
80081         * elf/tst-auditmod3b.c: Likewise.
80082         * elf/tst-auditmod4b.c: Likewise.
80083         * elf/tst-auditmod5b.c: Likewise.
80084         * elf/tst-auditmod6b.c: Likewise.
80085         * elf/tst-auditmod6c.c: Likewise.
80086         * elf/tst-auditmod7b.c: Likewise.
80087         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
80088         * sysdeps/x86_64/preconfigure.in: Likewise.
80089         * sysdeps/x86_64/preconfigure: Regenerated.
80091 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80093         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
80094         __ILP32__.
80096 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
80098         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80099         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
80101 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
80103         [BZ #13973]
80104         * locale/iso-639.def: Fix gl language name. Spotted by
80105         Yaron Shahrabani.
80107 2012-04-12  Roland McGrath  <roland@hack.frob.com>
80109         [BZ #2074]
80110         * libio/libio.h (__io_write_fn): Update comment.
80112 2012-04-12  Petr Baudis  <pasky@ucw.cz>
80114         [BZ #2074]
80115         * stdio.texi (Hook Functions): The user provided writer function
80116         is not allowed to return -1.
80118 2012-04-11  David S. Miller  <davem@davemloft.net>
80120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80122 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
80124         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
80125         Add a leading slash to rtkaio.
80127 2012-04-11  Jim Meyering  <meyering@redhat.com>
80129         [BZ #11959]
80130         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
80131         It is not necessarily an error to ignore fwrite's return
80132         value.  One can reliably use ferror to test for errors after
80133         the fact.
80135 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80137         * bits/types.h (__snseconds_t): New type.
80138         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
80140         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
80141         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80142         (__SNSECONDS_T_TYPE): Likewise.
80143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80144         (__SNSECONDS_T_TYPE): Likewise.
80145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80146         (__SNSECONDS_T_TYPE): Likewise.
80148 2012-04-10  Andreas Jaeger  <aj@suse.de>
80150         [BZ #2636]
80151         * manual/time.texi (Processor Time): Return type of times is
80152         elapsed real time since an arbitrary point in the past.
80153         (CPU Time): Move CLK_TCK from here...
80154         (Processor Time): ...to here.  Correct description.
80155         * manual/conf.texi (Constants for Sysconf): Correct description of
80156         _SC_CLK_TCK.
80158 2012-04-10  David S. Miller  <davem@davemloft.net>
80160         [BZ #13967]
80161         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
80162         where the is a gap between DT_REL(A) and DT_JMPREL.
80164 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80166         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
80167         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80168         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80170 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
80172         * elf/dl-support.c (_dl_inhibit_cache): New variable.
80173         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
80174         (dl_main): Handle --inhibit-cache.
80175         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
80176         _dl_inhibit_cache.
80177         * elf/dl-load.c (_dl_map_object): Use it.
80178         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
80180 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80182         [BZ #13872]
80183         * sysdeps/i386/fpu/e_powl.S (p78): New object.
80184         (__ieee754_powl): Saturate large exponents rather than testing for
80185         overflow of y*log2(x).
80186         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80187         * math/libm-test.inc (pow_test): Do not permit spurious overflow
80188         exceptions.
80190         [BZ #11521]
80191         * math/s_ctan.c: Include <float.h>.
80192         (__ctan): Avoid internal overflow or cancellation in calculating
80193         denominator.
80194         * math/s_ctanf.c: Likewise.
80195         * math/s_ctanl.c: Likewise.
80196         * math/s_ctanh.c: Likewise.
80197         * math/s_ctanhf.c: Likewise.
80198         * math/s_ctanhl.c: Likewise.
80199         * math/libm-test.inc (ctan_test): Add more tests.
80200         (ctanh_test): Likewise.
80201         * sysdeps/i386/fpu/libm-test-ulps: Update.
80202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80204 2012-04-09  Andreas Jaeger  <aj@suse.de>
80206         [BZ #6894]
80207         * manual/filesys.texi (Directory Entries): Mention that d_namlen
80208         is an optional BSD extension.
80210         [BZ #10254]
80211         * manual/stdio.texi (Opening Streams): Document additional fopen
80212         parameters.
80214 2012-04-09  Roland McGrath  <roland@hack.frob.com>
80216         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
80217         %eax without telling the compiler.
80219 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
80221         [BZ # 13963]
80222         * manual/install.texi: Use sourceware.org.
80224 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80226         [BZ #13873]
80227         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
80228         (__ieee754_pow): Generate overflow and underflow using huge*huge
80229         and tiny*tiny rather than just returning constant infinity or zero
80230         for large exponents.
80231         * math/libm-test.inc (pow_test): Require overflow exceptions for
80232         applicable cases of large exponents.
80234         [BZ #706]
80235         * sysdeps/i386/fpu/e_pow.S (p10): New object.
80236         (__ieee754_pow): Use iterative multiplication algorithm only for
80237         integer exponents with absolute value below 1024.  Check for odd
80238         integer exponents when using algorithm for real exponents.
80239         * math/libm-test.inc (pow_test): Add more tests.
80240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80242 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
80244         [BZ #13705]
80245         * math/libm-test.inc (exp_test): Do not allow overflow exception
80246         on underflow test.
80248 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
80250         [BZ #13705]
80251         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
80252         instead of __kernel_standard_f.
80254 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
80256         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
80257         * sysdeps/x86_64/memset_chk.S: Likewise.
80259 2012-04-08  Andreas Jaeger  <aj@suse.de>
80261         [BZ #10153]
80262         * manual/startup.texi (Environment Access): Describe return value
80263         for putenv and setenv.
80265         [BZ #6895]
80266         * manual/filesys.texi (Directory Entries): Add description for
80267         DT_LNK.
80269         [BZ #6890]
80270         * manual/filesys.texi (Directory Entries): Clarify that it's file
80271         system not operating system in the description of DT_UNKNOWN.
80273         [BZ #6578]
80274         * manual/syslog.texi (closelog): Fix reference, it's openlog.
80276 2012-04-08  Stephen Compall  <s11@member.fsf.org>
80278         [BZ #6649]
80279         * manual/llio.texi (Opening and Closing Files): Add cross
80280         reference to explain mode argument.
80282 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
80284         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
80285         * sysdeps/x86_64/memset_chk.S: Likewise.
80287 2012-04-07  David S. Miller  <davem@davemloft.net>
80289         * elf/elf.h (R_SPARC_WDISP10): Define.
80290         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
80291         R_SPARC_SIZE32.
80292         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
80293         R_SPARC_SIZE64 and R_SPARC_H34.
80295 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
80297         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
80298         conditions and remove no longer applicable assertion.
80300 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80302         * bits/byteswap.h: Include <features.h>.
80303         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80304         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80306 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80308         * bits/byteswap.h (__bswap_16): Removed.
80309         Include <bits/byteswap-16.h> to get __bswap_16.
80310         * sysdeps/i386/bits/byteswap.h: Likewise.
80311         * sysdeps/s390/bits/byteswap.h: Likewise.
80312         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80313         * bits/byteswap-16.h: New file.
80314         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80315         * sysdeps/s390/bits/byteswap-16.h: Likewise.
80316         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
80317         * string/Makefile (headers): Add bits/byteswap-16.h.
80319 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80321         [BZ #13895]
80322         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
80323         extra indirection.
80324         * nss/Makefile (tests-static, tests): Add tst-nss-static.
80325         * nss/tst-nss-static.c: New.
80327 2012-04-06  Robert Millan  <rmh@gnu.org>
80329         [BZ #6486]
80330         * manual/llio.texi (File Position Primitive): lseek
80331         refers to WHENCE when it really means OFFSET.
80333 2012-04-06  Andreas Jaeger  <aj@suse.de>
80335         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
80336         strncmp declarations.
80338         * abilist/libc.abilist: Add __poll and __ppoll.
80340 2012-04-05  David S. Miller  <davem@davemloft.net>
80342         * scripts/check-local-headers.sh: Accept a host triplet in the
80343         path matched by the exclude regexp.
80345         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
80346         definition.
80347         * sysdeps/powerpc/powerpc32/dl-machine.h
80348         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
80349         * sysdeps/s390/s390-32/dl-machine.h
80350         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80351         * sysdeps/sparc/sparc32/dl-machine.h
80352         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80353         * sysdeps/sparc/sparc64/dl-machine.h
80354         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80356         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
80357         lazy binding.
80358         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
80359         undefined symbol errors.
80361         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
80362         DT_NEEDED entries.
80364 2012-04-05  Michael Matz  <matz@suse.de>
80366         [BZ #13592]
80367         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
80369 2012-04-05  Andreas Jaeger  <aj@suse.de>
80371         [BZ #13908]
80372         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
80373         comment.
80375 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80377         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
80378         which ROUND is no valid rounding mode.
80380 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80382         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
80383         read again.
80384         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
80386 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80388         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
80389         an exception using FPU order intentionally.
80391 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80393         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
80394         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
80395         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
80396         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
80398 2012-04-05  Simon Josefsson  <simon@josefsson.org>
80400         [BZ #12340]
80401         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
80402         EINVAL when BUFLEN is too smal.
80404 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
80406         [BZ #13553]
80407         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
80408         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
80410 2012-04-03  Andreas Jaeger  <aj@suse.de>
80412         [BZ #13938]
80413         * manual/setjmp.texi (System V contexts): Fix sentence.
80415         [BZ #13926]
80416         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
80417         New macro for this case.
80418         [!__GNUC__] (__bswap_64): New inline function for this case.
80419         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80420         * bits/byteswap.h: Likewise.
80421         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
80422         ull, guard with __GLIBC_HAVE_LONG_LONG.
80424         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
80425         __GLIBC_HAVE_LONG_LONG.
80427         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
80428         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
80430 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80432         [BZ #13691]
80433         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
80434         inptr and inend, rather than using last_ch.
80436 2012-04-02  David S. Miller  <davem@davemloft.net>
80438         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
80439         * stdio-common/printf-parse.h (read_int): Change return type to
80440         'int', return -1 on INT_MAX overflow.
80441         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
80442         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
80443         overflows INT_MAX.  Check for overflow of in-format-string precision
80444         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
80445         SIZE_MAX not INT_MAX for integer overflow test.
80446         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
80447         skip the construct in the format string but do not record anything.
80448         * stdio-common/bug22.c: Adjust to test both width/prevision
80449         INT_MAX overflow as well as total length INT_MAX overflow.  Check
80450         explicitly for proper errno values.
80452 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
80454         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
80455         CHAR_MAX.
80456         * string/test-strcmp.c [! WIDE]: Likewise.
80457         * time/tst-mktime2.c: Likewise for INT_MAX.
80458         * string/test-string.h: #include <sys/param.h> for MIN.
80460         * csu/init-first.c (__libc_init_first): Call __ctype_init.
80461         * sysdeps/i386/init-first.c (init): Likewise.
80462         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
80463         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
80464         * sysdeps/sh/init-first.c (init): Likewise.
80466 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
80468         * po/ru.po: Update from translation team.
80469         * po/vi.po: Likewise.
80471 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
80473         * resolv/nss_dns/dns-host.c: Merge copyright years.
80475 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80477         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80478         Optimize memcpy with prefetch if
80479         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
80480         src, dst pointers have unequal 16 byte alignments.
80482 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
80484         [BZ #13928]
80485         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
80486         from a CNAME entry and return the minimum ttl for the query.
80487         (gaih_getanswer_slice): Likewise.
80489 2012-03-30  Jeff Law  <law@redhat.com>
80491         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
80492         due to long keys.
80493         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
80494         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
80496         * resolv/nss_dns/dns-host.c: Update copyright year.
80498 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
80500         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
80501         requests to save a system call.  Fix check that all bytes are sent.
80503         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
80504         comments for sendmmsg.
80506 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80508         [BZ #13691]
80509         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
80510         with only 1 character between 0x0041 and 0x01b0.
80511         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
80512         * wcsmbs/tst-mbsnrtowcs.c: New file.
80514 2012-03-29  David S. Miller  <davem@davemloft.net>
80516         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
80517         small copies by hand.
80519 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
80521         [BZ #13761]
80522         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
80523         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
80524         group memberships.
80526 2012-03-28  David S. Miller  <davem@davemloft.net>
80528         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
80529         that branches into memcpy.
80530         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
80531         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
80532         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80533         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
80534         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
80535         bits.
80536         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
80537         implementation too.
80538         * sysdeps/sparc/mempcpy.S: New file.
80540         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
80541         the IFUNC routine in the libc case.
80542         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80544         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
80545         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
80546         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
80547         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
80548         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
80549         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
80550         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
80551         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
80553         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
80554         loop to 256 bytes instead of 64 bytes and fix test signedness.
80556         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
80557         * sysdeps/sparc/sparc32/Makefile: rather than here...
80558         * sysdeps/sparc/sparc64/Makefile: and here.
80560 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
80562         * malloc/mallocbug.c: Avoid warnings about unused variables.
80564 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
80566         [BZ #13760]
80567         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
80568         in the right place. Discard and retry query if response is
80569         larger than input buffer size.
80571 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
80573         [BZ #369]
80574         [BZ #2678]
80575         [BZ #3866]
80576         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
80577         x for large integer exponent.
80578         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
80579         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
80580         sign of result as needed afterwards.
80581         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
80582         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
80583         result for underflowing pow the same as for overflow.
80584         (__kernel_standard_l): Handle powl overflow and underflow here
80585         rather than calling __kernel_standard.
80586         * math/libm-test.inc (pow_test): Add more tests.
80588         [BZ #3868]
80589         [BZ #13879]
80590         [BZ #13910]
80591         [BZ #13911]
80592         [BZ #13912]
80593         [BZ #13913]
80594         [BZ #13915]
80595         [BZ #13916]
80596         [BZ #13917]
80597         [BZ #13918]
80598         [BZ #13919]
80599         [BZ #13920]
80600         [BZ #13921]
80601         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
80602         * sysdeps/ieee754/k_standard.c: Include <float.h>.
80603         (__kernel_standard_l): New function.
80604         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
80605         __kernel_standard.
80606         * math/w_acosl.c (__acosl): Likewise.
80607         * math/w_asinl.c (__asinl): Likewise.
80608         * math/w_atan2l.c (__atan2l): Likewise.
80609         * math/w_atanhl.c (__atanhl): Likewise.
80610         * math/w_coshl.c (__coshl): Likewise.
80611         * math/w_exp10l.c (__exp10l): Likewise.
80612         * math/w_exp2l.c (__exp2l): Likewise.
80613         * math/w_fmodl.c (__fmodl): Likewise.
80614         * math/w_hypotl.c (__hypotl): Likewise.
80615         * math/w_j0l.c (__j0l, __y0l): Likewise.
80616         * math/w_j1l.c (__j1l, __y1l): Likewise.
80617         * math/w_jnl.c (__jnl, __ynl): Likewise.
80618         * math/w_lgammal.c (__lgammal): Likewise.
80619         * math/w_log10l.c (__log10l): Likewise.
80620         * math/w_log2l.c (__log2l): Likewise.
80621         * math/w_logl.c (__logl): Likewise.
80622         * math/w_powl.c (__powl): Likewise.
80623         * math/w_remainderl.c (__remainderl): Likewise.
80624         * math/w_scalbl.c (sysv_scalbl): Likewise.
80625         * math/w_sinhl.c (__sinhl): Likewise.
80626         * math/w_sqrtl.c (__sqrtl): Likewise.
80627         * math/w_tgammal.c (__tgammal): Likewise.
80628         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
80629         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
80630         * math/libm-test.inc (acos_test): Add more tests.
80631         (acosh_test): Likewise.
80632         (asin_test): Likewise.
80633         (atanh_test): Likewise.
80634         (exp_test): Likewise.
80635         (exp10_test): Likewise.
80636         (exp2_test): Likewise.
80637         (expm1_test): Likewise.
80638         (lgamma_test): Likewise.
80639         (log_test): Likewise.
80640         (log10_test): Likewise.
80641         (log1p_test): Likewise.
80642         (log2_test): Likewise.
80643         (pow_test): Do not allow some spurious overflow exceptions.
80644         (sqrt_test): Add more tests.
80645         (tgamma_test): Likewise.
80646         (y0_test): Likewise.
80647         (y1_test): Likewise.
80648         (yn_test): Likewise.
80650 2012-03-27  Anton Blanchard  <anton@samba.org>
80652         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
80653         MAP_HUGETLB.
80654         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80655         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80656         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80658 2012-03-27  David S. Miller  <davem@davemloft.net>
80660         * conform/Makefile: Run run-conformtest.sh using $(BASH).
80662         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
80663         have-as-vis3 check.
80665 2012-03-27  Andreas Jaeger  <aj@suse.de>
80667         * sysdeps/x86_64/elf/configure.in: Moved to ...
80668         * sysdeps/x86_64/configure.in: ... here.
80669         * sysdeps/x86_64/elf/start.S: Moved to ...
80670         * sysdeps/x86_64/start.S: ... here.
80671         * sysdeps/x86_64/elf/configure: Delete.
80673         * sysdeps/x86_64/configure.in: Merge contents from
80674         sysdeps/i386/configure.in (without i686 check).
80676         * sysdeps/i386/elf/Versions: Merge into ...
80677         * sysdeps/i386/Versions: ... this.
80678         * sysdeps/i386/elf/Versions: Delete file.
80679         * sysdeps/i386/elf/start.S: Moved to ...
80680         * sysdeps/i386/start.S: ...here.
80681         * sysdeps/i386/elf/configure.in: Merge into...
80682         * sysdeps/i386/configure.in: ...here.
80683         * sysdeps/i386/elf/configure.in: Delete file.
80684         * sysdeps/i386/elf/configure: Delete file.
80686         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
80687         * debug/backtracesyms.c: ... here.
80688         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
80689         * debug/backtracesymsfd.c: ... here.
80690         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
80691         * sysdeps/generic/ifunc-sel.h: ... here.
80693         * sysdeps/unix/i386/start.c: Delete file.
80694         * sysdeps/unix/sparc/start.c: Delete file.
80695         * sysdeps/unix/start.c: Delete file.
80697         * sysdeps/sh/elf/configure.in: Moved to ...
80698         * sysdeps/sh/configure.in: ... here.
80699         * sysdeps/sh/elf/start.S: Moved to ...
80700         * sysdeps/sh/start.S: ... here.
80701         * sysdeps/sh/elf/configure: Delete file.
80703         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
80704         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
80705         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
80706         * sysdeps/powerpc/powerpc64/entry.h: ... here.
80707         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
80708         * sysdeps/powerpc/powerpc64/start.S: here.
80709         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
80710         * sysdeps/powerpc/powerpc64/Makefile: ... this.
80711         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
80712         * sysdeps/powerpc/powerpc64/configure.in: ... this.
80713         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
80715         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
80716         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
80717         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
80718         * sysdeps/powerpc/powerpc32/start.S: ... here.
80719         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
80720         * sysdeps/powerpc/powerpc32/configure.in: ... this.
80721         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
80723         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
80724         * sysdeps/powerpc/ifunc-sel.h: ... here.
80725         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
80726         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
80728         * sysdeps/sparc/elf/configure.in: Moved to ...
80729         * sysdeps/sparc/configure.in: ... here.
80730         * sysdeps/sparc/elf/configure: Delete file.
80731         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
80732         * sysdeps/sparc/sparc32/start.S: ... here.
80733         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
80734         * sysdeps/sparc/sparc64/start.S: ... here.
80735         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
80736         * sysdeps/sparc/sparc32/Makefile: ... this.
80737         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
80738         * sysdeps/sparc/sparc64/Makefile: ... this.
80740         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
80741         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
80742         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
80743         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
80744         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
80745         * sysdeps/s390/s390-32/setjmp.S: ... here.
80746         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
80747         * sysdeps/s390/s390-32/configure.in: ... here.
80748         * sysdeps/s390/s390-32/elf/configure: Delete file.
80749         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
80750         * sysdeps/s390/s390-32/start.S: ... here.
80752         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
80753         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
80754         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
80755         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
80756         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
80757         * sysdeps/s390/s390-64/setjmp.S: ... here.
80758         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
80759         * sysdeps/s390/s390-64/configure.in: ... here
80760         * sysdeps/s390/s390-64/elf/configure: Delete file.
80761         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
80762         * sysdeps/s390/s390-64/start.S: ... here.
80763         * sysdeps/s390/s390-64/elf/configure: Delete.
80765         * configure.in: Remove support for elf directories in sysdeps.
80767         * configure: Regenerated.
80768         * sysdeps/i386/configure: Regenerated.
80769         * sysdeps/powerpc/powerpc32/configure: Regenerated.
80770         * sysdeps/powerpc/powerpc64/configure: Regenerated.
80771         * sysdeps/s390/s390-32/configure: Regenerated.
80772         * sysdeps/s390/s390-64/configure: Regenerated.
80773         * sysdeps/sh/configure: Regenerated.
80774         * sysdeps/sparc/configure: Regenerated.
80775         * sysdeps/x86_64/configure: Regenerated.
80777 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
80779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80781         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
80782         denormal result into account.
80784 2012-03-25  Roland McGrath  <roland@hack.frob.com>
80786         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
80787         Reported by Allan McRae <allan@archlinux.org>.
80789 2012-03-23  Jeff Law  <law@redhat.com>
80791         * nss/getnssent.c (__nss_getent): Fix typo.
80793 2012-03-23  David S. Miller  <davem@davemloft.net>
80795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80797 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
80799         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
80800         to pad to uint64_t for each field.
80801         (dl_tls_index): Replace unsigned long with uint64_t.
80803 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
80804         Paul Pluzhnikov  <ppluzhnikov@google.com>
80806         [BZ #6528]
80807         * grp/Makefile (otherlibs): Don't set it.
80808         * inet/Makefile (otherlibs): Likewise.
80809         * login/Makefile (otherlibs): Likewise.
80810         * nscd/Makefile (otherlibs): Likewise.
80811         * posix/Makefile (otherlibs): Likewise.
80812         * pwd/Makefile (otherlibs): Likewise.
80813         * rt/Makefile (otherlibs): Likewise.
80814         * sunrpc/Makefile (otherlibs): Likewise.
80815         * nss/Makefile (otherlibs): Likewise.
80816         Add libnss_files to routines and static-only-routines.
80817         ($(objpfx)getent): Remove rule.
80818         * resolv/Makefile: Add libnss_dns and libresolv to routines and
80819         static-only-routines.
80821 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80823         [BZ #13892]
80824         * math/s_cexp.c: Include <float.h>.
80825         (__cexp): Handle exp result overflowing not necessarily
80826         overflowing both real and imaginary parts of result.
80827         * math/s_cexpf.c: Likewise.
80828         * math/s_cexpl.c: Likewise.
80829         * math/libm-test.inc (cexp_test): Add more tests.
80830         * sysdeps/i386/fpu/libm-test-ulps: Update.
80831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80833 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80835         * include/link.h (ELFW): New macro.
80836         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
80837         Replace ELF64_R_TYPE with ELFW(R_TYPE).
80839 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80841         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
80842         with uint64_t.
80844 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80846         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
80847         declaration.
80848         (struct La_x32_retval): Likewise.
80850 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80852         * sysdeps/x86_64/preconfigure.in: New file.
80853         * sysdeps/x86_64/preconfigure: New generated file.
80855 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80857         [BZ #13824]
80858         * math/e_exp2l.c: Include <float.h>.
80859         (__ieee754_exp2l): Handle overflow and underflow cases
80860         separately.  Only pass fractional part of argument to
80861         __ieee754_expl.
80862         * math/libm-test.inc (exp2_test): Add more tests.
80864         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
80865         negating x to take absolute value.
80866         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
80867         Likewise.
80868         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
80869         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
80870         Likewise.
80871         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
80872         computing low part if x was negated.
80873         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
80875 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80877         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
80878         la_x32_gnu_pltexit.
80879         (pltexit): Cast int_retval to ptrdiff_t.
80880         * elf/tst-auditmod3b.c: Likewise.
80881         * elf/tst-auditmod4b.c: Likewise.
80882         * elf/tst-auditmod5b.c: Likewise.
80883         * elf/tst-auditmod6b.c: Likewise.
80884         * elf/tst-auditmod6c.c: Likewise.
80885         * elf/tst-auditmod7b.c: Likewise.
80887         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
80888         and x32_gnu_pltexit.
80890         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
80891         __ELF_NATIVE_CLASS.
80892         (La_x32_regs): New macro.
80893         (La_x32_retval): Likewise.
80894         (la_x32_gnu_pltenter): New function prototype.
80895         (la_x32_gnu_pltexit): Likewise.
80897 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
80899         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
80900         exponent.
80902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80904         * configure.in (libc_cv_cc_nofma): Check for option to disable
80905         generation of FMA instructions.
80906         * configure: Regenerate.
80907         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
80908         * sysdeps/ieee754/dbl-64/Makefile: New file.
80909         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
80910         Remove brandred-fma4.
80911         (CFLAGS-brandred-fma4.c): Remove.
80912         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
80913         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
80914         define.
80915         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
80916         define.
80918 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80920         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80921         LLONG_MAX != LONG_MAX.
80922         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80923         (_fitoa_word): Likewise.
80924         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
80925         LLONG_MAX != LONG_MAX.
80926         * stdio-common/_itowa.h: Include <_itoa.h>.
80927         (_itowa_word): Use _ITOA_WORD_TYPE on value.
80928         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
80929         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
80930         only if not defined.
80931         (_ITOA_WORD_TYPE): Likewise.
80932         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80933         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
80935 2012-03-21  David S. Miller  <davem@davemloft.net>
80937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80939 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80941         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
80942         of x86_64 when setting libc_cv_slibdir, libdir and
80943         libc_cv_localedir.
80944         * sysdeps/unix/sysv/linux/configure: Regenerated.
80946 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80948         * manual/lang.texi (Old Varargs): Remove section.
80949         (How Variadic): Update menu.
80950         (va_start): Do not mention varargs.h.
80952 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80953             Joseph Myers  <joseph@codesourcery.com>
80955         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
80956         link test.
80957         * configure: Regenerated.
80959 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80961         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
80962         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
80963         conformtest.pl
80965 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80967         * NOTES: Remove.
80968         * Makefile (files-for-dist): Remove NOTES.
80969         (NOTES): Remove rule.
80970         * README: Don't refer to NOTES.
80971         * manual/creature.texi: Don't include macros.texi.
80972         * manual/intro.texi (creature.texi): Remove comment referring to
80973         NOTES.
80975         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
80976         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
80977         * configure: Regenerated.
80978         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
80979         LIBC_TRY_CC_OPTION.
80980         (libc_cv_as_i686): Likewise.
80981         (libc_cv_cc_avx): Likewise.
80982         (libc_cv_cc_sse2avx): Likewise.
80983         (libc_cv_cc_fma4): Likewise.
80984         (libc_cv_cc_novzeroupper): Likewise.
80985         * sysdeps/i386/configure: Regenerated.
80987         [BZ #13883]
80988         * sysdeps/i386/fpu/s_cexp.S: Remove.
80989         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80990         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80991         * math/libm-test.inc (cexp_test): Add more tests.
80992         * sysdeps/i386/fpu/libm-test-ulps: Update.
80993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80995 2012-03-21  Allan McRae  <allan@archlinux.org>
80997         * timezone/Makefile: Do not install iso3166.tab and zone.tab
80999 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81001         [BZ #13871]
81002         * math/w_exp2.c: Do not include <float.h>.
81003         (o_threshold, u_threshold): Remove.
81004         (__exp2): Calculate result before checking finiteness and calling
81005         __kernel_standard.
81006         * math/w_exp2f.c: Likewise.
81007         * math/w_exp2l.c: Likewise.
81008         * math/libm-test.inc (exp2_test): Require overflow exception for
81009         1e6 input.
81011         [BZ #3866]
81012         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
81013         range of signed 64-bit integers before using fistpll.  Remove
81014         checks for whether integers fit in mantissa bits.
81015         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
81016         the range of signed 32-bit integers before using fistpl.  Remove
81017         checks for whether integers fit in mantissa bits.
81018         * sysdeps/i386/fpu/e_powl.S (p64): New object.
81019         (__ieee754_powl): Test for y outside the range of signed 64-bit
81020         integers before using fistpll.  Reduce 64-bit values to 63-bit
81021         ones as needed.
81022         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
81023         divide-by-zero is raised for zero to large negative powers.
81024         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
81025         (__ieee754_powl): Test for y outside the range of signed 64-bit
81026         integers before using fistpll.  Reduce 64-bit values to 63-bit
81027         ones as needed.
81028         * math/libm-test.inc (pow_test): Add more tests.
81030 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81032         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
81033         <stdio-common/_itoa.h>.
81034         * debug/segfault.c: Likewise.
81035         * elf/dl-cache.c: Likewise.
81036         * elf/dl-minimal.c: Likewise.
81037         * elf/dl-misc.c: Likewise.
81038         * elf/dl-sysdep.c: Likewise.
81039         * elf/dl-version.c: Likewise.
81040         * elf/rtld.c: Likewise.
81041         * hurd/hurdsock.c: Likewise.
81042         * hurd/lookup-retry.c: Likewise.
81043         * malloc/malloc.c: Likewise.
81044         * malloc/mtrace.c: Likewise.
81045         * nscd/nscd_getgr_r.c: Likewise.
81046         * nscd/nscd_getpw_r.c: Likewise.
81047         * nscd/nscd_getserv_r.c: Likewise.
81048         * posix/getopt_init.c: Likewise.
81049         * posix/wordexp.c: Likewise.
81050         * stdio-common/_itoa.c: Likewise.
81051         * stdio-common/printf_fphex.c: Likewise.
81052         * stdio-common/vfprintf.c: Likewise.
81053         * string/_strerror.c: Likewise.
81054         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
81055         * sysdeps/i386/i686/hp-timing.h: Likewise.
81056         * sysdeps/mach/_strerror.c: Likewise.
81057         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
81058         * sysdeps/mach/hurd/sethostid.c: Likewise.
81059         * sysdeps/mach/hurd/xmknodat.c: Likewise.
81060         * sysdeps/mach/xpg-strerror.c: Likewise.
81061         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
81062         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
81063         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
81064         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
81065         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
81066         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
81067         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
81068         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
81069         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
81070         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
81071         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
81072         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
81073         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
81074         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
81075         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
81076         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
81077         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
81078         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
81079         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
81080         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
81081         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
81083         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
81085         * stdio-common/_itoa.h: Moved to ...
81086         * sysdeps/generic/_itoa.h: Here.
81088         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
81090         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
81091         instead of "_itoa.h" and "_itowa.h".
81092         * stdio-common/vfprintf.: Likewise.
81094 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81096         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
81097         <bits/wordsize.h>.
81098         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
81099         (__signbit): Likewise.
81100         (llrintf): Likewise.
81101         (llrint): Likewise.
81103 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81105         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
81106         __WORDSIZE != 64.
81108 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
81110         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
81111         OVERFLOW_EXCEPTION_OK.
81112         * math/libm-test.inc ("Philosophy"): Update comment about
81113         exception testing.
81114         (OVERFLOW_EXCEPTION): Define.
81115         (OVERFLOW_EXCEPTION_OK): Likewise.
81116         (INVALID_EXCEPTION_OK): Renumber.
81117         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81118         (IGNORE_ZERO_INF_SIGN): Likewise.
81119         (test_exceptions): Handle FE_OVERFLOW.
81120         (exp10_test): Expect overflow exceptions.
81121         (exp2_test): Likewise.
81122         (expm1_test): Likewise.
81123         (nextafter_test): Likewise.
81124         (pow_test): Likewise.
81125         (scalbn_test): Likewise.
81126         (scalbln_test): Likewise.
81128 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81130         * sysdeps/x86_64/bits/atomic.h
81131         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
81132         64bit integer.
81133         (atomic_exchange_acq): Likewise.
81134         (__arch_exchange_and_add_body): Likewise.
81135         (__arch_add_body): Likewise.
81136         (atomic_add_negative): Likewise.
81137         (atomic_add_zero): Likewise.
81139 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81141         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
81142         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
81144 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81146         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
81147         Check __x86_64__ instead of __WORDSIZE.
81149 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81151         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
81153 2012-03-19  David S. Miller  <davem@davemloft.net>
81155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81157         * sysdeps/sparc/fpu/fenv_private.h: New file.
81158         * sysdeps/sparc/fpu/math_private.h: Use it.
81159         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
81160         Remove.
81161         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
81162         (libc_feholdexcept_setroundl): Remove.
81163         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
81164         Remove.
81165         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
81166         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
81168 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81170         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
81171         int64_t instead of long int.
81172         (INSERT_WORDS64): Likewise.
81174 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81176         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
81177         _Unwind_GetCFA return to _Unwind_Ptr first.
81179 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
81181         [BZ #13629]
81182         * math/s_clog.c: Include <float.h>.
81183         (__clog): Scale large or subnormal inputs.
81184         * math/s_clogf.c: Likewise.
81185         * math/s_clogl.c: Likewise.
81186         * math/s_clog10.c: Include <float.h>.
81187         (M_LOG10_2): Define.
81188         (__clog10): Scale large or subnormal inputs.
81189         * math/s_clog10f.c: Likewise.
81190         * math/s_clog10l.c: Likewise.
81191         * math/libm-test.inc (clog_test): Add more tests.
81192         (clog10_test): Likewise.
81193         * sysdeps/i386/fpu/libm-test-ulps: Update.
81194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81196         [BZ #11451]
81197         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
81198         x and y.
81199         * math/libm-test.inc (atan2_test): Add another test.
81201         * Makerules (common-objdir-compile): Remove.
81202         * sysdeps/unix/Makefile (config-generated): Do not add
81203         $(unix-generated) to variable.
81204         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
81205         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
81206         Remove rule.
81207         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
81208         Likewise.
81209         [generic bits/local_lim.h] (before-compile): Do not append to
81210         variable.
81211         [generic bits/local_lim.h] (common-generated): Likewise.
81212         [generic sys/param.h] (before-compile): Do not append to variable.
81213         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
81214         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
81215         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
81216         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
81217         include.
81218         [generic sys/param.h] (sys/param.h-includes): Remove variable.
81219         [generic sys/param.h] (sys/param.h-includes): Remove rule.
81220         [generic sys/param.h] ($(addprefix
81221         $(common-objpfx),$(sys/param.h-includes))): Likewise.
81222         [generic sys/param.h] (common-generated): Do not append to
81223         variable.
81224         [generic sys/param.h] (sysdep_headers): Likewise.
81225         [generic bits/errno.h] (before-compile): Do not append to
81226         variable.
81227         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
81228         rule.
81229         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
81230         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
81231         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
81232         [generic bits/errno.h] (common-generated): Do not append to
81233         variable.
81234         [generic bits/ioctls.h] (before-compile): Do not append to
81235         variable.
81236         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
81237         rule.
81238         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
81239         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
81240         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
81241         rule.
81242         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
81243         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
81244         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
81245         [generic bits/ioctls.h] (common-generated): Do not append to
81246         variable.
81247         [generic sys/syscall.h] (syscall.h): Remove variable.
81248         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
81249         rule.
81250         [generic sys/syscall.h] (before-compile): Do not append to
81251         variable.
81252         [generic sys/syscall.h] (common-generated): Likewise.
81253         * sysdeps/unix/errnos-tmpl.c: Remove file.
81254         * sysdeps/unix/errnos.awk: Likewise.
81255         * sysdeps/unix/ioctls-tmpl.c: Likewise.
81256         * sysdeps/unix/ioctls.awk: Likewise.
81257         * sysdeps/unix/mk-local_lim.c: Likewise.
81258         * sysdeps/unix/snarf-ioctls: Likewise.
81260 2012-03-19  Richard Henderson  <rth@twiddle.net>
81262         * sysdeps/i386/fpu/fenv_private.h: New file.
81263         * sysdeps/i386/fpu/math_private.h: Use it.
81264         (math_opt_barrier, math_force_eval): Remove.
81265         (libc_feholdexcept_setround_53bit): Remove.
81266         (libc_feupdateenv_53bit): Remove.
81267         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81268         (math_opt_barrier, math_force_eval): Remove.
81269         (libc_feholdexcept): Remove.
81270         (libc_feholdexcept_setround): Remove.
81271         (libc_fetestexcept, libc_fesetenv): Remove.
81272         (libc_feupdateenv_test): Remove.
81273         (libc_feupdateenv, libc_feholdsetround): Remove.
81274         (libc_feresetround): Remove.
81276         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
81277         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
81279         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
81280         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
81281         (libc_feupdateenv_testl): New.
81282         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
81283         (libc_feupdateenv_testf): New.
81284         (libc_feupdateenv): Use libc_feupdateenv_test.
81285         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
81286         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
81288         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
81289         (libc_feholdsetroundf, libc_feholdsetroundl): New.
81290         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
81291         (libc_feresetround_noex): New.
81292         (libc_feresetround_noexf): New.
81293         (libc_feresetround_noexl): New.
81294         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
81295         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
81296         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
81297         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
81298         SET_RESTORE_ROUND.
81299         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
81300         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
81301         (__cos): Likewise.
81302         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
81303         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
81304         SET_RESTORE_ROUND_NOEX.
81305         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
81306         SET_RESTORE_ROUND_NOEXF.
81307         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
81308         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
81309         (libc_feholdsetroundf): New.
81310         (libc_feresetround, libc_feresetroundf): New.
81312         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
81313         (libc_feholdexcept_setround_53bit): Convert from macro to function.
81314         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
81316         * sysdeps/generic/math_private.h: Include <fenv.h>.
81317         (default_libc_feholdexcept): New.
81318         (default_libc_feholdexcept_setround): New.
81319         (default_libc_fesetenv, default_libc_feupdateenv): New.
81320         (libc_feholdexcept): Only define if undefined.
81321         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
81322         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
81323         (libc_feholdexcept_setroundl): Likewise.
81324         (libc_feholdexcept_setround_53bit): Likewise.
81325         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
81326         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
81327         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
81328         (libc_feupdateenv_53bit): Likewise.
81329         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
81330         (libc_feholdexcept): Convert from macro to inline function.
81331         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
81332         (libc_fesetenv, libc_feupdateenv): Likewise.
81334         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
81335         not previously defined.
81336         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
81337         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
81338         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
81339         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
81340         * sysdeps/ieee754/flt-32/math_private.h: New file.
81341         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
81342         math_private.h below SET_FLOAT_WORD.
81343         (__isnan, __isinf_ns, __finite): Remove.
81344         (__isnanf, __isinf_nsf, __finitef): Remove.
81346 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
81348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81350 2012-03-17  David S. Miller  <davem@davemloft.net>
81352         [BZ #6471]
81353         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
81354         for 2.16.
81356 2012-03-16  David S. Miller  <davem@davemloft.net>
81358         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
81359         warnings.
81361         [BZ #6471]
81362         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
81363         properly.
81364         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
81365         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
81366         sysdep_routines when subdir is sysvipc.
81367         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
81368         __getshmlba helper.
81370         * sysdeps/sparc/fpu/libm-test/ulps: Update.
81372 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81374         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
81375         [__LP64__].
81377 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81379         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
81380         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
81381         (__lround): Renamed to ...
81382         (__llround): This.  Replace long int with long long int.
81383         Define lround functions as aliases of llround functions.
81384         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
81386 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81388         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
81389         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
81390         adresses to uintptr_t.  Replace "long int" and "unsigned long
81391         int" with "greg_t" on va_arg.
81393 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81395         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
81396         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
81398         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
81399         Move e_machine check before EI_CLASS check.  Handle x32
81400         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
81401         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
81402         SKIP_EM_IA_64 and include
81403         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
81405         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
81406         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
81407         (add_system_dir): New macro.
81409         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
81410         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
81412 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
81414         [BZ #2551]
81415         [BZ #2552]
81416         [BZ #2553]
81417         [BZ #2554]
81418         [BZ #2562]
81419         [BZ #2563]
81420         [BZ #2565]
81421         [BZ #2566]
81422         [BZ #2576]
81423         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
81424         (y0): Likewise.
81425         * math/w_j0f.c (j0f): Likewise.
81426         (y0f): Likewise.
81427         * math/w_j0l.c (__j0l): Likewise.
81428         (__y0l): Likewise.
81429         * math/w_j1.c (j1): Likewise.
81430         (y1): Likewise.
81431         * math/w_j1f.c (j1f): Likewise.
81432         (y1f): Likewise.
81433         * math/w_j1l.c (__j1l): Likewise.
81434         (__y1l): Likewise.
81435         * math/w_jn.c (jn): Likewise.
81436         (yn): Likewise.
81437         * math/w_jnf.c (jnf): Likewise.
81438         (ynf): Likewise.
81439         * math/w_jnl.c (__jnl): Likewise.
81440         (__ynl): Likewise.
81441         * math/libm-test.inc (j0_test): Add more tests.
81442         (j1_test): Likewise.
81443         (jn_test): Likewise.  Add trailing semicolon to existing test.
81444         (y0_test): Likewise.
81445         (y1_test): Likewise.
81446         * sysdeps/i386/fpu/libm-test-ulps: Update.
81447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81449         [BZ #13851]
81450         [BZ #13854]
81451         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
81452         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
81453         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
81454         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
81455         (__tanl): Set errno for infinite argument.
81456         * sysdeps/i386/fpu/mptan.c: Remove.
81457         * sysdeps/i386/fpu/s_tan.S: Likewise.
81458         * sysdeps/i386/fpu/s_tanl.S: Likewise.
81459         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
81460         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
81461         * math/libm-test.inc (tan_test): Add more tests and enable more
81462         tests for double and long double.
81463         * sysdeps/i386/fpu/libm-test-ulps: Update.
81464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81466 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
81468         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
81469         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
81471 2012-03-16  Roland McGrath  <roland@hack.frob.com>
81473         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
81474         * configure.in: Use it for both main tree and add-ons.
81475         * configure: Regenerated.
81477 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81479         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
81481 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
81483         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
81484         in comment.
81486         [BZ #13851]
81487         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
81488         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
81489         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
81490         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
81491         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
81492         infinite argument.
81493         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
81494         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
81495         != 0 for prec == 2.
81496         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
81497         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
81498         * sysdeps/i386/fpu/s_cosl.S: Likewise.
81499         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
81500         * sysdeps/i386/fpu/s_sinl.S: Likewise.
81501         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
81502         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
81503         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
81504         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
81505         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
81506         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
81507         * math/libm-test.inc (cos_test): Add more tests and enable more
81508         tests for long double.
81509         (sin_test): Likewise.
81510         (sincos_test): Likewise.
81511         * sysdeps/i386/fpu/libm-test-ulps: Update.
81512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81514 2012-03-16  David S. Miller  <davem@davemloft.net>
81516         * sysdeps/sparc/fpu/math_private.h: New file.
81518 2012-03-15  David S. Miller  <davem@davemloft.net>
81520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
81521         file.
81522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
81523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
81524         file.
81525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
81526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
81527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
81528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
81529         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
81530         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
81531         sysdep routines.
81532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
81534         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
81535         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
81537         * sysdeps/sparc/sparc-ifunc.h: New file.
81538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
81539         sparc-ifunc.h
81540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
81541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
81542         Likewise.
81543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
81544         Likewise.
81545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
81546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
81547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
81549         Likewise.
81550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
81552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
81554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
81555         Likewise.
81556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
81557         Likewise.
81558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
81560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
81561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
81562         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
81563         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
81564         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
81565         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
81566         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
81567         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
81568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
81569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
81570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
81571         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
81572         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
81573         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
81574         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
81575         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
81576         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
81577         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
81578         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
81579         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
81580         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
81581         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
81583 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
81585         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
81586         scaling.
81587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81589 2012-03-15  Andreas Jaeger  <aj@suse.de>
81591         [BZ #13852]
81592         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
81593         ieee754/flt-32 implementation for sin, cos and sincos.
81594         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
81595         * sysdeps/i386/fpu/s_cosf.S: Likewise.
81596         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
81597         * sysdeps/i386/fpu/s_sinf.S: Likewise.
81598         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
81599         ieee754/flt-32 implementation for tan.
81601         * math/libm-test.inc (cos_test): Enable some large input tests for
81602         float as well
81603         (sin_test): Likewise.
81604         (sincos_test): Likewise.
81605         (tan_test): Add tests for large input.
81607         * sysdeps/i386/fpu/libm-test-ulps: Update.
81609 2012-03-15  Andreas Jaeger  <aj@suse.de>
81611         [BZ #13658]
81612         * math/libm-test.inc (cos_test): Add more test cases.
81613         (sin_test): Likewise.
81614         (sincos_test): Likewise.
81616 2012-03-15  Andreas Jaeger  <aj@suse.de>
81618         [BZ #13837]
81619         * math/libm-test.inc (cos_test): Add a test case for large input
81620         value.
81621         (sin_test): Likewise.
81622         (sincos_test): Likewise.
81624 2012-03-15  Andreas Jaeger  <aj@suse.de>
81625             Joseph Myers  <joseph@codesourcery.com>
81627         [BZ #13658]
81628         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
81629         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
81630         * sysdeps/i386/fpu/branred.c: Likewise.
81631         * sysdeps/i386/fpu/dosincos.c: Likewise.
81632         * sysdeps/i386/fpu/mpa.c: Likewise.
81633         * sysdeps/i386/fpu/s_cos.S: Likewise.
81634         * sysdeps/i386/fpu/s_sin.S: Likewise.
81635         * sysdeps/i386/fpu/s_sincos.S: Likewise.
81636         * sysdeps/i386/fpu/sincos32.c: Likewise.
81638         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
81639         Define.
81640         (libc_feupdateenv_53bit): Define.
81641         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
81642         Define.
81643         (libc_feupdateenv_53bit): Define.
81645         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
81646         53 bit (without extend i386 double precision).
81648         * math/libm-test.inc (sincos_test): Add tests for large input.
81649         (sin): Likewise.
81650         (cos): Likewise.
81652         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
81654 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
81656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81658 2012-03-15  David S. Miller  <davem@davemloft.net>
81660         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
81661         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
81662         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
81663         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
81664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
81665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
81666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
81667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
81668         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
81669         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
81670         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
81671         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
81672         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
81673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
81674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
81675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
81676         file.
81677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
81678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
81679         file.
81680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
81681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
81682         file.
81683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
81684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
81685         file.
81686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
81687         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
81688         fmin/fmax sysdep routines.
81689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
81691 2012-03-14  David S. Miller  <davem@davemloft.net>
81693         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
81694         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
81695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
81696         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
81697         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
81698         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
81699         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
81700         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
81701         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
81702         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
81703         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
81704         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
81705         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
81706         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
81707         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
81708         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
81709         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
81710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
81711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
81712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
81713         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
81714         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
81715         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
81716         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
81717         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
81718         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
81719         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
81720         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
81721         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
81722         routines.
81723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
81724         file.
81725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
81726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
81727         file.
81728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
81729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
81730         file.
81731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
81732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
81733         file.
81734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
81735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
81736         file.
81737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
81738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
81739         file.
81740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
81741         file.
81742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
81743         file.
81744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
81745         file.
81746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
81747         New file.
81748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
81749         file.
81750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
81751         file.
81752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
81753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
81754         file.
81755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
81756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
81757         file.
81758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
81759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
81760         file.
81761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
81762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
81763         VIS3 routines.
81765         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
81766         New file.
81768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81770         * sysdeps/sparc/configure.in: New file.
81771         * sysdeps/sparc/configure: Generate.
81772         * configure.in (libc_cv_sparc_as_vis3): Substitute.
81773         * configure: Regenerate.
81774         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
81775         * config.make.in (have-as-vis3): New.
81776         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
81777         available use -Av9d instead of -Av9a.
81778         * sysdeps/sparc/sparc64/Makefile: Likewise.
81779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
81780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
81781         New file.
81782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
81783         file.
81784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
81785         New file.
81786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
81787         file.
81788         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
81789         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
81790         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
81791         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
81792         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
81794         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
81795         fzeros/fnegs to load 0x80000000 into a float register instead of
81796         using the stack.
81797         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
81799 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81802         bits/syscall.h.
81803         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
81804         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
81805         ($(inst_includedir)/bits/syscall.h): Remove rule.
81806         ($(objpfx)bits/syscall.d): Include instead of
81807         $(objpfx)syscall-list.d.
81808         (generated): Change syscall-list.h and syscall-list.d to
81809         bits/syscall.h and bits/syscall.d.
81811 2012-03-14  Roland McGrath  <roland@hack.frob.com>
81813         [BZ #13846]
81814         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
81816 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81818         [BZ #13841]
81819         * math/s_csqrt.c: Include <float.h>.
81820         (__csqrt): Scale large or subnormal inputs.
81821         * math/s_csqrtf.c: Likewise.
81822         * math/s_csqrtl.c: Likewise.
81823         * math/libm-test.inc (csqrt_test): Add more tests.
81824         * sysdeps/i386/fpu/libm-test-ulps: Update.
81825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81827         [BZ #13840]
81828         * math/libm-test.inc (hypot_test): Add more tests.
81830 2012-03-13  David S. Miller  <davem@davemloft.net>
81832         [BZ #13840]
81833         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
81834         double-precision for the calculation instead of scaling.
81836 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
81838         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
81839         manipulate bits before adding and subtracting TWO52[sx].
81840         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
81841         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
81842         Likewise.
81843         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
81845 2012-03-13  David S. Miller  <davem@davemloft.net>
81847         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
81848         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
81849         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
81850         rtld-global-offsets.h
81851         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81853         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
81854         large parameters.
81856         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
81858         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
81859         'err' in the ifdef scope in which it is actually used.
81861         * nss/nss_db/db-init.c: Include string.h
81863 2012-03-12  David S. Miller  <davem@davemloft.net>
81865         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81866         masking out of the most significant byte of random value used.
81867         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81868         Fix coding style in previous change.
81870         * sysdeps/unix/sysv/linux/kernel-features.h
81871         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
81872         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
81873         expression.
81874         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
81875         later.
81877 2012-03-11  David S. Miller  <davem@davemloft.net>
81879         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
81880         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
81881         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
81882         for 'resultvar' otherwise things get truncated on 64-bit.
81884         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81885         Fix masking out of the most significant byte of random value used.
81887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81889 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
81891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81893 2012-03-09  David S. Miller  <davem@davemloft.net>
81895         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
81896         variables with appropriate CPP guards.
81897         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
81898         from the frame pointer, not the stack pointer.  Correct layout
81899         comments.  Fix test on resulting framesize and the management of
81900         the outregs buffer for pltexit.  Preserve floating point return
81901         values across _dl_call_pltexit call.
81902         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
81903         framesize and the management of the outregs buffer for pltexit.
81904         Preserve floating point return values across _dl_call_pltexit
81905         call.
81906         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
81907         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
81908         (la_sparc64_gnu_pltexit): New functions.
81909         (print_exit): Fix format string for return register value.
81911 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
81913         * sunrpc/Makefile (others): Add rpcgen.
81914         ($(objpfx)rpcgen): Remove special build rule and dependency on
81915         libc.
81916         * sunrpc/rpcgen.c: New file.
81918 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
81920         [BZ #13673]
81921         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
81922         * stdio-common/bug-vfprintf-nargs.c: Likewise.
81923         * sysdeps/i386/crti.S: Likewise.
81924         * sysdeps/i386/crtn.S: Likewise.
81925         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
81926         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
81927         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
81928         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
81929         * sysdeps/sh/crti.S: Likewise.
81930         * sysdeps/sh/crtn.S: Likewise.
81931         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
81933         [BZ #13673]
81934         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
81935         with URL.
81936         * locale/programs/locfile-kw.gperf: Likewise.
81937         * locale/programs/charmap-kw.h: Regenerated.
81938         * locale/programs/locfile-kw.h: Likewise.
81940         [BZ #13673]
81941         * intl/plural.y: Replace FSF snail mail address with URL.
81942         * intl/plural.c: Regenerated.
81944 2012-03-09  Richard Henderson  <rth@twiddle.net>
81946         * include/math_private.h: Remove file.
81947         * math/math_private.h: Move file ...
81948         * sysdeps/generic/math_private.h: ... here.
81950         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
81951         * sysdeps/powerpc/fpu/math_private.h: Likewise.
81952         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81954         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
81955         and <math_private.h>.
81956         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81957         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81958         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81959         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81960         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81961         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
81962         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81963         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81964         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81965         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81966         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81967         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81968         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81969         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81970         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81971         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81972         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81973         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81974         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81975         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81976         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81977         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81978         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81979         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81980         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
81981         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81982         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81983         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81984         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81985         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81986         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81987         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81988         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
81989         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81990         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81991         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81992         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81993         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81994         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81995         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81996         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
81997         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81998         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81999         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
82000         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
82001         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82002         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
82003         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
82004         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82005         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82006         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
82007         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
82008         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
82009         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82010         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
82011         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82012         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82013         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
82014         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
82015         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
82016         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82017         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
82018         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82019         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82020         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
82021         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82022         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82023         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82024         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
82025         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
82026         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
82027         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82028         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
82029         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82030         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
82031         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
82032         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
82033         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82034         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
82035         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
82036         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
82037         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
82038         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
82039         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82040         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82041         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
82042         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
82043         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
82044         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82045         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82046         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82047         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82048         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82049         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82050         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82051         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82052         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82053         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82054         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82055         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82056         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82057         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82058         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82059         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82060         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82061         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82062         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82063         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82064         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82065         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82066         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82067         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82068         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82069         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82070         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
82071         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82072         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82073         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82074         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82075         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82076         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82077         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82078         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82079         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
82080         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82081         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82082         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82083         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
82084         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82085         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
82086         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
82087         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82088         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82089         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
82090         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
82091         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82092         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82093         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82094         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
82095         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82096         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82097         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82098         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82099         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
82100         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
82101         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82102         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82103         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82104         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
82105         * sysdeps/ieee754/k_standard.c: Likewise.
82106         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82107         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82108         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82109         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82110         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82111         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82112         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82113         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82114         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82115         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82116         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82117         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82118         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82119         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82120         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82121         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82122         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
82123         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82124         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82125         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
82126         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
82127         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
82128         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82129         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82130         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
82131         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
82132         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82133         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82134         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82135         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82136         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
82137         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82138         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82139         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82140         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
82141         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82142         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82143         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
82144         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
82145         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82146         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
82147         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
82148         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
82149         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82150         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
82151         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
82152         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82153         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82154         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82155         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82156         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82157         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
82158         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82159         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
82160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82161         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82162         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
82163         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
82164         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82165         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82166         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82167         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
82168         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82169         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82170         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82171         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82172         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82173         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82174         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82175         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82176         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82177         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82178         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82179         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82180         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82181         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82182         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
82183         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82184         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82185         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
82186         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
82187         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
82188         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82189         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82190         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
82191         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82192         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82193         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
82194         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
82195         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82196         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
82197         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82198         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
82199         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
82200         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82201         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82202         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
82203         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
82204         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
82205         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
82206         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82207         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82208         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82209         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82210         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
82211         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82212         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82213         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
82214         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
82215         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82216         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82217         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82218         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82219         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82220         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82221         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82222         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82223         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82224         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82225         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82226         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82227         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82228         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82229         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82230         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82231         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
82232         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82233         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82234         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82235         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82236         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82237         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82238         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82239         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
82240         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82241         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82242         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
82243         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
82244         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82245         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
82246         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
82247         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82248         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
82249         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
82250         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82251         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82252         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82253         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82254         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82255         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
82256         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82257         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82258         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82259         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82260         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
82261         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
82262         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82263         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82264         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82265         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
82266         * sysdeps/ieee754/s_lib_version.c: Likewise.
82267         * sysdeps/ieee754/s_matherr.c: Likewise.
82268         * sysdeps/ieee754/s_signgam.c: Likewise.
82269         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82270         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82271         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
82272         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
82273         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
82274         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
82275         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
82276         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
82277         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
82278         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
82279         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
82280         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
82281         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82282         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82283         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
82284         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
82285         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
82286         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
82287         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
82288         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82289         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82291 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82293         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
82294         * sunrpc/rpc_main.c: Likewise.
82295         * sunrpc/rpc_svcout.c: Likewise.
82297 2012-03-09  David S. Miller  <davem@davemloft.net>
82299         * include/math_private.h: New file.
82301 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82303         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
82304         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
82305         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
82306         from <bits/socket_type.h>.
82307         (enum __socket_type): Don't define here.
82308         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
82309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82310         bits/socket_type.h.
82312         [BZ #13566]
82313         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
82314         checking __USE_GNU.
82316         * Makerules ($(inst_includedir)/%.h): New rule.
82317         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
82318         (install-others): Remove variable setting.
82319         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
82321 2012-03-08  Richard Henderson  <rth@twiddle.net>
82323         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
82324         from macro to inline function; merge with the
82325         !__LIBC_INTERNAL_MATH_INLINES version.
82326         (__ieee754_sqrtf): Likewise.
82328         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
82329         to inline function.
82330         (__rintf, __floor, __floorf): Likewise.
82332         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
82333         macro to inline function.
82334         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
82336         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
82337         not <math/math_private.h>.
82339 2012-03-08  David S. Miller  <davem@davemloft.net>
82341         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
82342         copyright year.
82343         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
82345 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
82347         * resolv/gai_misc.c (handle_requests): Fix struct timespec
82348         normalization.
82349         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
82350         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
82352 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
82354         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
82355         be defined individually, they must be defined as a block.  Define
82356         S for printing a string instead of hidint the different by using a
82357         macro for adding the 'l'.
82358         * stdio-common/tst-fphex-wide.c: Adjust.
82360 2012-03-07  Marek Polacek  <polacek@redhat.com>
82362         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
82364 2012-03-08  Marek Polacek  <polacek@redhat.com>
82366         [BZ #13806]
82367         * stdio-common/Makefile (tests): Add tst-fphex-wide.
82368         * stdio-common/tst-fphex.c: Define a few macros to make the
82369         test reusable.  Use them.
82370         * stdio-common/tst-fphex-wide.c: New file.
82372 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
82374         [BZ #6911]
82375         * manual/macros.texi (gnusystems): New macro.
82376         (nongnusystems): Likewise.
82377         (gnulinuxhurdsystems): Likewise.
82378         (gnuhurdsystems): Likewise..
82379         (gnulinuxsystems): Likewise.
82380         * manual/charset.texi: Use new macros or @theglibc{} to refer to
82381         variants of the GNU system, not "GNU system".
82382         * manual/conf.texi: Likewise.
82383         * manual/errno.texi: Likewise.  Update example of errno macro
82384         expansion.
82385         * manual/filesys.texi: Likewise.
82386         (getumask): Document as specific to GNU/Hurd.
82387         * manual/install.texi: Likewise.  Reword some references to
82388         GNU/Linux.
82389         * manual/intro.texi: Likewise.
82390         * manual/io.texi: Likewise.
82391         (File Name Portability): Detail which constraints are inapplicable
82392         to all GNU systems and which are only inapplicable to GNU/Hurd.
82393         * manual/job.texi: Likewise.
82394         * manual/llio.texi: Likewise.
82395         (O_NOCTTY): Document as present on GNU/Linux.
82396         * manual/maint.texi: Likewise.
82397         * manual/memory.texi: Likewise.
82398         * manual/pattern.texi: Likewise.
82399         * manual/pipe.texi: Likewise.
82400         * manual/process.texi: Likewise.
82401         * manual/resource.texi: Likewise.
82402         (RUSAGE_CHILDREN): Remove statement about specifying a particular
82403         child on GNU/Hurd.
82404         * manual/setjmp.texi: Likewise.
82405         * manual/signal.texi: Likewise.
82406         * manual/startup.texi: Likewise.
82407         * manual/stdio.texi: Likewise.
82408         * manual/terminal.texi: Likewise.
82409         (ONLCR): Document as POSIX.
82410         (OXTABS): Document availability on GNU/Linux as XTABS.
82411         (ONOEOT): Document availability separately from other bits.
82412         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
82413         * manual/time.texi: Likewise.
82414         * manual/users.texi: Likewise.
82415         * INSTALL: Regenerated.
82416         * sysdeps/gnu/errlist.c: Regenerated.
82418         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
82419         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
82420         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
82421         puts.
82422         * configure: Regenerated.
82424 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
82426         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
82427         default includes instead of AC_HEADER_CHECK.
82428         * sysdeps/i386/configure: Regenerated.
82430         [BZ #10716]
82431         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
82432         * math/s_cacoshf.c (__cacoshf): Likewise.
82433         * math/s_cacoshl.c (__cacoshl): Likewise.
82434         * math/s_casinh.c (__casinh): Set signs of result from argument.
82435         * math/s_casinhf.c (__casinhf): Likewise.
82436         * math/s_casinhl.c (__casinhl): Likewise.
82437         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
82438         (casinh_test): Add more tests.
82439         * sysdeps/i386/fpu/libm-test-ulps: Update.
82440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82442 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
82444         * po/zh_TW.po: Update from translation team.
82446         * login/Makefile (distribute): Remove variable.
82447         * catgets/Makefile: Likewise.
82448         * mach/Makefile: Likewise.
82449         * malloc/Makefile: Likewise.
82450         * misc/Makefile: Likewise.
82451         * iconv/Makefile: Likewise.
82452         * nscd/Makefile: Likewise.
82453         * hurd/Makefile: Likewise.
82454         * manual/Makefile: Likewise.
82455         * locale/Makefile: Likewise.
82456         * intl/Makefile: Likewise.
82457         * conform/Makefile: Likewise.
82458         * nss/Makefile: Likewise.
82459         * time/Makefile: Likewise.
82460         * soft-fp/Makefile: Likewise.
82461         * dirent/Makefile: Likewise.
82462         * gmon/Makefile: Likewise.
82463         * po/Makefile: Likewise.
82464         * rt/Makefile: Likewise.
82465         * socket/Makefile: Likewise.
82466         * math/Makefile: Likewise.
82467         * signal/Makefile: Likewise.
82468         * debug/Makefile: Likewise.
82469         * elf/Makefile: Likewise.
82470         * timezone/Makefile: Likewise.
82471         * stdlib/Makefile: Likewise.
82472         * iconvdata/Makefile: Likewise.
82473         * sunrpc/Makefile: Likewise.
82474         * io/Makefile: Likewise.
82475         * argp/Makefile: Likewise.
82476         * inet/Makefile: Likewise.
82477         * hesiod/Makefile: Likewise.
82478         * grp/Makefile: Likewise.
82479         * csu/Makefile: Likewise.
82480         * wctype/Makefile: Likewise.
82481         * crypt/Makefile: Likewise.
82482         * libio/Makefile: Likewise.
82483         * string/Makefile: Likewise.
82484         * nis/Makefile: Likewise.
82485         * resolv/Makefile: Likewise.
82486         * stdio-common/Makefile: Likewise.
82487         * wcsmbs/Makefile: Likewise.
82488         * dlfcn/Makefile: Likewise.
82489         * posix/Makefile: Likewise.
82491         [BZ #6959]
82492         * timezone/Makefile: Don't install timezone files, just the programs
82493         and scripts.
82495 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
82497         * nss/databases.def: Add missing gshadow entry.
82499         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
82501 2012-03-06  Marek Polacek  <polacek@redhat.com>
82503         [BZ #13726]
82504         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
82505         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
82506         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
82507         * stdio-common/tst-long-dbl-fphex.c: New file.
82509 2012-03-06  David S. Miller  <davem@davemloft.net>
82511         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
82512         (set_obp_int): New function.
82513         (get_obp_int): New function.
82514         (__get_clockfreq_via_dev_openprom): Likewise.
82515         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
82516         Avoid unused variable warnings on 'val' and use builtin_expect.
82517         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
82518         __builtin_expect.
82519         (INLINE_CLONE_SYSCALL): Likewise.
82521 2012-03-05  David S. Miller  <davem@davemloft.net>
82523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82525 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
82527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82529         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
82530         only for |x| >= 40.
82531         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82533 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
82535         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
82536         Replace gettimeofday with __vdso_gettimeofday.
82538         * sysdeps/unix/sysv/linux/x86_64/init-first.c
82539         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
82540         __vdso_clock_gettime and __vdso_getcpu.
82542         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
82543         time with __vdso_time.
82545 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
82547         * manual/lang.texi (size_t): Note types to which size_t may be
82548         equivalent with the GNU C Library, but do not describe when
82549         differences between them are significant.
82551 2012-03-05  Andreas Jaeger  <aj@suse.de>
82553         * sysdeps/i386/fpu/libm-test-ulps: Update.
82555 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
82557         [BZ #3976]
82558         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
82559         (__ieee754_pow): Save and restore rounding mode and use
82560         round-to-nearest for main computations.
82561         * math/libm-test.inc (pow_test_tonearest): New function.
82562         (pow_test_towardzero): Likewise.
82563         (pow_test_downward): Likewise.
82564         (pow_test_upward): Likewise.
82565         (main): Call the new functions.
82566         * sysdeps/i386/fpu/libm-test-ulps: Update.
82567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82569         [BZ #3976]
82570         * math/libm-test.inc (cosh_test_tonearest): New function.
82571         (cosh_test_towardzero): Likewise.
82572         (cosh_test_downward): Likewise.
82573         (cosh_test_upward): Likewise.
82574         (sinh_test_tonearest): Likewise.
82575         (sinh_test_towardzero): Likewise.
82576         (sinh_test_downward): Likewise.
82577         (sinh_test_upward): Likewise.
82578         (main): Call the new functions.
82579         * sysdeps/i386/fpu/libm-test-ulps: Update.
82580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82582 2012-03-05  Tom de Vries  <tom@codesourcery.com>
82584         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
82585         default stack guard is set in last bytes.
82586         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
82588 2012-03-05  Kees Cook  <keescook@chromium.org>
82590         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
82592         [BZ #13656]
82593         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
82594         possibly allocate from heap instead of stack.
82595         * stdio-common/bug-vfprintf-nargs.c: New file.
82596         * stdio-common/Makefile (tests): Add nargs overflow test.
82598 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
82600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82602 2012-03-03  Marek Polacek  <polacek@redhat.com>
82604         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
82605         * math/math_private.h: Likewise.
82606         * stdlib/tst-strtod.c: Likewise.
82607         * sysdeps/i386/i486/bits/atomic.h: Likewise.
82608         * sysdeps/x86_64/bits/atomic.h: Likewise.
82610 2012-03-02  David S. Miller  <davem@davemloft.net>
82612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
82613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
82614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
82615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
82616         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
82617         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
82618         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
82619         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
82621 2012-03-02  Roland McGrath  <roland@hack.frob.com>
82623         [BZ #13792]
82624         * manual/examples/README: New file, says the example source files
82625         can be used under GPL>=2.
82626         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
82627         line containing just "*/".
82628         * manual/examples/add.c: Add copyright header (GPL>=2).
82629         * manual/examples/argp-ex1.c: Likewise.
82630         * manual/examples/argp-ex2.c: Likewise.
82631         * manual/examples/argp-ex3.c: Likewise.
82632         * manual/examples/argp-ex4.c: Likewise.
82633         * manual/examples/atexit.c: Likewise.
82634         * manual/examples/db.c: Likewise.
82635         * manual/examples/dir.c: Likewise.
82636         * manual/examples/dir2.c: Likewise.
82637         * manual/examples/execinfo.c: Likewise.
82638         * manual/examples/filecli.c: Likewise.
82639         * manual/examples/filesrv.c: Likewise.
82640         * manual/examples/fmtmsgexpl.c: Likewise.
82641         * manual/examples/genpass.c: Likewise.
82642         * manual/examples/inetcli.c: Likewise.
82643         * manual/examples/inetsrv.c: Likewise.
82644         * manual/examples/isockad.c: Likewise.
82645         * manual/examples/longopt.c: Likewise.
82646         * manual/examples/memopen.c: Likewise.
82647         * manual/examples/memstrm.c: Likewise.
82648         * manual/examples/mkfsock.c: Likewise.
82649         * manual/examples/mkisock.c: Likewise.
82650         * manual/examples/mygetpass.c: Likewise.
82651         * manual/examples/pipe.c: Likewise.
82652         * manual/examples/popen.c: Likewise.
82653         * manual/examples/rprintf.c: Likewise.
82654         * manual/examples/search.c: Likewise.
82655         * manual/examples/select.c: Likewise.
82656         * manual/examples/setjmp.c: Likewise.
82657         * manual/examples/sigh1.c: Likewise.
82658         * manual/examples/sigusr.c: Likewise.
82659         * manual/examples/stpcpy.c: Likewise.
82660         * manual/examples/strdupa.c: Likewise.
82661         * manual/examples/strftim.c: Likewise.
82662         * manual/examples/strncat.c: Likewise.
82663         * manual/examples/subopt.c: Likewise.
82664         * manual/examples/swapcontext.c: Likewise.
82665         * manual/examples/termios.c: Likewise.
82666         * manual/examples/testopt.c: Likewise.
82667         * manual/examples/testpass.c: Likewise.
82668         * manual/examples/timeval_subtract.c: Likewise.
82670         [BZ #13792]
82671         * manual/time.texi (Elapsed Time): Move timeval_subtract example
82672         function to ...
82673         * manual/timeval_subtract.c.texi: ... here, new file.
82675 2012-03-02  David S. Miller  <davem@davemloft.net>
82677         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
82679 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
82681         [BZ #3976]
82682         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
82683         (__sin): Save and restore rounding mode and use round-to-nearest
82684         for all computations.
82685         (__cos): Save and restore rounding mode and use round-to-nearest
82686         for all computations.
82687         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
82688         <fenv.h>.
82689         (tan): Save and restore rounding mode and use round-to-nearest for
82690         all computations.
82691         * math/libm-test.inc (cos_test_tonearest): New function.
82692         (cos_test_towardzero): Likewise.
82693         (cos_test_downward): Likewise.
82694         (cos_test_upward): Likewise.
82695         (sin_test_tonearest): Likewise.
82696         (sin_test_towardzero): Likewise.
82697         (sin_test_downward): Likewise.
82698         (sin_test_upward): Likewise.
82699         (tan_test_tonearest): Likewise.
82700         (tan_test_towardzero): Likewise.
82701         (tan_test_downward): Likewise.
82702         (tan_test_upward): Likewise.
82703         (main): Call the new functions.
82704         * sysdeps/i386/fpu/libm-test-ulps: Update.
82705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82707         [BZ #10135]
82708         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
82709         small n, then large n, before computing and testing k+n.
82710         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
82711         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
82712         Likewise.
82713         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
82714         Likewise.
82715         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
82716         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
82717         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
82718         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
82719         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
82720         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
82721         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
82722         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
82723         * math/libm-test.inc (scalbn_test): Add more tests.
82724         (scalbln_test): Likewise.
82726         * manual/filesys.texi (mode_t): Describe constraints on size and
82727         signedness, not exact equivalence to a particular type.
82728         (ino_t): Likewise.
82729         (ino64_t): Likewise.
82730         (dev_t): Likewise.
82731         (nlink_t): Likewise.
82732         (blkcnt_t): Likewise.
82733         (blkcnt64_t): Likewise.
82734         * manual/llio.texi (off_t): Likewise.
82736         [BZ #3976]
82737         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
82738         (__ieee754_exp): Save and restore rounding mode and use
82739         round-to-nearest for all computations.
82740         * math/libm-test.inc (exp_test_tonearest): New function.
82741         (exp_test_towardzero): Likewise.
82742         (exp_test_downward): Likewise.
82743         (exp_test_upward): Likewise.
82744         (main): Call the new functions.
82745         * sysdeps/i386/fpu/libm-test-ulps: Update.
82746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82748 2012-03-01  Chris Demetriou  <cgd@google.com>
82750         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
82751         have predictable order.
82753 2012-03-01  David S. Miller  <davem@davemloft.net>
82755         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
82757         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
82758         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
82759         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
82760         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
82762         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
82763         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
82764         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
82765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
82766         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
82767         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
82768         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
82769         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
82770         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
82772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82774         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
82775         * sysdeps/sparc/fpu/libm-test-ulps: to here.
82776         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
82778         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
82779         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
82780         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82781         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
82782         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
82783         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
82784         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
82785         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
82786         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82787         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
82788         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
82789         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82790         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
82791         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82792         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82793         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82794         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
82795         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
82796         * sysdeps/sparc/elf/configure: Regenerated.
82798 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
82800         * configure.in (AS, LD): Require binutils 2.20 or later.
82801         * configure: Regenerated.
82802         * manual/install.texi (Tools for Compilation): Give binutils 2.20
82803         as required minimum version.
82804         * INSTALL: Regenerated.
82806         [BZ #2541]
82807         [BZ #4108]
82808         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
82809         before squaring exponent.
82810         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
82811         bottom long double and 27 bits of top long double before squaring
82812         exponent.
82813         * math/libm-test.inc (erfc_test): Add more tests.
82814         * sysdeps/i386/fpu/libm-test-ulps: Update.
82815         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82818 2012-03-01  Kai Tietz  <ktietz@redhat.com>
82820         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
82821         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
82822         containing bit-fields.
82823         * soft-fp/extended.h (_FP_UNION_E): Likewise.
82824         * soft-fp/single.h (_FP_UNION_S): Likewise.
82825         * soft-fp/double.h (_FP_UNION_D): Likewise.
82827 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82829         [BZ #13786]
82830         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
82831         not include ../strcmp.S.
82832         [USE_AS_STRNCASECMP_L]: Likewise.
82833         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
82834         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
82835         * sysdeps/i386/i686/multiarch/strncase_l-c.c
82836         (__strncasecmp_l_ia32): Define as alias to
82837         __strncasecmp_l_nonascii.
82839         [BZ #5794]
82840         * math/libm-test.inc (expm1_test): Add test for bug 5794.
82841         * sysdeps/i386/fpu/libm-test-ulps: Update.
82842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82844         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
82845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82847 2012-02-29  Jeff Law  <law@redhat.com>
82849         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
82850         out of bounds read.
82852 2012-02-29  Marek Polacek  <polacek@redhat.com>
82854         [BZ #13706]
82855         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
82856         * elf/Makefile: Add rules to run tst-unused-dep.out.
82858 2012-02-28  David S. Miller  <davem@davemloft.net>
82860         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
82861         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
82862         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
82863         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
82864         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
82865         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
82867 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82869         * math/libm-test.inc (llround_test): Move one test from
82870         lround_test.  Use TEST_f_L in moved test.
82871         (lround_test): Move misplaced test to llround_test.  Add testcase
82872         from bug 2561.
82874 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
82876         * sysdeps/x86_64/fpu/e_expf.S: New file.
82877         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
82879 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
82881         [BZ #13637]
82882         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
82883         of remain_len that may cause incomplete multi-byte character and
82884         false match.
82885         * posix/bug-regex33.c: New file.
82886         * posix/Makefile (tests): Add bug-regex33.
82888 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
82890         * manual/macros.texi: New file.
82891         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
82892         * manual/libc.texinfo: Include macros.texi.
82893         * manual/creatute.texi: Likewise.
82894         * manual/install.texi: Likewise.
82895         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
82896         @glibcadj{} in references to the GNU C Library.
82897         * manual/charset.texi: Likewise.
82898         * manual/conf.texi: Likewise.
82899         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
82900         when not using those macros.
82901         * manual/creature.texi: Likewise.
82902         * manual/crypt.texi: Likewise.
82903         * manual/errno.texi: Likewise.
82904         * manual/filesys.texi: Likewise.
82905         * manual/header.texi: Likewise.
82906         * manual/install.texi: Likewise.
82907         * manual/intro.texi: Likewise.
82908         * manual/io.texi: Likewise.
82909         * manual/job.texi: Likewise.
82910         * manual/lang.texi: Likewise.
82911         * manual/libc.texiinfo: Likewise.
82912         * manual/llio.texi: Likewise.
82913         * manual/locale.texi: Likewise.
82914         * manual/maint.texi: Likewise.
82915         * manual/math.texi: Likewise.
82916         * manual/memory.texi: Likewise.
82917         * manual/message.texi: Likewise.
82918         * manual/nss.texi: Likewise.
82919         * manual/pattern.texi: Likewise.
82920         * manual/process.texi: Likewise.
82921         * manual/resource.texi: Likewise.
82922         * manual/search.texi: Likewise.
82923         * manual/setjmp.texi: Likewise.
82924         * manual/signal.texi: Likewise.
82925         * manual/socket.texi: Likewise.
82926         * manual/startup.texi: Likewise.
82927         * manual/stdio.texi: Likewise.
82928         * manual/string.texi: Likewise.
82929         * manual/sysinfo.texi: Likewise.
82930         * manual/syslog.texi: Likewise.
82931         * manual/terminal.texi: Likewise.
82932         * manual/time.texi: Likewise.
82933         * manual/users.texi: Likewise.
82934         * INSTALL: Regenerated.
82935         * NOTES: Regenerated.
82936         * sysdeps/gnu/errlist.c: Regenerated.
82938 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
82940         * include/dirent.h: Include <dirstream.h> before
82941         <dirent/dirent.h>.
82943 2012-02-28  David S. Miller  <davem@davemloft.net>
82945         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
82946         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
82947         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
82948         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
82950 2012-02-27  David S. Miller  <davem@davemloft.net>
82952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
82953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
82954         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
82955         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
82957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
82958         frame pointer instead of stack pointer relative arg slot.
82959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82960         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82961         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82963 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
82965         [BZ #3992]
82966         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
82968 2012-02-27  David S. Miller  <davem@davemloft.net>
82970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
82971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
82974         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82975         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82976         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
82977         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
82979 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82981         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
82982         later.  Allow versions 5-9.
82983         * configure: Regenerated.
82984         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
82985         required minimum version and 4.6 as recommended version.  Do not
82986         mention bugs in GCC 2.7 and 2.8.
82987         * INSTALL: Regenerated.
82989 2012-02-27  David S. Miller  <davem@davemloft.net>
82991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
82992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
82993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
82994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
82995         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
82996         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
82997         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
82998         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
83000         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
83001         manipulate bits before adding and subtracting TWO112[sx].
83002         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
83004 2012-02-27  Roland McGrath  <roland@hack.frob.com>
83006         [BZ #13775]
83007         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
83008         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
83009         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
83010         being in POSIX, because they are in 1003.1-2008.
83012         * rt/tst-aio.c: Include <fcntl.h>.
83013         * rt/tst-aio7.c: Likewise.
83014         * rt/tst-aio64.c: Likewise.
83016         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
83018 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83020         * manual/install.texi (--with-headers): Describe headers as
83021         interface headers, not private headers.
83022         (Specific advice for GNU/Linux systems): Describe use of headers
83023         from "make headers_install", not private headers from older
83024         kernels.
83025         * INSTALL: Regenerated.
83026         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
83027         Change to 2.6.19.
83028         * sysdeps/unix/sysv/linux/configure: Regenerated.
83030         * manual/llio.texi (fclean): Remove documentation.
83032         * manual/Makefile (libc-texi-generated): New variable.  Include
83033         version.texi.
83034         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
83035         $(libc-texi-generated), not duplicated list of files.
83036         (version.texi, stamp-version): New rules.
83037         (realclean): Remove $(libc-texi-generated), not individual files
83038         from that list.  Do not remove dir-add.texinfo.
83039         * manual/libc.texinfo: Comment out uses of edition numbers and
83040         references to printed manual.  Remove last-updated dates.
83041         (EDITION): Comment out.
83042         (ISBN): Likewise.
83043         (VERSION, UPDATED): Remove.
83044         (version.texi): Include.
83046 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
83048         * sysdeps/posix/spawni.c: Include <signal.h>.
83049         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
83050         * sysdeps/pthread/aio_fsync.c: Likewise.
83052 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
83054         * conform/Makefile (tests): Run only when not cross-compiling and
83055         when fast-check is not defined.
83057         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
83058         * conform/data/limits.h-data: Fixes for POSIX2008.
83059         * conform/run-conformtest.sh: Run all tests.
83060         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
83061         headers.
83062         * include/bits/dlfcn.h: Likewise.
83063         * include/langinfo.h: Likewise.
83064         * include/monetary.h: Likewise.
83065         * include/sys/poll.h: Likewise.
83067         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
83068         for __USE_GNU.
83069         * posix/spawn.h: Define __need_sigset_t.
83070         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
83071         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
83072         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
83073         to get sigevent_t only.
83074         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
83075         only for __USE_GNU.
83076         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83077         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83078         process_vm_writev only for __USE_GNU.
83079         * termios/termios.h: Declare tcgetsid also for POSIX2008.
83081         * conform/Makefile: For now ignore errors from run-conformtest.
83082         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
83083         POSIX to avoid namespace pollution.  Don't prepend headers.
83084         * conform/data/aio.h-data: Fixes for POSIX testing.
83085         * conform/data/fcntl.h-data: Likewise.
83086         * conform/data/glob.h-data: Likewise.
83087         * conform/data/grp.h-data: Likewise.
83088         * conform/data/pthread.h-data: Likewise.
83089         * conform/data/pwd.h-data: Likewise.
83090         * conform/data/signal.h-data: Likewise.
83091         * conform/data/spawn.h-data: Likewise.
83092         * conform/data/stdio.h-data: Likewise.
83093         * conform/data/stdlib.h-data: Likewise.
83094         * conform/data/stropts.h-data: Likewise.
83095         * conform/data/sys/mman.h-data: Likewise.
83096         * conform/data/sys/stat.h-data: Likewise.
83097         * conform/data/sys/types.h-data: Likewise.
83098         * conform/data/sys/wait.h-data: Likewise.
83099         * conform/data/time.h-data: Likewise.
83100         * conform/data/unistd.h-data: Likewise.
83101         * conform/data/utime.h-data: Likewise.
83103         * io/sys/stat.h: fchmod was always in POSIX.
83104         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
83105         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
83106         * rt/aio.h: Define __need_timespec before including <time.h>.
83107         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
83108         struct.  Add forward declaration of pthread_attr_t and use it in
83109         sigevent.
83110         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83111         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83112         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
83113         always remove CLK_TCK definition.
83115 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
83117         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
83119 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
83121         * conform/run-conformtest.sh: New file.
83122         * conform/Makefile: Run run-conformtest for tests.
83123         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
83124         support.
83126         * conform/data/uchar.h-data: New file.
83127         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
83128         * conform/data/arpa/inet.h-data: Likewise.
83129         * conform/data/assert.h-data: Likewise.
83130         * conform/data/complex.h-data: Likewise.
83131         * conform/data/cpio.h-data: Likewise.
83132         * conform/data/ctype.h-data: Likewise.
83133         * conform/data/dirent.h-data: Likewise.
83134         * conform/data/dlfcn.h-data: Likewise.
83135         * conform/data/errno.h-data: Likewise.
83136         * conform/data/fcntl.h-data: Likewise.
83137         * conform/data/float.h-data: Likewise.
83138         * conform/data/fmtmsg.h-data: Likewise.
83139         * conform/data/fnmatch.h-data: Likewise.
83140         * conform/data/ftw.h-data: Likewise.
83141         * conform/data/glob.h-data: Likewise.
83142         * conform/data/grp.h-data: Likewise.
83143         * conform/data/iconv.h-data: Likewise.
83144         * conform/data/inttypes.h-data: Likewise.
83145         * conform/data/langinfo.h-data: Likewise.
83146         * conform/data/libgen.h-data: Likewise.
83147         * conform/data/limits.h-data: Likewise.
83148         * conform/data/locale.h-data: Likewise.
83149         * conform/data/math.h-data: Likewise.
83150         * conform/data/monetary.h-data: Likewise.
83151         * conform/data/mqueue.h-data: Likewise.
83152         * conform/data/ndbm.h-data: Likewise.
83153         * conform/data/net/if.h-data: Likewise.
83154         * conform/data/netdb.h-data: Likewise.
83155         * conform/data/netinet/in.h-data: Likewise.
83156         * conform/data/nl_types.h-data: Likewise.
83157         * conform/data/poll.h-data: Likewise.
83158         * conform/data/pthread.h-data: Likewise.
83159         * conform/data/pwd.h-data: Likewise.
83160         * conform/data/regex.h-data: Likewise.
83161         * conform/data/sched.h-data: Likewise.
83162         * conform/data/search.h-data: Likewise.
83163         * conform/data/semaphore.h-data: Likewise.
83164         * conform/data/setjmp.h-data: Likewise.
83165         * conform/data/signal.h-data: Likewise.
83166         * conform/data/spawn.h-data: Likewise.
83167         * conform/data/stdarg.h-data: Likewise.
83168         * conform/data/stdio.h-data: Likewise.
83169         * conform/data/stdlib.h-data: Likewise.
83170         * conform/data/string.h-data: Likewise.
83171         * conform/data/strings.h-data: Likewise.
83172         * conform/data/stropts.h-data: Likewise.
83173         * conform/data/sys/ipc.h-data: Likewise.
83174         * conform/data/sys/mman.h-data: Likewise.
83175         * conform/data/sys/msg.h-data: Likewise.
83176         * conform/data/sys/resource.h-data: Likewise.
83177         * conform/data/sys/select.h-data: Likewise.
83178         * conform/data/sys/sem.h-data: Likewise.
83179         * conform/data/sys/shm.h-data: Likewise.
83180         * conform/data/sys/socket.h-data: Likewise.
83181         * conform/data/sys/stat.h-data: Likewise.
83182         * conform/data/sys/statvfs.h-data: Likewise.
83183         * conform/data/sys/time.h-data: Likewise.
83184         * conform/data/sys/timeb.h-data: Likewise.
83185         * conform/data/sys/times.h-data: Likewise.
83186         * conform/data/sys/types.h-data: Likewise.
83187         * conform/data/sys/uio.h-data: Likewise.
83188         * conform/data/sys/un.h-data: Likewise.
83189         * conform/data/sys/utsname.h-data: Likewise.
83190         * conform/data/sys/wait.h-data: Likewise.
83191         * conform/data/syslog.h-data: Likewise.
83192         * conform/data/tar.h-data: Likewise.
83193         * conform/data/termios.h-data: Likewise.
83194         * conform/data/utime.h-data: Likewise.
83195         * conform/data/utmpx.h-data: Likewise.
83196         * conform/data/varargs.h-data: Likewise.
83197         * conform/data/wchar.h-data: Likewise.
83198         * conform/data/wctype.h-data: Likewise.
83199         * conform/data/wordexp.h-data: Likewise.
83201         * include/stropts.h: New file.
83202         * include/uchar.h: New file.
83203         * include/aio.h: Changes to allow conformtest.pl to use the headers.
83204         * include/assert.h: Likewise.
83205         * include/ctype.h: Likewise.
83206         * include/dirent.h: Likewise.
83207         * include/dlfcn.h: Likewise.
83208         * include/fcntl.h: Likewise.
83209         * include/fnmatch.h: Likewise.
83210         * include/glob.h: Likewise.
83211         * include/grp.h: Likewise.
83212         * include/libio.h: Likewise.
83213         * include/locale.h: Likewise.
83214         * include/math.h: Likewise.
83215         * include/net/if.h: Likewise.
83216         * include/netdb.h: Likewise.
83217         * include/netinet/in.h: Likewise.
83218         * include/pthread.h: Likewise.
83219         * include/pwd.h: Likewise.
83220         * include/regex.h: Likewise.
83221         * include/sched.h: Likewise.
83222         * include/search.h: Likewise.
83223         * include/setjmp.h: Likewise.
83224         * include/signal.h: Likewise.
83225         * include/stdio.h: Likewise.
83226         * include/stdlib.h: Likewise.
83227         * include/string.h: Likewise.
83228         * include/sys/cdefs.h: Likewise.
83229         * include/sys/mman.h: Likewise.
83230         * include/sys/msg.h: Likewise.
83231         * include/sys/resource.h: Likewise.
83232         * include/sys/select.h: Likewise.
83233         * include/sys/socket.h: Likewise.
83234         * include/sys/stat.h: Likewise.
83235         * include/sys/statvfs.h: Likewise.
83236         * include/sys/time.h: Likewise.
83237         * include/sys/times.h: Likewise.
83238         * include/sys/uio.h: Likewise.
83239         * include/sys/utsname.h: Likewise.
83240         * include/sys/wait.h: Likewise.
83241         * include/termios.h: Likewise.
83242         * include/time.h: Likewise.
83243         * include/ulimit.h: Likewise.
83244         * include/unistd.h: Likewise.
83245         * include/utime.h: Likewise.
83246         * include/wchar.h: Likewise.
83247         * include/wctype.h: Likewise.
83248         * include/wordexp.h: Likewise.
83250         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
83252         * time/time.h: TIME_UTC must be a macro.
83253         Make timespec_get available for ISO C11 only as well.
83255 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
83257         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
83258         Reported by Peng Haitao <penght@cn.fujitsu.com>.
83260 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83262         * configure.in: Use -o not -a in test for unsupported multi-arch.
83264 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83266         * manual/texinfo.tex: Update to version 2012-01-19.16.
83268 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83270         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
83272 2012-02-24  Roland McGrath  <roland@hack.frob.com>
83274         [BZ #13738]
83275         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
83276         * manual/fdl-1.3.texi: New file.
83277         * manual/fdl-1.1.texi: File removed.
83279         [BZ #13738]
83280         * manual/libc.texinfo (FDL_VERSION): New @set.
83281         Use it for mention of FDL in cover text.
83282         (Documentation License): Use it in @include file name.
83284 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83285             Roland McGrath  <roland@hack.frob.com>
83287         [BZ #5461]
83288         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
83289         (not LONG_LONG_MAX and LONG_LONG_MIN.
83290         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
83291         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
83292         name.
83293         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
83295 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83297         [BZ #2547]
83298         [BZ #11365]
83299         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
83300         manipulate bits before adding and subtracting TWO23[sx].
83301         * math/libm-test.inc (nearbyint_test): Add more tests.
83303 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83305         [BZ #2548]
83306         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
83307         bits before adding and subtracting TWO23[sx].
83308         * math/libm-test.inc (rint_test): Add more tests.
83309         (rint_test_tonearest): Likewise.
83310         (rint_test_towardzero): Likewise.
83311         (rint_test_downward): Likewise.
83312         (rint_test_upward: Likewise.
83314 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83316         [BZ #10110]
83317         * include/stdc-predef.h: New file.  Extracted from features.h.
83318         * include/features.h: Include stdc-predef.h.
83319         * Makefile (headers): Add stdc-predef.h.
83320         * CONFORMANCE (Compiler limitations): Update.
83322 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83324         * manual/libc.texinfo (VERSION, UPDATED): Revert.
83326 2012-02-21  David S. Miller  <davem@davemloft.net>
83328         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
83329         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83331 2012-02-20  David S. Miller  <davem@davemloft.net>
83333         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
83334         using a normal save/restore sequence, rather than allocating a
83335         dummy stack frame just to store a frame pointer and restore.
83336         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83338 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83340         * manual/install.texi: Fix stray word in line-wrapped comment.
83342 2012-02-20  David S. Miller  <davem@davemloft.net>
83344         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
83345         both binutils and gcc support GOTDATA.
83347         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
83348         "rd %pc" in the PIC register setup sequences.
83350         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
83351         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
83352         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83353         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
83354         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83355         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83356         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83357         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83358         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
83359         (SYSCALL_ERROR_HANDLER): Likewise.
83360         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83361         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83362         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
83363         (SYSCALL_ERROR_HANDLER): Likewise.
83365         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
83366         (HAVE_GCC_GOTDATA): New.
83367         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
83368         relocation support in both binutils and gcc.
83369         * sysdeps/sparc/elf/configure: Regenerate.
83371         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
83372         * sysdeps/sparc/sparc32/elf/configure: Delete.
83373         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
83374         * sysdeps/sparc/sparc64/elf/configure: Delete.
83375         * sysdeps/sparc/elf/configure.in: New file.
83376         * sysdeps/sparc/elf/configure: Generate.
83378         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
83379         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
83380         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83381         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
83382         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
83384 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83386         * manual/install.texi: Do not mention specific glibc version
83387         numbers.
83388         * manual/libc.texinfo (VERSION, UPDATED): Update.
83389         (@copying): Use @copyright{} and range of years.
83391 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83393         [BZ #13695]
83394         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
83395         [crti.S not in sysdirs] (generated): Do not append.
83396         [crti.S not in sysdirs] (omit-deps): Likewise.
83397         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
83398         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
83399         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
83400         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
83401         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
83402         Likewise.
83403         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
83404         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
83405         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
83406         * csu/defs.awk: Remove file.
83407         * sysdeps/generic/initfini.c: Likewise.
83408         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
83409         variable.
83410         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
83411         Likewise.
83413 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83415         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
83416         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
83417         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
83418         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
83419         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83420         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
83421         <bits/epoll.h>.
83422         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
83423         (__EPOLL_PACKED): Define to empty if not defined by
83424         <bits/epoll.h>.
83425         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
83426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83427         bits/epoll.h.
83429 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83431         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
83432         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
83433         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
83434         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
83435         <bits/timerfd.h>.
83436         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
83437         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83438         bits/timerfd.h.
83440 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83442         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
83443         in C locale.
83444         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83445         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
83446         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
83447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83449 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
83451         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83452         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83454 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
83456         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
83457         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
83458         defined.
83459         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
83460         Likewise.
83461         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
83462         entry for 2.16.
83464 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
83466         * math/w_acos.c: Use non-signaling floating-point comparisons.
83467         * math/w_acosf.c: Likewise.
83468         * math/w_acosh.c: Likewise.
83469         * math/w_acoshf.c: Likewise.
83470         * math/w_acoshl.c: Likewise.
83471         * math/w_acosl.c: Likewise.
83472         * math/w_asin.c: Likewise.
83473         * math/w_asinf.c: Likewise.
83474         * math/w_asinl.c: Likewise.
83475         * math/w_atanh.c: Likewise.
83476         * math/w_atanhf.c: Likewise.
83477         * math/w_atanhl.c: Likewise.
83478         * math/w_exp2.c: Likewise.
83479         * math/w_exp2f.c: Likewise.
83480         * math/w_exp2l.c: Likewise.
83481         * math/w_j0.c: Likewise.
83482         * math/w_j0f.c: Likewise.
83483         * math/w_j0l.c: Likewise.
83484         * math/w_j1.c: Likewise.
83485         * math/w_j1f.c: Likewise.
83486         * math/w_j1l.c: Likewise.
83487         * math/w_jn.c: Likewise.
83488         * math/w_jnf.c: Likewise.
83489         * math/w_log.c: Likewise.
83490         * math/w_log10.c: Likewise.
83491         * math/w_log10f.c: Likewise.
83492         * math/w_log10l.c: Likewise.
83493         * math/w_log2.c: Likewise.
83494         * math/w_log2f.c: Likewise.
83495         * math/w_log2l.c: Likewise.
83496         * math/w_logf.c: Likewise.
83497         * math/w_logl.c: Likewise.
83498         * math/w_sqrt.c: Likewise.
83499         * math/w_sqrtf.c: Likewise.
83500         * math/w_sqrtl.c: Likewise.
83501         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83502         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
83503         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83504         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83505         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83507 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
83509         [BZ #9739]
83510         * manual/string.texi (strnlen): Use correct parameter name in
83511         equivalent expression.
83513 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
83515         [BZ #11174]
83516         * manual/users.texi (seteuid): Consistently use neweuid for
83517         argument name.
83519 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
83521         [BZ #13704]
83522         * manual/nss.texi (Services in the NSS configuration): Correct
83523         list of services in example configuration file.
83525 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
83527         [BZ #11322]
83528         * manual/arith.texi: Remove statements about negative zero
83529         behaving identically to zero.
83531 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
83533         [BZ #5993]
83534         * manual/install.texi: Do not document upgrading from libc5.
83536 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
83538         [BZ #4596]
83539         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
83541 2012-02-18  David S. Miller  <davem@davemloft.net>
83543         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
83544         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
83545         %o7 across the call.
83546         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
83547         instead.
83548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
83549         SETUP_PIC_REG_LEAF.
83550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83551         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
83552         * sysdeps/sparc/crtn.S: Likewise.
83554 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
83556         * aout/Makefile: Remove.
83558 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
83560         [BZ #13058]
83561         * manual/examples/argp-ex1.c (main): Format definition in GNU
83562         style.
83563         * manual/examples/argp-ex2.c (main): Likewise.
83564         * manual/examples/argp-ex3.c (main): Likewise.
83565         * manual/examples/argp-ex4.c (main): Likewise.
83566         * manual/examples/longopt.c (main): Use new-style prototype
83567         definition.
83568         * manual/examples/strncat.c (main): Specify return type and use
83569         (void) for arguments.
83570         * manual/examples/subopt.c (main): Use char **argv argument.
83572 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83574         [BZ #5077]
83575         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
83576         rounding modes.
83578 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
83580         [BZ #6907]
83581         * manual/string.texi (strchr): Change when strchrnul is
83582         recommended.
83584 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
83586         [BZ #174]
83587         * manual/locale.texi (setlocale): Document LOCPATH.
83589 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83591         [BZ #10210]
83592         * manual/process.texi (execle): Move @dots{} before last argument.
83594 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
83596         [BZ #12047]
83597         * manual/charset.texi (Generic Charset Conversion): Fix typo
83598         (LC_TYPE -> LC_CTYPE).
83600 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
83602         [BZ #5805]
83603         * manual/arith.texi (scalbn): Use @var{} on parameter names.
83604         (scalbnf): Likewise.
83605         (scalbnl): Likewise.
83606         (scalbln): Likewise.
83607         (scalblnf): Likewise.
83608         (scalblnl): Likewise.
83609         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
83610         (vwarnx): Likewise.
83611         (verr): Likewise.
83612         (verrx): Likewise.
83613         * manual/filesys.texi (telldir): Use braces around return type.
83614         * manual/llio.texi (mmap): Add space after comma.
83615         (mmap64): Likewise.
83616         * manual/math.texi (jn): Use @var{} on parameter names.
83617         (jnf): Likewise.
83618         (jnl): Likewise.
83619         (yn): Likewise.
83620         (ynf): Likewise.
83621         (ynl): Likewise.
83622         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
83623         line.
83624         * manual/resource.texi (ulimit): Use @dots{} instead of literal
83625         "...".
83626         (sched_get_priority_min): Remove semicolon on @deftypefun line.
83627         (sched_get_priority_max): Likewise.
83628         * manual/signal.texi (sigvec): Add space after comma.
83629         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
83630         names.
83631         (if_indextoname): Likewise.
83632         (if_freenameindex): Likewise.
83633         (sendto): Use ',' instead of '.' in prototype.
83634         * manual/startup.texi (syscall): Use @dots{} instead of literal
83635         "...".
83636         * manual/stdio.texi (__fpending): Separate initial words of
83637         paragraph from @deftypefun line.
83638         * manual/syslog.texi (syslog): Use @dots{} instead of literal
83639         "...".
83640         (vsyslog): Use @var{} on parameter names.
83641         * manual/terminal.texi (stty): Use @var{} on parameter names.
83642         * manual/users.texi (getutmp): Use @var{} on parameter names.
83643         (getutmpx): Likewise.
83645 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83647         [BZ #6884]
83648         * manual/stdio.texi (fopen): Fix typos in description of
83649         ",ccs=STRING".
83651 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
83653         [BZ #4026]
83654         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
83655         get clock_id definition.
83657 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
83659         [BZ #4822]
83660         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
83661         (madvise): Cast every argument to void on its own.
83663 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83665         [BZ #9902]
83666         * manual/startup.texi (Exit Status): Fix typo.
83668 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83670         [BZ #10140]
83671         * manual/examples/argp-ex1.c: Include <stdlib.h>.
83672         * manual/examples/argp-ex2.c: Likewise.
83673         * manual/examples/argp-ex3.c: Likewise.
83675 2012-02-16  Richard Henderson  <rth@redhat.com>
83677         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
83678         * sysdeps/s390/s390-32/initfini.c: Remove.
83679         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
83680         * sysdeps/s390/s390-64/initfini.c: Remove.
83682 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
83684         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
83685         compiler output for sysdeps/generic/initfini.c.
83686         * sysdeps/sh/elf/initfini.c: Remove file.
83688 2012-02-16  David S. Miller  <davem@davemloft.net>
83690         [BZ #11494]
83691         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
83693         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
83694         * sysdeps/sparc/crti.S: New file.
83695         * sysdeps/sparc/crtn.S: New file.
83696         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
83697         * sysdeps/sparc/sparc64/Makefile: Likewise.
83699 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
83701         [BZ #3335]
83702         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
83704 2012-02-15  Roland McGrath  <roland@hack.frob.com>
83706         [BZ #4822]
83707         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
83709         * mach/devstream.c (cookie_io_functions_t): Macro removed.
83710         (write, read, close): Likewise.
83711         Patch by Aurelien Jarno <aurelien@aurel32.net>.
83713 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
83715         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
83716         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
83717         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
83718         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
83719         <bits/signalfd.h>.
83720         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
83721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83722         bits/signalfd.h.
83724 2012-02-14  Marek Polacek  <polacek@redhat.com>
83726         * sysdeps/x86_64/crti.S: New file.
83727         * sysdeps/x86_64/crtn.S: New file.
83728         * sysdeps/x86_64/elf/initfini.c: Remove file.
83730 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83732         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
83733         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
83734         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
83735         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
83736         <bits/inotify.h>.
83737         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
83738         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83739         bits/inotify.h.
83741 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83743         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
83744         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
83745         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
83746         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
83747         <bits/eventfd.h>.
83748         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
83749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83750         bits/eventfd.h.
83752 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
83754         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
83755         __feraiseexcept instead of feraiseexcept.
83757         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
83758         nanosleep invocations.
83759         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
83760         strings, and add error checking for a nanosleep invocations.
83762 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
83764         Replace FSF snail mail address with URLs, as per GNU coding standards.
83765         Most of the snail mail addresses were wrong anyway, and omitting
83766         them makes the source code easier to maintain.  Almost all of the
83767         changes are to license notices and to locale LC_IDENTIFICATION
83768         addresses, except for this one:
83769         * manual/libc.texinfo: In "Published by", give the FSF's URL,
83770         not its snail mail address.
83772 2012-02-09  Richard Henderson  <rth@twiddle.net>
83774         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
83775         of kernel-features.h.
83777         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
83779 2012-02-08  Marek Polacek  <polacek@redhat.com>
83781         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
83782         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
83783         * sysdeps/gnu/_G_config.h: Likewise.
83784         * sysdeps/generic/_G_config.h: Likewise.
83786 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
83788         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
83789         tests.
83790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83792         * sysdeps/powerpc/powerpc32/crti.S: New file.
83793         * sysdeps/powerpc/powerpc32/crtn.S: New file.
83794         * sysdeps/powerpc/powerpc64/crti.S: New file.
83795         * sysdeps/powerpc/powerpc64/crtn.S: New file.
83797         * Makeconfig (have-initfini): Don't set.
83798         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
83799         * configure.in (nopic_initfini): Don't substitute.
83800         * config.h.in (HAVE_INITFINI): Don't #undef.
83801         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
83802         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
83804 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
83806         Support crti.S and crtn.S provided directly by architectures.
83807         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
83808         [crti.S in sysdirs] (omit-deps): Likewise.
83809         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
83810         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
83811         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
83812         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
83813         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
83814         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
83815         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
83816         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
83817         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
83818         compiler output for sysdeps/generic/initfini.c.
83819         * sysdeps/i386/elf/Makefile: Remove file.
83820         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
83822 2012-02-07  Marek Polacek  <polacek@redhat.com>
83824         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
83825         * sysdeps/gnu/_G_config.h: Likewise.
83826         * sysdeps/mach/hurd/_G_config.h: Likewise.
83828 2012-02-07  Marek Polacek  <polacek@redhat.com>
83830         * math/Makefile (tests): Add tst-CMPLX2.
83831         * math/tst-CMPLX2.c: New file.
83833 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
83835         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83837         * math/libm-test.inc (jn_test): Add missing L suffix.
83839 2012-02-06  Marek Polacek  <polacek@redhat.com>
83841         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
83842         * sysdeps/i386/fpu/e_powf.S: Likewise.
83843         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83844         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83845         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83846         * sysdeps/i386/fpu/e_pow.S: Likewise.
83847         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
83848         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83849         * sysdeps/i386/fpu/s_expm1.S: Likewise.
83850         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
83851         * sysdeps/i386/fpu/e_log2.S: Likewise.
83852         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83853         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83854         * sysdeps/i386/fpu/e_powl.S: Likewise.
83855         * sysdeps/i386/fpu/s_log1p.S: Likewise.
83856         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83857         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
83858         * sysdeps/i386/fpu/e_logl.S: Likewise.
83859         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
83860         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
83861         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
83862         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
83863         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83864         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83865         * sysdeps/i386/fpu/e_log.S: Likewise.
83866         * sysdeps/i386/fpu/s_cexp.S: Likewise.
83867         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83868         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
83869         * sysdeps/i386/fpu/e_logf.S: Likewise.
83870         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83871         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83872         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
83873         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
83874         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83875         * sysdeps/i386/fpu/e_log10.S: Likewise.
83876         * sysdeps/i386/fpu/s_frexp.S: Likewise.
83877         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83878         * sysdeps/i386/fpu/s_asinh.S: Likewise.
83879         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
83880         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83881         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
83882         * sysdeps/i386/asm-syntax.h: Likewise.
83883         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83884         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83885         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83886         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
83887         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
83888         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83889         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
83890         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
83891         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83892         * sysdeps/powerpc/sysdep.h: Likewise.
83893         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
83894         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
83896 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83898         [BZ #411]
83899         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
83901 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83903         * sysdeps/i386/sysdep.h: Include <features.h>.
83904         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
83905         version.
83907 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
83909         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
83910         Define.
83911         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
83912         LOAD_PIC_REG_STR.
83914 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83916         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
83917         (SETUP_PIC_REG): Use GET_PC_THUNK.
83918         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
83919         macro.
83921 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83923         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
83924         for non-PIC compilation.
83925         (SETUP_PIC_REG): Add .p2align directive.
83926         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
83927         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
83928         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
83929         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
83930         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
83931         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
83932         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
83933         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83934         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
83935         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
83936         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
83937         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
83938         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
83939         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
83940         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
83941         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
83942         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
83943         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
83944         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
83945         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
83946         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
83947         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
83948         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
83949         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
83950         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
83951         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
83952         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83953         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
83954         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
83955         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
83956         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
83957         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83958         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
83959         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
83960         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
83961         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
83962         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
83963         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
83964         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
83965         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
83966         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
83968 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83970         * math/tst-CMPLX.c: Include <stdio.h>.
83972 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
83974         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
83975         float.
83976         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83977         * sysdeps/sparc/bits/mathdef.h: Likewise.
83979 2012-01-31  Marek Polacek  <polacek@redhat.com>
83981         * libio/libio.h: Don't define _PARAMS.
83982         * locale/programs/config.h: Don't define PARAMS.
83983         * stdlib/strtol_l.c: Likewise.
83984         (__strtol_l): Remove PARAMS from the prototype.
83986 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
83988         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
83989         names.  Just use the correct names.  Remove unnecessary wrapper
83990         functions.
83991         * malloc/arena.c: Likewise.
83992         * malloc/hooks.c: Likewise.
83994         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
83995         ARENA_TEST says not to.  Simplify test for creation of a new arena.
83996         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
83998 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
84000         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
84001         into tail calls.
84002         (update_get_addr): New function.
84003         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
84004         GET_ADDR_MODULE parameter.
84006 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84008         * crypt/cert.c: Remove __STDC__ conditionals.
84009         * crypt/crypt-entry.c: Likewise.
84010         * crypt/crypt_util.c: Likewise.
84011         * libio/filedoalloc.c: Likewise.
84012         * libio/fileops.c: Likewise.
84013         * libio/genops.c: Likewise.
84014         * libio/iofclose.c: Likewise.
84015         * libio/iofdopen.c: Likewise.
84016         * libio/iofopen.c: Likewise.
84017         * libio/iofopen64.c: Likewise.
84018         * libio/iogetdelim.c: Likewise.
84019         * libio/iopopen.c: Likewise.
84020         * libio/obprintf.c: Likewise.
84021         * libio/oldfileops.c: Likewise.
84022         * libio/oldiofclose.c: Likewise.
84023         * libio/oldiofdopen.c: Likewise.
84024         * libio/oldiofopen.c: Likewise.
84025         * libio/oldiopopen.c: Likewise.
84026         * libio/wfiledoalloc.c: Likewise.
84027         * libio/wgenops.c: Likewise.
84028         * locale/programs/xmalloc.c: Likewise.
84029         * misc/syslog.c: Likewise.
84030         * stdio-common/xbug.c: Likewise.
84031         * string/memchr.c: Likewise.
84032         * string/memcmp.c: Likewise.
84033         * string/memrchr.c: Likewise.
84034         * string/rawmemchr.c: Likewise.
84035         * sysdeps/posix/getcwd.c: Likewise.
84036         * time/strftime_l.c: Likewise.
84038 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84040         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
84041         * config.make.in (config-cflags-sse2avx): Define.
84042         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
84043         Fix typo.
84045 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
84047         * scripts/config.guess: Update from upstream config git repository.
84048         * scripts/config.sub: Likewise.
84050 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
84052         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
84053         (EM_NUM): Update.
84054         (R_TILEPRO_*, R_TILEGX_*): New macros.
84056         * scripts/firstversions.awk: Fix bug in version range handling.
84058         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
84060         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
84062         * include/sys/epoll.h: New file.
84063         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
84064         libc_hidden_def.
84066 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
84068         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
84069         Avoid unnecessary __WORDSIZE == 64 test.
84070         (fmaxf): Use VEX format if possible.
84071         (fmax): Likewise.
84072         (fminf): Likewise.
84073         (fmin): Likewise.
84075         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
84076         * math/math_private.h: Remove libc_fegetround* and
84077         libc_fesetround*.
84078         * sysdeps/i386/configure.in: Check for -msse2avx.
84079         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
84080         also if SSE2AVX is defined.
84081         Remove libc_fegetround* and libc_fesetround*.
84082         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
84083         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
84084         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
84085         of HAS_YMM_USABLE.
84086         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84087         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84088         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84089         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84090         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84092         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
84094 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84096         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
84097         size is not set.
84098         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84100 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
84102         [BZ #13618]
84103         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
84104         relocation.
84105         * Makeconfig (libm): Define.
84106         * elf/Makefile: Add rules to build and run tst-relsort1.
84107         * elf/tst-relsort1.c: New file.
84108         * elf/tst-relsort1mod1.c: New file.
84109         * elf/tst-relsort1mod2.c: New file.
84111 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
84113         * math/s_ldexp.c: Remove __STDC__ conditionals.
84114         * math/s_ldexpf.c: Likewise.
84115         * math/s_ldexpl.c: Likewise.
84116         * math/s_nextafter.c: Likewise.
84117         * math/s_nexttowardf.c: Likewise.
84118         * math/s_significand.c: Likewise.
84119         * math/s_significandf.c: Likewise.
84120         * math/s_significandl.c: Likewise.
84121         * math/w_jnl.c: Likewise.
84122         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84123         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84124         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84125         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84126         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84127         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84128         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
84129         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84130         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84131         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84132         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84133         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84134         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84135         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84136         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84137         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84138         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84139         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84140         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84141         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84142         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84143         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84144         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84145         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84146         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84147         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84148         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84149         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84150         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84151         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84152         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84153         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84154         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84155         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84156         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84157         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84158         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84159         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84160         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84161         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84162         * sysdeps/ieee754/k_standard.c: Likewise.
84163         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84164         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84165         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84166         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84167         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84168         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84169         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84170         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84171         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84172         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84173         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84174         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84175         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84176         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84177         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84178         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84179         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84180         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84181         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84182         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84183         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84184         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84185         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84186         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84187         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84188         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84189         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84190         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84191         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84192         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84193         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84194         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
84195         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84196         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84197         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84198         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84199         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
84200         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84201         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84202         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
84203         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
84204         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84205         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
84206         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
84207         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84208         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
84209         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
84210         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84211         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84212         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
84213         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
84214         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84215         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84216         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84217         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84218         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84219         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
84220         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84221         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84222         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84223         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84224         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84225         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84226         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84227         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84228         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84229         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84230         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84231         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84232         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84233         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84234         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84235         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84236         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84237         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84238         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84239         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84240         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84241         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84242         * sysdeps/ieee754/s_matherr.c: Likewise.
84243         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84244         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84245         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84246         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84248 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84250         * crypt/md5.h: Remove __STDC__ conditionals.
84251         * libio/libioP.h: Likewise.
84252         * locale/programs/config.h: Likewise.
84253         * sysdeps/generic/sysdep.h: Likewise.
84254         * sysdeps/i386/asm-syntax.h: Likewise.
84255         * sysdeps/s390/asm-syntax.h: Likewise.
84256         * sysdeps/unix/sysdep.h: Likewise.
84257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
84258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
84260 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84262         * libio/libio.h: Remove __STDC__ conditionals.
84263         * malloc/obstack.h: Likewise.
84264         * math/complex.h: Likewise.
84265         * math/math.h: Likewise.
84266         * sysdeps/generic/_G_config.h: Likewise.
84267         * sysdeps/gnu/_G_config.h: Likewise.
84268         * sysdeps/mach/hurd/_G_config.h: Likewise.
84269         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84270         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84271         * sysdeps/sparc/bits/mathdef.h: Likewise.
84273 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
84275         [BZ #13583]
84276         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
84277         Clean up HAS_* macros.
84278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
84279         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
84280         possible.
84281         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
84282         HAS_AVX.
84283         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84284         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84285         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84286         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84287         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84289 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
84291         * elf/tst-unique3.cc (gets): Remove declaration.
84292         * elf/tst-unique3lib.cc (gets): Likewise.
84293         * elf/tst-unique3lib2.cc (gets): Likewise.
84294         * elf/tst-unique4.cc (gets): Likewise.
84296 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
84298         * include/stdio.h: Add C++ protection.  Add gets declarations and
84299         definitions.
84300         * debug/tst-chk1.c: Don't declare gets here.
84301         * stdio-common/tst-gets.c: Likewise.
84303 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84305         * posix/glob: Remove directory.
84307 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84309         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
84311 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
84313         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
84314         of the non-standard EPFNOSUPPORT.
84316 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84318         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
84319         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
84320         ANYWHERE set to 1 only on KERN_NO_SPACE error.
84322 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
84324         * wcsmbs/uchar.h: Test __STDC_VERSION__.
84326 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
84328         * nscd/aicache.c (addhstaiX): Do not cache negative results of
84329         transient errors.
84330         * nscd/grpcache.c (cache_addgr): Likewise.
84331         * nscd/hstcache.c (cache_addhst): Likewise.
84332         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84333         * nscd/pwdcache.c (cache_addpw): Likewise.
84334         * nscd/servicescache.c (cache_addserv): Likewise.
84336 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
84338         * malloc/malloc.c: Various cleanups.
84339         * malloc/hooks.c: Likewise.
84341         * stdlib/Makefile (tests): Add bug-fmtmsg1.
84342         * stdlib/bug-fmtmsg1.c: New file.
84344         * stdlib/fmtmsg.c (init): Add missing unlock.
84345         Patch by Peng Haitao <penght@cn.fujitsu.com>.
84347 2012-01-12  Marek Polacek  <polacek@redhat.com>
84349         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
84350         and _GNU_SOURCE.
84352 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84354         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
84355         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
84356         macro to ensure uniqueness of label name.
84357         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84358         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84360 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
84362         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
84364         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
84365         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84366         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84367         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
84369 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
84371         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
84373         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
84374         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84375         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84377         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
84379         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
84380         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84381         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84382         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
84384         * math/bits/math-finite.h: Add ldexp support.
84386 2012-01-10  Marek Polacek  <polacek@redhat.com>
84388         * locale/programs/localedef.h (show_archive_content): Add noreturn
84389         attribute.
84391 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
84393         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
84395 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84397         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
84399         * io/Makefile (headers): Add bits/poll2.h.
84401 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
84403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
84404         typo #include statement.
84406 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84408         * include/sys/cdefs.h: Define __attribute_alloc_size.
84409         * catgets/gencat.c: Add alloc_size attribute and apply consistently
84410         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
84411         * elf/pldd.c: Likewise.
84412         * iconv/iconv_charmap.c: Likewise.
84413         * iconv/iconvconfig.c: Likewise.
84414         * iconv/strtab.c: Likewise.
84415         * locale/programs/locale.c: Likewise.
84416         * locale/programs/localedef.h: Likewise.
84417         * locale/programs/simple-hash.c: Likewise.
84418         * nscd/nscd.h: Likewise.
84419         * nss/makedb.c: Likewise.
84420         * sysdeps/generic/ldconfig.h: Likewise.
84421         * locale/programs/localedef.c: Remove xmalloc prototype.
84422         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
84424 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
84426         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
84427         appropriate.
84429 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84431         * math/Makefile (tests): Add tst-CMPLX.
84432         * math/tst-CMPLX.c: New file.
84434         * math/complex.h (CMPLXL): Fix typo.
84436         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
84437         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
84438         GLIBC_2.16.
84439         * debug/tst-chk1.c: Add poll and ppoll tests.
84440         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
84441         * include/sys/poll.h: Add hidden proto for ppoll.
84442         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
84443         * sysdeps/mach/hurd/ppoll.c: Likewise.
84444         * io/ppoll.c: Likewise.
84445         * debug/poll_chk.c: New file.
84446         * debug/ppoll_chk.c: New file.
84447         * include/bits/poll2.h: New file.
84448         * io/bits/poll2.h: New file.
84450         [BZ #1350]
84451         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
84453         * configure.in: static is always set to yes.  Remove.
84454         * config.make.in: Don't set build-static.
84455         * Makeconfig: Remove use of build-static.
84456         * dlfcn/Makefile: Likewise.
84457         * elf/Makefile: Likewise.
84458         * math/Makefile: Likewise.
84459         * misc/Makefile: Likewise.
84460         * nptl/Makefile: Likewise.
84461         * sysdeps/mach/hurd/Makefile: Likewise.
84463         * configure.in: PWD_P is not used anymore.
84464         * config.make.in: Remove PWD_P entry.
84466         * configure.in: Remove last remnants of RANLIB.
84467         No need to check for signed size_t anymore.
84468         Don't set libc_commonpagesize and libc_relro_required here for Alpha
84469         and IA-64.
84470         Remove __builtin_expect test because we require at least gcc 3.4.
84471         * aclocal.m4: Likewise.
84473         * wcsmbs/mbrtoc16.c: Implement using towc function.
84474         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
84475         * wcsmbs/wcsmbsload.c: Likewise.
84476         * iconv/gconv_simple.c: Likewise.
84477         * iconv/gconv_int.h: Likewise.
84478         * iconv/gconv_builtin.h: Likewise.
84479         * iconv/iconv_prog.c: Remove CHAR16 handling.
84481         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
84483         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
84485         * configure.in: Remove --with-elf and --enable-bounded options.
84486         Dont set base_machine for ia64.  More non-ELF conditions removed.
84487         Remove testing and setting of leading underscore information.
84488         * config.make.in (build-bounded): Set to no.
84489         * config.h.in: Remove NO_UNDERSCORES entry.
84490         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
84491         them.
84492         * csu/start.c: Remove !NO_UNDERSCORE code.
84493         * locale/localeinfo.h: Likewise.
84494         * sysdeps/generic/machine-gmon.h: Likewise.
84495         * sysdeps/generic/sysdep.h: Likewise.
84496         * sysdeps/i386/sysdep.h: Likewise.
84497         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
84498         * sysdeps/mach/sysdep.h: Likewise.
84499         * sysdeps/s390/s390-32/sysdep.h: Likewise.
84500         * sysdeps/s390/s390-64/sysdep.h: Likewise.
84501         * sysdeps/sh/sysdep.h: Likewise.
84502         * sysdeps/sparc/sparc32/alloca.S: Likewise.
84503         * sysdeps/unix/i386/sysdep.S: Likewise.
84504         * sysdeps/unix/sparc/start.c: Likewise.
84505         * sysdeps/unix/sparc/sysdep.S: Likewise.
84506         * sysdeps/unix/sparc/sysdep.h: Likewise.
84507         * sysdeps/unix/start.c: Likewise.
84508         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84509         * sysdeps/x86_64/sysdep.h: Likewise.
84511 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
84513         [BZ #13553]
84514         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
84515         for non-gcc.
84516         * argp/argp-fmtstream.h: Use const instead __const.
84517         * argp/argp.h: Likewise.
84518         * assert/assert.h: Likewise.
84519         * bits/fenv.h: Likewise.
84520         * bits/sched.h: Likewise.
84521         * bits/sigset.h: Likewise.
84522         * bits/sigthread.h: Likewise.
84523         * catgets/nl_types.h: Likewise.
84524         * conform/data/pthread.h-data: Likewise.
84525         * crypt/crypt-private.h: Likewise.
84526         * crypt/crypt.h: Likewise.
84527         * crypt/crypt_util.c: Likewise.
84528         * ctype/ctype.h: Likewise.
84529         * debug/execinfo.h: Likewise.
84530         * debug/mbsnrtowcs_chk.c: Likewise.
84531         * debug/mbsrtowcs_chk.c: Likewise.
84532         * debug/wcsnrtombs_chk.c: Likewise.
84533         * debug/wcsrtombs_chk.c: Likewise.
84534         * debug/wcstombs_chk.c: Likewise.
84535         * dirent/dirent.h: Likewise.
84536         * dlfcn/dlfcn.h: Likewise.
84537         * elf/neededtest4.c: Likewise.
84538         * grp/grp.h: Likewise.
84539         * gshadow/gshadow.h: Likewise.
84540         * iconv/gconv.h: Likewise.
84541         * iconv/gconv_int.h: Likewise.
84542         * iconv/gconv_simple.c: Likewise.
84543         * iconv/iconv.h: Likewise.
84544         * iconv/loop.c: Likewise.
84545         * iconv/skeleton.c: Likewise.
84546         * include/aio.h: Likewise.
84547         * include/aliases.h: Likewise.
84548         * include/argz.h: Likewise.
84549         * include/arpa/inet.h: Likewise.
84550         * include/assert.h: Likewise.
84551         * include/dirent.h: Likewise.
84552         * include/dlfcn.h: Likewise.
84553         * include/execinfo.h: Likewise.
84554         * include/fcntl.h: Likewise.
84555         * include/fenv.h: Likewise.
84556         * include/glob.h: Likewise.
84557         * include/grp.h: Likewise.
84558         * include/libintl.h: Likewise.
84559         * include/mntent.h: Likewise.
84560         * include/netdb.h: Likewise.
84561         * include/pwd.h: Likewise.
84562         * include/rpc/netdb.h: Likewise.
84563         * include/sched.h: Likewise.
84564         * include/search.h: Likewise.
84565         * include/shadow.h: Likewise.
84566         * include/signal.h: Likewise.
84567         * include/stdio.h: Likewise.
84568         * include/stdlib.h: Likewise.
84569         * include/string.h: Likewise.
84570         * include/sys/socket.h: Likewise.
84571         * include/sys/stat.h: Likewise.
84572         * include/sys/statfs.h: Likewise.
84573         * include/sys/statvfs.h: Likewise.
84574         * include/sys/syslog.h: Likewise.
84575         * include/sys/time.h: Likewise.
84576         * include/sys/uio.h: Likewise.
84577         * include/time.h: Likewise.
84578         * include/unistd.h: Likewise.
84579         * include/utmp.h: Likewise.
84580         * include/wchar.h: Likewise.
84581         * include/wctype.h: Likewise.
84582         * inet/aliases.h: Likewise.
84583         * inet/arpa/inet.h: Likewise.
84584         * inet/netinet/ether.h: Likewise.
84585         * inet/netinet/in.h: Likewise.
84586         * intl/libintl.h: Likewise.
84587         * io/bits/fcntl2.h: Likewise.
84588         * io/fcntl.h: Likewise.
84589         * io/ftw.h: Likewise.
84590         * io/sys/poll.h: Likewise.
84591         * io/sys/stat.h: Likewise.
84592         * io/sys/statfs.h: Likewise.
84593         * io/sys/statvfs.h: Likewise.
84594         * io/utime.h: Likewise.
84595         * libio/bits/stdio.h: Likewise.
84596         * libio/bits/stdio2.h: Likewise.
84597         * libio/libio.h: Likewise.
84598         * libio/libioP.h: Likewise.
84599         * libio/stdio.h: Likewise.
84600         * locale/lc-ctype.c: Likewise.
84601         * locale/locale.h: Likewise.
84602         * login/utmp.h: Likewise.
84603         * malloc/arena.c: Likewise.
84604         * malloc/malloc.c: Likewise.
84605         * malloc/malloc.h: Likewise.
84606         * malloc/mcheck.c: Likewise.
84607         * malloc/mtrace.c: Likewise.
84608         * math/bits/mathcalls.h: Likewise.
84609         * math/fenv.h: Likewise.
84610         * math/math_private.h: Likewise.
84611         * misc/bits/error.h: Likewise.
84612         * misc/bits/syslog.h: Likewise.
84613         * misc/err.h: Likewise.
84614         * misc/error.h: Likewise.
84615         * misc/fstab.h: Likewise.
84616         * misc/mntent.h: Likewise.
84617         * misc/regexp.h: Likewise.
84618         * misc/search.h: Likewise.
84619         * misc/sgtty.h: Likewise.
84620         * misc/sys/mman.h: Likewise.
84621         * misc/sys/syslog.h: Likewise.
84622         * misc/sys/uio.h: Likewise.
84623         * misc/sys/xattr.h: Likewise.
84624         * misc/ttyent.h: Likewise.
84625         * nis/rpcsvc/ypclnt.h: Likewise.
84626         * nss/nss.h: Likewise.
84627         * posix/bits/unistd.h: Likewise.
84628         * posix/fnmatch.h: Likewise.
84629         * posix/glob.h: Likewise.
84630         * posix/sched.h: Likewise.
84631         * posix/spawn.h: Likewise.
84632         * posix/sys/wait.h: Likewise.
84633         * posix/unistd.h: Likewise.
84634         * posix/wordexp.h: Likewise.
84635         * pwd/pwd.h: Likewise.
84636         * resolv/netdb.h: Likewise.
84637         * resource/sys/resource.h: Likewise.
84638         * rt/aio.h: Likewise.
84639         * rt/bits/mqueue2.h: Likewise.
84640         * rt/mqueue.h: Likewise.
84641         * shadow/shadow.h: Likewise.
84642         * signal/signal.h: Likewise.
84643         * socket/send.c: Likewise.
84644         * socket/sendto.c: Likewise.
84645         * socket/sys/socket.h: Likewise.
84646         * stdio-common/printf.h: Likewise.
84647         * stdlib/bits/stdlib.h: Likewise.
84648         * stdlib/fmtmsg.h: Likewise.
84649         * stdlib/monetary.h: Likewise.
84650         * stdlib/stdlib.h: Likewise.
84651         * stdlib/ucontext.h: Likewise.
84652         * streams/stropts.h: Likewise.
84653         * string/argz.h: Likewise.
84654         * string/bits/string2.h: Likewise.
84655         * string/string.h: Likewise.
84656         * string/strings.h: Likewise.
84657         * sunrpc/rpc/auth.h: Likewise.
84658         * sunrpc/rpc/auth_des.h: Likewise.
84659         * sunrpc/rpc/clnt.h: Likewise.
84660         * sunrpc/rpc/netdb.h: Likewise.
84661         * sunrpc/rpc/pmap_clnt.h: Likewise.
84662         * sunrpc/rpc/xdr.h: Likewise.
84663         * sysdeps/generic/inttypes.h: Likewise.
84664         * sysdeps/generic/net/if.h: Likewise.
84665         * sysdeps/generic/sys/swap.h: Likewise.
84666         * sysdeps/gnu/net/if.h: Likewise.
84667         * sysdeps/gnu/utmpx.h: Likewise.
84668         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
84669         * sysdeps/i386/i486/bits/string.h: Likewise.
84670         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
84671         * sysdeps/s390/bits/string.h: Likewise.
84672         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
84673         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
84674         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
84675         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
84676         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
84677         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
84678         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
84679         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
84680         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
84681         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
84682         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
84683         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
84684         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
84685         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
84686         * sysdeps/unix/sysv/linux/readv.c: Likewise.
84687         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
84688         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
84689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84690         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
84691         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
84692         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84693         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
84694         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
84695         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
84696         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
84697         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
84698         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
84699         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84700         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
84701         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
84702         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
84703         * sysvipc/sys/ipc.h: Likewise.
84704         * sysvipc/sys/msg.h: Likewise.
84705         * sysvipc/sys/sem.h: Likewise.
84706         * sysvipc/sys/shm.h: Likewise.
84707         * termios/termios.h: Likewise.
84708         * time/sys/time.h: Likewise.
84709         * time/time.h: Likewise.
84710         * wcsmbs/bits/wchar2.h: Likewise.
84711         * wcsmbs/uchar.h: Likewise.
84712         * wcsmbs/wchar.h: Likewise.
84713         * wctype/wctype.h: Likewise.
84715         [BZ #13551]
84716         * Makeconfig: Remove all but ELF support including AIX support.
84717         * Makerules: Likewise.
84718         * config.h.in: Likewise.
84719         * config.make.in: Likewise.
84720         * configure: Likewise.
84721         * configure.in: Likewise.
84722         * csu/Makefile: Likewise.
84723         * csu/version.c: Likewise.
84724         * debug/Makefile: Likewise.
84725         * dlfcn/Makefile: Likewise.
84726         * elf/Makefile: Likewise.
84727         * extra-lib.mk: Likewise.
84728         * iconv/Makefile: Likewise.
84729         * include/libc-symbols.h: Likewise.
84730         * include/shlib-compat.h: Likewise.
84731         * resolv/Makefile: Likewise.
84732         * resolv/res_libc.c: Likewise.
84733         * rt/Makefile: Likewise.
84734         * sysdeps/i386/asm-syntax.h: Likewise.
84735         * sysdeps/i386/sysdep.h: Likewise.
84736         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
84737         * sysdeps/mach/sysdep.h: Likewise.
84738         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
84739         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
84740         * sysdeps/s390/asm-syntax.h: Likewise.
84741         * sysdeps/s390/s390-32/sysdep.h: Likewise.
84742         * sysdeps/s390/s390-64/sysdep.h: Likewise.
84743         * sysdeps/sh/sysdep.h: Likewise.
84744         * sysdeps/unix/sparc/sysdep.h: Likewise.
84745         * sysdeps/wordsize-32/divdi3.c: Likewise.
84746         * sysdeps/x86_64/sysdep.h: Likewise.
84748         * argp/Versions: Remove _argp_unlock_xxx.
84750         [BZ #13559]
84751         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
84752         * abilist/libBrokenLocale.abilist: Likewise.
84753         * abilist/libanl.abilist: Likewise.
84754         * abilist/libc.abilist: Likewise.
84755         * abilist/libcrypt.abilist: Likewise.
84756         * abilist/libdl.abilist: Likewise.
84757         * abilist/libm.abilist: Likewise.
84758         * abilist/libnsl.abilist: Likewise.
84759         * abilist/libpthread.abilist: Likewise.
84760         * abilist/libresolv.abilist: Likewise.
84761         * abilist/librt.abilist: Likewise.
84762         * abilist/libthread_db.abilist: Likewise.
84763         * abilist/libutil.abilist: Likewise.
84764         * abilist/libnss_db.abilist: New file.
84766         * scripts/abilist.awk: Add support for indirect functions.
84768         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
84770         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
84772         * shlib-versions: Remove entries for ports architectures.
84774         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
84775         files in ports.
84776         * elf/stackguard-macros.h: Remove support for IA-64.
84777         * elf/tst-auditmod1.c: Likewise.
84778         * sysdeps/generic/ldsodefs.h: Likewise.
84780         * sysdeps/unix/sysv/linux/configure.in: Ports should define
84781         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
84782         configure files.
84784         [BZ #13552]
84785         * configure.in: Remove --enable-omitfp support.
84786         * FAQ.in: Adjust.
84787         * config.make.in: Likewise.
84788         * Makeconfig: Likewise.
84789         * manual/install.texi: Likewise.
84791         In case anyone cares, the IA-64 architecture could move to ports.
84792         * sysdeps/ia64/*: Removed.
84793         * sysdeps/unix/sysv/linux/ia64/*: Removed.
84794         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
84796         [BZ #13555]
84797         * configure.in: Remove entries for unsupported architectures.
84799         [BZ #13533]
84800         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
84801         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
84802         routines.
84803         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
84804         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
84805         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
84806         fall back to using wcrtomb.
84807         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
84808         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
84809         renaming.
84810         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
84811         * wcsmbs/tst-c16c32-1.c: New file.
84813         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
84814         local variable.
84816         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
84818         * elf/tst-unique3.cc: Add explicit declaration of gets.
84819         * elf/tst-unique3lib.cc: Likewise.
84820         * elf/tst-unique3lib2.cc: Likewise.
84821         * elf/tst-unique4.cc: Likewise.
84823         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
84825 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
84827         [BZ #13566]
84828         * assert/assert.h (static_assert): Don't define for C++.
84829         * libio/stdio.h (gets): Do declare for C++ <= C++11.
84830         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
84832 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
84834         * iconv/loop.c (single loop): Fix assertion in storing of
84835         remaining bytes.
84837         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
84839 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
84841         * posix/getconf.c: Update copyright year.
84842         * nss/getent.c: Likewise.
84843         * nss/makedb.c: Likewise.
84844         * iconv/iconvconfig.c: Likewise.
84845         * iconv/iconv_prog.c: Likewise.
84846         * elf/ldconfig.c: Likewise.
84847         * elf/pldd.c: Likewise.
84848         * elf/sotruss.ksh: Likewise.
84849         * catgets/gencat.c: Likewise.
84850         * csu/version.c: Likewise.
84851         * elf/ldd.bash.in: Likewise.
84852         * elf/sprof.c (print_version): Likewise.
84853         * locale/programs/locale.c: Likewise.
84854         * locale/programs/localedef.c: Likewise.
84855         * login/programs/pt_chown.c: Likewise.
84856         * nscd/nscd.c (print_version): Likewise.
84857         * debug/xtrace.sh: Likewise.
84858         * malloc/memusage.sh: Likewise.
84859         * malloc/mtrace.pl: Likewise.
84860         * debug/catchsegv.sh: Likewise.
84862 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
84864         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
84865         pure attribute.
84867 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
84869         [BZ #13533]
84870         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
84871         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
84872         transformations.
84873         * iconv/gconv_int.h: Likewise.
84874         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
84875         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
84876         from libc for GLIBC_2.16.
84877         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
84878         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
84879         * wcsmbs/uchar.h: Really define mbstate_t.
84880         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
84881         * wcsmbs/c16rtomb.c: New file.
84882         * wcsmbs/mbrtoc16.c: New file.
84883         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
84884         for C/POSIX locale.
84885         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
84886         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
84888         * wcsmbs/wchar.h: Add missing __restrict.
84890 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84892         [BZ #13532]
84893         * time/Makefile (routines): Add timespec_get.
84894         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
84895         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
84896         timespec for ISO C11.
84897         * time/timespec_get.c: New file.
84898         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
84899         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
84901         [BZ #13531]
84902         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
84903         * stdlib/stdlib.h: Declare aligned_alloc.
84904         * Versions.def: Add GLIBC_2.16 for libc.
84905         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
84907         [BZ 13527]
84908         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
84909         ISO C11.
84911         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
84912         code.
84914         [BZ #13528]
84915         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
84917         [BZ #13529]
84918         * assert/assert.h (static_assert): Define.
84920         * version.h: Update for 2.16 development version.
84922         [BZ #13526]
84923         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
84924         _ISOC11_SOURCE.
84926         * version.h (RELEASE): Bump for 2.15 release.
84927         * include/features.h (__GLIBC_MINOR__): Bump to 15.
84929         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
84930         Patch by Marek Polacek <mpolacek@redhat.com>.
84932         * bits/byteswap.h: Protect long long constants with __extension__.
84933         * sysdeps/i386/bits/byteswap.h: Likewise.
84934         * sysdeps/ia64/bits/byteswap.h: Likewise.
84935         * sysdeps/s390/bits/byteswap.h: Likewise.
84936         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84938 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84940         [BZ #13540]
84941         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
84942         destination buffer.
84943         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
84945 2011-12-23  Marek Polacek  <polacek@redhat.com>
84947         * elf/dl-addr.c (determine_info): Add inline keyword.
84948         * elf/tst-auditmod4b.c (check_avx): Likewise.
84949         * elf/tst-auditmod6b.c (check_avx): Likewise.
84950         * elf/tst-auditmod6c.c (check_avx): Likewise.
84951         * elf/tst-auditmod7b.c (check_avx): Likewise.
84953 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84955         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
84956         !__SSE_MATH__.
84958 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84960         [BZ #13540]
84961         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
84962         processing for last bytes.
84964 2011-08-06  Bruno Haible  <bruno@clisp.org>
84966         [BZ #13061]
84967         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
84968         U+0385, not to U+1FEE.
84970         [BZ #13062]
84971         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
84972         entry for U+00A5 U+0301.
84974 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84976         [BZ #13166]
84977         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
84978         buffer for the output is too small.
84980         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
84981         optimization.
84983         [BZ #13185]
84984         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
84985         SSE flags if possible.
84987 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84989         [BZ #13540]
84990         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
84991         processing for last bytes.
84993 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
84995         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
84996         (syscall-list-default-options, syscall-list-default-condition)
84997         (syscall-list-includes): Define.
84998         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
84999         list of ABIs and options and #if conditions for each ABI.  Do not
85000         handle common syscalls between ABIs specially.
85001         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
85002         Remove.
85003         (syscall-list-variants, syscall-list-32bit-options)
85004         (syscall-list-32bit-condition, syscall-list-64bit-options)
85005         (syscall-list-64bit-condition): Define.
85006         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
85007         (syscall-list-variants, syscall-list-32bit-options)
85008         (syscall-list-32bit-condition, syscall-list-64bit-options)
85009         (syscall-list-64bit-condition): Define.
85010         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
85011         Remove.
85012         (syscall-list-variants, syscall-list-32bit-options)
85013         (syscall-list-32bit-condition, syscall-list-64bit-options)
85014         (syscall-list-64bit-condition): Define.
85015         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
85016         Remove.
85017         (syscall-list-variants, syscall-list-32bit-options)
85018         (syscall-list-32bit-condition, syscall-list-64bit-options)
85019         (syscall-list-64bit-condition): Define.
85021 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85023         * locale/iso-639.def: Add brx entry.
85025         [BZ #13328]
85026         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
85027         Proposed by Mariusz_Cukr <marcukr@op.pl>.
85029         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
85030         __feraiseexcept_renamed.
85032 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85034         [BZ #13538]
85035         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
85036         EPOLLET with unsigned values.
85037         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85038         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85040         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
85041         to large cancellation.
85042         * math/s_cacoshf.c: Likewise.
85043         * math/s_cacoshl.c: Likewise.
85045 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
85047         [BZ #13305]
85048         [BZ #12786]
85049         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
85050         * math/s_cacoshf.c: Likewise.
85051         * math/s_cacoshl.c: Likewise.
85053 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85055         [BZ #13439]
85056         * iconv/gconv.h: Define __GCONV_SWAP.
85057         * iconvdata/unicode.c: The swap bit must be stored in __flags.
85058         * iconvdata/utf-16.c: Likewise.
85059         * iconvdata/utf-32.c: Likewise.
85061 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
85063         [BZ #13524]
85064         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
85065         numerator after shifting it by one limb.
85067 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
85069         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
85070         under [__USE_EXTERN_INLINES].
85072 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85074         [BZ #13446]
85075         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
85077 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85079         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
85080         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
85081         optimized code.
85082         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
85083         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
85084         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
85085         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
85086         for strncasecmp/strncasecmp_l compilation.
85087         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
85088         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
85090 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
85092         [BZ #13484]
85093         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
85094         of __asm__.
85096 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85098         [BZ #13506]
85099         * time/tzfile.c (__tzfile_read): Check values from file header.
85101 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
85103         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
85104         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
85105         * powerpc/powerpc32/dl-start.S: Likewise.
85106         * powerpc/powerpc32/elf/start.S: Likewise.
85107         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
85108         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
85109         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
85110         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
85111         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
85112         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
85113         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
85114         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
85115         * powerpc/powerpc32/fpu/s_round.S: Likewise.
85116         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
85117         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
85118         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
85119         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
85120         * powerpc/powerpc32/memset.S: Likewise.
85121         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
85122         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
85123         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
85124         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
85125         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
85126         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
85127         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
85128         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
85129         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
85130         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
85131         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
85132         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85133         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85135 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85137         * math/libm-test.inc: Added more nearbyint tests.
85138         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
85139         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
85140         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
85141         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
85143 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
85145         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
85146         FD_CLOEXEC.
85148 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85150         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
85151         Add wcscpy-ssse3 wcscpy-c.
85152         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
85153         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
85154         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
85155         * sysdeps/x86_64/wcschr.S: New file.
85156         * sysdeps/x86_64/wcsrchr.S: New file.
85157         * string/test-strcmp.c: Remove checking of wcscmp function for
85158         wrong alignments.
85159         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
85160         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
85161         wcsrchr-sse2 wcsrchr-c.
85162         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
85163         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
85164         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
85165         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
85166         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
85167         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
85168         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
85169         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
85170         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
85171         * wcsmbc/wcschr.c (WCSCHR): New macro.
85173 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85175         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
85176         * wcsmbs/test-wcsrchr.c: New file.
85177         * string/test-strrchr.c: Add wcsrchr support.
85178         (WIDE): New macro.
85179         * wcsmbs/test-wcscpy.c: New file.
85180         * string/test-strcpy.c: Add wcscpy support.
85181         (WIDE): New macro.
85183 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
85185         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
85186         the inner loop.
85188 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
85190         [BZ #13472]
85191         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
85193 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
85195         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
85196         Minor optimizations.
85198         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
85199         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
85200         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
85202 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
85204         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
85205         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
85206         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
85207         for gcc to avoid warnings.
85208         * inet/Makefile (tests): Add tst-checks.
85209         * inet/tst-checks.c: New file.
85211         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
85212         warning.
85214         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
85215         __wmemcmp_sse2.
85217         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
85218         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
85220         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
85222 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
85224         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
85225         problem.
85227         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
85229 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
85231         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
85232         conditional on GCC version.
85233         (__arch_compare_and_exchange_val_8_acq)
85234         (__arch_compare_and_exchange_val_16_acq)
85235         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
85236         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
85237         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
85239 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
85241         * sysdeps/sh/backtrace.c: New file.
85243 2011-12-02  Andreas Schwab  <schwab@redhat.com>
85245         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
85246         parenthesis.
85248 2011-12-01  Andreas Schwab  <schwab@redhat.com>
85250         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
85251         falling back to utime.
85253 2011-11-30  Andreas Schwab  <schwab@redhat.com>
85255         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
85256         expectations for float.
85258 2011-11-29  Andreas Schwab  <schwab@redhat.com>
85260         * locale/weight.h (findidx): Add parameter len.
85261         * locale/weightwc.h (findidx): Likewise.
85262         * posix/fnmatch_loop.c (FCT): Adjust caller.
85263         * posix/regcomp.c (build_equiv_class): Likewise.
85264         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
85265         * posix/regexec.c (check_node_accept_bytes): Likewise.
85266         * string/strcoll_l.c (STRCOLL): Likewise.
85267         * string/strxfrm_l.c (STRXFRM): Likewise.
85269 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
85271         * Makefile.in: Remove CVSOPT handling.
85272         * configure.in: Remove use of AC_REVISION.
85273         * iconvdata/Makefile (distribute): No need to filter out CVS.
85274         * scripts/list-sources.sh: Remove CVS, subversion and monotone
85275         handling.
85277 2011-11-16  Andreas Schwab  <schwab@redhat.com>
85279         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
85280         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
85281         [USE_AS_STRNCASECMP_L]: Likewise.
85282         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
85283         NO_TLS_DIRECT_SEG_REFS.
85284         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
85285         Fix argument offsets for non-PIC.
85286         [USE_AS_STRNCASECMP_L]: Likewise.
85287         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
85288         NO_TLS_DIRECT_SEG_REFS.
85290 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85292         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
85293         O_CLOEXEC.
85294         * locale/loadlocale.c (_nl_load_locale): Likewise.
85296 2011-11-15  Andreas Schwab  <schwab@redhat.com>
85298         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
85299         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
85300         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
85301         (SYSCALL_GETTIME): Set errno on error.
85303         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
85304         count references to noai6ai_cached.
85306 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85308         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
85310         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
85311         FD_CLOEXEC for /proc/self/maps.
85313         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
85314         FD_CLOEXEC for /proc/meminfo.
85316         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
85317         gai.conf.
85319         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
85320         FD_CLOEXEC for given file.
85322         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
85324         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
85325         FD_CLOEXEC for /etc/hosts.
85326         (_gethtent): Likewise.
85328         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
85330         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
85331         cancellation and set FD_CLOEXEC for /etc/netgroup.
85333         * nss/nss_files/files-key.c (search): Don't allow cancellation when
85334         reading /etc/publickey.
85336         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
85337         allow cancellation when reading /etc/group.
85339         * nss/nss_files/files-alias.c (internal_setent): Don't allow
85340         cancellation.
85341         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
85343         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
85344         when using data file.
85346         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
85348         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
85349         (write_nis_obj): Use "c" and "e" in fopen.
85351         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
85353         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
85355         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
85357         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
85359         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
85360         locale.alias.
85362         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
85364         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
85366         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
85368         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
85369         file parsing and set FD_CLOEXEC.
85371 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85373         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
85375 2011-11-14  Andreas Schwab  <schwab@redhat.com>
85377         * malloc/arena.c (arena_get2): Don't call reused_arena when
85378         _int_new_arena failed.
85380 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85382         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
85383         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
85384         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
85385         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85386         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85387         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
85388         to compile strcasecmp and strncasecmp.
85389         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
85390         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
85392         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
85394 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
85396         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
85397         locale-defines.sym to gen-as-const-headers.
85398         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
85399         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
85400         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
85401         to compile strcasecmp and strncasecmp.
85402         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
85403         strcasecmp_l and strncasecmp_l.
85404         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
85405         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
85406         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
85407         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
85408         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
85409         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
85410         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
85411         * sysdeps/i386/i686/multiarch/strncase.S: New file.
85412         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
85413         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
85414         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
85416 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
85418         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
85419         result of SYSDEP_GETTIME_CPU to retval.
85420         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
85421         parameter list to macro.  Remove trailing semicolon.  Adjust users.
85423         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
85424         variable.
85426         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
85427         mantissa words.
85428         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
85430         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
85431         from unused variable.
85433         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
85434         DWARF definitions.
85435         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
85436         for assembling.
85438         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
85439         over namespaces.
85441         * sunrpc/rpc_prot.c (rejected): Fix case value.
85443         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
85444         unsigned long long int to avoid warnings in shift.
85446         * posix/regex_internal.c (re_string_reconstruct): Actually use result
85447         of use of trans.
85448         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
85449         variable tmp.
85451         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
85452         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
85453         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
85455         * nis/nis_table.c (nis_list): Use variable of correct type for
85456         result of __follow_path call.
85458 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85460         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
85461         of math functions ceil, trunc, floor, round, and sqrt, when
85462         avaliable on the platform.
85463         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
85464         name clash.
85465         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85466         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85467         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85469 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
85471         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
85472         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
85474 2011-11-11  Roland McGrath  <roland@hack.frob.com>
85476         * include/unistd.h: Fix __readlink return type.
85477         Reported by Chris Metcalf <cmetcalf@tilera.com>.
85479 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
85481         * stdlib/ucontext.h: Undo last change for makecontext.
85483 2011-11-11  Andreas Schwab  <schwab@redhat.com>
85485         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
85487         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
85488         * setjmp/setjmp.h: Mark functions as non-leaf.
85489         * setjmp/bits/setjmp2.h: Likewise.
85490         * stdlib/ucontext.h: Likewise.
85492 2011-11-10  Andreas Schwab  <schwab@redhat.com>
85494         * malloc/arena.c (_int_new_arena): Don't increment narenas.
85495         (reused_arena): Don't check arena limit.
85496         (arena_get2): Atomically check arena limit.
85498 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
85500         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
85501         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
85503         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
85504         instructions.
85506 2011-11-07  Andreas Schwab  <schwab@redhat.com>
85508         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
85509         handler when locking.
85511         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85512         Fix size of allocated buffer.
85514 2011-11-04  Andreas Schwab  <schwab@redhat.com>
85516         [BZ #10103]
85517         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
85518         declarations for long double functions.
85519         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
85521         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
85523 2011-11-03  Andreas Schwab  <schwab@redhat.com>
85525         * nscd/nscd.c (main): Don't start AVC thread until credentials are
85526         installed.
85528         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
85529         is disabled.
85531 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85533         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
85535 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
85537         * include/alloca.h (stackinfo_alloca_round): Define.
85538         (extend_alloca): Use it.
85539         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
85540         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
85541         here.
85543         * scripts/check-local-headers.sh: Ignore libaudit.h.
85545         * nscd/Makefile (extra-objs): Make recursively expanded.
85547 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
85549         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
85550         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
85552         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
85553         * posix/tst-rfc3484-2.c: Likewise.
85554         * posix/tst-rfc3484-3.c: Likewise.
85556         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
85557         process_vm_writev.
85558         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
85559         process_vm_writev.
85560         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
85561         process_vm_writev from libc using GLIBC_2.15 version.
85563         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
85565 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
85567         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
85568         stack usage.
85570 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
85572         [BZ #13367]
85573         * nss/getent.c (initgroups_keys): Show error message in case no group
85574         names are given.
85576         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
85577         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
85578         __bump_nl_timestamp.
85579         * nscd/connections (nscd_init): When host database is served open
85580         netlink socket and request notification about configuration changes.
85581         (main_loop_poll): Track netlink file descriptor and bump timestamp
85582         in case data becomes available.
85583         (main_loop_epoll): Likewise.
85584         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
85585         (database_pers_head): Add extra_data fileds.
85586         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
85587         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
85588         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
85589         Adjust caller.
85590         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
85591         in6ai data, call __free_in6ai.
85592         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
85593         Add -DHAVE_NETLINK.
85594         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
85595         interface information.  Reuse previous data if netlink timestamp
85596         is not changed.
85597         (__bump_nl_timestamp): New function.
85598         (__free_in6ai): New function.
85600 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
85602         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
85603         close_not_cancel_no_status here.
85604         (__check_pf): Reorganize code a bit to not call close twice if OOM.
85606 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
85608         [BZ #13276]
85609         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
85610         return value.
85612         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
85613         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
85614         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
85616 2011-07-03  Andreas Jaeger  <aj@suse.de>
85618         [BZ #10709]
85619         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
85620         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
85621         * math/libm-test.inc (sin_test): Add test case.
85623 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
85625         [BZ #13337]
85626         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
85627         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85629         * elf/chroot_canon.c (chroot_canon): Cleanups.
85631         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
85633         [BZ #13335]
85634         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
85635         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85637         * string/test-strchr.c: Make usable for strchrnul testing.
85638         * string/test-strchrnul.c: New file.
85639         * string/Makefile (strop-tests): Add strchrnul.
85641         * po/it.po: Update from translation team.
85642         * po/es.po: Likewise.
85644 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
85646         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
85647         the three constants needed as parameters.  Drop the others.
85648         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
85649         __m128i_strloadu_tolower.
85650         Create and initialize variable zero and use it in all the places
85651         where _mm_setzero_si128 was used.
85653         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
85654         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
85655         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
85656         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
85657         anymore.
85658         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
85659         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
85660         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
85661         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
85662         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
85663         __mpranred, __mptan.
85664         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
85665         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
85666         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
85667         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
85668         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
85669         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
85670         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
85671         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
85672         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
85674 2011-10-28  Andreas Schwab  <schwab@redhat.com>
85676         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
85677         redefine if SHARED.
85678         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
85680         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
85681         wide char related routines to wcsmbs subdir.
85683 2011-10-27  Andreas Schwab  <schwab@redhat.com>
85685         [BZ #13344]
85686         * misc/sys/cdefs.h (__THROWNL): Define.
85687         * posix/unistd.h: Use __THREADNL instead of __THREAD
85688         for memory synchronization functions.
85690 2011-10-26  Roland McGrath  <roland@hack.frob.com>
85692         [BZ #13349]
85693         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
85694         doesn't exist.
85695         * manual/stdio.texi (Obstack Streams): Node removed.
85697 2011-10-26  Andreas Schwab  <schwab@redhat.com>
85699         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
85700         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85701         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85703         * math/math_private.h (math_force_eval): Allow non-addressable
85704         arguments.
85705         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
85707 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85709         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
85710         file is not needed.
85712         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
85713         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
85714         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85715         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85716         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85717         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85718         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85719         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
85720         Add AVX variants.
85721         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
85722         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
85723         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
85724         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
85725         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
85726         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
85727         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
85728         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
85729         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
85730         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
85731         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
85732         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
85733         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
85734         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
85735         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
85736         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
85737         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
85738         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
85739         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
85741         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
85742         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
85744         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
85745         place.  Use VEX encoding when compiling for AVX.
85747 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85749         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
85750         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
85752         * string/test-strchr.c (do_test): Don't generate NUL bytes.
85754 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85756         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
85757         useless if() expression.
85758         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85759         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85760         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85761         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85762         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85763         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85764         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85765         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85766         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85767         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85768         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85769         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85770         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85771         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85772         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85773         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85774         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85775         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85776         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85778         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
85780 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85782         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
85783         condition.
85784         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85786 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85788         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
85789         .text section.  Avoid duplicate constants.
85790         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85791         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85792         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85793         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85794         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85795         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85796         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85797         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85798         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
85799         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
85800         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
85801         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
85802         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
85803         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
85804         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
85805         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
85806         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
85807         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
85808         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85810         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85811         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85812         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85813         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
85814         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
85815         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
85816         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
85817         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
85818         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
85819         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
85820         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
85821         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
85822         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
85823         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
85824         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
85825         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
85826         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
85827         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
85828         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
85829         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
85830         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
85831         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
85832         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
85833         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
85834         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
85836 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
85838         * sysdeps/x86_64/dla.h: Move to ...
85839         * sysdeps/x86_64/fpu/dla.h: ...here.
85840         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
85841         situations.  Use __builtin_fma only for gcc 4.6 and up.
85843         * config.make.in: Add have-mfma4 entry.
85844         * configure.in: Substitute libc_cv_cc_fma4.
85845         * math/Makefile (dbl-only-routines): Add sincostab.
85846         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
85847         Use __sincostab not sincos.
85848         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
85849         name is a macro.
85850         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85851         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85852         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85853         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
85854         using __copysign.
85855         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
85856         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
85857         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
85858         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
85859         and __inv.
85860         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
85861         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
85862         __copysign.
85863         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
85864         define aliases when function name is a macro.
85865         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
85866         sysdeps/ieee754/dbl-64/sincos.tbl.
85867         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
85868         fma4-enabled routines.
85869         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
85870         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
85871         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
85872         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
85873         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
85874         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
85875         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
85876         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
85877         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
85878         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
85879         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
85880         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
85881         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
85882         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
85883         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
85884         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
85885         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
85886         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
85887         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
85888         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
85889         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
85890         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
85891         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
85892         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
85893         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
85894         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
85895         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
85896         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
85897         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
85898         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
85900         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
85901         rename.
85902         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85903         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85904         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85905         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85906         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85908         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85909         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85911 2011-10-24  Andreas Schwab  <schwab@redhat.com>
85913         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
85915 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85917         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
85919         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
85920         prediction.
85921         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
85923         * string/strnlen.c: Don't define STRNLEN, reverse logic.
85924         Remove unused variable magic_bits.
85925         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
85927         * string/strnlen.c: Define and use STRNLEN macro.
85928         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
85929         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
85930         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
85931         * wcsmbs/wcslen.c: Define and use WCSLEN.
85932         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
85933         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
85934         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
85935         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
85936         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
85937         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
85938         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85940 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85943         strnlen-sse2-no-bsf.
85944         Rename strlen-no-bsf to strlen-sse2-no-bsf.
85945         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
85946         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
85947         Add strnlen support.
85948         (USE_AS_STRNLEN): New macro.
85949         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
85950         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
85951         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
85952         * sysdeps/x86_64/wcslen.S: New file.
85954 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
85956         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85957         XMM-moves are used for copying on small sizes.
85959 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85961         * wcsmbs/Makefile (strop-tests): Add wcschr.
85962         * wcsmbs/test-wcschr.c: New file.
85963         * string/test-strchr.c: Update.
85964         Add wcschr support.
85965         (WIDE): New macro.
85967 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85969         * wcsmbs/Makefile (strop-tests): Add wcslen.
85970         * wcsmbs/test-wcslen.c: New file.
85971         * string/test-strlen.c: Update.
85972         Add wcslen support.
85973         (WIDE): New macro.
85975 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85977         * po/it.po: Update from translation team.
85979 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85981         * sysdeps/x86_64/wcscmp.S: Update.
85982         Fix wrong comparison semantics.
85983         wcscmp shall use signed comparison not unsigned.
85984         Don't use substraction to avoid overflow bug.
85985         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
85986         * wcsmbc/wcscmp.c: Likewise.
85987         * string/test-strcmp.c: Likewise.
85988         Add new tests to check cases with negative values.
85990 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85992         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
85993         * sysdeps/x86_64/dla.h: ...here.  New file.
85994         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
85995         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85996         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85997         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85998         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85999         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86001         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86002         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86004 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
86006         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
86007         __ynl_finite aliases.
86009 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
86013         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
86014         define DLA_FMA.
86015         [DLA_FMA] (EMULV): Use DLA_FMA.
86016         [DLA_FMA] (MUL12): Use EMULV.
86017         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
86018         that are not needed.
86019         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86020         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86022         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86023         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86024         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86025         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86027 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
86029         * math/s_nan.c: Undef __nan.
86030         * math/s_nanf.c: Undef __nanf.
86031         * math/s_nanl.c: Undef __nanl.
86032         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
86033         "math_private.h".
86035 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86037         * math/s_catan.c: Add branch predictions.
86038         * math/s_catanf.c: Likewise.
86039         * math/s_catanh.c: Likewise.
86040         * math/s_catanhf.c: Likewise.
86041         * math/s_catanhl.c: Likewise.
86042         * math/s_catanl.c: Likewise.
86043         * math/s_cexp.c: Likewise.
86044         * math/s_cexpf.c: Likewise.
86045         * math/s_cexpl.c: Likewise.
86046         * math/s_clog.c: Likewise.
86047         * math/s_clog10.c: Likewise.
86048         * math/s_clog10f.c: Likewise.
86049         * math/s_clog10l.c: Likewise.
86050         * math/s_clogf.c: Likewise.
86051         * math/s_clogl.c: Likewise.
86052         * math/s_csqrt.c: Likewise.
86053         * math/s_csqrtf.c: Likewise.
86054         * math/s_csqrtl.c: Likewise.
86055         * math/s_ctanf.c: Likewise.
86056         * math/s_ctanh.c: Likewise.
86057         * math/s_ctanhf.c: Likewise.
86058         * math/s_ctanhl.c: Likewise.
86059         * math/s_ctanl.c: Likewise.
86061         * math/math_private.h: Define __nan, __nanf, __nanl.
86062         * math/s_cacosh.c: Include <math_private.h>.
86063         * math/s_cacoshl.c: Likewise.
86064         * math/s_casinh.c: Likewise.
86065         * math/s_casinhf.c: Likewise.
86066         * math/s_casinhl.c: Likewise.
86067         * math/s_ccos.c: Rely entire on ccosh.
86068         * math/s_ccosf.c: Rely entire on ccoshf.
86069         * math/s_ccosl.c: Rely entirely on ccoshl.
86070         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
86071         Remove tests for FE_INVALID.
86072         * math/s_ccoshf.c: Likewise.
86073         * math/s_ccoshl.c: Likewise.
86074         * math/s_csin.c: Likewise.
86075         * math/s_csinf.c: Likewise.
86076         * math/s_csinh.c Likewise.
86077         * math/s_csinhf.c: Likewise.
86078         * math/s_csinhl.c: Likewise.
86079         * math/s_csinl.c: Likewise.
86080         * math/s_ctan.c: Likewise.
86081         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
86082         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
86083         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
86085 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
86087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
86088         compilation problems.
86090         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
86091         __builtin_expect.
86093 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
86095         * sysdeps/i386/configure.in: Test for -mfma4 option.
86096         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
86097         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
86098         COMMON_CPUID_INDEX_80000001.
86099         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
86100         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
86101         use it if FMA3 is not supported.
86102         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
86104         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
86105         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86107 2011-10-20  Andreas Schwab  <schwab@redhat.com>
86109         [BZ #12892]
86110         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
86111         it would create a cycle with a link time dependency.
86113 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
86115         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
86116         instruction.
86117         * string/Makefile (strop-tests): Add rawmemchr.
86118         * string/test-rawmemchr.c: New file.
86120         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
86121         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
86122         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
86123         when compiling str{,n}casecmp and when AVX is available.  Hook up
86124         new optimized code in initializers.
86126 2011-10-19  Andreas Schwab  <schwab@redhat.com>
86128         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
86129         __feraiseexcept instead of feraiseexcept.
86131 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
86133         * math/math_private.h: Define defaults for libc_fetestexcept and
86134         libc_feupdateenv.
86135         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
86136         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
86137         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86138         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86139         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86140         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86141         libc_fetestexcept and libc_feupdateenv.
86143         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
86144         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
86145         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
86146         * sysdeps/x86_64/fpu/math_private.h: Define special version of
86147         libc_feholdexcept_setround.
86149         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
86150         Add s_nearbyint-c and s_nearbyintf-c.
86151         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
86152         nearbyintf inlines.
86153         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
86154         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
86155         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
86156         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
86158         * math/math_private.h: Define defaults for libc_fegetround,
86159         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
86160         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
86161         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
86162         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
86163         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
86164         standard functions.
86165         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86166         Remove comments and hacks for old compiler versions.
86167         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86168         libc_fegetround, libc_fesetround, libc_feholdexcept, and
86169         libc_feholdexceptl.
86171 2011-10-18  Andreas Schwab  <schwab@redhat.com>
86173         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
86174         (__feraiseexcept_renamed): Add __NTH.
86175         (feraiseexcept): Add __NTH.  Rename local variables to fix
86176         namespace violations.
86178 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
86180         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
86182         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
86184         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
86185         recently added interfaces.
86186         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
86188         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
86189         about macro parameter expansion.
86191         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
86192         __NO_MATH_INLINES is defined.  Cleanups.
86194         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
86195         and __floorf is target has SSE4.1.
86196         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
86197         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
86198         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
86199         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
86201         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
86202         name.
86203         (floorf): Likewise.
86205         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
86207 2011-10-17  Andreas Schwab  <schwab@redhat.com>
86209         * misc/sys/cdefs.h: Fix last change.
86211         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
86212         database lookup.
86214 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
86216         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
86218         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
86219         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86220         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86221         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86222         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86223         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86224         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86225         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86226         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86227         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
86228         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
86229         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
86230         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
86231         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
86232         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
86233         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
86234         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
86235         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
86236         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
86237         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
86238         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
86239         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
86241         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
86242         ceil, ceilf, floor, floorf.
86244         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
86245         Perform IRELATIVE relocations last.
86247         * elf/do-rel.h: Add another parameter nrelative, replacing the
86248         local variable with the same name.  Change name of the function
86249         to end in Rel or Rela (uppercase).
86250         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
86251         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
86252         elf_dynamic_do_##reloc function.
86254 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86256         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
86257         is sufficient, at least on modern CPUs.
86259         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
86261         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
86262         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
86264         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
86265         __expl_finite.
86266         * math/bits/math-finite.h: Add entries for exp.
86267         * math/e_expl.c: Add __*_finite alias.
86268         * sysdeps/i386/fpu/e_exp.S: Likewise.
86269         * sysdeps/i386/fpu/e_expf.S: Likewise.
86270         * sysdeps/i386/fpu/e_expl.c: Likewise.
86271         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86272         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86273         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
86274         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
86275         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
86276         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86277         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86279         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
86280         is sufficient, at least on modern CPUs.
86282         * ctype/ctype-info.c (__ctype_init): Define.
86283         * include/ctype.h (__ctype_init): Declare.
86284         (__ctype_b_loc): The variable is always initialized.
86285         (__ctype_toupper_loc): Likewise.
86286         (__ctype_tolower_loc): Likewise.
86287         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
86288         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
86290 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
86292         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
86294         * configure.in: Also look in $cxxmachine/include for C++ system
86295         headers.
86297 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86299         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
86300         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
86301         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
86302         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
86303         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
86304         (USE_AS_WMEMCMP): New macro.
86305         Fixing indents.
86306         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
86307         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
86308         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
86309         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
86310         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86311         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
86312         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
86313         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
86314         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
86315         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
86316         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
86317         (USE_AS_WMEMCMP): New macro.
86318         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
86319         * sysdeps/string/test-memcmp.c: Update.
86320         Fix simple_wmemcmp.
86321         Add new tests.
86322         * wcsmbs/wmemcmp.c: Update.
86323         (WMEMCMP): New macro.
86324         Fix overflow bug.
86326 2011-10-12  Andreas Jaeger  <aj@suse.de>
86328         [BZ #13268]
86329         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
86331 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86333         * libio/iofwide.c (do_length): Avoid warning.
86335         * ctype/ctype.h (__isctype_f): Add missing __THROW.
86337 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
86339         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
86341         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
86342         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
86343         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
86344         * sysdeps/i386/i686/fpu/e_log.S: New file.
86345         * sysdeps/i386/i686/fpu/e_logf.S: New file.
86346         * sysdeps/i386/i686/fpu/e_logl.S: New file.
86348         * ctype/ctype.h: Add support for inlined isXXX functions when
86349         compiling C++ code.
86351 2011-10-14  Andreas Schwab  <schwab@redhat.com>
86353         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86355         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
86357 2011-10-13  Roland McGrath  <roland@hack.frob.com>
86359         [BZ #13291]
86360         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
86362 2011-10-13  Andreas Schwab  <schwab@redhat.com>
86364         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
86365         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
86366         feraiseexcept.
86368         * sysdeps/x86_64/memrchr.S: Check for zero size.
86370         * string/stratcliff.c: Add memrchr tests.
86372 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86374         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86375         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
86376         rawmemchr-sse2 rawmemchr-sse2-bsf.
86377         * sysdeps/i386/i686/multiarch/memchr.S: New file.
86378         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
86379         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
86380         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
86381         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
86382         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
86383         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
86384         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
86385         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
86386         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
86387         * string/memrchr.c (MEMRCHR): New macro.
86389 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
86391         Add integration with gcc's -ffinite-math-only and optimize wrapper
86392         functions in libm.
86393         * Versions.def: Define GLIBC_2.15 version for libm.
86394         * math/Makefile (headers): Add bits/math-finite.h.
86395         * math/bits/math-finite.h: New file.
86396         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
86397         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
86398         * math/e_acoshl.c: Add __*_finite alias.
86399         * math/e_acosl.c: Likewise.
86400         * math/e_asinl.c: Likewise.
86401         * math/e_atan2l.c: Likewise.
86402         * math/e_atanhl.c: Likewise.
86403         * math/e_coshl.c: Likewise.
86404         * math/e_exp10.c: Likewise.
86405         * math/e_exp10f.c: Likewise.
86406         * math/e_exp10l.c: Likewise.
86407         * math/e_exp2l.c: Likewise.
86408         * math/e_fmodl.c: Likewise.
86409         * math/e_gammal_r.c: Likewise.
86410         * math/e_hypotl.c: Likewise.
86411         * math/e_j0l.c: Likewise.
86412         * math/e_j1l.c: Likewise.
86413         * math/e_jnl.c: Likewise.
86414         * math/e_lgammal_r.c: Likewise.
86415         * math/e_log10l.c: Likewise.
86416         * math/e_log2l.c: Likewise.
86417         * math/e_logl.c: Likewise.
86418         * math/e_powl.c: Likewise.
86419         * math/e_sinhl.c: Likewise.
86420         * math/e_sqrtl.c: Likewise.
86421         * math/e_scalb.c: Completely rewritten and optimized.
86422         * math/e_scalbf.c: Likewise.
86423         * math/e_scalbl.c: Likewise.
86424         * math/w_acos.c: Likewise.
86425         * math/w_acosf.c: Likewise.
86426         * math/w_acosl.c: Likewise.
86427         * math/w_acosh.c: Likewise.
86428         * math/w_acoshf.c: Likewise.
86429         * math/w_acoshl.c: Likewise.
86430         * math/w_asin.c: Likewise.
86431         * math/w_asinf.c: Likewise.
86432         * math/w_asinl.c: Likewise.
86433         * math/w_atan2.c: Likewise.
86434         * math/w_atan2f.c: Likewise.
86435         * math/w_atan2l.c: Likewise.
86436         * math/w_atanh.c: Likewise.
86437         * math/w_atanhf.c: Likewise.
86438         * math/w_atanhl.c: Likewise.
86439         * math/w_exp10.c: Likewise.
86440         * math/w_exp10f.c: Likewise.
86441         * math/w_exp10l.c: Likewise.
86442         * math/w_fmod.c: Likewise.
86443         * math/w_fmodf.c: Likewise.
86444         * math/w_fmodl.c: Likewise.
86445         * math/w_j0.c: Likewise.
86446         * math/w_j0f.c: Likewise.
86447         * math/w_j0l.c: Likewise.
86448         * math/w_j1.c: Likewise.
86449         * math/w_j1f.c: Likewise.
86450         * math/w_j1l.c: Likewise.
86451         * math/w_jn.c: Likewise.
86452         * math/w_jnf.c: Likewise.
86453         * math/w_log.c: Likewise.
86454         * math/w_logf.c: Likewise.
86455         * math/w_logl.c: Likewise.
86456         * math/w_log10.c: Likewise.
86457         * math/w_log10f.c: Likewise.
86458         * math/w_log10l.c: Likewise.
86459         * math/w_log2.c: Likewise.
86460         * math/w_log2f.c: Likewise.
86461         * math/w_log2l.c: Likewise.
86462         * math/w_pow.c: Likewise.
86463         * math/w_powf.c: Likewise.
86464         * math/w_powl.c: Likewise.
86465         * math/w_remainder.c: Likewise.
86466         * math/w_remainderf.c: Likewise.
86467         * math/w_remainderl.c: Likewise.
86468         * math/w_scalb.c: Likewise.
86469         * math/w_scalbf.c: Likewise.
86470         * math/w_scalbl.c: Likewise.
86471         * math/w_sqrt.c: Likewise.
86472         * math/w_sqrtf.c: Likewise.
86473         * math/w_sqrtl.c: Likewise.
86474         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
86475         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
86476         used.
86477         * math/math_private.h: Declare __kernel_standard_f.
86478         * math/w_cosh.c: Remove cruft and optimize a bit.
86479         * math/w_coshf.c: Likewise.
86480         * math/w_coshl.c: Likewise.
86481         * math/w_exp2.c: Likewise.
86482         * math/w_exp2f.c: Likewise.
86483         * math/w_exp2l.c: Likewise.
86484         * math/w_hypot.c: Likewise.
86485         * math/w_hypotf.c: Likewise.
86486         * math/w_hypotl.c: Likewise.
86487         * math/w_lgamma.c: Likewise.
86488         * math/w_lgamma_r.c: Likewise.
86489         * math/w_lgammaf.c: Likewise.
86490         * math/w_lgammaf_r.c: Likewise.
86491         * math/w_lgammal.c: Likewise.
86492         * math/w_lgammal_r.c: Likewise.
86493         * math/w_sinh.c: Likewise.
86494         * math/w_sinhf.c: Likewise.
86495         * math/w_sinhl.c: Likewise.
86496         * math/w_tgamma.c: Likewise.
86497         * math/w_tgammaf.c: Likewise.
86498         * math/w_tgammal.c: Likewise.
86499         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86500         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86501         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
86502         Minor optimizations.  Pretty printing.  Remove cruft.
86503         * sysdeps/i386/fpu/e_acosf.S: Likewise.
86504         * sysdeps/i386/fpu/e_acosh.S: Likewise.
86505         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86506         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86507         * sysdeps/i386/fpu/e_acosl.c: Likewise.
86508         * sysdeps/i386/fpu/e_asin.S: Likewise.
86509         * sysdeps/i386/fpu/e_asinf.S: Likewise.
86510         * sysdeps/i386/fpu/e_atan2.S: Likewise.
86511         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
86512         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
86513         * sysdeps/i386/fpu/e_atanh.S: Likewise.
86514         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86515         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86516         * sysdeps/i386/fpu/e_exp10.S: Likewise.
86517         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
86518         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
86519         * sysdeps/i386/fpu/e_exp2.S: Likewise.
86520         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
86521         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
86522         * sysdeps/i386/fpu/e_fmod.S: Likewise.
86523         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
86524         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
86525         * sysdeps/i386/fpu/e_hypot.S: Likewise.
86526         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
86527         * sysdeps/i386/fpu/e_log.S: Likewise.
86528         * sysdeps/i386/fpu/e_log10.S: Likewise.
86529         * sysdeps/i386/fpu/e_log10f.S: Likewise.
86530         * sysdeps/i386/fpu/e_log10l.S: Likewise.
86531         * sysdeps/i386/fpu/e_log2.S: Likewise.
86532         * sysdeps/i386/fpu/e_log2f.S: Likewise.
86533         * sysdeps/i386/fpu/e_log2l.S: Likewise.
86534         * sysdeps/i386/fpu/e_logf.S: Likewise.
86535         * sysdeps/i386/fpu/e_logl.S: Likewise.
86536         * sysdeps/i386/fpu/e_pow.S: Likewise.
86537         * sysdeps/i386/fpu/e_powf.S: Likewise.
86538         * sysdeps/i386/fpu/e_powl.S: Likewise.
86539         * sysdeps/i386/fpu/e_remainder.S: Likewise.
86540         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
86541         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
86542         * sysdeps/i386/fpu/e_scalb.S: Likewise.
86543         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86544         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86545         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
86546         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
86547         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
86548         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86549         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86550         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86551         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86552         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86553         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86554         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
86555         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86556         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86557         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86558         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86559         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86561         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86562         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86563         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86564         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86565         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86566         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86567         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86568         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86569         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86570         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86571         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86572         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86573         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86574         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86575         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86576         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
86577         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86578         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86579         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86580         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86581         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86582         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86583         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86584         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86585         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86586         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86587         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86588         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86589         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86590         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86591         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86592         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86593         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86594         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86595         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86596         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86597         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
86598         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86599         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86600         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86601         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86602         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86603         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86604         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86605         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86606         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86607         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86608         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86609         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86610         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86611         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86612         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86613         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86614         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86615         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86616         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
86617         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86618         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86619         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86620         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86621         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86622         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86623         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86624         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
86625         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86626         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86627         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86628         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86629         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86630         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
86631         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86632         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86633         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86634         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86635         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86636         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86637         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86638         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86639         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86640         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86641         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
86642         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86643         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86644         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86645         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
86646         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
86647         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
86648         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
86649         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
86650         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
86651         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
86652         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86653         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86654         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86655         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86656         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
86657         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86658         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
86659         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
86660         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
86661         (__isnanf): Likewise.
86662         (__isinf_ns): Likewise.
86663         (__isinf_nsf): Likewise.
86664         (__finite): Likewise.
86665         (__finitef): Likewise.
86666         (__ieee754_sqrt): Define as macro.
86667         (__ieee754_sqrtf): Define as macro.
86668         (__ieee754_sqrtl): Define as macro.
86669         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
86670         inlined copy.
86671         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
86672         __FINITE_MATH_ONLY__ consistent.
86673         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
86675 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
86677         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
86678         of rawmemchr.
86680         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
86682 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
86684         * po/ja.po: Update from translation team.
86686 2011-10-08  Roland McGrath  <roland@hack.frob.com>
86688         * locale/programs/locarchive.c (prepare_address_space): New function.
86689         (create_archive, enlarge_archive, open_archive): Use it.
86691         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
86692         inside [SHARED], where it is used.
86694         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
86696         * nss/getent.c (netgroup_keys): Remove unused variable.
86697         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86699 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
86701         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
86702         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
86703         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
86704         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
86705         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
86706         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
86707         * math/Makefile (libm-calls): Add s_isinf_ns.
86708         * math/divtc3.c: Use __isinf_nsl instead of isinf.
86709         * math/multc3.c: Likewise.
86710         * math/s_casin.c: Likewise.
86711         * math/s_casinf.c: Likewise.
86712         * math/s_casinl.c: Likewise.
86713         * math/s_ccos.c: Likewise.
86714         * math/s_ccosf.c: Likewise.
86715         * math/s_ccosl.c: Likewise.
86716         * math/s_ctan.c: Likewise.
86717         * math/s_ctanf.c: Likewise.
86718         * math/s_ctanh.c: Likewise.
86719         * math/s_ctanhf.c: Likewise.
86720         * math/s_ctanhl.c: Likewise.
86721         * math/s_ctanl.c: Likewise.
86722         * math/w_fmod.c: Likewise.
86723         * math/w_fmodf.c: Likewise.
86724         * math/w_fmodl.c: Likewise.
86725         * math/w_remainder.c: Likewise.
86726         * math/w_remainderf.c: Likewise.
86727         * math/w_remainderl.c: Likewise.
86728         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
86729         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
86730         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
86731         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
86732         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
86733         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
86734         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
86735         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
86737         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
86738         of the number.
86739         * stdio-common/printf_fphex.c: Likewise.
86740         * stdio-common/printf_size.c: Likewise.
86742         * math/e_exp10.c: Include math_private.h using <...> not "...".
86743         * math/e_exp10f.c: Likewise.
86744         * math/e_exp10l.c: Likewise.
86745         * math/e_exp2l.c: Likewise.
86746         * math/e_j0l.c: Likewise.
86747         * math/e_j1l.c: Likewise.
86748         * math/e_jnl.c: Likewise.
86749         * math/e_lgammal_r.c: Likewise.
86750         * math/e_rem_pio2l.c: Likewise.
86751         * math/e_scalb.c: Likewise.
86752         * math/e_scalbf.c: Likewise.
86753         * math/e_scalbl.c: Likewise.
86754         * math/k_cosl.c: Likewise.
86755         * math/k_sinl.c: Likewise.
86756         * math/k_tanl.c: Likewise.
86757         * math/s_cacoshf.c: Likewise.
86758         * math/s_catan.c: Likewise.
86759         * math/s_catanf.c: Likewise.
86760         * math/s_catanh.c: Likewise.
86761         * math/s_catanhf.c: Likewise.
86762         * math/s_catanhl.c: Likewise.
86763         * math/s_catanl.c: Likewise.
86764         * math/s_ccosh.c: Likewise.
86765         * math/s_ccoshf.c: Likewise.
86766         * math/s_ccoshl.c: Likewise.
86767         * math/s_cexp.c: Likewise.
86768         * math/s_cexpf.c: Likewise.
86769         * math/s_cexpl.c: Likewise.
86770         * math/s_clog.c: Likewise.
86771         * math/s_clog10.c: Likewise.
86772         * math/s_clog10f.c: Likewise.
86773         * math/s_clog10l.c: Likewise.
86774         * math/s_clogf.c: Likewise.
86775         * math/s_clogl.c: Likewise.
86776         * math/s_csin.c: Likewise.
86777         * math/s_csinf.c: Likewise.
86778         * math/s_csinh.c: Likewise.
86779         * math/s_csinhf.c: Likewise.
86780         * math/s_csinhl.c: Likewise.
86781         * math/s_csinl.c: Likewise.
86782         * math/s_csqrt.c: Likewise.
86783         * math/s_csqrtf.c: Likewise.
86784         * math/s_csqrtl.c: Likewise.
86785         * math/s_ctan.c: Likewise.
86786         * math/s_ctanf.c: Likewise.
86787         * math/s_ctanh.c: Likewise.
86788         * math/s_ctanhf.c: Likewise.
86789         * math/s_ctanhl.c: Likewise.
86790         * math/s_ctanl.c: Likewise.
86791         * math/s_ldexp.c: Likewise.
86792         * math/s_ldexpf.c: Likewise.
86793         * math/s_ldexpl.c: Likewise.
86794         * math/s_significand.c: Likewise.
86795         * math/s_significandf.c: Likewise.
86796         * math/s_significandl.c: Likewise.
86797         * math/w_acos.c: Likewise.
86798         * math/w_acosf.c: Likewise.
86799         * math/w_acosh.c: Likewise.
86800         * math/w_acoshf.c: Likewise.
86801         * math/w_acoshl.c: Likewise.
86802         * math/w_acosl.c: Likewise.
86803         * math/w_asin.c: Likewise.
86804         * math/w_asinf.c: Likewise.
86805         * math/w_asinl.c: Likewise.
86806         * math/w_atan2.c: Likewise.
86807         * math/w_atan2f.c: Likewise.
86808         * math/w_atan2l.c: Likewise.
86809         * math/w_atanh.c: Likewise.
86810         * math/w_atanhf.c: Likewise.
86811         * math/w_atanhl.c: Likewise.
86812         * math/w_cosh.c: Likewise.
86813         * math/w_coshf.c: Likewise.
86814         * math/w_coshl.c: Likewise.
86815         * math/w_dremf.c: Likewise.
86816         * math/w_exp10.c: Likewise.
86817         * math/w_exp10f.c: Likewise.
86818         * math/w_exp10l.c: Likewise.
86819         * math/w_exp2.c: Likewise.
86820         * math/w_exp2f.c: Likewise.
86821         * math/w_fmod.c: Likewise.
86822         * math/w_fmodf.c: Likewise.
86823         * math/w_fmodl.c: Likewise.
86824         * math/w_hypot.c: Likewise.
86825         * math/w_hypotf.c: Likewise.
86826         * math/w_hypotl.c: Likewise.
86827         * math/w_j0.c: Likewise.
86828         * math/w_j0f.c: Likewise.
86829         * math/w_j0l.c: Likewise.
86830         * math/w_j1.c: Likewise.
86831         * math/w_j1f.c: Likewise.
86832         * math/w_j1l.c: Likewise.
86833         * math/w_jn.c: Likewise.
86834         * math/w_jnf.c: Likewise.
86835         * math/w_jnl.c: Likewise.
86836         * math/w_lgamma.c: Likewise.
86837         * math/w_lgamma_r.c: Likewise.
86838         * math/w_lgammaf.c: Likewise.
86839         * math/w_lgammaf_r.c: Likewise.
86840         * math/w_lgammal.c: Likewise.
86841         * math/w_lgammal_r.c: Likewise.
86842         * math/w_log.c: Likewise.
86843         * math/w_log10.c: Likewise.
86844         * math/w_log10f.c: Likewise.
86845         * math/w_log10l.c: Likewise.
86846         * math/w_log2.c: Likewise.
86847         * math/w_log2f.c: Likewise.
86848         * math/w_log2l.c: Likewise.
86849         * math/w_logf.c: Likewise.
86850         * math/w_logl.c: Likewise.
86851         * math/w_pow.c: Likewise.
86852         * math/w_powf.c: Likewise.
86853         * math/w_powl.c: Likewise.
86854         * math/w_remainder.c: Likewise.
86855         * math/w_remainderf.c: Likewise.
86856         * math/w_remainderl.c: Likewise.
86857         * math/w_scalb.c: Likewise.
86858         * math/w_scalbf.c: Likewise.
86859         * math/w_scalbl.c: Likewise.
86860         * math/w_sinh.c: Likewise.
86861         * math/w_sinhf.c: Likewise.
86862         * math/w_sinhl.c: Likewise.
86863         * math/w_sqrt.c: Likewise.
86864         * math/w_sqrtf.c: Likewise.
86865         * math/w_sqrtl.c: Likewise.
86866         * math/w_tgamma.c: Likewise.
86867         * math/w_tgammaf.c: Likewise.
86868         * math/w_tgammal.c: Likewise.
86870         * po/ja.po: Update from translation team.
86872 2011-09-29  Andreas Jaeger  <aj@suse.de>
86874         [BZ #13179]
86875         * sunrpc/netname.c (netname2host): Fix logic.
86877         [BZ #6779]
86878         [BZ #6783]
86879         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
86880         correctly.
86881         * math/w_remainder.c (__remainder): Likewise.
86882         * math/w_remainderf.c (__remainderf): Likewise.
86883         * math/libm-test.inc (remainder_test): Add test cases.
86885 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86887         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
86888         sdiv_qrnnd.
86890 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86892         * string/test-memcmp.c: Avoid unncessary #defines.
86893         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86895 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86897         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
86898         Use new sse2 version for core i3 - i7 as it's faster
86899         than sse42 version.
86900         (bit_Prefer_PMINUB_for_stringop): New.
86901         * sysdeps/x86_64/rawmemchr.S: Update.
86902         Replace with faster SSE2 version.
86903         * sysdeps/x86_64/memrchr.S: New file.
86904         * sysdeps/x86_64/memchr.S: Update.
86905         Replace with faster SSE2 version.
86907 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
86909         * elf/dl-load.c (lose): Add cast to avoid warning.
86911 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86913         * po/ca.po: Update from translation team.
86915         * inet/getnetgrent_r.c: Hook up nscd.
86916         * nscd/Makefile (routines): Add nscd_netgroup.
86917         (nscd-modules): Add netgroupcache.
86918         (CFLAGS-netgroupcache.c): Define.
86919         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
86920         (cache_search): Add const to second parameter.
86921         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
86922         INNETGR.
86923         (dbs): Add netgrdb entry.
86924         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
86925         (verify_persistent_db): Handle netgrdb.
86926         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
86927         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
86928         GETFDNETGR.
86929         (netgroup_response_header): Define.
86930         (innetgroup_response_header): Define.
86931         (datahead): Add netgroup_response_header and innetgroup_response_header
86932         elements.
86933         * nscd/nscd.conf: Add entries for netgroup cache.
86934         * nscd/nscd.h (dbtype): Add netgrdb.
86935         (_PATH_NSCD_NETGROUP_DB): Define.
86936         (netgroup_iov_disabled): Declare.
86937         (xmalloc, xcalloc, xrealloc): Move declarations here.
86938         (cache_search): Adjust prototype.
86939         Add netgroup-related prototypes.
86940         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
86941         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
86942         (__nscd_innetgr): Declare.
86943         * nscd/selinux.c (perms): Use access_vector_t as element type and
86944         add netgroup-related initializers.
86945         * nscd/netgroupcache.c: New file.
86946         * nscd/nscd_netgroup.c: New file.
86947         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
86948         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
86949         For four parameters use innetgr.
86950         * nss/nss_files/files-init.c: Add definition and callback for netgr.
86951         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
86952         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
86953         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
86955         * nscd/connections.c (register_traced_file): Don't register file
86956         for disabled databases.
86958 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
86960         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
86962         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
86963         from tree and freeing node.
86965 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
86967         * nss/nsswitch.c (__nss_database_lookup): Handle
86968         nss_parse_service_list out of memory case.
86970 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
86972         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
86973         out of memory case.
86975 2011-10-04  Andreas Schwab  <schwab@redhat.com>
86977         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
86978         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
86979         pass it down.
86980         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
86981         elf_machine_rela, elf_machine_lazy_rel.
86982         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
86983         (ELF_DYNAMIC_DO_REL): Likewise.
86984         (ELF_DYNAMIC_DO_RELA): Likewise.
86985         (ELF_DYNAMIC_RELOCATE): Likewise.
86986         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
86987         to ELF_DYNAMIC_DO_REL.
86988         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
86989         (dl_main): In trace mode always set __RTLD_NOIFUNC.
86990         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
86991         elf_machine_rela.
86992         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
86993         skip_ifunc, don't call ifunc function if non-zero.
86994         (elf_machine_rela): Likewise.
86995         (elf_machine_lazy_rel): Likewise.
86996         (elf_machine_lazy_rela): Likewise.
86997         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
86998         (elf_machine_lazy_rel): Likewise.
86999         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
87000         Likewise.
87001         (elf_machine_lazy_rel): Likewise.
87002         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87003         Likewise.
87004         (elf_machine_lazy_rel): Likewise.
87005         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
87006         (elf_machine_lazy_rel): Likewise.
87007         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
87008         (elf_machine_lazy_rel): Likewise.
87009         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
87010         (elf_machine_lazy_rel): Likewise.
87011         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
87012         (elf_machine_lazy_rel): Likewise.
87013         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
87014         (elf_machine_lazy_rel): Likewise.
87015         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
87016         (elf_machine_lazy_rel): Likewise.
87018 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
87020         * nss/nss_files/files-init.c (_nss_files_init): Use static
87021         initialization for all the *_traced_file variables.
87023 2011-09-28  Andreas Schwab  <schwab@redhat.com>
87025         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87027 2011-09-27  Roland McGrath  <roland@hack.frob.com>
87029         [BZ #13226]
87030         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
87032 2011-09-27  Andreas Schwab  <schwab@redhat.com>
87034         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87035         Reread the line before reparsing it.
87037 2011-09-26  Andreas Schwab  <schwab@redhat.com>
87039         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
87041 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
87042             Maxim Kuvyrkov  <maxim@codesourcery.com>
87043             Joseph Myers  <joseph@codesourcery.com>
87045         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
87046         if needed for __stack_chk_guard.
87048 2011-09-19  Roland McGrath  <roland@hack.frob.com>
87050         * sysdeps/posix/spawni.c (script_execute): Always define it.
87051         It will be optimized away if unused.
87052         (maybe_script_execute): New function.
87053         (__spawni): Call it.
87055         * Makerules: Don't include tls.make.
87056         (config-tls): Always set to thread.
87057         * tls.make.c: File removed.
87059 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
87061         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
87062         * config.make.in (CPPFLAGS-config): New substituted variable.
87064 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87066         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
87068         [BZ #13192]
87069         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
87070         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
87072 2011-09-15  Roland McGrath  <roland@hack.frob.com>
87074         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
87075         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
87076         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87077         (CALL_FAIL): Likewise.
87078         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
87079         (CALL_FAIL): Macro removed.
87080         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
87082 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87084         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
87085         for __FINITE_MATH_ONLY__ == 1.
87087 2011-09-15  Andreas Schwab  <schwab@redhat.com>
87089         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
87090         __ieee754_sqrt instead of sqrt.
87091         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
87092         __ieee754_sqrtf instead of sqrtf.
87093         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
87094         __floorf instead of floorf.
87095         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
87096         __floorf, __truncf instead of floorf, truncf.
87098 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
87100         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
87102         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
87103         __extern_always_inline.
87104         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
87105         32-bit.
87107 2011-09-14  Andreas Schwab  <schwab@redhat.com>
87109         * elf/rtld.c (dl_main): Also relocate in dependency order when
87110         doing symbol dependency testing.
87112 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
87114         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87115         Always define `refsym'.
87117 2011-09-13  Andreas Schwab  <schwab@redhat.com>
87119         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
87120         (__FD_ELT): Renamed from __FDELT.
87121         * misc/bits/select2.h (__FD_ELT): Likewise.
87122         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
87123         __FD_MASK instead of __FDELT, __FDMASK.
87124         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87125         Likewise.
87126         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87127         Likewise.
87129         * elf/Makefile (gen-ldd): Fix pattern.
87131         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
87132         (init_tls): Likewise.
87134 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
87136         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
87138 2011-09-12  Andreas Schwab  <schwab@redhat.com>
87140         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
87141         `struct cmsghdr *' instead of `void *'.
87142         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
87143         Likewise.
87145 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
87147         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
87148         if non-absolute.
87149         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
87150         ldd_rewrite_script.
87152 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
87154         * configure.in: Remove --with-tls option.
87155         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
87156         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
87157         out in case it is missing.
87158         * sysdeps/ia64/elf/configure.in: Likewise.
87159         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
87160         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
87161         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
87162         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
87163         * sysdeps/sh/elf/configure.in: Likewise.
87164         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
87165         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87166         * sysdeps/x86_64/elf/configure.in: Likewise.
87167         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
87168         * sysdeps/mach/hurd/tls.h: Likewise.
87170         [BZ #13067]
87171         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
87173         [BZ #13090]
87174         * configure.in: Fix use of AC_INIT.
87176         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
87178 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
87180         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
87181         __set_errno.
87182         * malloc/hooks.c: Likewise.
87184         [BZ #11929]
87185         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
87186         variables statically.
87187         (narenas): Initialize.
87188         (list_lock): Initialize.
87189         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
87190         initializtion of main_arena and list_lock.  Small cleanups.
87191         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
87192         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
87193         Add initializers to main_arena and mp_.
87194         (malloc_state): Remove pagesize member.  Change all users to use
87195         GLRO(dl_pagesize).
87197         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
87198         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
87199         is always initialized.
87201         * malloc/malloc.c: Removed unused configurations and dead code.
87202         * malloc/arena.c: Likewise.
87203         * malloc/hooks.c: Likewise.
87204         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
87206         * include/tls.h: Removed.  USE___THREAD must always be defined.
87207         * bits/libc-tsd.h: Don't handle !USE___THREAD.
87208         * elf/dl-libc.c: Likewise.
87209         * elf/dl-tsd.c: Likewise.
87210         * include/errno.h: Likewise.
87211         * include/netdb.h: Likewise.
87212         * include/resolv.h: Likewise.
87213         * inet/herrno-loc.c: Likewise.
87214         * inet/herrno.c: Likewise.
87215         * malloc/arena.c: Likewise.
87216         * malloc/hooks.c: Likewise.
87217         * malloc/malloc.c: Likewise.
87218         * resolv/res-state.c: Likewise.
87219         * resolv/res_libc.c: Likewise.
87220         * sysdeps/i386/dl-machine.h: Likewise.
87221         * sysdeps/ia64/dl-machine.h: Likewise.
87222         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
87223         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
87224         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
87225         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
87226         * sysdeps/sh/dl-machine.h: Likewise.
87227         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87228         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87229         * sysdeps/unix/i386/sysdep.S: Likewise.
87230         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
87231         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
87232         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
87233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
87234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
87235         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
87236         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
87237         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87238         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
87240         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87241         * sysdeps/x86_64/dl-machine.h: Likewise.
87242         * tls.make.c: Likewise.
87244         * configure.in: Remove --with-__thread option.  Make tests for
87245         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
87246         tls_model attribute fail if no support is available.  Remove
87247         USE_IN_LIBIO.
87248         * Makeconfig: Adjust for dropped configure option.  All features are
87249         now mandatory.
87250         * Makerules: Likewise.
87251         * Versions.def: Likewise.
87252         * argp/argp-fmtstream.c: Likewise.
87253         * argp/argp-fmtstream.h: Likewise.
87254         * argp/argp-help.c: Likewise.
87255         * assert/assert.c: Likewise.
87256         * config.h.in: Likewise.
87257         * config.make.in: Likewise.
87258         * configure: Likewise.
87259         * configure.in: Likewise.
87260         * csu/Versions: Likewise.
87261         * csu/init.c: Likewise.
87262         * elf/tst-audit2.c: Likewise.
87263         * elf/tst-tls10.c: Likewise.
87264         * elf/tst-tls10.h: Likewise.
87265         * elf/tst-tls11.c: Likewise.
87266         * elf/tst-tls12.c: Likewise.
87267         * elf/tst-tls14.c: Likewise.
87268         * elf/tst-tlsmod11.c: Likewise.
87269         * elf/tst-tlsmod12.c: Likewise.
87270         * elf/tst-tlsmod13.c: Likewise.
87271         * elf/tst-tlsmod13a.c: Likewise.
87272         * elf/tst-tlsmod14a.c: Likewise.
87273         * elf/tst-tlsmod15b.c: Likewise.
87274         * elf/tst-tlsmod16a.c: Likewise.
87275         * elf/tst-tlsmod16b.c: Likewise.
87276         * elf/tst-tlsmod7.c: Likewise.
87277         * elf/tst-tlsmod8.c: Likewise.
87278         * elf/tst-tlsmod9.c: Likewise.
87279         * gmon/gmon.c: Likewise.
87280         * grp/fgetgrent_r.c: Likewise.
87281         * grp/putgrent.c: Likewise.
87282         * hurd/fopenport.c: Likewise.
87283         * include/libc-symbols.h: Likewise.
87284         * include/tls.h: Likewise.
87285         * intl/gettextP.h: Likewise.
87286         * intl/loadinfo.h: Likewise.
87287         * locale/global-locale.c: Likewise.
87288         * locale/localeinfo.h: Likewise.
87289         * mach/devstream.c: Likewise.
87290         * malloc/arena.c: Likewise.
87291         * malloc/set-freeres.c: Likewise.
87292         * misc/err.c: Likewise.
87293         * misc/getttyent.c: Likewise.
87294         * misc/mntent_r.c: Likewise.
87295         * posix/getopt.c: Likewise.
87296         * posix/wordexp.c: Likewise.
87297         * pwd/fgetpwent_r.c: Likewise.
87298         * resolv/Versions: Likewise.
87299         * resolv/res_hconf.c: Likewise.
87300         * shadow/fgetspent_r.c: Likewise.
87301         * shadow/putspent.c: Likewise.
87302         * stdio-common/printf_fphex.c: Likewise.
87303         * stdio-common/tmpfile.c: Likewise.
87304         * stdlib/abort.c: Likewise.
87305         * stdlib/fmtmsg.c: Likewise.
87306         * sunrpc/auth_unix.c: Likewise.
87307         * sunrpc/clnt_perr.c: Likewise.
87308         * sunrpc/clnt_tcp.c: Likewise.
87309         * sunrpc/clnt_udp.c: Likewise.
87310         * sunrpc/clnt_unix.c: Likewise.
87311         * sunrpc/openchild.c: Likewise.
87312         * sunrpc/svc_simple.c: Likewise.
87313         * sunrpc/svc_tcp.c: Likewise.
87314         * sunrpc/svc_udp.c: Likewise.
87315         * sunrpc/svc_unix.c: Likewise.
87316         * sunrpc/xdr.c: Likewise.
87317         * sunrpc/xdr_array.c: Likewise.
87318         * sunrpc/xdr_rec.c: Likewise.
87319         * sunrpc/xdr_ref.c: Likewise.
87320         * sunrpc/xdr_stdio.c: Likewise.
87322 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87324         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87326 2011-07-03  Andreas Jaeger  <aj@suse.de>
87328         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
87329         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
87330         regenerate with gen-libm-tests.pl.
87332 2010-05-12  Petr Baudis  <pasky@suse.cz>
87334         [BZ #11589]
87335         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
87336         around j0() zero points by switching to j1().
87337         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87338         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87339         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87340         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87342 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87344         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
87345         instead of 0.
87346         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
87347         instead of 0.
87348         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87349         Patch in part by Pavel Roskin <proski@gnu.org>.
87351         [BZ #13138]
87352         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
87353         realloc.
87354         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
87355         Free memory block if necessary.
87357         [BZ #12847]
87358         * libio/genops.c (INTDEF): For string streams the _lock pointer can
87359         be NULL.  Don't lock in this case.
87361 2011-09-09  Roland McGrath  <roland@hack.frob.com>
87363         * elf/elf.h (ELFOSABI_GNU): New macro.
87364         (ELFOSABI_LINUX): Define to that.
87366 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
87368         * string/strncat.c (strncat): Undef the symbol in case it has been
87369         defined in bits/string.h.
87371 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87373         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
87375         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
87376         link map.
87378 2011-08-17  Andreas Jaeger  <aj@suse.de>
87380         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
87382 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
87383             Ian Lance Taylor  <iant@google.com>
87385         * math/libm-test.inc (lround_test): New testcase.
87386         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
87388 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
87390         * Makefile: Remove support for automatic cvs check-ins.
87391         * Makerules: Likewise.
87392         * config.make.in: Likewise.
87393         * configure.in: Likewise.
87394         * intl/Makefile: Likewise.
87395         * locale/Makefile: Likewise.
87396         * po/Makefile: Likewise.
87397         * posix/Makefile: Likewise.
87398         * sysdeps/gnu/Makefile: Likewise.
87399         * sysdeps/mach/hurd/Makefile: Likewise.
87400         * sysdeps/sparc/sparc32/Makefile: Likewise.
87402         [BZ #13118]
87403         * posix/Makefile (bug-regex32-ENV): Define.
87404         Patch by John Stanley <jpsinthemix@verizon.net>.
87406         * misc/Makefile (headers): Add bits/select2.h.
87407         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
87408         * misc/bits/select2.h: New file.
87409         * include/bits/select2.h: New file.
87410         * debug/Makefile (routines): Add fdelt_chk.
87411         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
87412         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
87413         FD_ISSET.
87414         * debug/fdelt_chk.c: New file.
87416         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
87417         * wcsmbs/test-wmemcmp.c: Likewise.
87418         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
87419         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
87421 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87423         * string/Makefile (strop-tests): Add memcmp.
87424         * string/test-wmemcmp.c: New file.
87425         * string/test-memcmp.c: Add wmemcmp support.
87427 2011-09-08  Roland McGrath  <roland@hack.frob.com>
87429         [BZ #13153]
87430         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
87431         2011-07-19 change.
87433         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
87434         garbage value in a __mach_port_mod_refs call in the cases of the
87435         task-self and thread-self ports.
87437 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87439         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
87441 2011-09-08  Andreas Schwab  <schwab@redhat.com>
87443         * elf/dl-load.c (lose): Check for non-null L.
87445 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
87447         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
87449         * elf/dl-libc.c (dlerror_run): Pass back error code from
87450         dl_catch_error.
87452         [BZ #13123]
87453         * elf/dl-load.c (lose): Free l_origin if it is valid.
87455         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
87456         names.
87457         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
87458         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
87459         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87460         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
87461         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
87462         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
87464 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87466         * sysdeps/powerpc/fpu/e_hypot.c: New file.
87467         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
87468         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
87469         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
87470         * sysdeps/powerpc/fpu/k_cosf.c: New file.
87471         * sysdeps/powerpc/fpu/k_sinf.c: New file.
87472         * sysdeps/powerpc/fpu/s_cosf.c: New file.
87473         * sysdeps/powerpc/fpu/s_sinf.c: New file.
87474         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
87475         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
87477 2011-08-15  Alan Modra  <amodra@gmail.com>
87479         [BZ #13092]
87480         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
87481         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
87482         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
87483         ppc_mcount to static-only-routines.
87484         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
87485         __mcount_internal.
87486         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
87487         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
87489 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
87491         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
87492         for finite and infinity parameters.
87494 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87496         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
87497         and add nop instructions for throughput optimization.
87498         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87500 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
87502         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
87503         aligned copy for power7 with vector-scalar instructions.
87504         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
87506 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
87508         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
87509         AVX check.
87511 2011-09-07  Andreas Schwab  <schwab@redhat.com>
87513         [BZ #13144]
87514         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
87515         last change.
87517 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
87519         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87520         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
87521         syscall wrapper around clock_gettime in __vdso_clock_gettime.
87522         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
87523         clock_gettime.
87525 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
87527         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
87528         Forgot to demangle the pointer.
87530         * sysdeps/i386/sysdep.h: Define atom_text_section.
87531         * sysdeps/x86_64/sysdep.h: Likewise.
87532         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
87533         section with atom_text_section.
87534         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
87535         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
87536         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
87537         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87538         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
87540         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
87541         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
87542         already be defined.  Change to take two parameters and don't assign
87543         result to variable.  Adjust all users.
87544         Define INTERNAL_GETTIME if not already defined.
87545         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
87546         call.
87547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
87548         HAVE_CLOCK_GETTIME_VSYSCALL.
87549         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
87551         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
87552         gettimeofday vsyscall, just use time.
87554 2011-09-06  Andreas Schwab  <schwab@redhat.com>
87556         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
87557         <errno.h>.
87559 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
87561         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
87562         syscall on x86-64.
87563         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
87564         syscall.
87565         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
87566         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
87567         syscall if possible.
87569 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87571         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
87572         e_ident.  Don't pass to find_mapsXX.
87573         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
87575 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87578         strchr-sse2-no-bsf strrchr-sse2-no-bsf
87579         * sysdeps/x86_64/multiarch/strchr.S: Update.
87580         Check bit_slow_BSF bit.
87581         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
87582         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
87583         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
87585 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87587         [BZ #13134]
87588         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
87589         before glibc 2.15.
87590         (tryshell): Define.
87591         (__spawni): Change last parameter to be flag.  Test
87592         SPAWN_XFLAGS_USE_PATH flag to use path or not.
87593         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
87594         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
87595         * posix/spawni.c: Likewise.
87596         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
87597         * posix/spawnp.c: Likewise.  Change normal version to use
87598         SPAWN_XFLAGS_USE_PATH.
87599         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
87600         SPAWN_XFLAGS_TRY_SHELL.
87602         [BZ #13150]
87603         * posix/glob.h: Remove gcc 1.x support.
87605         [BZ #13068]
87606         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
87608 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87610         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87611         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
87612         strrchr-sse2-bsf
87613         * sysdeps/i386/i686/multiarch/strchr.S: New file.
87614         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
87615         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
87616         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
87617         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
87618         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
87620 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87622         * sysdeps/x86_64/wcscmp.S: New file.
87624         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
87625         wcscmp-c wcscmp-sse2
87626         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
87627         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
87628         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
87629         * wcsmbs/wcscmp.c: Allow renaming.
87631 2011-09-05  David S. Miller  <davem@davemloft.net>
87633         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
87634         stack slot, rather than the struct return pointer slot.
87635         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
87636         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
87637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
87638         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
87640 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87642         * po/ja.po: Update from translation team.
87644         [BZ #13144]
87645         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
87646         kernel in 64-bit binaries.
87648 2011-09-01  David S. Miller  <davem@davemloft.net>
87650         * elf/elf.h (HWCAP_SPARC_*): Move to..
87651         * sysdeps/sparc/sysdep.h: this new file and add new values.
87652         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
87653         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
87654         _DL_HWCAP_COUNT to 24.
87655         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
87656         entries.
87657         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
87658         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
87659         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
87660         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
87661         instead of magic constants.
87662         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87664 2011-08-31  David S. Miller  <davem@davemloft.net>
87666         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
87667         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
87668         Reimplement to do errno handling inline.
87669         (SYSCALL_ERROR_HANDLER): New macro.
87670         (__SYSCALL_STRING): Do not do errno handling in asm.
87671         (__CLONE_SYSCALL_STRING): Delete.
87672         (__INTERNAL_SYSCALL_STRING): Delete.
87673         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
87674         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
87675         (PSEUDO): Reimplement to do errno handling inline.
87676         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
87677         (SYSCALL_ERROR_HANDLER): New macro.
87678         (__SYSCALL_STRING): Do not do errno handling in asm.
87679         (__CLONE_SYSCALL_STRING): Delete.
87680         (__INTERNAL_SYSCALL_STRING): Delete.
87681         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
87682         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
87683         i386.
87684         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
87685         (inline_syscall*): Add 'err' argument.
87686         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
87687         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
87688         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
87689         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
87691         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
87692         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
87694 2011-08-30  Andreas Schwab  <schwab@redhat.com>
87696         * elf/rtld.c (dl_main): Relocate objects in dependency order.
87698 2011-08-29  Jiri Olsa <jolsa@redhat.com>
87700         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
87701         directive.
87703 2011-08-24  David S. Miller  <davem@davemloft.net>
87705         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
87707 2011-08-24  Andreas Schwab  <schwab@redhat.com>
87709         * elf/Makefile: Add rules to build and run unload8 test.
87710         * elf/unload8.c: New file.
87711         * elf/unload8mod1.c: New file.
87712         * elf/unload8mod1x.c: New file.
87713         * elf/unload8mod2.c: New file.
87714         * elf/unload8mod3.c: New file.
87716         * elf/dl-close.c (_dl_close_worker): Reset private search list if
87717         it wasn't used.
87719 2011-08-23  David S. Miller  <davem@davemloft.net>
87721         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
87722         subtract stack bias.
87723         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
87724         %sp not %fp in calculations.
87725         (_JMPBUF_UNWINDS_ADJ): Likewise.
87727         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
87728         (aio_suspend): Call it to force an exception region around the
87729         AIO_MISC_WAIT() invocation.
87731 2011-08-23  Andreas Schwab  <schwab@redhat.com>
87733         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
87734         backslash.
87736 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
87738         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
87739         protection macro.
87740         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
87741         and <dl-machine.h>.
87742         (Elf64_FuncDesc): Remove.
87744 2011-08-22  David S. Miller  <davem@davemloft.net>
87746         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
87747         sigaltstack check, add missing cfi directives.
87748         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
87749         missing cfi directives, and sigaltstack handling.
87751 2011-08-16  Andreas Schwab  <schwab@redhat.com>
87753         [BZ #11724]
87754         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
87755         object is seen twice.
87756         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87758         * elf/Makefile (distribute): Add tst-initorder2.c.
87759         (tests): Add tst-initorder2.
87760         (modules-names): Add tst-initorder2a tst-initorder2b
87761         tst-initorder2c tst-initorder2d.  Add rules to build them.
87762         ($(objpfx)tst-initorder2.out): New rule.
87763         * elf/tst-initorder2.c: New file.
87764         * elf/tst-initorder2.exp: New file.
87766 2011-08-22  Andreas Schwab  <schwab@redhat.com>
87768         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
87770         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
87771         dependencies back to end of function.
87773         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87774         $(elfobjdir)/ld.so.
87776 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
87778         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
87779         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
87780         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
87781         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
87782         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
87783         of __vdso_gettimeofday.
87784         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
87785         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
87786         attribute_hidden.
87787         (_libc_vdso_platform_setup): Remove initialization of
87788         __vdso_gettimeofday and __vdso_time.
87790 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87792         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
87793         and fgetc_unlocked.
87794         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
87795         getc_unlocked.
87797         * elf/dl-open.c (add_to_global): Report additions to the global scope
87798         for LD_DEBUG=scopes.
87799         (dl_open_worker): Also print scope of newly loaded dependencies.
87800         (_dl_show_scope): Indicate if there is no scope.
87802         [BZ #13114]
87803         * stdio-common/Makefile (tests): Add bug24.
87804         * stdio-common/bug24.c: New file.
87806 2011-08-19  Andreas Jaeger  <aj@suse.de>
87808         [BZ #13114]
87809         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
87810         non-existant file when using close-on-exec mode.
87812 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87814         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
87815         the very first instruction.
87817         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
87818         the CFI state in the end.
87819         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
87820         inclusion of dl-trampoline.h.
87821         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
87823 2011-08-19  Andreas Schwab  <schwab@redhat.com>
87825         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
87826         expectations for long double.
87828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
87829         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
87831 2011-08-14  David S. Miller  <davem@davemloft.net>
87833         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
87834         artificual limit depends upon the system page size.
87836 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87838         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
87839         * resolv/Makefile: Define CFLAGS-libresolv.
87841 2011-08-17  Andreas Schwab  <schwab@redhat.com>
87843         * nss/makedb.c (compute_tables): Make variables used in nested
87844         function static.
87846 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87848         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
87849         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
87850         if buffer was too small.
87852         * elf/pldd.c (main): Attach to all threads in the process.
87853         Rewrite /proc handling to use *at functions.
87855 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
87857         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
87858         specifies first scope to show.
87859         (dl_open_worker): Update callers.  Move printing scope of new
87860         object to before the relocation.
87861         * elf/rtld.c (dl_main): Update _dl_show_scope call.
87862         * sysdeps/generic/ldsodefs.h: Update declaration.
87864         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
87865         string for the scope number.
87867 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
87869         * nscd/servicescache.c (cache_addserv): Make sure written is always
87870         initialized.
87872 2011-08-14  Roland McGrath  <roland@hack.frob.com>
87874         * sysdeps/i386/i486/bits/atomic.h
87875         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
87876         statement expression, so as to suppress "set but not used" warning.
87877         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
87879         * string/strncat.c (STRNCAT): Use prototype definition.
87881         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
87882         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
87883         -Iprograms here.
87884         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
87885         (localedef-modules): Add localedef.
87886         (locale-modules): Add locale.
87888         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
87889         * elf/rtld.c (dl_main): Invert order of assignment in last change,
87890         to avoid a warning.
87892 2011-08-14  David S. Miller  <davem@davemloft.net>
87894         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
87895         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
87897 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
87899         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
87900         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
87901         * elf/rtld.c (dl_main): Set l_name of vDSO.
87902         Call _dl_show_scope when DL_DEBUG_SCOPES.
87903         (process_dl_debug): Recognize scopes flag and also set it for all.
87904         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
87905         Declare _dl_show_scope.
87907         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
87908         (do_dlopen): Pass caller_dlopen to dl_open.
87909         (__libc_dlopen_mode): Initialize caller_dlopen.
87911         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
87912         of libc.  Make tolower call locale-independent.  Optimize a bit by
87913         using isdigit instead of isalnum.
87914         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
87916 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
87918         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
87919         was a dependency or dynamically loaded.
87921 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
87923         * intl/l10nflist.c: Allow architecture-specific pop function.
87924         * sysdeps/x86_64/l10nflist.c: New file.
87926         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
87927         classification.
87929 2011-08-10  Andreas Schwab  <schwab@redhat.com>
87931         * include/dirent.h: Add libc_hidden_proto for scandirat and
87932         scandirat64.  Don't declare __scandirat64.
87933         * dirent/scandirat.c: Add libc_hidden_def.
87934         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
87935         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
87937 2011-08-10  David S. Miller  <davem@davemloft.net>
87939         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
87940         enum.
87941         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87942         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87943         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87945 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
87947         * Versions.def [libc]: Add GLIBC_2.15.
87948         * dirent/Makefile (routines): Add scandirat and scandirat64.
87949         * dirent/Versions [libc]: Export scandirat and scandirat64 for
87950         GLIBC_2.15.
87951         * dirent/dirent.h: Declare scandirat and scandirat64.
87952         * dirent/scandirat.c: New file.
87953         * dirent/scandirat64.c: New file.
87954         * sysdeps/wordsize-64/scandirat.c: New file.
87955         * sysdeps/wordsize-64/scandirat64.c: New file.
87956         * dirent/opendir.c: Define opendirat.
87957         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
87958         using scandirat.
87959         * dirent/scandir64.c: Adjust for scandir.c change.
87960         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
87961         __scandirat64, and __scandir_cancel_handler.
87962         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
87963         additional parameter and use openat instead of open (outside of ld.so).
87964         Add new __opendir as wrapper around __opendirat.
87965         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
87966         here without requiring old scandirat implementation.
87968 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
87970         * dirent/scandir.c (cancel_handler): Renamed to
87971         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
87972         defined.  Adjust users.
87973         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
87974         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
87976 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
87978         * string/test-string.h (IMPL): Use __STRING to expand name and then
87979         stringify it.
87981         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
87982         of cleanups.
87984 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87986         * string/Makefile: Update.
87987         (strop-tests): Append strncat.
87988         * string/test-wcscmp.c: New file.
87989         New comprehensive test for wcscmp.
87990         * string/test-strcmp.c: Update.
87991         (WIDE): New define.
87993 2011-07-22  Andreas Schwab  <schwab@redhat.com>
87995         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
87996         line.
87998 2011-07-26  Andreas Schwab  <schwab@redhat.com>
88000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88001         encoding to ACE if AI_IDN.
88003 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
88005         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
88006         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
88008 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88010         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
88011         Fix overflow bug in strncat.
88012         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
88014         * string/test-strncat.c: Update.
88015         Add new tests for checking overflow bugs.
88017 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88019         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88020         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
88021         * sysdeps/i386/i686/multiarch/strcat.S: New file.
88022         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
88023         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
88024         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
88025         * sysdeps/i386/i686/multiarch/strncat.S: New file.
88026         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
88027         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
88029         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
88030         (USE_AS_STRCAT): Define.
88031         Add strcat and strncat support.
88032         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88034 2011-07-25  Andreas Schwab  <schwab@redhat.com>
88036         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
88037         __n bigger than INT_MAX+1.
88038         (__strncmp_g): Likewise.
88040 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
88042         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
88043         * libio/stido.h: Likewise.
88045         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
88046         (AF_NFC): Define.
88047         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
88048         (AF_NFC): Define.
88050         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
88051         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88052         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88053         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
88054         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88056         [BZ #13021]
88057         * scripts/test-installation.pl: Don't expect libnss_test1 to be
88058         installed.
88060         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
88061         typo.
88062         (_dl_x86_64_save_sse): Likewise.
88064 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
88066         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
88067         OSXSAVE.
88068         (_dl_x86_64_save_sse): Likewise.
88070         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
88072         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
88074 2011-07-21  Andreas Schwab  <schwab@redhat.com>
88076         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
88077         change.
88078         (_dl_x86_64_save_sse): Use correct AVX check.
88080 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88082         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
88083         bug in strncpy/strncat.
88084         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
88086 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
88088         * string/tester.c (test_strcat): Add tests for different alignments
88089         of source and destination.
88090         (test_strncat): Likewise.
88092 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88094         [BZ #12852]
88095         * posix/glob.c (glob): Check passed in values before using them in
88096         expressions to avoid some overflows.
88097         (glob_in_dir): Likewise.
88099         [BZ #13007]
88100         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
88101         check for AVX enablement so that we don't crash with old kernels and
88102         new hardware.
88103         * elf/tst-audit4.c: Add same checks here.
88104         * elf/tst-audit6.c: Likewise.
88106         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
88108 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
88110         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
88112 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88114         * po/cs.po: Update from translation team.
88115         * po/bg.po: Likewise.
88117 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
88119         * misc/sys/cdefs.h: Add support for const attribute.
88120         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
88121         to gnu_dev_{major,minor,makedev} functions.
88123 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
88125         * intl/dcigettext.c (get_output_charset): Add missing bracket.
88127 2011-07-20  Andreas Schwab  <schwab@redhat.com>
88129         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
88130         strlen results.
88132 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88134         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
88135         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
88136         register in order to avoid conflicts with the soft frame pointer
88137         being held in r11 when necessary.
88138         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
88139         (INTERNAL_VSYSCALL_NCS): Likewise.
88141 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
88143         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
88144         * elf/dl-fini.c (_dl_fini): Adjust caller.
88145         * elf/dl-close.c (_dl_close_worker): Likewise.
88146         * sysdeps/generic/ldsodefs.h: Adjust declaration.
88148 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88150         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
88151         "aux_cache->nlibs < 0".
88153         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
88154         in the reload-count case.
88156 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88159         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
88160         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
88161         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
88162         * sysdeps/x86_64/multiarch/strcat.S: New file.
88163         * sysdeps/x86_64/multiarch/strncat.S: New file.
88164         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
88165         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
88166         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
88167         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
88168         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
88169         (USE_AS_STRCAT): Define.
88170         Add strcat and strncat support.
88171         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88172         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
88173         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
88174         * string/strncat.c: Update.
88175         (USE_AS_STRNCAT): Define.
88176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88177         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
88178         and i7.
88179         * sysdeps/x86_64/multiarch/init-arch.h
88180         (bit_Prefer_PMINUB_for_stringop): New.
88181         (index_Prefer_PMINUB_for_stringop): Likewise.
88182         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
88183         bit_Prefer_PMINUB_for_stringop.
88185 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88187         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
88188         buffer64.
88189         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
88190         of casting of buffer.
88191         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
88192         buffer32 and buffer64.
88193         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
88194         writes instead of casting of buffer.
88195         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
88196         buffer32.
88197         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
88198         casting of buffer.
88200 2011-07-19  Andreas Schwab  <schwab@redhat.com>
88202         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
88204 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88206         * nscd/nscd.c (termination_handler): Don't do anything for a database
88207         if it has not yet been initialized.
88209 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88211         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88213 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88215         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88217 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88219         * po/nl.po: Update from translation team.
88220         * po/sv.po: Likewise.
88222 2011-07-16  Roland McGrath  <roland@hack.frob.com>
88224         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
88225         now disallowed by GCC.
88227         * configure.in (use-default-link): Default to yes if a test -shared
88228         link meets our qualifications.
88229         * configure: Regenerated.
88231         * config.make.in (output-format): New variable.
88232         * configure.in: Check for ld --print-output-format support.
88233         * configure: Regenerated.
88234         * Makerules ($(common-objpfx)format.lds)
88235         [$(output-format) != unknown]: Just use $(output-format),
88236         instead of the linker-script munging.
88238 2011-07-14  Roland McGrath  <roland@hack.frob.com>
88240         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
88241         of $(common-objpfx)shlib.lds.
88242         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
88244         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
88245         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
88247         * configure.in (-z relro check): Adjust test code to add a large
88248         writable data section after it.
88249         * configure: Regenerated.
88251 2011-07-11  Roland McGrath  <roland@hack.frob.com>
88253         * configure.in (-z relro check): Fix test code to make the variable
88254         truly const.
88255         * configure: Regenerated.
88257 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
88259         * nscd/nscd.h (struct traced_file): Define.
88260         (struct database_dyn): Remove inotify_descr, reset_res, and filename
88261         elements.  Add traced_files.
88262         (inotify_fd): Declare.
88263         (register_traced_file): Declare.
88264         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
88265         (inotify_fd): Export.
88266         (resolv_conf_descr): Remove.
88267         (nscd_init): Move inotify descriptor creation to main.
88268         Don't register files for notification here.
88269         (register_traced_file): New function.
88270         (invalidate_cache): Don't use reset_res to determine whether to call
88271         res_init, go through the list of registered files.
88272         (main_loop_poll): The inotify descriptors are now stored in the
88273         structures for the traced files.
88274         (main_loop_epoll): Likewise.
88275         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
88276         to __nss_disable_nscd.
88277         * nscd/cache.c (prune_cache): There is no single inotify descriptor
88278         for a database anymore.  Check the records for all the registered
88279         files instead.
88280         * nss/Makefile (libnss_files-routines): Add files-init.
88281         (libnss_db-routines): Add db-init.
88282         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
88283         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
88284         * nss/nss_db/db-init.c: New file.
88285         * nss/nss_files/files-init.c: New file.
88286         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
88287         __nss_lookup_function.
88288         (__nss_lookup_function): Call nss_load_library.
88289         (nss_load_all_libraries): New function.
88290         (__nss_disable_nscd): Take parameter with callback function for files
88291         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
88292         used for the cached services.
88293         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
88294         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
88295         options for features to all the files in nscd.
88297         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
88299 2011-07-10  Roland McGrath  <roland@hack.frob.com>
88301         * csu/elf-init.c (__libc_csu_init): Comment typo.
88303 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
88305         * po/pl.po: Update from translation team.
88306         * po/ja.po: Likewise.
88307         * po/ru.po: Likewise.
88308         * po/ko.po: Likewise.
88309         * po/fr.po: Likewise.
88311 2011-07-09  Roland McGrath  <roland@hack.frob.com>
88313         * configure.in (.ctors/.dtors header and trailer check):
88314         Use an empirical test on a built program.
88315         * configure: Regenerated.
88317         * configure.in (-z relro check): Use an empirical test on a built DSO.
88318         Detect, but do not require, on ia64.
88319         * configure: Regenerated.
88321         * configure.in (READELF): Find it with AC_CHECK_TOOL.
88322         Update tests that use readelf to use $READELF instead.
88323         * configure: Regenerated.
88325 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
88327         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
88328         if the result is not used.
88330 2011-07-05  Andreas Jaeger  <aj@suse.de>
88332         [BZ #9696]
88333         * stdlib/tst-strtod.c: Add testcase.
88335 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
88337         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
88338         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
88339         The latter has a higher limit.  Take additional parameter to pass to
88340         the new function.
88341         (__pathconf): Pass file to __statfs_link_max.
88342         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
88343         __statfs_link_max.
88344         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
88345         __statfs_link_max.
88347         [BZ #12868]
88348         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
88349         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88350         Handle Lustre.
88351         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
88352         (__statfs_filesize_max): Likewise.
88353         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
88355 2011-07-05  Andreas Jaeger  <aj@suse.de>
88357         * resolv/res_comp.c (dn_skipname): Remove unused variable.
88359 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
88361         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
88362         `status' variable.
88363         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
88364         Likewise.
88366 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
88368         * Makefile (strop-tests): Add strncat.
88369         * string/test-strncat.c: New file.
88371 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
88373         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
88375 2011-06-21  Andreas Jaeger  <aj@suse.de>
88377         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
88378         Copy rule from iconvdata/Makefile.
88380 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88382         [BZ #12922]
88383         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
88384         but no long options are defined, just return 'W'.
88386 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
88388         [BZ #9696]
88389         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
88391 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88393         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
88394         netgroups to read.
88395         (innetgr): Likewise.
88397 2011-07-05  Roland McGrath  <roland@hack.frob.com>
88399         * config.make.in (install_root): Default to $(DESTDIR).
88401 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
88403         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
88405 2011-07-02  Roland McGrath  <roland@hack.frob.com>
88407         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
88409         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
88410         containing directory rather than embedding absolute directory names.
88412         * scripts/check-local-headers.sh: Rewritten using awk.
88413         Match by word, not by line.  Print error messages for matches.
88414         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
88416         * Makerules [shlib-lds-flags empty]:
88417         ($(common-objpfx)libc_pic.opts): New target.
88418         ($(common-objpfx)libc_pic.os.clean): New target.
88419         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
88421         * config.make.in (OBJCOPY): New variable.
88422         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
88423         * configure: Regenerated.
88425         * config.make.in (use-default-link): New variable.
88426         * configure.in (use_default_link): Grok --with-default-link to set it.
88427         * configure: Regenerated.
88428         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
88429         (shlib-lds, shlib-lds-flags): Define to empty.
88431         * Makerules (shlib-lds): New variable.
88432         (shlib-lds-flags): New variable.
88433         (build-shlib, build-moduile, build-module-asneeded): Use it.
88434         ($(common-objpfx)libc.so): Use $(shlib-lds).
88435         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
88436         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
88438         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
88439         DT_FLAGS/DT_FLAGS_1 with zero flags.
88441         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
88442         linker script munging.
88444 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
88446         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
88447         as 128-bit value.
88448         * crypt/sha512.c (sha512_process_block): Perform total addition using
88449         128-bit if possible.
88450         (__sha512_finish_ctx): Likewise.
88451         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
88452         as 64-bit value.
88453         * crypt/sha256.c (SWAP64): Define.
88454         (sha256_process_block): Perform total addition using 64-bit if
88455         possible.
88456         (__sha256_finish_ctx): Likewise.
88458 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
88460         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
88461         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88462         * nscd/hstcache.c (cache_addhst): Likewise.
88463         * nscd/grpcache.c (cache_addgr): Likewise.
88464         * nscd/aicache.c (addhstaiX): Likewise.
88465         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
88467 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
88469         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
88470         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88471         * nscd/hstcache.c (cache_addhst): Likewise.
88472         * nscd/grpcache.c (cache_addgr): Likewise.
88473         * nscd/aicache.c (addhstaiX): Likewise.
88475 2011-07-01  Andreas Schwab  <schwab@redhat.com>
88477         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
88478         domain only when needed.
88480 2011-06-30  Andreas Schwab  <schwab@redhat.com>
88482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
88483         is always restored.
88485 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
88487         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
88488         are re-adding the entry.
88489         * nscd/servicescache.c (cache_addserv): Likewise.
88491 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
88493         * sysdeps/generic/dl-irel.h: fix protection against multiple
88494         inclusions.
88495         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
88497 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
88499         [BZ #12935]
88500         * malloc/memusage.sh: Fix quoting in message.
88501         * debug/xtrace.sh: Likewise.
88503         * configure.in: Remove support for --experimental-malloc option, make
88504         it the default.
88505         * config.make.in: Likewise.
88506         * malloc/Makefile: Likewise.
88508 2011-06-27  Andreas Schwab  <schwab@redhat.com>
88510         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
88511         two-byte characters.
88513 2011-06-27  Roland McGrath  <roland@hack.frob.com>
88515         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
88516         AC_CACHE_CHECK invocation.
88517         * configure: Regenerated.
88519         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
88521 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
88523         [BZ #12350]
88524         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
88525         bit from old_res_options.
88527         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
88529         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
88530         value type for setfct.
88532 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
88534         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
88535         __gettimeofday instead of gettimeofday.
88537 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
88539         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
88541 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
88543         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
88545         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
88546         info.
88548 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
88550         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88551         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
88552         strcpy-sse2-unaligned strncpy-sse2-unaligned
88553         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
88554         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
88555         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
88556         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
88557         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
88558         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
88559         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
88560         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
88561         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
88562         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
88563         (STRCPY): Support SSE2 and SSSE3 versions.
88565 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
88567         [BZ #12874]
88568         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
88569         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
88570         kernels which artificially limit size of requests.
88572 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
88574         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88575         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
88576         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
88577         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
88578         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
88579         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
88580         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
88581         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
88582         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
88583         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
88584         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
88585         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
88586         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
88587         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
88588         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
88589         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88590         Enable unaligned load optimization for Intel Core i3, i5 and i7
88591         processors.
88592         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
88593         Define.
88594         (index_Fast_Unaligned_Load): Define.
88595         (HAS_FAST_UNALIGNED_LOAD): Define.
88597 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
88599         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
88601 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
88603         [BZ #12907]
88604         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
88605         until it is clear that the information is realy needed.
88606         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
88608 2011-06-22  Andreas Schwab  <schwab@redhat.com>
88610         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
88612 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
88614         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
88615         /sys/devices/system/cpu/online if it is usable.
88617         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
88618         reading the information from the /proc filesystem to once a second.
88620 2011-06-21  Andreas Jaeger  <aj@suse.de>
88622         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
88623         NULL after inclusion of kernel headers.
88625 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
88627         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
88628         calls to internal_setent.
88630         [BZ #12885]
88631         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
88632         addresses using gethostbyname4_r ignore IPv4 addresses.
88634         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
88635         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
88637         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
88639 2011-06-20  David S. Miller  <davem@davemloft.net>
88641         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
88642         inclusions.
88643         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
88645         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
88646         (elf_irel): Use it.
88647         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
88648         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
88649         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
88650         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
88651         * sysdeps/x86_64/dl-irel.h: Likewise.
88653         * elf/dl-runtime.c: Use elf_ifunc_invoke.
88654         * elf/dl-sym.c: Likewise.
88656 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88658         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
88659         need to dereference resplen2.
88661 2011-06-14  Andreas Schwab  <schwab@redhat.com>
88663         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
88665 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88667         * Makeconfig: Define vardbdir and inst_vardbdir.
88668         * nss/Makefile: Add rules to install db-Makefile.
88670         * nss/nss_db/db-XXX.c: Cleanup.
88672         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
88673         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
88674         GLIBC_PRIVATE.
88675         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
88676         * nss/makedb.c: Implement -g option to specify that value strings
88677         are generated and should not be added to table iterated over for
88678         get*ent calls.
88679         * nss/nss_db/db-initgroups.c: New file.
88681         * nss/getent.c: Add support for initgroups lookups through getgrouplist
88682         interface.
88684         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
88685         (internal_getgrouplist): Adjust to name change.
88686         Update use_initgroups_entry if this is not the first call.
88687         * nss/databases.def: Add initgroups entry.
88689         * nss/makedb.c (compute_tables): Check result of multiple hash table
88690         sizes to minimize maximum chain length.
88692 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
88694         * Versions.def: Add entry for libnss_db.
88695         * shlib-versions: Likewise.
88696         * nss/Makefile: Add rules to build libnss_db.
88697         * nss/Versions: Add libnss_db information.  Organize libnss_files
88698         entries better.
88699         * nss/db-Makefile: Add gshadow support.  Change rules for the new
88700         makedb progra.  Some minor improvements to generate smaller files.
88701         * nss/nss_db/nss_db.h: Move NSS database header data structures to
88702         here from...
88703         * nss/makedb.c: ...here.
88704         Improve database format to be smaller and require less memory at
88705         runtime.
88706         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
88707         db anymore.
88708         * nss/nss_db/db-netgrp.c: Likewise.
88709         * nss/nss_db/db-open.c: Likewise.
88710         * nss/nss_files/flies-XXX.x: Adjust comments.
88711         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
88712         * nss/nss_files/files-grp.c: Likewise.
88713         * nss/nss_files/files-hosts.c: Likewise.
88714         * nss/nss_files/files-network.c: Likewise.
88715         * nss/nss_files/files-proto.c: Likewise.
88716         * nss/nss_files/files-pwd.c: Likewise.
88717         * nss/nss_files/files-rpc.c: Likewise.
88718         * nss/nss_files/files-service.c: Likewise.
88719         * nss/nss_files/files-sgrp.c: Likewise.
88720         * nss/nss_files/files-spwd.c: Likewise.
88721         * nss/nss_db/db-alias.c: Removed.
88722         * nss/nss_db/dummy-db.h: Removed.
88724 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
88726         * nss/makedb.c: Rewritten to not use database library.
88727         * nss/Makefile: Update to build new makedb program.
88729 2011-06-14  Andreas Jaeger  <aj@suse.de>
88731         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
88732         memset declaration.
88734 2011-06-10  Andreas Schwab  <schwab@redhat.com>
88736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
88737         tmpbuf.
88739 2011-06-10  Roland McGrath  <roland@hack.frob.com>
88741         * Makerules (shlib.lds): Fail if the linker script comes out empty.
88742         * elf/Makefile ($(objpfx)ld.so): Likewise.
88744         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
88745         Don't list ld.so twice in dependencies.
88747         * posix/bug-regex31.c: Include <stdlib.h>.
88749         * nscd/hstcache.c (cache_addhst): Remove unused variable.
88751         * nis/nss_compat/compat-spwd.c
88752         (getspent_next_nss_netgr): Remove unused variable.
88753         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
88755         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
88756         nonmembers" output to use the right array.
88758         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
88760         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
88762         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
88763         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
88764         * catgets/gencat.c (read_input_file): Likewise.
88765         * locale/programs/locarchive.c (enlarge_archive): Likewise.
88767         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
88768         variable definition inside #if's controlling its use.
88770         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
88772         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
88774         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
88776         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
88777         unreachable code.
88779         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
88781         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
88782         * configure: Regenerated.
88784         * Makerules: Revert last change.
88785         * elf/Makefile: Likewise.
88787 2011-06-09  Roland McGrath  <roland@hack.frob.com>
88789         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
88790         * elf/Makefile ($(objpfx)librtld.os): Likewise.
88791         (reloc-link): Likewise.
88793 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
88795         * elf/Makefile: Add rules to build pldd.
88796         * elf/pldd.c: New file.
88797         * elf/pldd-xx.c: New file.
88799 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
88801         * version.h: Update for 2.15 development version.
88803 2011-06-07  David S. Miller  <davem@davemloft.net>
88805         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
88806         ifuncs.
88807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
88808         elf_machine_lazy_rel): Likewise.
88809         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
88810         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
88811         elf_machine_lazy_rel): Likewise.
88812         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
88813         dl_hwcap via passed in argument.
88814         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
88815         Likewise.
88817 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88819         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
88821 2011-06-06  Roland McGrath  <roland@hack.frob.com>
88823         [BZ #12849]
88824         * manual/fdl-1.1.texi: New file, verbatim from:
88825         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
88826         * manual/lgpl-2.1.texi: New file, verbatim from:
88827         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
88828         * manual/Makefile (licenses): New variable, list those new file names.
88829         (texis): Use it.
88830         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
88832         * manual/fdl.texi: File removed.
88833         * manual/lesser.texi: File removed.
88834         * manual/libc.texinfo (Copying, Documentation License):
88835         Use new @include file names, put @appendix directive before @include.
88837 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
88839         [BZ #12841]
88840         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
88841         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
88842         (mq_open): Add __NTH.
88844 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
88846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88847         Assume Intel Core i3/i5/i7 processor if AVX is available.
88849 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88851         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
88852         typo.
88854 2011-05-31  Andreas Schwab  <schwab@redhat.com>
88856         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
88857         memory.  Use alloca_account.  Fix memory leak when retrying.
88859 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88861         * version.h (RELEASE): Bump for 2.14 release.
88862         * include/features.h (__GLIBC_MINOR__): Bump to 14.
88864         * config.make.in (RANLIB): Remove entry.
88866 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
88868         * po/Makefile (po-sed-cmd): Add ksh to extensions.
88869         (libc.pot): Work around missing support for .ksh extension in xgettext.
88871         [BZ #12684]
88872         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
88873         if both request failed.
88874         (send_dg): In case of server errors clear resplen or *resplen2.
88876         [BZ #12454]
88877         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
88878         when there are multiple maps.
88879         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
88880         (_dl_fini): Remove test here.
88882         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
88884 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
88886         [BZ #12350]
88887         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
88888         bit from old_res_options.
88889         (gaih_inet): Likewise.
88891         [BZ #11099]
88892         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
88893         as signed.
88895         * resolv/res_init.c (res_setoptions): Make the code more compact.
88897         [BZ #11558]
88898         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
88899         set RES_USEVC.
88901         [BZ #11634]
88902         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
88904         * malloc/malloc.h: Mark malloc hook variables as deprecated.
88906         [BZ #11781]
88907         * malloc/malloc.h: Declare malloc hook variables as volatile.
88909         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
88910         in last patch.
88912         [BZ #11799]
88913         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
88914         raise in the comment.
88915         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88917         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
88919 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
88921         [BZ #12811]
88922         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
88923         grow the buffers more if it already has to be sufficient.
88924         (build_wcs_upper_buffer): Likewise.
88925         * posix/regexec.c (check_matching): Likewise.
88926         (clean_state_log_if_needed): Likewise.
88927         (extend_buffers): Don't enlarge buffers beyond size of the input
88928         buffer.
88929         Patches mostly by Emil Wojak <emil@wojak.eu>.
88930         * posix/bug-regex32.c: New file.
88931         * posix/Makefile (tests): Add bug-regex32.
88933         * locale/findlocale.c (_nl_find_locale): Return right away if
88934         _nl_explode_name failed.
88935         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
88937         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
88939         * debug/xtrace.sh: Unify messages.
88940         * malloc/memusage.sh: Likewise.
88942         [BZ #12813]
88943         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
88944         time symbol from vDSO.  Substitute with vsyscall if not available.
88945         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
88946         __vdso_time.
88948         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
88949         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
88950         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
88951         Add sendmmsg and internal_sendmmsg.
88952         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
88953         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
88954         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
88956         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
88957         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
88958         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
88960 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
88962         [BZ #12813]
88963         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
88964         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
88965         available.
88966         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
88967         __vdso_getcpu.
88969         [BZ #12814]
88970         * iconvdata/Makefile (tests): Add bug-iconv9.
88971         * iconvdata/bug-iconv9.c: New file.
88973 2011-05-27  Andreas Schwab  <schwab@redhat.com>
88975         [BZ #12814]
88976         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
88978 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
88980         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88981         (struct user_regs_struct): Change intcs field back to cs.
88983 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
88985         * po/ja.po: Update from translation team.
88987 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
88989         [BZ #12795]
88990         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
88991         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
88993 2011-05-20  Andreas Schwab  <schwab@redhat.com>
88995         * stdlib/longlong.h: Update from GCC.
88997 2011-05-23  Andreas Schwab  <schwab@redhat.com>
88999         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
89000         parameter name.
89001         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
89002         Add parameter name.
89003         (__sysconf): Pass it down.
89005 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
89007         [BZ #12671]
89008         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
89009         some situations.
89010         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
89011         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
89012         add in in __libc_use_alloca calls.  Adjust callers.
89013         (glob): Use malloc in some situations.
89015         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
89016         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
89017         pltexit.
89019 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
89021         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
89022         and CLOCK_BOOTTIME_ALARM.
89024         [BZ #12782]
89025         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
89026         is returned.
89028         * string/_strerror.c (__strerror_r): Print negative errors as signed
89029         numbers.
89031         [BZ #12777]
89032         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
89033         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
89034         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
89036         * configure.in: Fix typo in redirection and correct removal of test
89037         files in two cases.
89039         [BZ #12788]
89040         * locale/setlocale.c (new_composite_name): Fix test to check for
89041         identical name of all categories.
89043         [BZ #12792]
89044         * libio/filedoalloc.c (local_isatty): New function.
89045         (_IO_file_doallocate): Use local_isatty.
89046         * stdio-common/perror.c (perror): In case a new stream is used
89047         forward the stream error.
89048         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
89049         error flag.
89051 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
89053         [BZ #11884]
89054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
89055         alloca.
89056         * include/alloca.h (extend_alloca_account): Define.
89058         [BZ #11857]
89059         * posix/regex.h: Fix comments with documentation of user-accessible
89060         fields after compilation and describe correct free'ing of pattern
89061         after re_compile_pattern.
89062         Patch by Reuben Thomas <rrt@sc3d.org>.
89064 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
89066         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
89067         and -mno-altivec to prevent the compiler from using Altivec and/or
89068         VSX instructions when the corresponding registers are not available.
89070 2011-05-19  Andreas Schwab  <schwab@redhat.com>
89072         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
89074 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
89076         * libio/freopen.c (freopen): Use __dup2, not dup2.
89077         * libio/freopen64.c (freopen64): Likewise.
89079 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
89081         [BZ #12775]
89082         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
89083         * math/Makefile (tests): Add test-powl.
89084         (CFLAGS-test-powl.c): Define.
89085         * math/test-powl.c: New file.
89087 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
89089         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
89091 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
89093         [BZ #11837]
89094         * iconvdata/gb18030.c: Update to GB18020-2005.
89096 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
89098         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
89099         RE_SYNTAX_POSIX_AWK): Update to match recent development.
89100         Patch by Aharon Robbins <arnold@skeeve.com>.
89102         [BZ #11892]
89103         * stdlib/putenv.c (putenv): Don't always create copy of the variable
89104         on the stack.
89106         [BZ #11895]
89107         * misc/pselect.c (__pselect): Handle timeout value errors hidden
89108         through underflows.
89110         [BZ #12766]
89111         * misc/error.c (error_at_line): Ensure file_name and old_file_name
89112         point to strings before performing equality test for error_one_per_line
89113         mode.
89115         [BZ #11697]
89116         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
89118         [BZ #11820]
89119         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89120         (struct user_fpregs_struct): Avoid __uint*_t types.
89122         [BZ #6420]
89123         * malloc/mtrace.c (tr_where): Add additional parameter to point to
89124         symbol info.  Use it instead of calling _dl_addr locally.
89125         (lock_and_info): New function.
89126         (tr_freehook): Call lock_and_info and pass symbol info as additional
89127         parameter to tr_where.
89128         (tr_mallochook): Likewise.
89129         (tr_reallochook): Likewise.
89130         (tr_memalignhook): Likewise.
89132         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
89133         used and couldn't be at all thread-safe.
89135 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
89137         * libio/freopen.c (freopen): Don't close old file descriptor
89138         before the new one is opened.  Instead dup the new file descriptor
89139         to the old one after the new stream is created.
89140         * libio/freopen64.c (freopen64): Likewise.
89141         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
89142         * libio/fileops.c (_IO_new_file_close_it): Handle new
89143         _IO_FLAGS2_NOCLOSE flag.
89144         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
89145         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
89146         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
89147         _IO_FLAGS2_NOCLOSE flag.
89148         * include/unistd.h: Add hidden_proto for dup3.
89149         Define __have_dup3.
89150         * io/dup3.c: Define hidden symbol.
89151         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
89153         [BZ #7101]
89154         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
89155         when an incomplete long option is used.
89156         * posix/tst-getopt_long1.c: New file.
89157         * posix/Makefile (tests): Add tst-getopt_long1.
89159         [BZ #10138]
89160         * scripts/config.guess: Update from autoconf-2.68.
89161         * scripts/config.sub: Likewise.
89163         [BZ #10157]
89164         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
89165         tests into ...
89166         (has_cpuclock): ...this.  New function.
89167         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
89168         macro here based on has_cpuclock code.
89170         [BZ #10149]
89171         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89172         First byte (not low byte) is now always NUL.
89173         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
89175         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89176         Use non-cancelable interfaces.
89178         [BZ #9809]
89179         * locale/iso-639.def: Add entry for Sorani.
89181         [BZ #11901]
89182         * include/stdlib.h: Move include protection to the right place.
89183         Define abort_msg_s.  Declare __abort_msg with it.
89184         * stdlib/abort.c (__abort_msg): Adjust type.
89185         * assert/assert.c (__assert_fail_base): New function.  Majority
89186         of code from __assert_fail.  Allocate memory for __abort_msg with
89187         mmap.
89188         (__assert_fail): Now call __assert_fail_base.
89189         * assert/assert-perr.c: Remove bulk of implementation.  Use
89190         __assert_fail_base.
89191         * include/assert.hL Declare __assert_fail_base.
89192         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
89193         mmap.
89194         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
89196 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
89198         [BZ #11952]
89199         [BZ #12453]
89200         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
89201         until all modules are registered in the DTV.
89202         * elf/Makefile: Add rules to build and run tst-tls19.
89203         * elf/tst-tls19.c: New file.
89204         * elf/tst-tls19mod1.c: New file.
89205         * elf/tst-tls19mod2.c: New file.
89206         * elf/tst-tls19mod3.c: New file.
89207         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
89209         [BZ #12083]
89210         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
89211         correctly.
89213         [BZ #12601]
89214         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
89215         two-byte sequence errors.
89216         * iconvdata/Makefile (tests): Add bug-iconv8.
89217         * iconvdata/bug-iconv8.c: New file.
89219         [BZ #12626]
89220         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
89221         buf2 definition.
89223         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
89225         [BZ #12432]
89226         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
89227         (dummy_getcfa): New function.
89228         (init): Get _Unwind_GetCFA address, use dummy if not found.
89229         (backtrace_helper): In recursion check, also check whether CFA changes.
89230         (__backtrace): Completely initialize arg.
89232         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
89233         storing incomplete byte sequence in state object.  Avoid testing for
89234         guaranteed too small input if we know there is enough data available.
89236 2011-05-11  Andreas Schwab  <schwab@redhat.com>
89238         * Makeconfig (+link-pie): Indent.
89239         * Rules (binaries-pie): Define if $(have-fpie) and
89240         $(build-shared).
89241         (binaries-shared): Also filter out $(binaries-pie).
89242         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
89243         * nscd/Makefile (others-pie): Add nscd.
89244         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
89245         ($(objpfx)nscd): Remove command override.
89246         * login/Makefile (others-pie): Add pt_chown.
89247         ($(objpfx)pt_chown): Remove command override.
89248         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
89249         remove command overrides.
89251 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
89253         * libio/tst_putwc.c: Fix error messages.
89255         [BZ #12724]
89256         * libio/fileops.c (_IO_new_file_close_it): Always flush when
89257         currently writing and seek to current position when not.
89258         * libio/Makefile (tests): Add bug-fclose1.
89259         * libio/bug-fclose1.c: New file.
89261 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
89263         [BZ #12511]
89264         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
89265         don't set DF_1_NODELETE here.
89266         (do_lookup_x): When entering new entry test for copy relocation
89267         and if necessary set DF_1_NODELETE flag.
89268         * elf/tst-unique4.cc: New file.
89269         * elf/tst-unique4.h: New file.
89270         * elf/tst-unique4lib.cc: New file.
89271         * elf/Makefile: Add rules to build and run tst-unique4.
89272         Patch by Piotr Bury <pbury@goahead.com>.
89274 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
89276         [BZ #12052]
89277         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
89279         [BZ #12625]
89280         * misc/mntent_r.c (addmntent): Flush the stream after the output
89282         [BZ #12393]
89283         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
89284         (is_trusted_path_normalize): Skip initial colon.  Append slash
89285         to empty buffer.  Duplicate is_trusted_path code but allow
89286         constructed patch to be prefix.
89287         (is_dst): Allow $ORIGIN followed by /.
89288         (_dl_dst_substitute): Correct clearing of check_for_trusted.
89289         Correct testing of result of is_trusted_path_normalize
89290         (decompose_rpath): Fix warning.
89292 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
89294         [BZ #11257]
89295         * grp/initgroups.c (internal_getgrouplist): When we found the service
89296         list through the initgroups entry in nsswitch.conf do not always
89297         continue on a successful lookup.  Don't always use the
89298         __nss_group_database value if it is set.
89299         * nss/nsswitch.conf (initgroups): Change action for successful db
89300         lookup to continue for compatibility.
89302 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
89304         [BZ #11532]
89305         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
89306         and CP774 modules.
89307         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
89308         and CP774 modules.
89309         * iconvdata/tst-tables.sh: Likewise.
89310         * iconvdata/cp770.c: New file.
89311         * iconvdata/cp771.c: New file.
89312         * iconvdata/cp772.c: New file.
89313         * iconvdata/cp773.c: New file.
89314         * iconvdata/cp774.c: New file.
89315         * iconvdata/testdata/CP770: New file.
89316         * iconvdata/testdata/CP770..UTF8: New file.
89317         * iconvdata/testdata/CP771: New file.
89318         * iconvdata/testdata/CP771..UTF8: New file.
89319         * iconvdata/testdata/CP772: New file.
89320         * iconvdata/testdata/CP772..UTF8: New file.
89321         * iconvdata/testdata/CP773: New file.
89322         * iconvdata/testdata/CP773..UTF8: New file.
89323         * iconvdata/testdata/CP774: New file.
89324         * iconvdata/testdata/CP774..UTF8: New file.
89326         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
89327         END CHARMAP line.
89328         * iconvdata/gen-8bit-gap.sh: Likewise.
89329         * iconvdata/gen-8bit.sh: Likewise.
89331         * locale/iso-639.def: Add ary entry.
89333         [BZ #11258]
89334         * locale/C-translit.h.in: Add U20A1 transliteration.
89336         [BZ #12178]
89337         * locale/iso-639.def: Add wae entry.
89338         Patch by Kevin Bortis <bortis@translate-wae.ch>.
89340         [BZ #12545]
89341         * locale/programs/localedef.c (construct_output_path): Use ssize_t
89342         for n.
89344         [BZ #12711]
89345         * locale/C-translit.h.in: Add entry for U20B9.
89346         Patch by pravin.d.s@gmail.com.
89348 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
89350         [BZ #12713]
89351         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
89352         ENAMETOOLONG use generic getcwd.
89353         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
89354         in rtld.  Use *stat64.
89355         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
89356         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
89357         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
89358         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
89359         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
89360         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
89361         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
89362         __fstatat64 macros.
89363         * include/dirent.h: Add libc_hidden_proto for rewinddir.
89364         * dirent/rewinddir.c: Add libc_hidden_def.
89365         * sysdeps/mach/hurd/rewinddir.c: Likewise.
89366         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
89368         * include/dirent.h (__alloc_dir): Add flags parameter.
89369         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
89370         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
89371         __alloc_dir.
89372         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
89373         from fdopendir if O_CLOEXEC is already set.
89375 2011-03-15  Alan Modra  <amodra@gmail.com>
89377         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
89378         l_tls_firstbyte_offset non-zero.  Save padding offset in
89379         l_tls_firstbyte_offset for later use.
89380         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
89381         freeing static tls block.
89383 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
89385         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
89386         where #ifdef was intended.  The intent is to prevent ARG_MAX from
89387         being defined by the kernel headers.
89389 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
89391         [BZ #12734]
89392         * resolv/resolv.h: Define RES_NOTLDQUERY.
89393         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
89394         no-tld-query and set RES_NOTLDQUERY.
89395         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
89396         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
89397         modern BIND to search name as TLD unless forbidden.
89399 2011-05-07  Petr Baudis  <pasky@suse.cz>
89400             Ulrich Drepper  <drepper@gmail.com>
89402         [BZ #12393]
89403         * elf/dl-load.c (fillin_rpath): Move trusted path check...
89404         (is_trusted_path): ...to here.
89405         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
89406         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
89407         using is_trusted_path_normalize() in setuid scripts.
89409 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
89411         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
89412         __BEGIN/__END_DECLS.
89414 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
89416         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
89417         NSS_STATUS_NOTFOUND if no record was found.
89419 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89421         * sunrpc/Makefile (headers): Add rpc/netdb.h.
89422         (headers-not-in-tirpc): Remove rpc/netdb.h
89423         * resolv/netdb.h: Revert last change.
89425 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89427         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
89428         circular dependency between libgcc.a and libc.a.
89430 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89432         * resolv/netdb.h: Don't include <rpc/netdb.h>.
89433         * nis/Makefile: Don't install rpcsvc/*.
89434         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
89435         instead of <rpc/types.h>.
89436         (MAXHOSTNAMELEN): Define.
89438 2011-05-03  Andreas Schwab  <schwab@redhat.com>
89440         * elf/ldconfig.c (add_dir): Don't crash on empty path.
89442 2011-04-28  Maciej Babinski  <mbabinski@google.com>
89444         [BZ #12714]
89445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
89446         gethostbyname4_r when IPv6 results are possible.
89448 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
89450         [BZ #12723]
89451         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
89452         _PC_PIPE_BUF handling.
89454 2011-04-30  Bruno Haible  <bruno@clisp.org>
89456         [BZ #12717]
89457         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
89458         * resolv/netdb.h (getnameinfo): Change type of flags parameter
89459         to 'int'.
89460         * inet/getnameinfo.c (getnameinfo): Likewise.
89462 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
89464         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
89465         to groups setting in database lookup.
89466         * nss/nsswitch.conf: Add initgroups entry.
89468 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
89470         [BZ #12685]
89471         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
89472         mode string.
89473         Patch by Eric Blake <eblake@redhat.com>.
89475 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
89477         * sunrpc/Makefile (need-export-routines): Add svc_run.
89478         (routines): Remove svc_run.
89479         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
89480         * sunrpc/clnt_perr.c (clnt_perrno): Export.
89481         * sunrpc/svc_run.c (svc_run): Likewise.
89482         * sunrpc/svc_udp.c (svcudp_create): Likewise.
89484 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
89486         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
89487         problem in reallocation in last patch.
89489 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
89491         * sunrpc/Makefile: Move inclusion of Rules.
89493 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
89495         * nss/nss_files/files-initgroups.c: New file.
89496         * nss/Makefile (libnss_files-routines): Add files-initgroups.
89497         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
89498         _nss_files_initgroups_dyn.
89500 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
89502         * elf/elf.h (R_ARM_IRELATIVE): Define.
89504 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
89506         * po/ru.po: Update from translation team.
89508 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
89510         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
89511         dependencies.
89513 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
89515         [BZ #12653]
89516         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
89517         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
89518         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
89519         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
89520         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
89522 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
89524         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
89525         differing bytes.
89526         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
89527         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
89528         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
89530 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
89532         [BZ #12420]
89533         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
89534         storing it.
89535         * stdlib/bug-getcontext.c: New file.
89536         * stdlib/Makefile: Add rules to build and run bug-getcontext.
89538 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89540         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
89541         instructions into .machine "z9-109".
89542         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
89543         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
89545 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89547         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
89548         between environment variables and auxiliary vector.
89550 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
89552         * Makefile: Add rules to build linkobj/libc.so.
89553         * include/libc-symbols.h: Define libc_hidden_nolink.
89554         * include/rpc/auth.h: Mark functions which are to be hidden.
89555         * include/rpc/auth_des.h: Likewise.
89556         * include/rpc/auth_unix.h: Likewise.
89557         * include/rpc/clnt.h: Likewise.
89558         * include/rpc/des_crypt.h: Likewise.
89559         * include/rpc/key_prot.h: Likewise.
89560         * include/rpc/pmap_clnt.h: Likewise.
89561         * include/rpc/pmap_prot.h: Likewise.
89562         * include/rpc/pmap_rmt.h: Likewise.
89563         * include/rpc/rpc_msg.h: Likewise.
89564         * include/rpc/svc.h: Likewise.
89565         * include/rpc/svc_auth.h: Likewise.
89566         * include/rpc/xdr.h: Likewise.
89567         * nis/Makefile: Link all DSOs against linkobj/libc.so.
89568         * nss/Makefile: Likewise.
89569         * sunrpc/Makefile: Don't install headers.  Build library with normal
89570         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
89571         * sunrpc/auth_des.c: Hide exported symbols by default, export some
89572         for the compat linking library.  Remove use of INTDEF/INTUSE.
89573         * sunrpc/auth_none.c: Likewise.
89574         * sunrpc/auth_unix.c: Likewise.
89575         * sunrpc/authdes_prot.c: Likewise.
89576         * sunrpc/authuxprot.c: Likewise.
89577         * sunrpc/clnt_gen.c: Likewise.
89578         * sunrpc/clnt_perr.c: Likewise.
89579         * sunrpc/clnt_raw.c: Likewise.
89580         * sunrpc/clnt_simp.c: Likewise.
89581         * sunrpc/clnt_tcp.c: Likewise.
89582         * sunrpc/clnt_udp.c: Likewise.
89583         * sunrpc/clnt_unix.c: Likewise.
89584         * sunrpc/des_crypt.c: Likewise.
89585         * sunrpc/des_soft.c: Likewise.
89586         * sunrpc/get_myaddr.c: Likewise.
89587         * sunrpc/key_call.c: Likewise.
89588         * sunrpc/key_prot.c: Likewise.
89589         * sunrpc/netname.c: Likewise.
89590         * sunrpc/pm_getmaps.c: Likewise.
89591         * sunrpc/pm_getport.c: Likewise.
89592         * sunrpc/pmap_clnt.c: Likewise.
89593         * sunrpc/pmap_prot.c: Likewise.
89594         * sunrpc/pmap_prot2.c: Likewise.
89595         * sunrpc/pmap_rmt.c: Likewise.
89596         * sunrpc/publickey.c: Likewise.
89597         * sunrpc/rpc_cmsg.c: Likewise.
89598         * sunrpc/rpc_common.c: Likewise.
89599         * sunrpc/rpc_dtable.c: Likewise.
89600         * sunrpc/rpc_prot.c: Likewise.
89601         * sunrpc/rpc_thread.c: Likewise.
89602         * sunrpc/rtime.c: Likewise.
89603         * sunrpc/svc.c: Likewise.
89604         * sunrpc/svc_auth.c: Likewise.
89605         * sunrpc/svc_authux.c: Likewise.
89606         * sunrpc/svc_raw.c: Likewise.
89607         * sunrpc/svc_run.c: Likewise.
89608         * sunrpc/svc_simple.c: Likewise.
89609         * sunrpc/svc_tcp.c: Likewise.
89610         * sunrpc/svc_udp.c: Likewise.
89611         * sunrpc/svc_unix.c: Likewise.
89612         * sunrpc/svcauth_des.c: Likewise.
89613         * sunrpc/xcrypt.c: Likewise.
89614         * sunrpc/xdr.c: Likewise.
89615         * sunrpc/xdr_array.c: Likewise.
89616         * sunrpc/xdr_float.c: Likewise.
89617         * sunrpc/xdr_intXX_t.c: Likewise.
89618         * sunrpc/xdr_mem.c: Likewise.
89619         * sunrpc/xdr_rec.c: Likewise.
89620         * sunrpc/xdr_ref.c: Likewise.
89621         * sunrpc/xdr_sizeof.c: Likewise.
89622         * sunrpc/xdr_stdio.c: Likewise.
89624 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
89626         [BZ #12650]
89627         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
89628         * sysdeps/ia64/dl-tls.h: Likewise.
89629         * sysdeps/powerpc/dl-tls.h: Likewise.
89630         * sysdeps/s390/dl-tls.h: Likewise.
89631         * sysdeps/sh/dl-tls.h: Likewise.
89632         * sysdeps/sparc/dl-tls.h: Likewise.
89633         * sysdeps/x86_64/dl-tls.h: Likewise.
89634         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
89636 2011-03-14  Andreas Schwab  <schwab@redhat.com>
89638         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
89639         rpath element also skip the following colon.
89640         (expand_dynamic_string_token): Add is_path parameter and pass
89641         down to DL_DST_REQUIRED and _dl_dst_substitute.
89642         (decompose_rpath): Call expand_dynamic_string_token with
89643         non-zero is_path.  Ignore empty rpaths.
89644         (_dl_map_object_from_fd): Call expand_dynamic_string_token
89645         with zero is_path.
89647 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
89649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
89650         Make cancelable.
89652 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
89654         [BZ #12655]
89655         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
89656         Patch by Filipe David Manana <fdmanana@apache.org>.
89658 2011-04-07  Andreas Schwab  <schwab@redhat.com>
89660         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
89661         Maintain aligned stack.
89662         (CHECK_RSP): Remove unused macro.
89664 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
89666         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
89667         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
89669 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
89671         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
89673         * include/features.h: Mention __USE_XOPEN2K8 in comment.
89675 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
89677         [BZ #12518]
89678         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
89679         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
89680         * sysdeps/x86_64/memmove.c: New file.
89681         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
89682         (memcpy): Renamed to ...
89683         (__new_memcpy): This.
89684         (memcpy): Provide GLIBC_2_14 memcpy.
89685         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
89686         (memcpy): Provide GLIBC_2_2_5 memcpy.
89688 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89690         [BZ #12631]
89691         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
89693 2011-03-30  Andreas Schwab  <schwab@redhat.com>
89695         * misc/syncfs.c: New file.
89696         * misc/Makefile (routines): Add syncfs.
89697         * posix/unistd.h: Declare syncfs.
89698         * sysdeps/unix/syscalls.list: Add syncfs.
89700 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89702         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
89703         open_by_handle_at.
89704         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89705         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89706         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89707         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89708         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89709         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
89710         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89712 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89714         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
89715         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89716         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
89717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89718         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89719         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89720         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89722         * io/Makefile: Compile fallocate.c, fallocate64.c, and
89723         sync_file_range.c with -fexceptions.
89724         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
89725         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
89726         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
89727         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
89728         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
89729         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
89730         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
89731         sync_file_range as cancellation point
89732         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
89733         now a wrapper around __call_sync_file_range with cancellation handling.
89734         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
89735         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
89736         function name to __call_sync_file_range.
89737         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
89738         Add call_sync_file_range.
89740 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89742         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
89743         bits/timex.h.
89745 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89747         * iconv/iconv.h: Fix typo in comment.
89748         * io/fcntl.h: Likewise.
89749         * libio/stdio.h: Likewise.
89750         * posix/spawn.h: Likewise.
89751         * posix/unistd.h: Likewise.
89752         * stdlib/stdlib.h: Likewise.
89753         * time/time.h: Likewise.
89754         * wcsmbs/wchar.h: Likewise.
89756         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
89757         open_by_handle): Add.
89758         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
89759         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
89760         Augment a few comments.
89761         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89762         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89763         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89764         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89765         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89766         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
89767         open_by_handle.
89769         * io/fcntl.h (AT_EMPTY_PATH): Define.
89771 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
89773         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
89774         * sysdeps/unix/sysv/linux/bits/time.h: New file.
89775         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
89776         to...
89777         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
89778         * Versions.def: Add GLIBC_2.14.
89779         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
89780         Export.
89782 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
89784         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
89785         round counter.
89786         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89788 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
89790         [BZ #12597]
89791         * string/test-strncmp.c (do_page_test): New function.
89792         (check2): Likewise.
89793         (test_main): Call check2.
89794         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
89796 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
89798         [BZ #12587]
89799         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
89800         Handle cache information in CPU leaf 4.
89801         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89803 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
89805         [BZ #12583]
89806         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
89807         character representation.
89808         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
89810 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
89812         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
89813         END(__isnan) to END(__isnanf) to match function entry point/label
89814         EALIGN(__isnanf,...).
89816 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
89818         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
89820 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
89822         [BZ #12510]
89823         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
89824         copy from the symbol referenced in the relocation to initialize the
89825         used variable.
89826         Patch by Piotr Bury <pbury@goahead.com>.
89827         * elf/Makefile: Add rules to build and tst-unique3.
89828         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
89829         * elf/tst-unique3.cc: New file.
89830         * elf/tst-unique3.h: New file.
89831         * elf/tst-unique3lib.cc: New file.
89832         * elf/tst-unique3lib2.cc: New file.
89834         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
89836 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
89838         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
89839         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
89840         to _start.
89842 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
89844         * elf/dl-load.c (_dl_map_object): If we are looking for the first
89845         to-be-loaded object along a path to loader is ld.so.
89847 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89848             Ulrich Drepper  <drepper@gmail.com>
89850         * sysdeps/x86_64/memset.S: After aligning destination, code
89851         branches to different locations depending on the value of
89852         misalignment, when multiarch is enabled. Fix this.
89854 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89856         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
89857         Set _x86_64_preferred_memory_instruction for AMD processsors.
89858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89859         Set bit_Prefer_SSE_for_memop for AMD processors.
89861 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
89863         * libio/fmemopen.c (fmemopen): Optimize a bit.
89865 2011-03-03  Andreas Schwab  <schwab@redhat.com>
89867         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
89869 2011-03-03  Roland McGrath  <roland@redhat.com>
89871         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
89873 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
89875         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
89876         __bzero_ultra1 instead of __memset_ultra1.
89878 2011-02-23  Andreas Schwab  <schwab@redhat.com>
89879             Ulrich Drepper  <drepper@gmail.com>
89881         [BZ #12509]
89882         * include/link.h (struct link_map): Add l_orig_initfini.
89883         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
89884         returning unsuccessfully.
89885         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
89886         close of a file loaded at startup, restore the original l_initfini
89887         list.
89888         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
89889         list, store the pointer.
89890         * elf/Makefile ($(objpfx)noload-mem): New rule.
89891         (noload-ENV): Define.
89892         (tests): Add $(objpfx)noload-mem.
89893         * elf/noload.c: Include <memcheck.h>.
89894         (main): Call mtrace.  Close all opened handles.
89896 2011-02-17  Andreas Schwab  <schwab@redhat.com>
89898         [BZ #12454]
89899         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
89900         dependencies are missing.
89902 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89904         Fix __if_freereq crash: Unlike the generic version which uses free,
89905         Hurd needs munmap.
89906         * sysdeps/mach/hurd/ifreq.h: New file.
89908 2011-01-27  Petr Baudis  <pasky@suse.cz>
89909             Ulrich Drepper  <drepper@gmail.com>
89911         [BZ 12445]#
89912         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
89913         to extend_alloca().
89914         * stdio-common/bug23.c: New file.
89915         * stdio-common/Makefile (tests): Add bug23.
89917 2010-09-28  Andreas Schwab  <schwab@redhat.com>
89918             Ulrich Drepper  <drepper@gmail.com>
89920         [BZ #12489]
89921         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
89922         before performing relro protection.  At old place add assertion
89923         to make sure nothing changed.
89925 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
89926             Glauber de Oliveira Costa  <glommer@gmail.com>
89928         * elf/elf.h: Add new ARM TLS relocs.
89930 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
89932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
89933         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
89934         cast from r3.
89935         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
89936         'tests' variable.
89937         * sysdeps/wordsize-64/tst-writev.c: New file.
89939 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
89941         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
89942         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
89943         insns in _dl_start to prevent a TOC reference before relocs are
89944         resolved.
89946 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
89948         [BZ #12469]
89949         * Makeconfig: Remove RANLIB definition.
89950         * Makerules: Don't use RANLIB.
89951         * aclocal.m4: Remove ranlib test.
89952         * configure.in: No need to check for ranlib.
89953         * elf/rtld-Rules: Don't use RANLIB.
89955 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89957         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
89958         protection macro.
89959         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
89960         inclusion protection macro.
89962         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
89963         SIGRTMIN and SIGRTMAX and print information in that case only when
89964         SIGRTMIN is defined.
89966 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
89968         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
89969         arginfo fn returning -1.
89971         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
89972         and thousands string is zero terminated.
89974 2011-02-03  Andreas Schwab  <schwab@redhat.com>
89976         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
89977         sysdeps/unix/sysv/linux/bits/socket.h.
89979 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89981         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
89982         (__CPU_COUNT): Remove old macros.
89983         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
89984         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
89985         (__CPU_ALLOC, __CPU_FREE): Add macros.
89986         (__sched_cpualloc, __sched_cpufree): Add declarations.
89988 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
89990         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
89991         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
89992         * nscd/aicache.c (addhstaiX): Return timeout of added value.
89993         (readdhstai): Return value of addhstaiX call.
89994         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
89995         (addgrbyX): Return value returned by cache_addgr.
89996         (readdgrbyname): Return value returned by addgrbyX.
89997         (readdgrbygid): Likewise.
89998         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
89999         (addpwbyX): Return value returned by cache_addpw.
90000         (readdpwbyname): Return value returned by addhstbyX.
90001         (readdpwbyuid): Likewise.
90002         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
90003         (addservbyX): Return value returned by cache_addserv.
90004         (readdservbyname): Return value returned by addservbyX:
90005         (readdservbyport): Likewise.
90006         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
90007         (addhstbyX): Return value returned by cache_addhst.
90008         (readdhstbyname): Return value returned by addhstbyX.
90009         (readdhstbyaddr): Likewise.
90010         (readdhstbynamev6): Likewise.
90011         (readdhstbyaddrv6): Likewise.
90012         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
90013         (readdinitgroups): Return value returned by addinitgroupsX.
90014         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
90015         (prune_cache): Keep track of timeout value of re-added entries.
90016         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
90017         * nscd/nscd.h: Adjust prototypes of readd* functions.
90019 2011-02-04  Roland McGrath  <roland@redhat.com>
90021         * nis/nis_server.c (nis_servstate): Use the right name for 0.
90022         (nis_stats): Likewise.
90023         * nis/nis_modify.c (nis_modify): Likewise.
90024         * nis/nis_remove.c (nis_remove): Likewise.
90025         * nis/nis_add.c (nis_add): Likewise.
90027         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
90029         * posix/fnmatch_loop.c: Add some consts.
90031         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
90033 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
90035         [BZ #12460]
90036         * config.make.in (config-cflags-novzeroupper): Define.
90037         * configure.in: Substitute libc_cv_cc_novzeroupper.
90038         * elf/Makefile (AVX-CFLAGS): Define.
90039         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
90040         (CFLAGS-tst-auditmod4a.c): Likewise.
90041         (CFLAGS-tst-auditmod4b.c): Likewise.
90042         (CFLAGS-tst-auditmod6b.c): Likewise.
90043         (CFLAGS-tst-auditmod6c.c): Likewise.
90044         (CFLAGS-tst-auditmod7b.c): Likewise.
90045         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
90047 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
90049         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
90050         function to the callback.
90051         Patch partly by Jiri Olsa <jolsa@redhat.com>.
90053 2011-02-02  Andreas Schwab  <schwab@redhat.com>
90055         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
90056         of errno.
90058 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
90060         [BZ #11724]
90061         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
90062         of constructors.
90063         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
90064         of destructors.
90065         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
90067         [BZ #11724]
90068         * elf/Makefile: Add rules to build and run new test.
90069         * elf/tst-initorder.c: New file.
90070         * elf/tst-initorder.exp: New file.
90071         * elf/tst-initordera1.c: New file.
90072         * elf/tst-initordera2.c: New file.
90073         * elf/tst-initordera3.c: New file.
90074         * elf/tst-initordera4.c: New file.
90075         * elf/tst-initorderb1.c: New file.
90076         * elf/tst-initorderb2.c: New file.
90077         * elf/tst-order-a1.c: New file.
90078         * elf/tst-order-a2.c: New file.
90079         * elf/tst-order-a3.c: New file.
90080         * elf/tst-order-a4.c: New file.
90081         * elf/tst-order-b1.c: New file.
90082         * elf/tst-order-b2.c: New file.
90083         * elf/tst-order-main.c: New file.
90084         New test case by George Gensure <werkt0@gmail.com>.
90086 2010-10-01  Andreas Schwab  <schwab@redhat.com>
90088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90089         decoding ACE if AI_CANONIDN.
90091 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
90093         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
90095 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
90097         * version.h (RELEASE): Bump for 2.13 release.
90098         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
90100         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
90102         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
90103         MADV_NOHUGEPAGE.
90104         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
90105         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
90106         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
90107         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
90108         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
90109         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90111         * posix/getconf.c: Update copyright year.
90112         * catgets/gencat.c: Likewise.
90113         * csu/version.c: Likewise.
90114         * debug/catchsegv.sh: Likewise.
90115         * debug/xtrace.sh: Likewise.
90116         * elf/ldconfig.c: Likewise.
90117         * elf/ldd.bash.in: Likewise.
90118         * elf/sprof.c (print_version): Likewise.
90119         * iconv/iconv_prog.c: Likewise.
90120         * iconv/iconvconfig.c: Likewise.
90121         * locale/programs/locale.c: Likewise.
90122         * locale/programs/localedef.c: Likewise.
90123         * malloc/memusage.sh: Likewise.
90124         * malloc/mtrace.pl: Likewise.
90125         * nscd/nscd.c (print_version): Likewise.
90126         * nss/getent.c: Likewise.
90128         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
90129         PF_CAIF, and PF_ALG.
90130         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90132 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
90134         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
90135         (modules-names): Use them.
90136         (ifunc-test-modules, ifunc-pie-tests): Define.
90137         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
90138         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
90139         (test-extras): Likewise.
90140         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
90141         $(compile-command.c).
90142         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
90143         (all-built-dso): Define.
90144         (check-textrel.out, check-execstack.out): Depend on it.
90146         * configure.in: Don't override --enable-multi-arch.
90148 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
90150         [BZ #6812]
90151         * nscd/hstcache.c (tryagain): Define.
90152         (cache_addhst): Return tryagain not notfound for temporary errors.
90153         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
90154         failed.
90156 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
90158         [BZ #10563]
90159         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
90160         to make the syscall.
90161         * sysdeps/unix/sysv/linux/setgroups.c: New file.
90163         [BZ #12378]
90164         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
90165         and fall back to matching as normal character if the string ends before
90166         the matching ']' is found.  This is what POSIX requires.
90167         * posix/testfnm.c: Adjust test result.
90168         * posix/globtest.sh: Adjust test result.  Add new test.
90169         * posix/tst-fnmatch.input: Likewise.
90170         * posix/tst-fnmatch2.c: Add new test.
90172 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
90174         * elf/Makefile (check-execstack): Revert last change.  Depend on
90175         check-execstack.h.
90176         (check-execstack.h): New target.
90177         (generated): Add check-execstack.h.
90178         * elf/check-execstack.c: Include "check-execstack.h".
90179         (main): Revert last change.
90180         (handle_file): Return zero if GNU_STACK is absent and
90181         DEFAULT_STACK_PERMS doesn't include PF_X.
90183 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
90185         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
90186         in child fails because the descriptor is already closed.
90187         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
90188         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
90189         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
90191         [BZ #12397]
90192         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
90193         syscall.
90195         [BZ #10484]
90196         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
90197         temporary buffer used to handle multi lookups locally.
90198         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
90200 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90202         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
90203         loader is ld.so.
90205 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
90207         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
90208         alignment for SSE2.
90210 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90212         [BZ #12394]
90213         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
90214         characters.  When rounding increased number of integer digits recompute
90215         number of groups.
90216         * stdio-common/tst-grouping.c: New file.
90217         * stdio-common/Makefile: Add rules to build and run tst-grouping.
90219 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
90221         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
90222         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
90224         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
90225         void.
90226         * bits/select.h: Likewise.
90228 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
90230         * po/ja.po: Update from translation team.
90232 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
90234         [BZ #11155]
90235         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
90236         implementation just like for lxstat, fxstatat, et al.
90238 2010-12-27  Jim Meyering  <meyering@redhat.com>
90240         [BZ #12348]
90241         * posix/regexec.c (build_trtable): Return failure indication upon
90242         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
90244 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
90246         [BZ #12201]
90247         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
90248         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
90249         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
90250         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
90252         [BZ #12207]
90253         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
90255         [BZ #12204]
90256         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
90257         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
90259 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
90261         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
90262         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
90263         script has SORT_BY_INIT_PRIORITY.
90264         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
90265         NO_CTORS_DTORS_SECTIONS is defined.
90266         * elf/soinit.c: Likewise.
90267         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
90268         NO_CTORS_DTORS_SECTIONS is defined.
90269         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
90270         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
90271         * sysdeps/sh/init-first.c: Likewise.
90272         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
90274 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
90276         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
90277         always use the slow path.
90279 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
90281         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
90282         similar rule which adds the sysdep directories to the header search in
90283         order to pick up the correct platform stackinfo.h.
90284         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
90285         perform test if it is, otherwise return successfully without testing.
90286         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
90287         DEFAULT_STACK_PERMS define in stackinfo.h.
90288         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
90289         defined in stackinfo.h.
90290         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
90291         DEFAULT_STACK_PERMS defined in stackinfo.h.
90292         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
90293         * sysdeps/ia64/stackinfo.h: Likewise.
90294         * sysdeps/s390/stackinfo.h: Likewise.
90295         * sysdeps/sh/stackinfo.h: Likewise.
90296         * sysdeps/sparc/stackinfo.h: Likewise.
90297         * sysdeps/x86_64/stackinfo.h: Likewise.
90298         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
90299         PF_X for powerpc64.  Retain PF_X for powerpc32.
90301 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
90303         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
90304         accurately.
90305         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
90306         GETDENTS_64BIT_ALIGNED.
90308 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
90310         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
90312 2010-12-10  Andreas Schwab  <schwab@redhat.com>
90314         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
90315         _GNU_SOURCE.
90317         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
90318         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
90319         Remove __restrict.
90320         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
90321         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
90323 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
90325         [BZ #11655]
90326         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
90327         are initialized.
90329 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
90331         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
90333 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
90335         * po/it.po: Update from translation team.
90337 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
90339         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
90340         unused codes.
90342 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
90344         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
90346 2010-11-24  Andreas Schwab  <schwab@redhat.com>
90348         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
90349         specially.
90350         (gaih_getanswer_slice): Likewise.
90352 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
90354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
90356 2010-05-31  Petr Baudis  <pasky@suse.cz>
90358         [BZ #11149]
90359         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
90360         silently even in the chroot mode.
90362 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
90364         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
90365         last patch a bit.  Pretty printing
90367 2010-05-31  Petr Baudis <pasky@suse.cz>
90369         [BZ #10085]
90370         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
90371         initialization of skip_initgroups_dyn.
90373 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
90375         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
90376         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90378 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
90380         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
90382 2010-11-11  Andreas Schwab  <schwab@redhat.com>
90384         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
90385         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
90386         (tst-fnmatch-ENV): Set MALLOC_TRACE.
90387         ($(objpfx)tst-fnmatch-mem): New rule.
90388         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
90389         * posix/tst-fnmatch.c (main): Call mtrace.
90391 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
90393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90394         Support Intel processor model 6 and model 0x2c.
90396 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
90398         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
90399           signed comparison.
90401 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
90403         [BZ #12205]
90404         * string/test-strncasecmp.c (check_result): New function.
90405         (do_one_test): Use it.
90406         (check1): New function.
90407         (test_main): Use it.
90408         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
90409         Support strcasecmp and strncasecmp.
90411 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
90413         [BZ #12194]
90414         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
90415         * sysdeps/x86_64/bits/byteswap.h: Likewise.
90417 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
90419         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
90420         IFUNC support.
90421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90422         memset-x86-64.
90423         * sysdeps/x86_64/multiarch/bzero.S: New file.
90424         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
90425         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
90426         * sysdeps/x86_64/multiarch/memset.S: New file.
90427         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
90428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90429         Set bit_Prefer_SSE_for_memop for Intel processors.
90430         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
90431         Define.
90432         (index_Prefer_SSE_for_memop): Define.
90433         (HAS_PREFER_SSE_FOR_MEMOP): Define.
90435 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
90437         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
90438         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
90440 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
90442         [BZ #12191]
90443         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90444         (__x86_64_raw_data_cache_size_half): Likewise.
90445         (__x86_64_raw_shared_cache_size): Likewise.
90446         (__x86_64_raw_shared_cache_size_half): Likewise.
90448         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90449         (__x86_64_raw_data_cache_size_half): Likewise.
90450         (__x86_64_raw_shared_cache_size): Likewise.
90451         (__x86_64_raw_shared_cache_size_half): Likewise.
90452         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
90453         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
90454         and __x86_64_raw_shared_cache_size_half.  Round
90455         __x86_64_data_cache_size_half, __x86_64_data_cache_size
90456         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
90457         to multiple of 256 bytes.
90459 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
90461         [BZ #12167]
90462         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
90463         of inacessible symlinks.  Verify result of symlink before returning it.
90464         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
90465         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
90467 2010-10-28  Erich Ritz  <erichritz@gmail.com>
90469         * math/math.h (isinf): Fix typo in comment.
90471 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
90473         * po/da.po: Update from translation team.
90475 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
90477         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
90478         is added to the list.
90480 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90481             Ulrich Drepper  <drepper@gmail.com>
90483         * elf/dl-object.c (_dl_new_object): Don't append the new object to
90484         the global list here.  Move code to...
90485         (_dl_add_to_namespace_list): ...here.  New function.
90486         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
90487         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
90488         * elf/dl-load.c (lose): Don't remove the element from the list.
90489         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
90490         (_dl_map_object): Likewise.
90492 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
90494         [BZ #12159]
90495         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
90496         into all bytes of SSE register.
90497         Patch by Richard Li <richardpku@gmail.com>.
90499 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
90501         [BZ #12140]
90502         * malloc/malloc.c (_int_free): Fill correct number of bytes when
90503         perturbing.
90505 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
90507         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
90508         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
90509         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
90510         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
90511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
90512         submachine.
90513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
90515 2010-10-22  Andreas Schwab  <schwab@redhat.com>
90517         * include/dlfcn.h (__RTLD_SECURE): Define.
90518         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
90519         mode & __RTLD_SECURE instead.
90520         (open_path): Rename preloaded parameter to secure.
90521         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
90522         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
90523         * elf/dl-deps.c (openaux): Likewise.
90524         * elf/rtld.c (struct map_args): Remove is_preloaded.
90525         (map_doit): Don't use it.
90526         (dl_main): Likewise.
90527         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
90528         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
90530 2010-09-09  Andreas Schwab  <schwab@redhat.com>
90532         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
90533         (sysd-rules-targets): Remove duplicates.
90534         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
90535         rtld-%.$o dependency.
90537 2010-10-18  Andreas Schwab  <schwab@redhat.com>
90539         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
90540         _dl_map_object do it.
90542 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
90544         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
90545         fast fma builtins, define the macros in the C99 standard.
90546         (FP_FAST_FMAF): Likewise.
90547         (FP_FAST_FMAL): Likewise.
90548         * sysdeps/x86_64/bits/mathdef.h: Likewise.
90550         * bits/mathdef.h: Update copyright year.
90551         * sysdeps/powerpc/bits/mathdef.h: Likewise.
90553 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
90555         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
90556         builtins, define the macros in the C99 standard.
90557         (FP_FAST_FMAF): Likewise.
90558         (FP_FAST_FMAL): Likewise.
90559         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
90560         multiply/add.
90561         (FP_FAST_FMAF): Likewise.
90563 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
90565         [BZ #3268]
90566         * math/libm-test.inc (fma_test): Some new testcases.
90567         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
90568         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
90569         y and infinite z.  Do multiplication by C already in long double.
90570         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
90571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
90572         y and infinite z.  Do bitwise or of inexact bit into u.d.
90573         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
90574         * sysdeps/i386/fpu/s_fmaf.S: Removed.
90575         * sysdeps/i386/fpu/s_fma.S: Removed.
90576         * sysdeps/i386/fpu/s_fmal.S: Removed.
90578 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
90580         [BZ #3268]
90581         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
90582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
90583         computation is not scheduled after fetestexcept.  Fix value
90584         of minimum denormal long double.
90586 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
90588         [BZ #3268]
90589         * math/libm-test.inc (fma_test): Add some more tests.
90590         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
90591         correctly.
90593 2010-10-15  Andreas Schwab  <schwab@redhat.com>
90595         * scripts/data/localplt-s390-linux-gnu.data: New file.
90596         * scripts/data/localplt-s390x-linux-gnu.data: New file.
90598 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
90600         [BZ #3268]
90601         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
90602         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
90603         instead of dbl-64.
90604         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
90605         inlines.
90606         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
90607         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
90608         if one of x and y is very large and the other is subnormal.
90609         * sysdeps/s390/fpu/s_fmaf.c: New file.
90610         * sysdeps/s390/fpu/s_fma.c: New file.
90611         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
90612         * sysdeps/powerpc/fpu/s_fma.S: New file.
90613         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
90614         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
90615         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
90617 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
90619         [BZ #3268]
90620         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
90621         fma tests.
90622         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
90623         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
90624         * sysdeps/i386/i686/multiarch/s_fma.c: Include
90625         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
90626         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
90627         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
90628         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
90630 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
90632         [BZ #12078]
90633         * posix/regcomp.c (parse_branch): One more memory leak plugged.
90634         * posix/bug-regex31.input: Add test case.
90636 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90638         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
90639         * posix/bug-regex31.input: New file.
90641         [BZ #12078]
90642         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
90643         (parse_sub_exp): Fix last change, use postorder.
90645         * posix/bug-regex31.c: New file.
90646         * posix/Makefile: Add rules to build and run bug-regex31.
90648         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
90650         [BZ #12078]
90651         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
90653         [BZ #12108]
90654         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
90655         to have entries in sys_siglist.
90657         [BZ #12093]
90658         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
90659         be NULL.
90661 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
90663         [BZ #3268]
90664         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
90665         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
90666         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
90667         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
90668         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90669         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
90670         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
90671         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
90672         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
90673         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
90674         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
90675         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
90676         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
90677         * math/ftestexcept.c (fetestexcept): Likewise.
90678         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
90679         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
90680         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
90681         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
90682         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
90683         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
90684         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
90686 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90688         [BZ #12107]
90689         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
90690         newline.
90692 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
90694         * string/bug-strstr1.c: New file.
90695         * string/Makefile: Add rules to build and run bug-strstr1.
90697 2010-10-05  Eric Blake  <eblake@redhat.com>
90699         [BZ #12092]
90700         * string/str-two-way.h (two_way_long_needle): Always clear memory
90701         when skipping input due to the shift table.
90703 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
90705         [BZ #12005]
90706         * malloc/mcheck.c: Handle large requests.
90708         [BZ #12077]
90709         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
90710         for strncmp and strncasecmp.
90711         * string/stratcliff.c: Add tests for strcmp and strncmp.
90712         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
90714 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
90716         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
90717         __set_fpscr.
90719 2010-09-30  Andreas Jaeger  <aj@suse.de>
90721         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
90722         (CGROUP_SUPER_MAGIC): Define.
90723         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90724         Handle btrfs and cgroup file systems.
90725         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
90726         Likewise.
90728 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
90730         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
90731         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
90733 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90735         [BZ #12067]
90736         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
90737         trying to locate the ELF header.
90739 2010-09-27  Andreas Schwab  <schwab@redhat.com>
90741         [BZ #11611]
90742         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
90743         Mask out sign-bit copies when constructing f_fsid.
90745 2010-09-24  Petr Baudis <pasky@suse.cz>
90747         * debug/stack_chk_fail_local.c: Add missing licence exception.
90748         * debug/warning-nop.c: Likewise.
90750 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
90752         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
90753         implementing getdents64 using getdents syscall, set d_type if
90754         __ASSUME_GETDENTS32_D_TYPE.
90756 2010-09-16  Andreas Schwab  <schwab@redhat.com>
90758         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
90759         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
90761 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
90763         [BZ #12037]
90764         * posix/unistd.h: Undo change of feature selection for ftruncate from
90765         2010-01-11.
90767 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
90769         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
90770         detection.
90772 2010-09-20  Andreas Schwab  <schwab@redhat.com>
90774         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
90775         fanotify_mark.
90776         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90778 2010-09-14  Andreas Schwab  <schwab@redhat.com>
90780         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
90781         variables after CHECK_SP call.
90782         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
90784 2010-09-13  Andreas Schwab  <schwab@redhat.com>
90785             Ulrich Drepper  <drepper@redhat.com>
90787         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
90788         re-relocationg ld.so.
90789         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
90790         _dl_init_paths call.
90791         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
90792         here anymore.
90794 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
90796         * resolv/res_init.c (__res_vinit): Count the default server we added.
90798 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
90799             Ulrich Drepper  <drepper@redhat.com>
90801         [BZ #11968]
90802         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90803         (____longjmp_chk): Use %ebx for saving value across system call.
90804         Add unwind info.
90806 2010-09-06  Andreas Schwab  <schwab@redhat.com>
90808         * manual/Makefile: Don't mix pattern rules with normal rules.
90810 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
90812         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
90813         operation.
90814         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
90815         * libio/iofopncook.c (_IO_cookie_init): Likewise.
90816         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
90817         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
90818         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90819         Likewise.
90821 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
90823         [BZ #11979]
90824         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
90825         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
90827 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
90829         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
90830         * sysdeps/x86_64/addmul_1.S: Likewise.
90831         * sysdeps/x86_64/lshift.S: Likewise.
90832         * sysdeps/x86_64/mul_1.S: Likewise.
90833         * sysdeps/x86_64/rshift.S: Likewise.
90834         * sysdeps/x86_64/sub_n.S: Likewise.
90835         * sysdeps/x86_64/submul_1.S: Likewise.
90837 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90839         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
90840         Define __sched_param instead of SCHED_* and sched_param when
90841         <bits/sched.h> is included with __need_schedparam defined.
90842         * bits/sched.h [__need_schedparam]
90843         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
90844         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
90845         (__defined_schedparam): Define to 1.
90846         (__sched_param): New structure, identical to sched_param.
90847         (__need_schedparam): Undefine.
90849 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
90851         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
90852         (epoll_create1): Declare.
90854         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
90856 2010-08-31  Andreas Schwab  <schwab@redhat.com>
90858         [BZ #7066]
90859         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
90860         shifting retval into place.
90862 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
90864         * nis/rpcsvc/nis.h: Update copyright notice.
90865         * nis/rpcsvc/nis.x: Likewise.
90866         * nis/rpcsvc/nis_callback.h: Likewise.
90867         * nis/rpcsvc/nis_callback.x: Likewise.
90868         * nis/rpcsvc/nis_object.x: Likewise.
90869         * nis/rpcsvc/nis_tags.h: Likewise.
90870         * nis/rpcsvc/yp.h: Likewise.
90871         * nis/rpcsvc/yp.x: Likewise.
90872         * nis/rpcsvc/ypupd.h: Likewise.
90873         * nis/yp_xdr.c: Likewise.
90874         * nis/ypupdate_xdr.c: Likewise.
90876         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
90877         mainly the body of pmap_getport.  Add parameters to specify timeouts.
90878         (pmap_getport): Use __libc_rpc_getport.
90879         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
90880         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
90881         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
90883 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
90885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
90886         fanotify_mark.
90888 2010-08-27  Roland McGrath  <roland@redhat.com>
90890         * sysdeps/i386/i686/multiarch/Makefile
90891         (CFLAGS-varshift.c): New variable.
90893 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
90895         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
90896         * sysdeps/i386/i686/multiarch/varshift.c: New file.
90898         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
90900         * sysdeps/x86_64/strlen.S: Minimal code improvement.
90902 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
90904         * sysdeps/x86_64/strlen.S: Unroll the loop.
90905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90906         strlen-sse2 strlen-sse2-bsf.
90907         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
90908         __strlen_no_bsf if bit_Slow_BSF is set.
90909         (__strlen_sse42): Removed.
90910         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
90911         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
90913 2010-08-25  Roland McGrath  <roland@redhat.com>
90915         * sysdeps/x86_64/multiarch/varshift.S: File removed.
90916         * sysdeps/x86_64/multiarch/varshift.c: New file.
90917         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
90918         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
90919         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
90920         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
90922 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
90924         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90925         strlen-sse2 strlen-sse2-bsf.
90926         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
90927         __strlen_sse2_bsf if bit_Slow_BSF is unset.
90928         (__strlen_sse2): Removed.
90929         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
90930         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
90931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
90932         bit_Slow_BSF for Atom.
90933         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
90934         (index_Slow_BSF): Define.
90935         (HAS_SLOW_BSF): Define.
90937 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
90939         [BZ #10851]
90940         * resolv/res_init.c (__res_vinit): When no server address at all
90941         is given default to loopback.
90943 2010-08-24  Roland McGrath  <roland@redhat.com>
90945         * configure.in: Remove config-name.h generation.
90946         * configure: Regenerated.
90947         * config-name.in: File removed.
90948         * scripts/config-uname.sh: New file.
90949         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
90950         ($(objdir)config-name.h): New target.
90952         * sunrpc/rpc_parse.h: Avoid nested comment.
90954 2010-08-24  Richard Henderson  <rth@redhat.com>
90955             Ulrich Drepper  <drepper@redhat.com>
90956             H.J. Lu  <hongjiu.lu@intel.com>
90958         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
90959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
90960         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
90961         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
90962         _mm_alignr_epi8 with _mm_loadu_si128.
90963         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
90964         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
90965         (__m128i_shift_right): Removed.
90966         * sysdeps/i386/i686/multiarch/varshift.h: New file.
90967         * sysdeps/i386/i686/multiarch/varshift.S: New file.
90968         * sysdeps/x86_64/multiarch/varshift.h: New file.
90969         * sysdeps/x86_64/multiarch/varshift.S: New file.
90971 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
90973         * configure.in: Move assembler checks to before sysdep dir checking.
90975 2010-08-20  Petr Baudis  <pasky@suse.cz>
90977         * LICENSES: Sync the sunrpc license.
90979 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
90981         * sunrpc/auth_des.c: Update copyright notice once again.
90982         * sunrpc/auth_none.c: Likewise.
90983         * sunrpc/auth_unix.c: Likewise.
90984         * sunrpc/authdes_prot.c: Likewise.
90985         * sunrpc/authuxprot.c: Likewise.
90986         * sunrpc/bindrsvprt.c: Likewise.
90987         * sunrpc/clnt_gen.c: Likewise.
90988         * sunrpc/clnt_perr.c: Likewise.
90989         * sunrpc/clnt_raw.c: Likewise.
90990         * sunrpc/clnt_simp.c: Likewise.
90991         * sunrpc/clnt_tcp.c: Likewise.
90992         * sunrpc/clnt_udp.c: Likewise.
90993         * sunrpc/clnt_unix.c: Likewise.
90994         * sunrpc/des_crypt.c: Likewise.
90995         * sunrpc/des_soft.c: Likewise.
90996         * sunrpc/get_myaddr.c: Likewise.
90997         * sunrpc/getrpcport.c: Likewise.
90998         * sunrpc/key_call.c: Likewise.
90999         * sunrpc/key_prot.c: Likewise.
91000         * sunrpc/openchild.c: Likewise.
91001         * sunrpc/pm_getmaps.c: Likewise.
91002         * sunrpc/pm_getport.c: Likewise.
91003         * sunrpc/pmap_clnt.c: Likewise.
91004         * sunrpc/pmap_prot.c: Likewise.
91005         * sunrpc/pmap_prot2.c: Likewise.
91006         * sunrpc/pmap_rmt.c: Likewise.
91007         * sunrpc/rpc/auth.h: Likewise.
91008         * sunrpc/rpc/auth_unix.h: Likewise.
91009         * sunrpc/rpc/clnt.h: Likewise.
91010         * sunrpc/rpc/des_crypt.h: Likewise.
91011         * sunrpc/rpc/key_prot.h: Likewise.
91012         * sunrpc/rpc/netdb.h: Likewise.
91013         * sunrpc/rpc/pmap_clnt.h: Likewise.
91014         * sunrpc/rpc/pmap_prot.h: Likewise.
91015         * sunrpc/rpc/pmap_rmt.h: Likewise.
91016         * sunrpc/rpc/rpc.h: Likewise.
91017         * sunrpc/rpc/rpc_des.h: Likewise.
91018         * sunrpc/rpc/rpc_msg.h: Likewise.
91019         * sunrpc/rpc/svc.h: Likewise.
91020         * sunrpc/rpc/svc_auth.h: Likewise.
91021         * sunrpc/rpc/types.h: Likewise.
91022         * sunrpc/rpc/xdr.h: Likewise.
91023         * sunrpc/rpc_clntout.c: Likewise.
91024         * sunrpc/rpc_cmsg.c: Likewise.
91025         * sunrpc/rpc_common.c: Likewise.
91026         * sunrpc/rpc_cout.c: Likewise.
91027         * sunrpc/rpc_dtable.c: Likewise.
91028         * sunrpc/rpc_hout.c: Likewise.
91029         * sunrpc/rpc_main.c: Likewise.
91030         * sunrpc/rpc_parse.c: Likewise.
91031         * sunrpc/rpc_parse.h: Likewise.
91032         * sunrpc/rpc_prot.c: Likewise.
91033         * sunrpc/rpc_sample.c: Likewise.
91034         * sunrpc/rpc_scan.c: Likewise.
91035         * sunrpc/rpc_scan.h: Likewise.
91036         * sunrpc/rpc_svcout.c: Likewise.
91037         * sunrpc/rpc_tblout.c: Likewise.
91038         * sunrpc/rpc_util.c: Likewise.
91039         * sunrpc/rpc_util.h: Likewise.
91040         * sunrpc/rpcinfo.c: Likewise.
91041         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
91042         * sunrpc/rpcsvc/key_prot.x: Likewise.
91043         * sunrpc/rpcsvc/klm_prot.x: Likewise.
91044         * sunrpc/rpcsvc/mount.x: Likewise.
91045         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
91046         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
91047         * sunrpc/rpcsvc/rex.x: Likewise.
91048         * sunrpc/rpcsvc/rstat.x: Likewise.
91049         * sunrpc/rpcsvc/rusers.x: Likewise.
91050         * sunrpc/rpcsvc/sm_inter.x: Likewise.
91051         * sunrpc/rpcsvc/spray.x: Likewise.
91052         * sunrpc/rpcsvc/yppasswd.x: Likewise.
91053         * sunrpc/rtime.c: Likewise.
91054         * sunrpc/svc.c: Likewise.
91055         * sunrpc/svc_auth.c: Likewise.
91056         * sunrpc/svc_authux.c: Likewise.
91057         * sunrpc/svc_raw.c: Likewise.
91058         * sunrpc/svc_run.c: Likewise.
91059         * sunrpc/svc_simple.c: Likewise.
91060         * sunrpc/svc_tcp.c: Likewise.
91061         * sunrpc/svc_udp.c: Likewise.
91062         * sunrpc/svc_unix.c: Likewise.
91063         * sunrpc/svcauth_des.c: Likewise.
91064         * sunrpc/xcrypt.c: Likewise.
91065         * sunrpc/xdr.c: Likewise.
91066         * sunrpc/xdr_array.c: Likewise.
91067         * sunrpc/xdr_float.c: Likewise.
91068         * sunrpc/xdr_mem.c: Likewise.
91069         * sunrpc/xdr_rec.c: Likewise.
91070         * sunrpc/xdr_ref.c: Likewise.
91071         * sunrpc/xdr_sizeof.c: Likewise.
91072         * sunrpc/xdr_stdio.c: Likewise.
91074         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
91075         handling.
91077 2010-08-19  Andreas Schwab  <schwab@redhat.com>
91079         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
91081 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
91083         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
91084         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
91085         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
91086         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
91087         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
91088         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
91089         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
91090         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
91091         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
91092         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
91093         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
91094         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
91095         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
91096         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
91098 2010-07-26  Anton Blanchard  <anton@samba.org>
91100         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
91101         * malloc/arena.c (heap_trim): Likewise.
91103 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
91105         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
91106         here.  Not...
91107         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
91108         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
91110 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
91112         * sysdeps/i386/elf/Makefile: New file.
91114 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91116         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
91117         from fanotify_init.
91118         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
91119         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91121 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
91123         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
91124         of strncasecmp_l.
91125         * sysdeps/multiarch/strcmp.S: Likewise.
91127 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
91129         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91130         strncase_l-nonascii.
91131         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91132         Add strncase_l-ssse3.
91133         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
91134         * sysdeps/x86_64/strcmp.S: Likewise.
91135         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
91136         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
91137         * sysdeps/x86_64/strncase.S: New file.
91138         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
91139         * sysdeps/x86_64/strncase_l.S: New file.
91140         * string/Makefile (strop-tests): Add strncasecmp.
91141         * string/test-strncasecmp.c: New file.
91143         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
91144         warning.
91146         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
91147         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
91149 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91151         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
91153 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
91155         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
91156         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
91157         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
91159 2010-05-01  Alan Modra  <amodra@gmail.com>
91161         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
91162         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
91163         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
91164         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
91165         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
91166         tidying.  Don't tail-call __sigjmp_save for static lib.
91167         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
91168         save location.
91169         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
91170         (CALL_MCOUNT): Add eh info, and nop after bl.
91171         (TAIL_CALL_SYSCALL_ERROR): New macro.
91172         (PSEUDO_RET): Use it.
91173         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
91174         Correct save location of integer regs and cr.
91175         (_dl_profile_resolve): Correct cr save location.  Delete nops
91176         after bl when SHARED.  Reduce cfi size a little by better
91177         placement of cfi directives.
91178         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
91179         make a stack frame.  Instead use parm save area as a temp.
91180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
91181         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
91182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
91183         Don't make a stack frame for parent, use parm save area.
91184         Increase child stack frame to 112 bytes.  Don't save unused reg,
91185         and adjust reg usage.  Set up cfi on error recovery and
91186         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
91187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
91188         (__makecontext): Add dummy nop after jump to exit.
91189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
91190         Use correct parm save area and cr save, reduce stack frame.
91191         Correct cfi for possible PSEUDO_RET frame setup.
91192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
91193         Branch to local label emitted by PSEUDO_RET rather than
91194         __syscall_error.
91196 2010-08-12  Andreas Schwab  <schwab@redhat.com>
91198         [BZ #11904]
91199         * locale/programs/locale.c (print_assignment): New function.
91200         (show_locale_vars): Use it.
91202 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
91204         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
91205         field.
91206         (struct statfs64): Likewise.
91207         (_STATFS_F_FLAGS): Define.
91208         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
91209         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91210         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
91211         (ST_VALID): Define locally.
91212         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
91213         __statvfs_getflags, use the provided value.
91214         * sysdeps/unix/sysv/linux/kernel-features.h: Define
91215         __ASSUME_STATFS_F_FLAGS.
91217         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
91219         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
91220         Add sys/fanotify.h.
91221         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
91222         fanotify_mask for GLIBC_2.13.
91223         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
91224         fanotify_init and fanotify_mark.
91225         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91226         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
91228         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
91229         Add prlimit.
91230         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
91231         prlimit64 for GLIBC_2.13.
91232         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
91233         prlimit64.
91234         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
91235         syscall.
91236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
91237         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91238         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
91239         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
91240         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
91241         add prlimit alias.
91242         * sysdeps/unix/sysv/linux/prlimit.c: New file.
91244         [BZ #11903]
91245         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
91246         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
91248         * nss/Makefile: Add rules to build and run tst-nss-test1.
91249         * shlib-versions: Add entry for libnss_test1.
91250         * nss/nss_test1.c: New file.
91251         * nss/tst-nss-test1.c: New file.
91253         * nss/nsswitch.c (__nss_database_custom): Define new variable.
91254         (__nss_configure_lookup): Set appropriate entry in
91255         __nss_configure_lookup to true.
91256         * nss/nsswitch.h: Define enum with indeces of databases in
91257         databases and __nss_database_custom arrays.  Declare
91258         __nss_database_custom.
91259         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
91260         to avoid using nscd when custom rules are installed.
91261         * nss/getXXbyYY_r.c: Likewise.
91262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
91264         * nss/nss_files/files-parse.c: Whitespace fixes.
91266 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
91268         [BZ #11883]
91269         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
91270         * posix/fnmatch_loop.c: Likewise.
91272 2010-07-17  Andi Kleen  <ak@linux.intel.com>
91274         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
91275         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
91276         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
91277         * Versions.def [GLIBC_2.13]: Add.
91279 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
91281         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91282         Also fail if tpwd after pwuid call is NULL.
91284 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91286         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
91287         when converting to ms.
91289 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91291         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
91292         EOPNOTSUPP errors with ENOTTY.
91293         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
91294         EOPNOTSUPP errors with ENOTTY.
91296 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
91298         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91299         Add strcasecmp_l-ssse3.
91300         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
91301         strcasecmp.
91302         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
91303         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
91304         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
91306 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
91308         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
91310         * string/Makefile (strop-tests): Add strcasecmp.
91311         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91312         strcasecmp_l-nonascii.
91313         (gen-as-const-headers): Add locale-defines.sym.
91314         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
91315         * sysdeps/x86_64/strcasecmp.S: New file.
91316         * sysdeps/x86_64/strcasecmp_l.S: New file.
91317         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
91318         * sysdeps/x86_64/locale-defines.sym: New file.
91319         * string/test-strcasecmp.c: New file.
91321         * string/test-strcasestr.c: Test both ends of the range of characters.
91322         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
91324 2010-07-29  Roland McGrath  <roland@redhat.com>
91326         [BZ #11856]
91327         * manual/locale.texi (Yes-or-No Questions): Fix example code.
91329 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
91331         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
91332         for ld.so.
91334 2010-07-27  Andreas Schwab  <schwab@redhat.com>
91336         * manual/memory.texi (Malloc Tunable Parameters): Document
91337         M_PERTURB.
91339 2010-07-26  Roland McGrath  <roland@redhat.com>
91341         [BZ #11840]
91342         * configure.in (-fgnu89-inline check): Set and substitute
91343         gnu89_inline, not libc_cv_gnu89_inline.
91344         * configure: Regenerated.
91345         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
91347 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
91349         * string/test-strnlen.c: New file.
91350         * string/Makefile (strop-tests): Add strnlen.
91351         * string/tester.c (test_strnlen): Add a few more test cases.
91352         * string/tst-strlen.c: Better error reporting.
91354         * sysdeps/x86_64/strnlen.S: New file.
91356 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
91358         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
91359         lower-latency instructions.
91361 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
91363         * string/test-strcasestr.c: New file.
91364         * string/test-strstr.c: New file.
91365         * string/Makefile (strop-tests): Add strstr and strcasestr.
91366         * string/str-two-way.h: Don't undefine MAX.
91367         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
91369 2010-07-21  Andreas Schwab  <schwab@redhat.com>
91371         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91372         strcasestr-nonascii.
91373         (CFLAGS-strcasestr-nonascii.c): Define.
91374         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
91375         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
91376         Remove unused attribute.
91378 2010-07-20  Roland McGrath  <roland@redhat.com>
91380         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
91381         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
91382         ld.so.cache was broken.  With it, there is no way to disable dsocaps
91383         like LD_HWCAP_MASK can disable hwcaps.
91385 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91387         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
91389 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
91391         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
91392         call in strcasestr.
91393         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
91394         __strcasestr_sse42_nonascii.
91395         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
91396         strcasestr-nonascii.c.
91397         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
91399 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
91401         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
91402         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
91403         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
91404         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
91406 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
91408         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
91409         fcntl.
91411 2010-07-06  Andreas Schwab  <schwab@redhat.com>
91413         [BZ #11577]
91414         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
91415         dl_signal_cerror.
91417 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
91419         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
91420         _PC_PIPE_BUF using F_GETPIPE_SZ.
91422 2010-07-05  Roland McGrath  <roland@redhat.com>
91424         * manual/arith.texi (Rounding Functions): Fix rint description
91425         implicit in round description.
91427 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
91429         * elf/Makefile: Fix linking for a few tests to make recent linker
91430         happy.
91432 2010-06-30  Andreas Schwab  <schwab@redhat.com>
91434         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91435         $(common-objpfx)libc_nonshared.a.
91437 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
91439         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
91440         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
91441         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91442         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
91443         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
91444         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
91445         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
91446         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
91447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
91448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
91449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
91450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
91452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
91453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
91454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
91455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
91456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
91457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
91458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
91459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
91460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
91461         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
91462         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
91463         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
91464         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
91465         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
91466         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
91467         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
91468         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
91469         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
91470         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
91471         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
91472         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
91473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
91474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
91475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
91476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
91477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
91478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
91479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
91480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
91481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
91482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
91483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
91484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
91485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
91486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
91488 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
91490         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
91491         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
91492         * string/memmove.c (memmove): Renamed to ...
91493         (MEMMOVE): ...this.  Default to memmove.
91494         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
91495         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
91496         (END_CHK): Define.
91497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91498         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
91499         mempcpy-ssse3-back memmove-ssse3-back.
91500         * sysdeps/x86_64/multiarch/bcopy.S: New file .
91501         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
91502         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
91503         * sysdeps/x86_64/multiarch/memcpy.S: New file.
91504         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
91505         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
91506         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
91507         * sysdeps/x86_64/multiarch/memmove.c: New file.
91508         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
91509         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
91510         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
91511         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
91512         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
91513         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
91514         Define.
91515         (index_Fast_Copy_Backward): Define.
91516         (HAS_ARCH_FEATURE): Define.
91517         (HAS_FAST_REP_STRING): Define.
91518         (HAS_FAST_COPY_BACKWARD): Define.
91520 2010-06-21  Andreas Schwab  <schwab@redhat.com>
91522         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91523         Restore proper fallback handling.
91525 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
91527         [BZ #11701]
91528         * posix/group_member.c (__group_member): Correct checking loop.
91530         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
91531         OOM in getpwuid_r correctly.  Return error number when the caller
91532         should return, otherwise -1.
91533         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
91534         call returning > 0 value.
91535         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
91537 2010-06-07  Andreas Schwab  <schwab@redhat.com>
91539         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
91540         libc_nonshared.a from targets in modules-names.
91542 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
91544         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
91545         requires it.
91547 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
91549         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
91550         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
91551         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
91552         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
91554 2010-06-02  Andreas Schwab  <schwab@redhat.com>
91556         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
91558 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
91560         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
91561         and F_GETPIPE_SZ.
91562         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91563         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91565         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91566         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91567         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91569 2010-06-14  Roland McGrath  <roland@redhat.com>
91571         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
91573 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
91575         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
91576         __REDIRECT followed by __THROW.
91577         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
91578         * posix/getopt.h (getopt): Likewise.
91580 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91582         * hurd/lookup-at.c (__file_name_lookup_at): Accept
91583         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
91584         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
91585         in AT_FLAGS.
91586         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
91587         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
91589 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
91591         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
91593 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
91595         [BZ #11640]
91596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91597         Properly check family and model.
91599 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
91601         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
91603 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
91605         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
91607 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
91609         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
91610         symbol reference.
91612 2010-05-19  Andreas Schwab  <schwab@redhat.com>
91614         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
91615         symbol reference.
91617 2010-05-21  Andreas Schwab  <schwab@redhat.com>
91619         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
91620         and internal_recvmmsg.
91621         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
91622         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
91623         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
91624         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
91626         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
91627         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
91628         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
91630 2010-05-20  Andreas Schwab  <schwab@redhat.com>
91632         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
91634 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
91636         POWER7 optimizations.
91637         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
91638         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
91640 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
91642         * version.h: Update for 2.13 development version.
91644 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
91646         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
91647         exceptions.  Return 0.
91649 2010-05-07  Roland McGrath  <roland@redhat.com>
91651         * elf/ldconfig.c (main): Add a const.
91653 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
91655         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
91656         (args_options): Add no-idn option.
91657         (ahosts_keys_int): Add idn_flags to ai_flags.
91658         (parse_option): Handle 'i' option to clear idn_flags.
91660         * malloc/malloc.c (_int_free): Possible race in the most recently
91661         added check.  Only act on the data if no current modification
91662         happened.
91664 See ChangeLog.17 for earlier changes.